User Tools

Site Tools


doc:techref:bootloader:brnboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:techref:bootloader:brnboot [2013/03/21 01:15]
hardfalcon
doc:techref:bootloader:brnboot [2015/10/25 16:33] (current)
tmomas de-html-ified color statements. We don't need html for colored text, we have the color syntax plugin for this.
Line 1: Line 1:
 +====== brnboot ======
  
 +  * Signed "Broad Net Technology, INC.".
 +  * Sometimes called AMAZON Loader.
 +  * Uses the file transfer protocol [[wp>​XMODEM]] for file transfers.
 +  * Has a hidden menu with more options unlocked by entering the character '​!'​.
 +
 +===== Recovery web interface =====
 +The brn-boot bootloader features a "​secret"​ recovery web interface on http://​192.168.1.1/​ or http://​192.168.2.1 which can be activated by switching on the device whilst holding the reset button depressed. This recovery mode includes a DHCP server, so you do not have to set a static IP on your computer.
 +
 +Firmware images seem to be checked for a valid [[https://​dev.openwrt.org/​browser/​trunk/​tools/​firmware-utils/​src/​mkbrnimg.c | signature]] before actually flashing them.
 +The signature key depends on the model of the router.
 +
 +<color red>​**//​WARNING:​ Only use this if you know exactly what you are doing or you may brick your device and/or the wifi card!//​**</​color>​
 +
 +This web interface is also loaded if the bootloader does not find a valid code image in the code image partition(s) when loading.
 +
 +{{:​media:​arcadyan:​recovering_tool.png|screenshot of the brn-boot recovery web interface}}
 +
 +This "​secret"​ recovery interface comes with an even more secret page http://​192.168.1.1/​undoc_upgrade.stm that does **not** check the firmware images before flashing them, and which even allows to flash the entire flash (including the bootloader). When the flashing is finished, the page may reload and show some garbled crap. Be sure to wait unil the flashing is finished before powercycling the device.
 +On my [[toh:​arcadyan:​arv7506 | IAD 4421]] with 8MiB of NOR flash, a "​master"​ flash (reflashing the entire flash, including the bootloader and the ART partition) took about 5 minutes.
 +
 +<color red>​**//​WARNING:​ Only use this if you know exactly what you are doing or you may brick your device and/or the wifi card!//​**</​color>​
 +
 +===== Related tools =====
 +  * https://​code.google.com/​p/​brndumper/​
 +  * https://​github.com/​rvalles/​brntool
 +{{tag>​brnboot bootloader}}