Hi,
I have integrated meta-swupdate Yocto layer to my Yocto Pyro branch for BeagleBone Black board and trying to updated the Rootfs using swupdate utility using Web server. I have loaded my .swu image as per link "https://sbabic.github.io/swupdate/swupdate.html" but after successful software update, the rootfs had not change and remains the same.
Please find below Status Messages from Web server :
Waiting for requests...
[network_initializer] : Main thread sleep again !
SWUPDATE successful !
[install_single_image] : Found installer for stream swupdate-image-beaglebone.ext3.gz.u-boot raw
Installation in progress
[network_initializer] : Valid image found: copying to FLASH
[extract_files] : Found file: filename swupdate-image-beaglebone.ext3.gz.u-boot size 12293557 required
[parse_images] : Found Image : swupdate-image-beaglebone.ext3.gz.u-boot in device : /dev/mmcblk1p3 for handler raw
[extract_file_to_tmp] : Found file: filename sw-description size 202
Software Update started !
File information: core-image-full-cmdline-beaglebone-20180105113846.swu size:12294656 bytes
Logs from the serial console :
X_FILENAME: core-image-full-cmdline-beaglebone-20180105113846.swu length: 12294656
[NOTIFY] : SWUPDATE running : [network_thread] : Incoming network request: processing...
[NOTIFY] : SWUPDATE started : Software Update started !
[NOTIFY] : SWUPDATE running : [extract_file_to_tmp] : Found file:
filename sw-description
size 202
Version 0.0.0
[NOTIFY] : SWUPDATE running : [parse_images] : Found Image : swupdate-image-beaglebone.ext3.gz.u-boot in device : /dev/mmcblk1p3 for handler raw
[NOTIFY] : SWUPDATE running : [extract_files] : Found file:
filename swupdate-image-beaglebone.ext3.gz.u-boot
size 12293557 required
[NOTIFY] : SWUPDATE running : [network_initializer] : Valid image found: copying to FLASH
Warning: Bad CRC, using default environment
[NOTIFY] : SWUPDATE running : Installation in progress
[NOTIFY] : SWUPDATE running : [install_single_image] : Found installer for stream swupdate-image-beaglebone.ext3.gz.u-boot raw
[NOTIFY] : SWUPDATE successful ! SWUPDATE successful !
[NOTIFY] : SWUPDATE running : [network_initializer] : Main thread sleep again !
[NOTIFY] : No SWUPDATE running : Waiting for requests...
Main loop Daemon
So, any suggestion or change to replace rootfs using swupdate utility.
Hi,
Yes, I am also tried with meta-swupdate-boards with Yocto but the rootfs not changed in this case also. Please find the attached logs of Webserver Status messages ans Serial Console.
NOTE : I am first flash my actual rootfs to the sd-card and start the beaglebone. Then I have create partition of on board EMMC using one script (5 partitions : p1 to p5 ) and dump the sd-card partitions (p1-boot, p2-rootfs) into EMMC.
When I performed the Software upgrade, the utility uses the EMMC partition /dev/mmcblk1p3 as described in sw-desription file which is correct but not flash the image in to the partition because I saw this partition as empty (i.e. when I trying to mount the partition, it gives error).
Any suggestions ?
> an email to swupdate+unsubscribe@googlegroups.com
> <mailto:swupdate+unsubscribe@googlegroups.com>.
> To post to this group, send email to swup...@googlegroups.com
> <mailto:swupdate@googlegroups.com>.
> > an email to swupdate+unsubscribe@googlegroups.com> <mailto:swupdate%2Bunsu...@googlegroups.com>
> > <mailto:swupdate+unsubscribe@googlegroups.com
> <mailto:swupdate%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to swup...@googlegroups.com
> <mailto:swupdate@googlegroups.com>> > <mailto:swupdate@googlegroups.com <mailto:swupdate@googlegroups.com>>.
> > For more options, visit https://groups.google.com/d/optout> <https://groups.google.com/d/optout>.
>
> --
> =====================================================================
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email:
> sba...@denx.de <mailto:sba...@denx.de>
> =====================================================================
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swupdate+unsubscribe@googlegroups.com
> <mailto:swupdate+unsubscribe@googlegroups.com>.
> <mailto:swupdate@googlegroups.com>.