x86: zboot: Enhance the 'zboot' command
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest17 patches 0 repliesNew
- v216 patches 0 repliesSuperseded
- v116 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Add a comment about complete_zboot()
- Adjust maxargs in this patch
- Fix 'summary' typo
- Mention that the environment variables are for x86 only
- Move command help into the patch for each command
- Reduce maxargs to 6
- Split the 'load' command into its own patch
- Update two local arrays to be static
- Use 'Commandline' instead of 'Commandline'
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | x86: Update the bootparam headerarch/ | +19 | 1 reply | |
| 2/17 | x86: zimage: Use a state struct to hold the statearch/ | +29 | 0 replies | |
| 3/17 | x86: zimage: Avoid using #ifdefarch/ | +5 | 0 replies | |
| 4/17 | x86: zboot: Move kernel-version code into a functionarch/ | +27 | 0 replies | |
| 5/17 | x86: zboot: Correct image typearch/ | +1 | 0 replies | |
| 6/17 | x86: zimage: Disable interrupts just before bootingarch/ | +1 | 0 replies | |
| 7/17 | x86: zboot: Set up a sub-command structurearch/ | +61 | 1 reply | |
| 8/17 | x86: zboot: Add a 'go' subcommandarch/ | +25 | 0 replies | |
| 9/17 | x86: zboot: Add an 'info' subcommandarch/ | +15 | 0 replies | |
| 10/17 | x86: zboot: Add an 'load' subcommandarch/ | +15 | 1 reply | |
| 11/17 | x86: zboot: Add an 'setup' subcommandarch/ | +26 | 1 reply | |
| 12/17 | x86: zboot: Set environment variables for image locationsREADME arch/ | +7 | 0 replies | |
| 13/17 | x86: zboot: Allow setting a separate setup base addressarch/ | +34 | 0 replies | |
| 14/17 | x86: zboot: Add an option to dump the setup informationarch/ arch/ | +199 | 1 reply | |
| 15/17 | x86: zboot: Allow overriding the command linearch/ arch/ arch/ | +47 | 0 replies | |
| 16/17 | cros: Update chromium documentationdoc/ | +6 | 0 replies | |
| 17/17 | cros: Add information about booting Chrome OS on x86doc/ | +32 | 0 replies |
Reviews trailers per patch
All 17 patches have a Reviewed-by or Acked-by.
| Patch | Wolfgang Wallner | Bin Meng |
|---|---|---|
| 1/17 | R-b | R-b |
| 2/17 | R-b | R-b |
| 3/17 | R-b | R-b |
| 4/17 | R-b | R-b |
| 5/17 | R-b | R-b |
| 6/17 | R-b | R-b |
| 7/17 | R-b | R-b |
| 8/17 | R-b | R-b |
| 9/17 | R-b | R-b |
| 10/17 | R-b | |
| 11/17 | R-b | R-b |
| 12/17 | R-b | R-b |
| 13/17 | R-b | R-b |
| 14/17 | R-b | R-b |
| 15/17 | R-b | R-b |
| 16/17 | R-b | R-b |
| 17/17 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/17] x86: zboot: Enhance the 'zboot' command
This command is currently monolithic and does not support scripts which want to adjust the boot process. This series updates it to be more like 'bootm', in that it has sub-commands for each stage of the boot. This allows some stages to be adjusted or skipped.
It also adds a way to dump out the setup block.
With these changes it is possible to boot an x86 Chrome OS image from a script.
Changes in v3:
- Add a comment about complete_zboot()
- Adjust maxargs in this patch
- Fix 'summary' typo
- Mention that the environment variables are for x86 only
- Move command help into the patch for each command
- Reduce maxargs to 6
- Split the 'load' command into its own patch
- Update two local arrays to be static
- Use 'Commandline' instead of 'Commandline'
Changes in v2:
- Add a comment explaining the logic for a specified setup-base address
- Adjust maxargs in this patch
- Fix comment about argv[0] in do_zboot_parent()
Simon Glass (17):
x86: Update the bootparam header
x86: zimage: Use a state struct to hold the state
x86: zimage: Avoid using #ifdef
x86: zboot: Move kernel-version code into a function
x86: zboot: Correct image type
x86: zimage: Disable interrupts just before booting
x86: zboot: Set up a sub-command structure
x86: zboot: Add a 'go' subcommand
x86: zboot: Add an 'info' subcommand
x86: zboot: Add an 'load' subcommand
x86: zboot: Add an 'setup' subcommand
x86: zboot: Set environment variables for image locations
x86: zboot: Allow setting a separate setup base address
x86: zboot: Add an option to dump the setup information
x86: zboot: Allow overriding the command line
cros: Update chromium documentation
cros: Add information about booting Chrome OS on x86
README | 4 + arch/x86/include/asm/bootparam.h | 25 +- arch/x86/include/asm/e820.h | 1 + arch/x86/include/asm/zimage.h | 30 +- arch/x86/lib/bootm.c | 2 +- arch/x86/lib/zimage.c | 484 +++++++++++++++++++++++++++---- doc/README.chromium | 41 ++- 7 files changed, 521 insertions(+), 66 deletions(-)
Signature · 1 line
2.28.0.526.ge36021eeef-goog