OpenWrt Forum Archive

Topic: Kamikaze 7.09 WRT300N v2 JFFS error

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,
when running Kamikaze 7.09 on a WRT300N v2 JFFS puts this error:

jffs2: Too few erase blocks (3)

MTD layout in Kamikaze:

dev:    size   erasesize  name
mtd0: 00080000 00010000 "RedBoot"
mtd1: 000f0000 00010000 "kernel"
mtd2: 00120000 00010000 "rootfs"
mtd3: 00030000 00010000 "rootfs_data"
mtd4: 00160000 00010000 "unallocated"
mtd5: 0000f000 00010000 "FIS directory"
mtd6: 00001000 00010000 "RedBoot config"

MTD layout in RedBoot:

Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00080000  0x00000000
kernel            0x50080000  0x00070000  0x000F0000  0x00070000
rootfs            0x50170000  0x00070000  0x00120000  0x00070000
FIS directory     0x503F0000  0x503F0000  0x0000F000  0x00000000
RedBoot config    0x503FF000  0x503FF000  0x00001000  0x00000000

I use a custom built RedBoot from the Linksys Sources with CYGOPT_REDBOOT_FIS and CYGSEM_REDBOOT_FLASH_CONFIG set to 1 instead of 0

Bye
David

EDIT. Ethernet doesn't work too...
Boot script in RedBoot:

ether
fis load kernel
exec

EDIT 2: Ethernet error in Kamikaze:

 eth0: NPE-B not running
ifconfig: SIOCSIFFLAGS: Input/output error

(Last edited by Davidkra on 20 Mar 2008, 16:07)

fixed by reflashing rootfs with -l 0x260000
ethernet fixed by flashing microcode

(Last edited by Davidkra on 20 Mar 2008, 17:41)

Hello,

Davidkra wrote:

fixed by reflashing rootfs with -l 0x260000

solved by fis create rootfs -l 0x260000

ethernet fixed by flashing microcode

Can smb. point me how I can obtain microcode and how to flash microcode?
Thanks.

(Last edited by dINIs on 25 Mar 2008, 16:21)

EDIT: See next post.

(Last edited by Davidkra on 27 Mar 2008, 17:32)

Use trunk, and forget the microcode stuff - it's done automatically.

The discussion might have continued from here.