我看着ota文档,使用recovery方案做了ota,执行
swupdate_cmd.sh -i /mnt/UDISK/tina-t113.swu -e stable,upgrad
后,我在 swupdate.log 中发现了错误,请一下大家,这大概是什么问题呢?
Swupdate v2019.11.0
software set: stable mode: upgrade_recovery
Licensed under GPLv2. See source distribution for detailed copyright notices.
Registered handlers:
dummy
awuboot
awboot0
uboot
bootloader
raw
rawfile
rawcopy
shellscript
preinstall
postinstall
[TRACE] : SWUPDATE running : [network_initializer] : Main loop Daemon
[TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/swupdateprog
[TRACE] : SWUPDATE running : [extract_sw_description] : Found file:
filename sw-description
size 3094
checksum 0x2b868 VERIFIED
[TRACE] : SWUPDATE running : [get_common_fields] : Version 0.1.0
[TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/sockinstctrl
[TRACE] : SWUPDATE running : [get_common_fields] : Description Firmware update for Fowad Project
[TRACE] : SWUPDATE running : [parse_images] : Found Image: boot0 in device : for handler awboot0
[TRACE] : SWUPDATE running : [parse_images] : Found Image: uboot in device : for handler awuboot
[TRACE] : SWUPDATE running : [parse_images] : Found Image: recovery in volume : recovery for handler ubivol (installed from stream)
[TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: swu_next = reboot
[TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: boot_partition = recovery
[TRACE] : SWUPDATE running : [parse_bootloader] : Bootloader var: swu_mode = upgrade_kernel
[ERROR] : SWUPDATE failed [0] ERROR core/parser.c : check_handler : 96 : feature 'ubivol' required for 'recovery' in sw-description is absent!
[ERROR] : SWUPDATE failed [0] ERROR core/swupdate.c : install_from_file : 334 : failed to parse sw-description!
离线