Hi Hans,

Am 12.02.20 um 18:54 schrieb Hans-Ulrich Schlieben:
> Hi,
> 
> i have a working configuration with images and rauc bundles. My problem
> is that kernel and devicetree are located outside the rootfs and so a
> bundle update never includes these.

a RAUC bundle can contain images for multiple partitions / slots.
You just have to specify them in your system.conf to make them updatable.

> My image.wks looks this:
> part BAREBOX --source rawcopy
> --sourceparams="file=barebox.bin,skip=1024" --ondisk mmc --no-table
> --align 1
> part   --source bootimg-partition --fstype=vfat --label boot --ondisk
> mmc --active --align 4096 --size 20
> part / --source rootfs            --fstype=ext4 --label rootA --ondisk
> mmc --align 1024 --use-uuid --fixed-size 700
> part / --source rootfs            --fstype=ext4 --label rootB --ondisk
> mmc --align 1024 --use-uuid --fixed-size 700
> 
> How do i move kernel and devicetree into /boot? 

An

IMAGE_INSTALL_append = " kernel-image kernel-devicetree"

, for example in your image recipe, should do the trick.

When using barebox you have full bootspec support thus you probably als
want to place a bootspec entry in /loder/entries to automate loading the
right kernel and dtb. A helper class is here:

https://github.com/pengutronix/meta-ptx/blob/master/classes/bootspec.bbclass

> Any help would be greatly appreciated. Thank you 

Best regards, Enrico


-- 
Pengutronix e.K.                           | Enrico Jörns                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48384): https://lists.yoctoproject.org/g/yocto/message/48384
Mute This Topic: https://lists.yoctoproject.org/mt/71218872/21656
Mute #yocto: https://lists.yoctoproject.org/mk?hashtag=yocto&subid=6691583
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to