diff options
author | Roland Hieber <rhi@pengutronix.de> | 2023-09-26 11:27:13 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2023-10-20 12:52:34 +0200 |
commit | 60f18c90ef5f79d8ac2ad446a02c52096002951e (patch) | |
tree | e876658e8ee02c0530eda155dd300c7c65d0dc5e /configs/platform-v7a/barebox-stm32mp-defaultenv | |
parent | d0056b625cf49b9bcb9fbded96946c54a9ebc1a7 (diff) | |
download | DistroKit-60f18c90ef5f79d8ac2ad446a02c52096002951e.tar.gz DistroKit-60f18c90ef5f79d8ac2ad446a02c52096002951e.tar.xz |
v7a: add RAUC support for lxa-mc1
* Add a redundant root partition to the genimage config
* Add appropriate variables to the barebox defaultenv so the bootchooser
can decide into which partition to boot
* Add a state backend to the device tree fragment
* Map partitions in rauc-udev compatibility layer
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/distrokit/20230926092713.3680509-5-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/barebox-stm32mp-defaultenv')
4 files changed, 4 insertions, 1 deletions
diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource b/configs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource index b529384..edce471 100755 --- a/configs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource +++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource @@ -5,5 +5,5 @@ if [ -n "$nv.boot.default" ]; then fi if [ $bootsource = mmc ]; then - global.boot.default="mmc${bootsource_instance}.root net" + global.boot.default="bootchooser net" fi diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.state_prefix b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.state_prefix new file mode 100644 index 0000000..6246412 --- /dev/null +++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.state_prefix @@ -0,0 +1 @@ +state.bootstate diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system0.boot b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system0.boot new file mode 100644 index 0000000..f3c4d03 --- /dev/null +++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system0.boot @@ -0,0 +1 @@ +mmc0.root-a diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system1.boot b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system1.boot new file mode 100644 index 0000000..6fab494 --- /dev/null +++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system1.boot @@ -0,0 +1 @@ +mmc0.root-b |