Hello,
 
I am currently having trouble to get swupdate working properly.
My problem:
I can execute swupdate -i normally and if the update fits I have no problem. However if I abort the update while running (i.e. simulating a power cut) and then reboot I end up in a kernel panic: "Unable to mount rootfs on unknown block". My understanding is that I should at least end up in a busybox or that the update is retried, but this does not happen.
I receive 1 error when updating which does not stop the update: "Could not find MTD".
 
My configuration:
I have a single rootfs and a separate boot partition. I build the initramfs using:
---
IMAGE_INSTALL = "base-files \
               base-passwd \
               swupdate \
               busybox \
               libconfig \
               util-linux-sfdisk \
               mtd-utils \
               mtd-utils-ubifs \
               ${@bb.utils.contains('SWUPDATE_INIT', 'tiny', 'virtual/initscripts-swupdate', 'initscripts sysvinit', d)} \
                "
---
This is taken from swupdate-image. I include the same packages (via _append) in my base image, is this necessary ?
I bundle the initramfs with my image using INITRAMFS_IMAGE_BUNDLE = "1"
 
Can you see a mistake I made ?
 
Best regards
Moritz
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to