Closed jorisoffouga closed 5 years ago
See raw log : root@stm32mp157a-dk1:~# swupdate -v -i update-image-stm32mp157a-dk1.swu --select=stable,rootfsB -H stm32mp157a-dk1:rev0.1 -f /etc/swupdate.cfg Swupdate v2019.04.0
Licensed under GPLv2. See source distribution for detailed copyright notices.
Running on stm32mp157a-dk1 Revision rev0.1 Registered handlers: dummy archive tar uboot bootloader lua raw rawfile remote shellscript preinstall postinstall swuforward software set: stable mode: rootfsB [TRACE] : SWUPDATE running : [network_initializer] : Main loop Daemon [TRACE] : SWUPDATE running : [listener_create] : got no socket at /tmp/swupdateprog from systemd [TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/swupdateprog [TRACE] : SWUPDATE running : [listener_create] : got no socket at /tmp/sockinstctrl from systemd [TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/sockinstctrl [TRACE] : SWUPDATE running : [extract_sw_description] : Found file: filename sw-description size 1160 checksum 0x112a1 VERIFIED [TRACE] : SWUPDATE running : [get_common_fields] : Version 1.0.0 [TRACE] : SWUPDATE running : [parse_hw_compatibility] : Accepted Hw Revision : rev0.1 [TRACE] : SWUPDATE running : [parse_images] : Found compressed Image: base-image-swupdate-stm32mp157a-dk1.ext4.gz in device : /dev/mmcblk0p6 for handler raw (installed from stream) [TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: rootpart = 6 [TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: upgrade_available = 1 [TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: bootcount = 0 [TRACE] : SWUPDATE running : [check_hw_compatibility] : Hardware stm32mp157a-dk1 Revision: rev0.1 [TRACE] : SWUPDATE running : [check_hw_compatibility] : Hardware compatibility verified [TRACE] : SWUPDATE running : [cpio_scan] : Found file: filename base-image-swupdate-stm32mp157a-dk1.ext4.gz size 37003925 REQUIRED [TRACE] : SWUPDATE running : [install_single_image] : Found installer for stream base-image-swupdate-stm32mp157a-dk1.ext4.gz raw Software updated successfully Please reboot the device to start the new software [INFO ] : SWUPDATE successful ! [DEBUG] : SWUPDATE running : [postupdate] : Executing post-update command 'reboot' [DEBUG] : SWUPDATE running : [postupdate] : Post-update command returned 0
Reviewed-by: Pierre-Jean Texier pjtexier@koncepto.io
See raw log : root@stm32mp157a-dk1:~# swupdate -v -i update-image-stm32mp157a-dk1.swu --select=stable,rootfsB -H stm32mp157a-dk1:rev0.1 -f /etc/swupdate.cfg Swupdate v2019.04.0
Licensed under GPLv2. See source distribution for detailed copyright notices.
Running on stm32mp157a-dk1 Revision rev0.1 Registered handlers: dummy archive tar uboot bootloader lua raw rawfile remote shellscript preinstall postinstall swuforward software set: stable mode: rootfsB [TRACE] : SWUPDATE running : [network_initializer] : Main loop Daemon [TRACE] : SWUPDATE running : [listener_create] : got no socket at /tmp/swupdateprog from systemd [TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/swupdateprog [TRACE] : SWUPDATE running : [listener_create] : got no socket at /tmp/sockinstctrl from systemd [TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/sockinstctrl [TRACE] : SWUPDATE running : [extract_sw_description] : Found file: filename sw-description size 1160 checksum 0x112a1 VERIFIED [TRACE] : SWUPDATE running : [get_common_fields] : Version 1.0.0 [TRACE] : SWUPDATE running : [parse_hw_compatibility] : Accepted Hw Revision : rev0.1 [TRACE] : SWUPDATE running : [parse_images] : Found compressed Image: base-image-swupdate-stm32mp157a-dk1.ext4.gz in device : /dev/mmcblk0p6 for handler raw (installed from stream) [TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: rootpart = 6 [TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: upgrade_available = 1 [TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: bootcount = 0 [TRACE] : SWUPDATE running : [check_hw_compatibility] : Hardware stm32mp157a-dk1 Revision: rev0.1 [TRACE] : SWUPDATE running : [check_hw_compatibility] : Hardware compatibility verified [TRACE] : SWUPDATE running : [cpio_scan] : Found file: filename base-image-swupdate-stm32mp157a-dk1.ext4.gz size 37003925 REQUIRED [TRACE] : SWUPDATE running : [install_single_image] : Found installer for stream base-image-swupdate-stm32mp157a-dk1.ext4.gz raw Software updated successfully Please reboot the device to start the new software [INFO ] : SWUPDATE successful ! [DEBUG] : SWUPDATE running : [postupdate] : Executing post-update command 'reboot' [DEBUG] : SWUPDATE running : [postupdate] : Post-update command returned 0