Replies: 1 comment 1 reply
-
Hi @saramahe, RAUC uses the image type (based on the file name extensions of artifacts) together with the slot type to figure out, which handler to use for writing the slot update. For slot type
Maybe have a look into https://github.com/rauc/meta-rauc-community/tree/master/meta-rauc-raspberrypi for a RPI example. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ,
We are using Raspberry PI CM4 for our embedded development. As per the requirements, We don't need permanent rootfs system in emmc, hence we are using initramfs image for our applications. Initramfs are loaded into RAM and used as an initial root filesystem during the early boot process.
Our requirements for the OTA upgrade is below,
1.We need to have two partitions in emmc formatted to ext4.
2.We need to have working application +kernel images stored in two partitons (.cpio.gz.u-boot + Image)
3.We need to load the images from one partiton , for example say /dev/mmcblk0p2, then we need to mark the partition as active and other one /dev/mmcblk0p3 as inactive
4. Whenever there is an upgrade, we need to download the upgrade package bundle and need to extract to other inactive partition /dev/mmcblk0p3 and then need to load the image from this partition to RAM.
We are using u-boot as bootloader and using following commands,
load ${BOOT_DEV} ${kernel_addr_r} Image;
load ${BOOT_DEV} ${ramdisk_addr_r}My-dev-image.rootfs.cpio.gz.u-boot;
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr}
We are using yocto as build environment. I tried to integrate meta-rauc to our system.
This is my sytem.conf,
This is bundle recipe,
I got these errors in my target , when I try to install the bundle.
I did check this cause of this error in the rauc code, I could see there is no default handler for this image and slot type.
how to do installation with this image type? Is there any way to do this kind of OTA upgrade with RAUC using custom handler ? Is RAUC is suitable for these kind of requirements? does anyone else in forum came across this scenario, please provide your inputs.
Beta Was this translation helpful? Give feedback.
All reactions