Thursday, January 20, 2011

Flash new OpenWRT image to RouterStation or RouterStationPro

make menuconfig
 *** Must enable "hotplug2" module, otherwise kernel panic


tftp 192.168.1.20
binary
timeout 60
put openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin
Output messages when flashing is successful
AR8316 PHY found on
MAC0AR8316 PHY found on
MAC1Ethernet eth0: MAC address 00:15:6d:c1:c6:e5
IP: 192.168.1.20/255.255.255.0, Gateway: 0.0.0.0Default server: 0.0.0.0
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Ubiquiti Networks certified release, 
version 0.9.00318M.0905121200 - built 12:01:38, May 12 2009
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Board: Ubiquiti RouterStation PRO Arch: ar7100pro 
RAM: 0x80000000-0x88000000, [0x00000000-0x00000000] available
Flash: 0xbf000000-0xc0000000, in 256 blocks of 0x00010000 bytes each
RESET button pressed, starting rescue mode...
TFTPD initialized on 192.168.1.20/255.255.255.0 port: 69 (Memory: [0x8006e000-0x87fe1000])
TFTPD: waiting for connection...
TFTPD: waiting for connection...
TFTPD: waiting for connection...
TFTPD: waiting for connection...
TFTPD: waiting for connection...
TFTPD: waiting for connection...
TFTPD: waiting for connection...
TFTPD: waiting for connection...
TFTPD: waiting for connection...
TFTPD: Incoming connection from 192.168.1.3:50534
Received:  2294168 bytes
Firmware Version: RSPRO.ar7100pro.OpenWrt.r23933
Initializing default partitions for 16M flash size.
Created 'kernel' - base: 0xBF030000, mem base; 0x80060000, entry: 0x80060000, size: 0x000D0000
Created 'rootfs' - base: 0xBF100000, mem base; 0xBF170000, entry: 0x00000000, size: 0x00A30000

Updating FIS directory!
...Erase from 0xbfff0000-0xc0000000: .
...Program from 0x87ff0000-0x88000000 at 0xbfff0000: .

Flashing partition 'kernel' (size: 0x000D0000, actual data: 0x000D0000)
...Erase from 0xbf030000-0xbf100000: .............
...Program from 0x8006e144-0x8013e144 at 0xbf030000: .............

Flashing partition 'rootfs' (size: 0x00A30000, actual data: 0x00160000)
...Erase from 0xbf100000-0xbfb30000: ........................................

Relevant links:
http://www.ubnt.com/wiki/RouterStation_Pro
http://blueheaven.ws/2010/05/10/routerstation-pro-openwrt-upgrade/

No comments:

Post a Comment

RISC-v emulator

Changes are based on https://risc-v-getting-started-guide.readthedocs.io/en/latest/linux-qemu.html For Ubuntu/Debian, in addition to sud...