sandbox: Add an image for VPL
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:15 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:04:00 +0000 (11:04 -0400)
commit8de9896aa61579da62103aa06e9ab49006b3e5ab
tree933d216833046e05a1673ea090b274b8949209a9
parenta56f663f07073713042bb0fd08053aeb667e717b
sandbox: Add an image for VPL

Use binman to build an image which includes all the U-Boot phases so that
a full VBE boot can take place with just that image.bin file. Attach the
image file to mmc2 so it can be loaded.

VBE is used to load images in two phases:

   - In VPL, VBE decides which SPL image to load
   - In SPL, VBE decides which U-Boot image to load

The latter should really be determined by VPL, since it does the full
signature verification on the selected configuration. However, we have
separate configurations for SPL and U-Boot proper, so for now we keep it
simple and have SPL do its own verification. This will need to be
tidied up later.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
arch/sandbox/dts/sandbox_vpl.dtsi [new file with mode: 0644]
arch/sandbox/dts/test.dts