Thanks Jonas!

Yes, I tried Swupdate, but not RAUC. I will try out and check it deeply!

I would like to create my own solution (as a learning path too). In this
case, if I think good, that possible to solve with systemd (emergency boot
etc) and uboot. I thought I can solve that with a kernel module or
something similar, with an init script. I saw one solution.. but I forget
where.. that was really smart hobby project on github. Therefore I asked
the community, maybe somebody have experience in this area.. which is the
best way to start that.

Regards,
Szabolcs

Gmail <jonaskganders...@gmail.com> ezt írta (időpont: 2019. júl. 3., Sze,
20:44):

> 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

Reply via email to