Micro Redboot

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 20:52, 30 January 2010 (edit)
Sash (Talk | contribs)
(How to flash)
← Previous diff
Revision as of 10:41, 19 February 2010 (edit) (undo)
Sash (Talk | contribs)
(How to flash)
Next diff →
Line 36: Line 36:
=How to flash= =How to flash=
-Be sure that u know your HW specs (ramsize, flashsize, cpu and switch if one is there) and get the correct MicroRedboot for your device.+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. Telnet in (typically port 9000) or use a serial connection to access the existing redboot.
-Setup a tftp server and place the Redboot file into its root folder.+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.
 + 
 + 
 + 
 + 
 +==Redboot.rom==
Flash redboot: Flash redboot:
 +
fis init -f fis init -f
load -r -b %{FREEMEMLO} redboot.bin load -r -b %{FREEMEMLO} redboot.bin
fis create -l 0x30000 -e 0xbfc00000 RedBoot 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.+"-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 Reset your unit and access redboot again. Then do another
fis init -f fis init -f
-before flashing DD-WRT (again)+before flashing DD-WRT (again).

Revision as of 10:41, 19 February 2010


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.



Redboot.rom

Flash redboot:

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).