All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/16] x86: zboot: Enhance the 'zboot' command
@ 2020-08-29 21:41 Simon Glass
  2020-08-29 21:41 ` [PATCH v2 01/16] x86: Update the bootparam header Simon Glass
                   ` (16 more replies)
  0 siblings, 17 replies; 37+ messages in thread
From: Simon Glass @ 2020-08-29 21:41 UTC (permalink / raw)
  To: u-boot

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 v2:
- Fix comment about argv[0] in do_zboot_parent()
- Add a comment explaining the logic for a specified setup-base address

Simon Glass (16):
  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 '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            | 483 +++++++++++++++++++++++++++----
 doc/README.chromium              |  41 ++-
 7 files changed, 520 insertions(+), 66 deletions(-)

-- 
2.28.0.402.g5ffc5be6b7-goog

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2020-09-21  2:34 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-29 21:41 [PATCH v2 00/16] x86: zboot: Enhance the 'zboot' command Simon Glass
2020-08-29 21:41 ` [PATCH v2 01/16] x86: Update the bootparam header Simon Glass
2020-09-01  8:23   ` Bin Meng
2020-09-08 14:05     ` Andy Shevchenko
2020-09-21  2:34       ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 02/16] x86: zimage: Use a state struct to hold the state Simon Glass
2020-09-01  8:45   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 03/16] x86: zimage: Avoid using #ifdef Simon Glass
2020-09-01  8:45   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 04/16] x86: zboot: Move kernel-version code into a function Simon Glass
2020-09-01  8:48   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 05/16] x86: zboot: Correct image type Simon Glass
2020-09-01  8:56   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 06/16] x86: zimage: Disable interrupts just before booting Simon Glass
2020-09-01  9:35   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 07/16] x86: zboot: Set up a sub-command structure Simon Glass
2020-09-01  9:30   ` Bin Meng
2020-09-05 20:51     ` Simon Glass
2020-08-29 21:41 ` [PATCH v2 08/16] x86: zboot: Add a 'go' subcommand Simon Glass
2020-09-01  9:35   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 09/16] x86: zboot: Add an 'info' subcommand Simon Glass
2020-09-01  9:35   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 10/16] x86: zboot: Add an 'setup' subcommand Simon Glass
2020-09-01  9:35   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 11/16] x86: zboot: Set environment variables for image locations Simon Glass
2020-09-01  9:39   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 12/16] x86: zboot: Allow setting a separate setup base address Simon Glass
2020-09-01 10:12   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 13/16] x86: zboot: Add an option to dump the setup information Simon Glass
2020-09-01 10:08   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 14/16] x86: zboot: Allow overriding the command line Simon Glass
2020-09-01 10:12   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 15/16] cros: Update chromium documentation Simon Glass
2020-09-01 10:12   ` Bin Meng
2020-08-29 21:41 ` [PATCH v2 16/16] cros: Add information about booting Chrome OS on x86 Simon Glass
2020-09-01 10:12   ` Bin Meng
2020-08-31  7:23 ` [PATCH v2 07/16] x86: zboot: Set up a sub-command structure Wolfgang Wallner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.