view · edit · print · history

Warning!! This document describes an advanced procedure! Directly writing to the flash in this way may damage your NSLU2.

In addition to 'hard' methods, like pressing reset/power buttons (UseTheResetButtonToEnterUpgradeMode), if you need to remotely enter Upgrade Mode without touching the slug you can clear the /dev/mtdblock5 partition (the sercomm signature IIRC) and reboot.

dd if=/dev/zero of=/dev/mtdblock5

NOTE: Make sure that mtdblock5 is the one you want! On OpenWrt, you actually want to overwrite mtdblock6, although it's not writable...

NOTE2?: The above command will produce a "no space on device" error. This is normal and the process still works; I assume it is caused by dd attempting to write more zeros than the partition can hold, since we didn't tell it where to stop.

Without a valid signature, RedBoot thinks the flash is corrupted and enters Upgrade Mode. From here you can replace the flash image using the UpSlug tool.

(Thankx to Rod and Řyvind for the info)

view · edit · print · history · Last edited by Pete.
Based on work by xitrium, mrkzander, Liviu Ionescu, and daka.
Originally by Liviu Ionescu.
Page last modified on May 23, 2008, at 04:58 PM