rauc / meta-rauc-community

Yocto/OpenEmbedded meta layer with examples for integration of RAUC, the embedded Linux A/B update framework
MIT License
48 stars 52 forks source link

Fix up U-Boot config to be able to boot from squashfs so booting kern… #111

Closed unverbraucht closed 1 month ago

unverbraucht commented 1 month ago

The changes in #105 work only for ext4 rootfs. When using a squashfs we need to patch u-boot to also support loading the kernel from the squashfs rootfs.

This patch adds this. No changes to the boot script required. I think the overhead of unconditionally adding this to u-boot should be quite small.

leon-anavi commented 1 month ago

Hi @unverbraucht,

Thank you for your contribution to enable squashfs and make it work for kernel updates. Looks good to me.

Best regards, Leon

unverbraucht commented 1 month ago

Hi @leon-anavi ,

thanks. I've signed off the commits.

leon-anavi commented 1 month ago

Hi @unverbraucht,

Thank you! If there are no remarks by Friday I will proceed with merging this GitHub pull request. Apart from having this change in branch scarthgap, I think it makes sense to have it also in the master branch.

Best regards, Leon