[LEDE-DEV] sysupgrade broken on brcm47xx

Hauke Mehrtens hauke at hauke-m.de
Sun Jul 2 07:05:25 PDT 2017


Hi,

I just tried to run sysupgrade on a WRT53GS (brcm47xx) device and it
failed. I am running LEDE r4504.

Hauke


root at LEDE:/tmp# wget
http://192.168.1.195/hauke-web/lede/targets/brcm47xx/legacy
/lede-brcm47xx-legacy-linksys-wrt54gs-squashfs.bin
Downloading
'http://192.168.1.195/hauke-web/lede/targets/brcm47xx/legacy/lede-brcm47xx-legacy-linksys-wrt54gs-squashfs.bin'
Connecting to 192.168.1.195:80
Writing to 'lede-brcm47xx-legacy-linksys-wrt54gs-squashfs.bin'
lede-brcm47xx-legacy 100% |*******************************|  3588k
0:00:00 ETA
Download completed (3674144 bytes)
root at LEDE:/tmp# sysupgrade
lede-brcm47xx-legacy-linksys-wrt54gs-squashfs.bin
Image metadata not found
Found CyberTAN image with device pattern: W54S
Found a valid TRX version 1
Saving config files...
Commencing upgrade. All shell sessions will be closed now.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... ubusd logd netifd odhcpd ntpd
dnsmasq
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
Could not get image magic
Image check failed.
Upgrade completed
Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[  469.312242] reboot: Restarting system
[  469.316208] bcm47xx: Please stand by while rebooting the system...


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Jun 25 15:49:22 CST 2004 (root at Amin)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.



More information about the Lede-dev mailing list