public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 00/11] bootm: Support substitions in bootargs and add tests
@ 2020-10-19 13:55 Simon Glass
  2020-10-19 13:55 ` [PATCH 01/11] env: Allow returning errors from hdelete_r() Simon Glass
                   ` (11 more replies)
  0 siblings, 12 replies; 37+ messages in thread
From: Simon Glass @ 2020-10-19 13:55 UTC (permalink / raw)
  To: u-boot

This series adds tests to the fixup_silent-linux() function and extends
the 'zimage' command to use it.

It also adds a new string-substition feature to allow bootargs to be a
template, rather than having to build it up piece by piece with
information obtained in a build script.

It also updates zimage to use the same command-line processing.

With these additions it is possible to boot Chrome OS from a U-Boot script
on most Chromebooks.


Simon Glass (11):
  env: Allow returning errors from hdelete_r()
  bootm: Add tests for fixup_silent_linux()
  bootm: Update fixup_silent_linux() to return an error
  bootm: Rename fixup_silent_linux()
  bootm: Add a bool parameter to bootm_process_cmdline_env()
  bootm: Use size rather than length for CONSOLE_ARG
  bootm: Split out bootargs environment reading / writing
  bootm: Update bootm_process_cmdline_env() to use flags
  bootm: Allow updating the bootargs in a buffer
  x86: zimage: Add silent-console processing
  bootm: Support string substitution in bootargs

 README                |  16 +++
 arch/Kconfig          |   2 +
 arch/x86/lib/zimage.c |  14 +++
 cmd/nvedit.c          |   6 +-
 common/Kconfig.boot   |  20 ++++
 common/bootm.c        | 206 +++++++++++++++++++++++++++++------
 include/bootm.h       |  40 +++++++
 include/search.h      |  11 +-
 include/test/suites.h |   1 +
 lib/hashtable.c       |  12 +--
 test/Makefile         |   1 +
 test/bootm.c          | 243 ++++++++++++++++++++++++++++++++++++++++++
 test/cmd_ut.c         |   1 +
 test/env/hashtable.c  |   2 +-
 14 files changed, 534 insertions(+), 41 deletions(-)
 create mode 100644 test/bootm.c

-- 
2.29.0.rc1.297.gfa9743e501-goog

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

end of thread, other threads:[~2020-11-03 15:11 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-19 13:55 [PATCH 00/11] bootm: Support substitions in bootargs and add tests Simon Glass
2020-10-19 13:55 ` [PATCH 01/11] env: Allow returning errors from hdelete_r() Simon Glass
2020-10-19 13:55 ` [PATCH 02/11] bootm: Add tests for fixup_silent_linux() Simon Glass
2020-10-19 13:55 ` [PATCH 03/11] bootm: Update fixup_silent_linux() to return an error Simon Glass
2020-10-19 13:55 ` [PATCH 04/11] bootm: Rename fixup_silent_linux() Simon Glass
2020-10-19 13:55 ` [PATCH 05/11] bootm: Add a bool parameter to bootm_process_cmdline_env() Simon Glass
2020-10-19 13:55 ` [PATCH 06/11] bootm: Use size rather than length for CONSOLE_ARG Simon Glass
2020-10-19 13:55 ` [PATCH 07/11] bootm: Split out bootargs environment reading / writing Simon Glass
2020-10-19 14:45   ` Wolfgang Denk
2020-10-20 19:12     ` Simon Glass
2020-10-21  7:02       ` Wolfgang Denk
2020-10-21 15:51         ` Simon Glass
2020-10-19 13:55 ` [PATCH 08/11] bootm: Update bootm_process_cmdline_env() to use flags Simon Glass
2020-10-19 13:56 ` [PATCH 09/11] bootm: Allow updating the bootargs in a buffer Simon Glass
2020-10-19 14:46   ` Wolfgang Denk
2020-10-20 19:12     ` Simon Glass
2020-10-21  6:57       ` Wolfgang Denk
2020-10-21 15:51         ` Simon Glass
2020-10-19 13:56 ` [PATCH 10/11] x86: zimage: Add silent-console processing Simon Glass
2020-10-19 13:56 ` [PATCH 11/11] bootm: Support string substitution in bootargs Simon Glass
2020-10-19 14:43   ` Rasmus Villemoes
2020-10-19 15:50     ` Simon Glass
2020-10-20 13:19       ` Wolfgang Denk
2020-10-19 14:54   ` Wolfgang Denk
2020-10-19 15:47     ` Michael Walle
2020-10-19 15:52       ` Simon Glass
2020-10-20 13:26         ` Wolfgang Denk
2020-10-20 19:23           ` Simon Glass
2020-10-21  7:16             ` Wolfgang Denk
2020-10-21 15:51               ` Simon Glass
2020-10-22 12:32                 ` Wolfgang Denk
2020-11-03 15:11                   ` Simon Glass
2020-10-19 15:50     ` Simon Glass
2020-10-20 13:17       ` Wolfgang Denk
2020-10-20 19:23         ` Simon Glass
2020-10-19 14:39 ` [PATCH 00/11] bootm: Support substitions in bootargs and add tests Heinrich Schuchardt
2020-10-20 19:12   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox