[Olsr-users] Modified Ubiquiti bootloader?

Ben West (spam-protected)
Thu Jun 30 02:08:31 CEST 2011

Apologies if the cross-post is too off-topic.  Curious if anyone has had
success modifying the Ubiquiti bootloader ...

---------- Forwarded message ----------
From: Ben West <(spam-protected)>
Subject: Re: Modified Ubiquiti bootloader?

Sorry for dredging up an old topic, but I a query I posted to the UBNT forum
about modifying the config of their u-boot bootloader to remove the
dependence on the reset button went unanswered.

Reposting here, in case anyone has made their own progress.

For some follow-up, I poked around a Nanostation M5 that I'd flashed with
OpenWRT. Looks like the device uses u-boot as bootloader, not Redboot.

Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: mx25l6405d (8192 Kbytes)
7 cmdlinepart partitions found on MTD device spi0.0
Creating 7 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000050000 : "u-boot-env"
0x000000050000-0x000000150000 : "kernel"
0x000000150000-0x0000007b0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=250000, len=560000
0x000000250000-0x0000007b0000 : "rootfs_data"
0x0000007b0000-0x0000007f0000 : "cfg"
0x0000007f0000-0x000000800000 : "EEPROM"
0x000000050000-0x0000007b0000 : "firmware"

Likewise, here are contents of u-boot-env, i.e. the u-boot configuration

(spam-protected):~# cat /dev/mtd1
0x9f050000bootargs=console=ttyS0,115200 root=31:03 rootfstype=squashfs

I see the options expecting a TFTP server at, with local IP, and these are consistent with instructions provided for
firmware recovery.

Any thoughts on a way to override u-boot's dependency on the reset button,
or is this effectively hard-coded/wired?

I see the bootdelay option, but nothing else that looks promising.  Even if
changing the u-boot config requires access to the on-board serial port, that
does at least provide one option for removing the requirement for the reset
button during re-flash.  That would still be very helpful when that reset
button sits at the top of a tall pole. ;)

Ben West
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20110629/b584c1ff/attachment.html>

More information about the Olsr-users mailing list