RB433UAH & RB450G with openwrt

Hi,

I’m having trouble with openwrt on the stated RB433UAH & RB450G.

I used the latest trunk (bleeding edge, r29669) which seems to be mostly near to the solution. The problem is the mounting of the NAND, which works fine, but seems to be empty (despite lost+found).

During the boot I get:

[    5.710000] NAND flash driver for RouterBoard 4xx series version 0.2.0
[    5.710000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
[    5.720000] Scanning device for bad blocks
[    5.900000] Bad eraseblock 1124 at 0x00001193f800
[    5.910000] Bad eraseblock 1125 at 0x00001197f800
[    6.010000] Bad eraseblock 1728 at 0x00001b03f800
[    6.010000] Bad eraseblock 1729 at 0x00001b07f800
[    6.070000] Bad eraseblock 2040 at 0x00001fe3f800
[    6.070000] Bad eraseblock 2041 at 0x00001fe7f800
[    6.080000] Creating 3 MTD partitions on "NAND 512MiB 3,3V 8-bit":
[    6.080000] 0x000000000000-0x000000040000 : "booter"
[    6.090000] 0x000000040000-0x000000600000 : "kernel"
[    6.090000] 0x000000600000-0x000020000000 : "rootfs"
[    6.100000] mtd: partition "rootfs" set to be root filesystem
[    6.110000] split_squashfs: error occured while reading from "NAND 512MiB 3,3V 8-bit"

See what we have:

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 0000b000 00001000 "routerboot"
mtd1: 00001000 00001000 "hard_config"
mtd2: 00002000 00001000 "bios"
mtd3: 00001000 00001000 "soft_config"
mtd4: 00040000 00040000 "booter"
mtd5: 005c0000 00040000 "kernel"
mtd6: 1fa00000 00040000 "rootfs"

Mount it and see whats there:

root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                    61.9M     64.0K     61.9M   0% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock6          506.0M      3.0M    503.0M   1% /mnt
/dev/mtdblock5            5.8M      1.5M      4.3M  26% /mnt2

nothing to see :frowning:

root@OpenWrt:/# ls /mnt
lost+found

As it works fine with RB411UAHR, RB433, RB450 & RB133 (AFAIR all working with 64Mb NAND) I believe, it’s something about the 512MB NAND which is working in 433UAH & RB450G. Does anyone know the trick how to mount this?

Thx in advance,
softdown

you could have better results with this issue on OpenWRT forums