I tried to boot the latest snapshot of kamikaze on the WHR-HP-AG108
The kernel and rootfs were taken from http://downloads.openwrt.org/snapshots/atheros-2.6/. It will boot the kernel but then it won't recognize the redboot partitions on the flash.
Redboot is the original version that came with the AG108.
Here's the flash layout:
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
RedBoot 0xBE000000 0xBE000000 0x00050000 0x00000000
RedBoot config 0xBE3DF000 0xBE3DF000 0x00001000 0x00000000
FIS directory 0xBE3D0000 0xBE3D0000 0x0000F000 0x00000000
vmlinux.bin.gz 0xBE050000 0x80041000 0x000F0000 0x80041000
rootfs 0xBE140000 0x80000400 0x00290000 0x80000400
And here's the "physmap" that does not find the redboot partitions:
physmap platform flash device: 00400000 at 1e000000
physmap-flash physmap-flash.0: map_probe failed
I would attach a full log for reference but it seems I can't do it (if needed I'll post it).
Do I need special redboot partition/loader?
How do I debug this issue? I have a fully functional buildroot-ng and I can build images/use the serial console...
Mesher
PS: I tried a daily build from <another distro> and sure enough it finds the redboot partition. I'm including the log in case it's usefull
physmap platform flash device: 00400000 at 1e000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
Searching for RedBoot partition table in physmap-flash.0 at offset 0x3d0000
6 RedBoot partitions found on MTD device physmap-flash.0
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x00050000 : "RedBoot"
0x00050000-0x003c0000 : "rootfs"
0x002f0000-0x003b0000 : "linux"
0x003b0000-0x003c0000 : "nvram"
0x003d0000-0x003df000 : "FIS directory"
mtd: partition "FIS directory" doesn't end on an erase block -- force read-only
0x003df000-0x003e0000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't start on an erase block boundary -- force read-only
u32 classifier
OLD policer on
(Last edited by mesher on 27 Mar 2007, 11:48)