u-boot/test
Tom Rini 8cfac237b9 Merge branch '2022-04-25-initial-implementation-of-stdboot'
To quote the author:
The bootflow feature provide a built-in way for U-Boot to automatically
boot an Operating System without custom scripting and other customisation.
This is called 'standard boot' since it provides a standard way for
U-Boot to boot a distro, without scripting.

It introduces the following concepts:

   - bootdev - a device which can hold a distro
   - bootmeth - a method to scan a bootdev to find bootflows (owned by
                U-Boot)
   - bootflow - a description of how to boot (owned by the distro)

This series provides an implementation of these, enabled to scan for
bootflows from MMC, USB and Ethernet. It supports the existing distro
boot as well as the EFI loader flow (bootefi/bootmgr). It works
similiarly to the existing script-based approach, but is native to
U-Boot.

With this we can boot on a Raspberry Pi 3 with just one command:

   bootflow scan -lb

which means to scan, listing (-l) each bootflow and trying to boot each
one (-b). The final patch shows this.

With a standard way to identify boot devices, booting become easier. It
also should be possible to support U-Boot scripts, for backwards
compatibility only.

...

The design is described in these two documents:

https://drive.google.com/file/d/1ggW0KJpUOR__vBkj3l61L2dav4ZkNC12/view?usp=sharing

https://drive.google.com/file/d/1kTrflO9vvGlKp-ZH_jlgb9TY3WYG6FF9/view?usp=sharing
2022-04-25 16:02:27 -04:00
..
boot bootstd: Add tests for bootstd including all uclasses 2022-04-25 10:00:04 -04:00
cmd led: Configure LED default-state on boot 2022-04-14 15:39:15 -04:00
common event: Add events for device probe/remove 2022-03-10 08:28:36 -05:00
dm Merge branch '2022-04-25-initial-implementation-of-stdboot' 2022-04-25 16:02:27 -04:00
env sandbox: add test of CONFIG_ENV_IMPORT_FDT 2021-05-04 12:52:30 -04:00
fs Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
image sandbox: test: Tidy up spl_test_load() calls 2022-03-18 19:24:24 -06:00
lib abuf: Correct a corner case with abuf_realloc() 2022-04-06 14:01:42 -04:00
log doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
optee test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
overlay test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
py bootstd: Add setup for the bootflow tests 2022-04-25 10:00:04 -04:00
stdint Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
trace SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bloblist.c bloblist: Add functions to obtain base address and size 2022-01-13 09:13:41 -07:00
bootm.c test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
cmd_ut.c bootstd: Add tests for bootstd including all uclasses 2022-04-25 10:00:04 -04:00
command_ut.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
common.sh Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
compression.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
Kconfig lib: add crypt subsystem 2021-07-23 13:36:14 -04:00
Makefile bootstd: Add tests for bootstd including all uclasses 2022-04-25 10:00:04 -04:00
nokia_rx51_test.sh Nokia RX-51: Add check for /lib/ld-linux.so.2 in test script 2021-07-15 17:56:05 +05:30
print_ut.c lib: Move string tests to the string module 2022-04-25 10:00:03 -04:00
run test: Run sandbox_spl tests on sandbox_noinst 2021-03-26 17:03:09 +13:00
str_ut.c lib: Add a way to find the postiion of a trailing number 2022-04-25 10:00:03 -04:00
test-main.c event: Add a simple test 2022-03-10 08:28:36 -05:00
time_ut.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
unicode_ut.c test: test UTF-16 truncation in snprintf() 2022-02-05 20:20:01 +01:00
ut.c test: Add a way to skip console checking until a string matches 2021-09-16 14:39:40 -04:00