You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compared to the last release (18.06.4), sysupgrade now runs additional checks and tries to save existing partitions. It uses the "root" command line parameter to get information about the current partition.
When using TurrisOS 4.0.1, the "root" command line parameter is set to "b301", which is not taken into account by sysupgrade (specifically, "export_bootdevice" fails hence the "Unable to determine upgrade device").
Using "sysupgrade -F", also does not work since "platform_do_upgrade_sdcard" runs the same checks as "platform_check_image_sdcard" in the beginning, and "export_bootdevice && export_partdevice diskdev 0" fail.
In the meantime, a workaround is to first use the 18.06.4 release to replace TurrisOS (using the medkit then sysupgrade). After that, sysupgrade can be used again to flash the image from master. This works because sysupgrade from 18.06.4 blindly writes the image to "/dev/mmcblk0".
The text was updated successfully, but these errors were encountered:
rmelotte:
After building from the master branch (currently on 8184429), the generated medkit cannot be used to replace TurrisOS 4.0.1 with OpenWrt.
Steps to reproduce:
root@OpenWrt:/# sysupgrade -v /tmp/openwrt-mvebu-cortexa9-cznic_turris-omnia-sysupgrade.img.gz zcat: write error: Broken pipe zcat: write: Broken pipe Unable to determine upgrade device Image check failed.
Compared to the last release (18.06.4), sysupgrade now runs additional checks and tries to save existing partitions. It uses the "root" command line parameter to get information about the current partition.
When using TurrisOS 4.0.1, the "root" command line parameter is set to "b301", which is not taken into account by sysupgrade (specifically, "export_bootdevice" fails hence the "Unable to determine upgrade device").
Using "sysupgrade -F", also does not work since "platform_do_upgrade_sdcard" runs the same checks as "platform_check_image_sdcard" in the beginning, and "export_bootdevice && export_partdevice diskdev 0" fail.
In the meantime, a workaround is to first use the 18.06.4 release to replace TurrisOS (using the medkit then sysupgrade). After that, sysupgrade can be used again to flash the image from master. This works because sysupgrade from 18.06.4 blindly writes the image to "/dev/mmcblk0".
The text was updated successfully, but these errors were encountered: