Hi, You can have a look at https://wiki.yoctoproject.org/wiki/System_Update.
I have used RAUC and u-boot on Rasperry Pi, there is an meta-rauc layer for Yocto. RAUC Dok at https://rauc.readthedocs.io/en/latest/. RAUC have an u-boot example script for loading different rootfs on boot, have a look at there GitHub: https://github.com/rauc/rauc/blob/master/contrib/uboot.sh Best regards Jonas Andersson > 3 juli 2019 kl. 18:59 skrev Szabolcs Báder <s...@baader.hu>: > > Hi, > > I created for Raspberry Pi a simple OS-boot-switcher. I change a param from > rootfs, reboot and new OS run. I would like to add to for this flow a > parameter to create ro boot and rootfs. > > I would like to read this parameter at boot and depend on this choose which > OS will load. How could I define this at boot (eg. from cmdline.txt or with a > shell script or load c code ..?). What is the best idea/ way to do that > within Yocto? > > > Thanks in advance, > Szabolcs > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto