spl: Add features for passing info from SPL to U-Boot proper
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest22 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | log: Correct definition of log_msg_ret()include/ | +1 | 0 replies | |
| 2/22 | spl: Add support for logging in SPL and TPLcommon/ common/ common/ +1 more | +49 | 0 replies | |
| 3/22 | Add core support for a bloblist to convey data from SPLcommon/ common/ common/ +2 more | +483 | 1 reply | |
| 3/22 | Add core support for a bloblist to convey data from SPL | +0 | 0 replies | |
| 4/22 | spl: Set up the bloblist in SPLcommon/ include/ | +43 | 0 replies | |
| 5/22 | bloblist: Locate bloblist in U-Bootcommon/ include/ | +38 | 0 replies | |
| 6/22 | test: Add a simple test for bloblistarch/ include/ test/ +2 more | +193 | 0 replies | |
| 7/22 | Add bloblist documentationdoc/ | +82 | 0 replies | |
| 8/22 | spl: Support hash, input, pch, pci, rtc, tpm in SPLcommon/ drivers/ | +53 | 0 replies | |
| 9/22 | spl: Add a define for SPL_TPL_PROMPTcommon/ include/ test/ | +32 | 0 replies | |
| 10/22 | spl: Make SPL_DISABLE_BANNER_PRINT a positive optioncommon/ common/ | +14 | 0 replies | |
| 11/22 | spl: Add a comment to spl_set_bd()common/ | +4 | 0 replies | |
| 12/22 | spl: Print a message if we are unable to load an imagecommon/ | +1 | 0 replies | |
| 13/22 | sandbox: Add a memory map to the sandbox READMEboard/ | +13 | 0 replies | |
| 14/22 | test/py: Add a way to pass flags to sandboxtest/ | +17 | 1 reply | |
| 15/22 | sandbox: Add an option to display of-platdata in SPLarch/ arch/ arch/ +2 more | +55 | 0 replies | |
| 16/22 | sandbox: Add a new 'sb' commandarch/ arch/ cmd/ +2 more | +64 | 0 replies | |
| 17/22 | sandbox: Allow puts() output before global_data is set upcommon/ | +7 | 1 reply | |
| 18/22 | sandbox: Refactor code to create os_jump_to_file()arch/ | +38 | 0 replies | |
| 19/22 | sandbox: Use malloc() and free() from os layerarch/ arch/ | +15 | 1 reply | |
| 20/22 | sandbox: Filter arguments when starting U-Bootarch/ | +26 | 0 replies | |
| 21/22 | sandbox: Boot in U-Boot through the standard callarch/ arch/ | +20 | 0 replies | |
| 22/22 | spl: Add support for passing handoff info to U-Boot properarch/ arch/ cmd/ +11 more | +250 | 0 replies |
Reviews trailers per patch
5 of 23 patches have a Reviewed-by or Acked-by.
| Patch | Joe Hershberger | Andreas Dannenberg | Stephen Warren |
|---|---|---|---|
| 1/22 | |||
| 2/22 | |||
| 3/22 | A-b | ||
| 3/22 | A-b | ||
| 4/22 | |||
| 5/22 | |||
| 6/22 | |||
| 7/22 | |||
| 8/22 | |||
| 9/22 | |||
| 10/22 | |||
| 11/22 | |||
| 12/22 | |||
| 13/22 | |||
| 14/22 | A-b | ||
| 15/22 | |||
| 16/22 | |||
| 17/22 | R-b | ||
| 18/22 | |||
| 19/22 | R-b | ||
| 20/22 | |||
| 21/22 | |||
| 22/22 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [U-Boot] [PATCH 00/22] spl: Add features for passing info from SPL to U-Boot proper
At present we have no standard way of passing information from SPL to U-Boot. Such information may be the size of DRAM banks or some information about the reset state of the machine,for example.
This series first adds a bloblist, which allows a list of 'blobs' to be created, each with a tag so that subsystems can store data and retrieve it later. Then it adds the SPL 'handoff' information, which uses bloblist.
Various minor sandbox enhancements are provided to make this easier, or to support testing.
Simon Glass (22):
log: Correct definition of log_msg_ret()
spl: Add support for logging in SPL and TPL
Add core support for a bloblist to convey data from SPL
spl: Set up the bloblist in SPL
bloblist: Locate bloblist in U-Boot
test: Add a simple test for bloblist
Add bloblist documentation
spl: Support hash, input, pch, pci, rtc, tpm in SPL
spl: Add a define for SPL_TPL_PROMPT
spl: Make SPL_DISABLE_BANNER_PRINT a positive option
spl: Add a comment to spl_set_bd()
spl: Print a message if we are unable to load an image
sandbox: Add a memory map to the sandbox README test/py: Add a way to pass flags to sandbox
sandbox: Add an option to display of-platdata in SPL
sandbox: Add a new 'sb' command
sandbox: Allow puts() output before global_data is set up
sandbox: Refactor code to create os_jump_to_file()
sandbox: Use malloc() and free() from os layer
sandbox: Filter arguments when starting U-Boot
sandbox: Boot in U-Boot through the standard call
spl: Add support for passing handoff info to U-Boot proper
arch/Kconfig | 1 + arch/powerpc/include/asm/spl.h | 3 - arch/sandbox/cpu/eth-raw-os.c | 9 +- arch/sandbox/cpu/os.c | 115 +++++++++----- arch/sandbox/cpu/spl.c | 31 +++- arch/sandbox/cpu/start.c | 19 +++ arch/sandbox/cpu/u-boot-spl.lds | 2 +- arch/sandbox/include/asm/handoff.h | 18 +++ arch/sandbox/include/asm/state.h | 8 + board/sandbox/README.sandbox | 14 +- cmd/Makefile | 1 + cmd/host.c | 5 - cmd/sb.c | 65 ++++++++ common/Kconfig | 84 +++++++++- common/Makefile | 5 +- common/bloblist.c | 239 +++++++++++++++++++++++++++++ common/board_f.c | 47 ++++++ common/console.c | 7 + common/init/Makefile | 1 + common/init/handoff.c | 47 ++++++ common/spl/Kconfig | 95 +++++++++++- common/spl/spl.c | 142 +++++++++++++---- configs/sandbox_spl_defconfig | 1 + doc/README.bloblist | 82 ++++++++++ drivers/Makefile | 11 +- include/asm-generic/global_data.h | 7 + include/bloblist.h | 194 +++++++++++++++++++++++ include/handoff.h | 36 +++++ include/log.h | 10 +- include/spl.h | 41 +++++ include/test/suites.h | 1 + test/Makefile | 1 + test/bloblist.c | 187 ++++++++++++++++++++++ test/cmd_ut.c | 3 + test/py/tests/test_handoff.py | 14 ++ test/py/tests/test_ofplatdata.py | 31 +++- test/py/u_boot_console_base.py | 2 +- test/py/u_boot_console_sandbox.py | 18 ++- test/run | 2 +- 39 files changed, 1497 insertions(+), 102 deletions(-) create mode 100644 arch/sandbox/include/asm/handoff.h create mode 100644 cmd/sb.c create mode 100644 common/bloblist.c create mode 100644 common/init/handoff.c create mode 100644 doc/README.bloblist create mode 100644 include/bloblist.h create mode 100644 include/handoff.h create mode 100644 test/bloblist.c create mode 100644 test/py/tests/test_handoff.py
Signature · 1 line
2.19.0.605.g01d371f741-goog