Micro Redboot
From DD-WRT Wiki
Contents |
About
DD-WRT Micro Redboot is a modified ECOS Redboot by Sebastian Gottschall and puplishd unter the terms of GPL.
The target systems are right now Atheros AP48/51/61 (eg Fon Fonera, UBNT NS/PS. Dlink DIR300 rev.A, Senao EOC-2610), AR5312/5/6/7/8 and AR7100 (in progress). Support for more reference designs to come.
Details
The benefits of Micro Redboot are its small size (Its about half the size of a standard Redboot for these targets), a built in TFTP-Server (like in UBNT devices) for easy flashing with dd-wrt webflash images and a very fast boot in about 5 to 6 sec..
Micro Redboot supports many varys of HW combinations so that its very likly that your Platform is supported.
The following HW is supported at the time of writing
Switch HW
- admtek
- icplus
- kendin
- marvel
Flash sizes
- 4mb
- 8mb
Most NOR flash chips should be supported, but no guarantee on this. If not Micro Redboot will display the required ID's for implementation.
RAM sizes
- 16mb
- 32mb
Usage
Many settings in Micro Redboot are hardcoded to prevent changes by mistake. press the reset button for 1 sec and redboot will be enabled. You can access it with Telnet at 192.168.1.1 port 9000. If you press the reset button for less than 5 sec the device will be reseted to defaults as known. And if pressed for more than 10 sec redboot and the tftp server for recovery will be enabled at 192.168.1.1. Use Tftp_flash for flashing.
How to flash
Be sure that you know your HW specs (ramsize, flashsize, cpu and switch if one is there) and get the correct MicroRedboot rom/ram for your device. Telnet in (typically port 9000) or use a serial connection to access the existing redboot. Setup a tftp server and place the Redboot file(s) into its root folder.
Redboot.ram
In some chases its needed to outsmart the existing redboot cause its cusomized from the vendor and settings are hardcoded or some features are removed (e.g. oswave/osbridge redboot). So we need to use the redboot.ram files, load them into flash, execute them and erase the flash so the we can install DD-WRT Micro-Redboot.
Get the correct Micro Redboot ram file. Access redboot and set the tftp server ip address
ip_address -h "your servers ip" load redboot.ram go
Micro Redboot is started and requests a dhcp address. If none is there it falls back to 192.168.1.1 9000. Go on flashing Micro Redboot rom.
Redboot.rom
Get the correct Micro Redboot rom file. Access redboot and set the tftp server ip address
ip_address -h "your servers ip" fis init -f load -r -b %{FREEMEMLO} redboot.bin fis create -l 0x30000 -e 0xbfc00000 RedBoot
"-l 0x30000" is the length of the redboot partition any typicaly 30000 hex long. But be sure its correct for your device. Else it wont flash.
Reset your unit and access redboot again. Then do another
fis init -f
before flashing DD-WRT (again).