I've just acquired a RouterBoard 433UAH and was hoping to install OpenWRT. Using either the svn trunk or branches/8.09 builds I can produce a network bootable kernel/rootfs, however I am unable to access or write OpenWRT to the NAND.
This board has a 512 MB NAND chip instead of the 64 MB one on the RB433AH (at least according to the Mikrotik spec sheets).
If served up via TFTP the prebuilt Kamikaze AR71xx vmlinux.elf kernel will boot but panics when unable to mount a root file system.
I tried following the NAND erase procedure from the 433AH Wiki Page without success.
Startup messages:
RouterBOOT booter 2.20
RouterBoard 433UAH
CPU frequency: 680 MHz
Memory size: 128 MB
Press any key within 2 seconds to enter setup..
kernel not found
trying dhcp protocol...... OK
resolved mac address 00:00:27:32:AF:AA
Gateway: 192.168.1.1
transfer started ............................. transfer ok, time=3.55s
setting up elf image... OK
jumping to kernel code
Linux version 2.6.26.5 (user@debian) (gcc version 4.1.2) #2 Sat May 2 03:07:02 CDT 2009
console [early0] enabled
CPU revision is: 00019374 (MIPS 24K)
Determined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0 -> 32768
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 init=/etc/preinit
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00010600
Readback ErrCtl register=00010600
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 125540k/131072k available (1786k kernel code, 5424k reserved, 320k data, 1704k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 484 bytes
NET: Registered protocol family 16
MIPS: machine is Generic AR71xx board
registering PCI controller with io_map_base unset
PCI: no irq found for pin1@0000:00:14.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) ?© 2001-2006 Red Hat, Inc.
yaffs May 2 2009 02:15:19 Installing.
msgmni has been set to 245
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console handover: boot [early0] -> real [ttyS0]
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: invalid speed specified
ag71xx: probe of ag71xx.0 failed with error -22
eth0: Atheros AG71xx at 0xba000000, irq 5
INFTL: inftlcore.c $Revision: 1.19 $, inftlmount.c $Revision: 1.18 $
SSFDC read-only Flash Translation layer
block2mtd: version $Revision: 1.30 $
Atheros AR71xx SPI Controller driver version 0.2.2
m25p80 spi0.0: pm25lv512 (64 Kbytes)
rfd_ftl: no RFD magic found in 'spi0.0'
ftl_cs: FTL header not found.
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP vegas registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 1704k freed
Algorithmics/MIPS FPU Emulator v1.5
[sighandler]: No more events to be processed, quitting.
[cleanup]: Waiting for children.
[cleanup]: All children terminated.
- preinit -
Press CTRL-C for failsafe
Please press Enter to activate this console. br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth0 entered promiscuous mode
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, DFS, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: trunk
PCI: Enabling device 0000:00:14.0 (0000 -> 0002)
wifi%d: request_irq failed
BusyBox v1.11.2 (2009-05-02 01:58:18 CDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09, r15549) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/#
Under the branches/8.09 build I see a single MTD entry (and the single corresponding /dev/mtdblock0 device):
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00010000 00001000 "spi0.0"
root@OpenWrt:/#
Under the trunk build I see no /dev/mtdblock* devices or entries in the /proc/mtd file.
Attempting to mount the /dev/mtdblock0 device results in:
root@OpenWrt:/# mount /dev/mtdblock0 /mnt
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: MTD device is not NAND it's type 3
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: MTD device is not NAND it's type 3
mount: mounting /dev/mtdblock0 on /mnt failed: Invalid argument
root@OpenWrt:/#
I'd greatly appreciate any suggestions on how to proceed. I've got some free time and am more than happy to test builds or contribute in any way I can.
Thanks,
-Justin