dubdub wrote:Well, I've tried the mtd method... not morking !
it begins and failed immediatly :
erasing mtd failed : linux
before, I've used the dd tool like explained, then I used scp to copy the trx file to /tmp on WRT54G router.
Any idea how to go back to linksys firmware from openWRT squashfs ?
Did you try to unlock first, I received same problem couple of times and after doing "mtd unlock linux" it has worked.
Maybe some with more experience could confirm that it is normal that 'reboot' cmd does not work after the reflash and that it has to be unlocked before flashing, then we could add this to the FAQ page as well.
Below printouts when I received same problem, and had to use 'unlock' to get it written.
root@OpenWrt:/# cd /tmp
root@OpenWrt:~# wget -O /tmp/linux.trx http://lairds.org/Kyler/Linux/OpenWRT/W … e_BETA.trx
Connecting to lairds.org[66.90.77.218]:80
linux.trx 100% |*********************************************************************| 3208 KB 00:00 ETA
root@OpenWrt:~# mtd write /tmp/linux.trx linux && reboot
Writing /tmp/linux.trx to linux ...
Erasing mtd failed: linux
root@OpenWrt:~# mtd unlock linux && mtd write /tmp/linux.trx linux && reboot
Unlocking linux ...
Writing /tmp/linux.trx to linux ...
/bin/ash: reboot: Input/output error
root@OpenWrt:~# reboot
/bin/ash: reboot: Input/output error
root@OpenWrt:~#
(and power on/off to reboot...)
regards,
Sebastian
(Last edited by ssjoholm on 9 May 2005, 11:18)