diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-30 09:56:54 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-05-02 16:58:13 +0300 |
commit | 9ae25b9ac9e295ecb50268fd926b220ad8f28e3b (patch) | |
tree | ca5463ed1dc027d711fd656b0c72ed5399d10f76 /doc/arch | |
parent | 747093dd4089bdb2eccae90d7bccf33198e78eaa (diff) | |
download | u-boot-9ae25b9ac9e295ecb50268fd926b220ad8f28e3b.tar.xz |
sandbox: Add a build for VPL
Add an initial VPL build for sandbox. This includes the flow:
TPL (with of-platdata) -> VPL -> SPL -> U-Boot
To run it:
./tpl/u-boot-tpl -D
The -D is needed to get the default device tree, which includes the serial
console info.
Add a Makefile check for OF_HOSTFILE which is the option that enables
devicetree control on sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/arch')
-rw-r--r-- | doc/arch/sandbox.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/arch/sandbox.rst b/doc/arch/sandbox.rst index e1119492b4..bc670b98b7 100644 --- a/doc/arch/sandbox.rst +++ b/doc/arch/sandbox.rst @@ -420,6 +420,19 @@ state_setprop() which does this automatically and avoids running out of space. See existing code for examples. +VPL (Verifying Program Loader) +------------------------------ + +Sandbox provides an example build of vpl called `sandbox_vpl`. This can be run +using:: + + /path/to/sandbox_vpl/tpl/u-boot-tpl -D + +It starts up TPL (first-stage init), then VPL, then runs SPL and finally U-Boot +proper, following the normal flow for a verified boot. At present, no +verification is actually implemented. + + Debugging the init sequence --------------------------- |