Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: mainboards: Add Google Octopus Bobba board #661

Draft
wants to merge 76 commits into
base: main
Choose a base branch
from

Conversation

rmsyn
Copy link
Contributor

@rmsyn rmsyn commented Jan 15, 2023

Add support for the Acer Chromebook Cb311-9h mainboard.

Most of the code is a more-or-less direct port from coreboot, with some modifications to make the code more Rust-y.

Code could probably still use a lot of cleanup, and may have missing parts (still unsure of the multistage build in coreboot).

Code also brings back Intel FSP, which accounts for a substantial amount of lines of code.

Signed-off-by: rmsyn <[email protected]>
Add Google Chromebook embedded controller ACPI ASL files

Signed-off-by: rmsyn <[email protected]>
Add PadCommunity, PadGroup, and ResetMap definitions for geminilake soc

Signed-off-by: rmsyn <[email protected]>
Signed-off-by: rmsyn <[email protected]>
Adds a library crate to the root mainboard directory for mainboard
generic constants

Signed-off-by: rmsyn <[email protected]>
FIXME: redo with embedded-hal::spi::Spi trait instead of ported coreboot
drivers

Signed-off-by: rmsyn <[email protected]>
Minor edits for renaming, and using a static SpiCtrlrBuses collection

Signed-off-by: rmsyn <[email protected]>
rust-lang/log depends on std, even without the std feature

Signed-off-by: rmsyn <[email protected]>
Use static references wrapped in Options to replace usage of raw
pointers.

Possible future rework is to remove all of this with types from the fdt
flattened device tree library.

Signed-off-by: rmsyn <[email protected]>
Finish filling out the gpio and variant modules in the bobba octopus
variant

Signed-off-by: rmsyn <[email protected]>
Copy from qemu-fsp emulation board

Signed-off-by: rmsyn <[email protected]>
Copied from coffeelake aaeon/upboard fixed-dtfs.dts, need to update with
info from coreboot. They use flashmap, so the port to dtfs is not
exactly straightforward. They also use a depthcharge and
Chrome/Chromium OS payloads, so need to change for a Linuxboot payload

Signed-off-by: rmsyn <[email protected]>
@rmsyn rmsyn marked this pull request as draft January 15, 2023 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant