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
sysupgrade stopped working on Raspberry Pi 4 (64-bit ARM) since commit b9f3af7.
BusyBox v1.31.1 () built-in shell (ash)
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt SNAPSHOT, r11811-b9f3af7c89
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt SNAPSHOT, r11810-b04ccdb1e8
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
root@OpenWrt:/# sysupgrade /tmp/openwrt-brcm2708-bcm2711-rpi-4-squashfs-sysupgra
de.img.gz
Reading partition table from bootdisk...
zcat: write error: Broken pipe
zcat: write: Broken pipe
Reading partition table from image...
Saving config files...
Commencing upgrade. Closing all shell sessions.
[ 54.993816] reboot: Restarting system
On first generation of Raspberry Pi (32-bit ARM), sysupgrade works past commit b9f3af7.
From the commit message, symptoms observed and the code [[https://lxr.openwrt.org/source/procd/system.c#L588|here]], I'm guessing the upgrade of libubox broke something related to blobmsg, causing error only on certain platforms. (64-bit systems maybe?) This will potentially leave these systems with no easy way to upgrade their firmware.
To reproduce, just build a Raspberry Pi 4 from snapshot image
Thank you very much for the patch! Tested and works on RPi-4.
BusyBox v1.31.1 () built-in shell (ash)
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt SNAPSHOT, r11887-a4731713fd
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
kyli:
sysupgrade stopped working on Raspberry Pi 4 (64-bit ARM) since commit b9f3af7.
BusyBox v1.31.1 () built-in shell (ash)
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt SNAPSHOT, r11811-b9f3af7c89
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
root@OpenWrt:/# sysupgrade /tmp/openwrt-brcm2708-bcm2711-rpi-4-squashfs-sysupgra
de.img.gz
Reading partition table from bootdisk...
zcat: write error: Broken pipe
zcat: write: Broken pipe
Reading partition table from image...
Saving config files...
Commencing upgrade. Closing all shell sessions.
{
"error": {
"message": "Firmware image couldn't be validated"
}
}
Command failed: Unknown error
root@OpenWrt:/#
Its parent commit b04ccdb works fine.
BusyBox v1.31.1 () built-in shell (ash)
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt SNAPSHOT, r11810-b04ccdb1e8
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
root@OpenWrt:/# sysupgrade /tmp/openwrt-brcm2708-bcm2711-rpi-4-squashfs-sysupgra
de.img.gz
Reading partition table from bootdisk...
zcat: write error: Broken pipe
zcat: write: Broken pipe
Reading partition table from image...
Saving config files...
Commencing upgrade. Closing all shell sessions.
[ 54.993816] reboot: Restarting system
On first generation of Raspberry Pi (32-bit ARM), sysupgrade works past commit b9f3af7.
From the commit message, symptoms observed and the code [[https://lxr.openwrt.org/source/procd/system.c#L588|here]], I'm guessing the upgrade of libubox broke something related to blobmsg, causing error only on certain platforms. (64-bit systems maybe?) This will potentially leave these systems with no easy way to upgrade their firmware.
To reproduce, just build a Raspberry Pi 4 from snapshot image
https://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2711/openwrt-brcm2708-bcm2711-rpi-4-squashfs-factory.img.gz
and then run sysupgrade with
https://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2711/openwrt-brcm2708-bcm2711-rpi-4-squashfs-sysupgrade.img.gz
The text was updated successfully, but these errors were encountered: