Single Copy update

146 views
Skip to first unread message

Sai Kiran

unread,
Sep 25, 2023, 7:53:35 AM9/25/23
to swupdate
Hi,

How do I do a single copy update using swupdate? In the docs, it was mentioned to use initrd+kernel, built using Yocto. I have built the Yocto image. There is no initrd generated. What is the name of this initrd+kernel file? Do I need to add some dependencies in the recipe? I am using Beaglebone Black Rev. C. Is there any example/tutorial for me to get started?

Thanks in advance for your help.

Cheers,
Sai Kiran.

Sai Kiran Kumar Reddy Y

unread,
Sep 27, 2023, 2:26:51 AM9/27/23
to swupdate
Hi,

I found the ramdisk image in yocto build. It is called swupdate-image-beaglebone-yocto-20230927050728.rootfs.ext4.gz.u-boot. I loaded this file into RAM using 
load mmc 0:4 0x82000000 swupdate-image-beaglebone-yocto-20230927050728.rootfs.ext4.gz.u-boot
bootm 0x82000000

But I get the following error:
Wrong Image type for bootm command.
Error: Can't get kernel image.

What am I missing? 

Sai Kiran Kumar Reddy Y

unread,
Sep 27, 2023, 3:09:45 AM9/27/23
to swupdate
It is bootz and not bootm. It shows Starting Kernel.....and then loads the kernel in the SD card. How can I trigger an update from the rescue system. The ramdisk provided by meta-swupdate layer is the rescue image right? But I am booting to the actual rootfs on SD Card. Any thoughts? Could you please clear my doubts regarding single copy update?

Thanks,
Sai Kiran.

Reply all
Reply to author
Forward
0 new messages