summaryrefslogtreecommitdiff
path: root/configs/sandbox_defconfig
diff options
context:
space:
mode:
authorMartin Schwan <[email protected]>2026-02-18 14:35:07 +0100
committerTom Rini <[email protected]>2026-03-06 12:09:17 -0600
commit36add050eea439f0b2a15e4ea0d3a8e21216f159 (patch)
tree28fef3ed892a88ce361cdc037432a758de27a72a /configs/sandbox_defconfig
parentfe6484b402759dba6024cf2f8c212b27f769a0d7 (diff)
test: boot: Add test for bootmeth_rauc
Add a simple unit test for testing the RAUC bootmethod. Provide only the very basic tests for now, running a scan and list, to verify correct detection of the RAUC bootmethod. More advanced boot tests of this bootmethod can be added in a separate patch. This requires another mmc image (mmc10) to contain the following partitions: 1. boot A: contains a dummy boot.scr 2. root A: contains an empty root filesystem 3. boot B: contains a dummy boot.scr 4. root B: contains an empty root filesystem The bootmeth_rauc scans all four partitions for existence and expects a boot script in each boot partition. Also add BOOTMETH_RAUC as a dependency on sandbox so that we can test this with: $ ./test/py/test.py -B sandbox --build -k test_ut # build the mmc10.img $ ./test/py/test.py -B sandbox --build -k bootflow_rauc Signed-off-by: Martin Schwan <[email protected]> Reviewed-by: Simon Glass <[email protected]> [trini: mmc9 is now in use, switch to mmc10] Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'configs/sandbox_defconfig')
-rw-r--r--configs/sandbox_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 280f9c9cfe7..36bf37827e9 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -24,6 +24,7 @@ CONFIG_FIT=y
CONFIG_FIT_CIPHER=y
CONFIG_FIT_VERBOSE=y
CONFIG_BOOTMETH_ANDROID=y
+CONFIG_BOOTMETH_RAUC=y
CONFIG_UPL=y
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_MEASURED_BOOT=y