bootstd: Improve ChromiumOS support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | bootstd: cros: Correct reporting of I/O errorsboot/ | +2 | 1 reply | |
| 2/16 | bootstd: cros: Move partition reading into a functionboot/ | +50 | 1 reply | |
| 3/16 | bootstd: cros: Bring in some ChromiumOS structuresboot/ boot/ | +201 | 1 reply | |
| 4/16 | bootstd: cros: Support a kernel on either partitionboot/ | +14 | 1 reply | |
| 5/16 | bootstd: cros: Decode some kernel preamble fieldsboot/ | +37 | 1 reply | |
| 6/16 | bootstd: cros: Simplify setup and cmdline expressionsboot/ | +10 | 1 reply | |
| 7/16 | bootstd: Move common zimage functions to bootm.harch/ boot/ include/ | +29 | 1 reply | |
| 8/16 | bootstd: cros: Add docs for the kernel layoutboot/ | +29 | 1 reply | |
| 9/16 | bootstd: cros: Add private info for ChromiumOSboot/ | +42 | 1 reply | |
| 10/16 | bootstd: Add private bootmeth data to the bootflowboot/ include/ | +3 | 1 reply | |
| 11/16 | bootstd: cros: Add a function to read info from partitionboot/ | +121 | 1 reply | |
| 12/16 | bootstd: cros: Add a function to read a kernelboot/ | +39 | 1 reply | |
| 13/16 | bootstd: cros: Split up reading info and kernelboot/ | +23 | 1 reply | |
| 14/16 | bootstd: Allow display of the x86 setup informationarch/ arch/ cmd/ +3 more | +86 | 1 reply | |
| 15/16 | bootstd: Add a command to read all files for a bootflowboot/ boot/ boot/ +4 more | +186 | 0 replies | |
| 16/16 | bootstd: cros: Add ARM supportboot/ boot/ boot/ +1 more | +57 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/16] bootstd: Improve ChromiumOS support
The ChromiumOS bootmeth is fairly basic at present. It is able to boot only x86 kernels and contains quite a few hard-coded offsets.
This series tidies it up by bringing in some vboot structures and adding support for ARM.
It adds a few more features to bootstd, including display of x86 setup information.
So far this does not actually boot correctly on any ARM Chromebook:
jerry - hangs when booting kernel
bob - Bad Linux ARM64 Image magic! with lz4-compressed kernel
Further work can address these issues.
Simon Glass (16):
bootstd: cros: Correct reporting of I/O errors
bootstd: cros: Move partition reading into a function
bootstd: cros: Bring in some ChromiumOS structures
bootstd: cros: Support a kernel on either partition
bootstd: cros: Decode some kernel preamble fields
bootstd: cros: Simplify setup and cmdline expressions
bootstd: Move common zimage functions to bootm.h
bootstd: cros: Add docs for the kernel layout
bootstd: cros: Add private info for ChromiumOS
bootstd: Add private bootmeth data to the bootflow
bootstd: cros: Add a function to read info from partition
bootstd: cros: Add a function to read a kernel
bootstd: cros: Split up reading info and kernel
bootstd: Allow display of the x86 setup information
bootstd: Add a command to read all files for a bootflow
bootstd: cros: Add ARM support
arch/x86/include/asm/zimage.h | 37 ---- arch/x86/lib/zimage.c | 8 +- boot/Kconfig | 4 +- boot/bootflow.c | 15 ++ boot/bootm.c | 37 ++++ boot/bootmeth-uclass.c | 10 + boot/bootmeth_cros.c | 363 ++++++++++++++++++++++++++++------ boot/bootmeth_cros.h | 197 ++++++++++++++++++ cmd/bootflow.c | 47 ++++- doc/usage/cmd/bootflow.rst | 139 ++++++++++++- include/bootflow.h | 15 +- include/bootm.h | 47 +++++ include/bootmeth.h | 23 +++ 13 files changed, 836 insertions(+), 106 deletions(-) create mode 100644 boot/bootmeth_cros.h
Signature · 1 line
2.41.0.487.g6d72f3e995-goog