diff options
| author | Martin Schwan <[email protected]> | 2026-02-18 14:35:07 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-03-06 12:09:17 -0600 |
| commit | 36add050eea439f0b2a15e4ea0d3a8e21216f159 (patch) | |
| tree | 28fef3ed892a88ce361cdc037432a758de27a72a /scripts | |
| parent | fe6484b402759dba6024cf2f8c212b27f769a0d7 (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 'scripts')
0 files changed, 0 insertions, 0 deletions
