[Qi] bad magic when booting from NAND
Dmitry Kurochkin
dmitry.kurochkin at gmail.com
Fri Apr 3 18:22:23 CEST 2009
Hi Werner.
On Tue, Mar 31, 2009 at 5:24 AM, Werner Almesberger <werner at openmoko.org> wrote:
> Dmitry Kurochkin wrote:
>> Trying kernel: NAND Kernel
>> RAW open: +1024 512-byte blocks
>> Found: "openmoko/2.6.28-oe1+gitr34240a1c"
>> Size: 1933 KiB
>> RAW open: +1024 512-byte blocks
>> Bad kernel header
>> bad magic 6f6b6f6d
>
> I wonder if this may be a partition issue. In u-boot, what does
> GTA02vX # dynpart
> GTA02vX # mtd
> say ?
Here it is:
U-Boot 1.3.2-moko12 (May 9 2008 - 10:28:48)
I2C: ready
DRAM: 128 MB
Flash: 2 MB
NAND: 256 MiB
Glamo core device ID: 0x3650, Revision 0x0002
USB: S3C2410 USB Deviced
mtdparts variable not set, see 'help mtdparts'
mtdparts variable not set, see 'help mtdparts'
mtdparts variable not set, see 'help mtdparts'
mtdparts variable not set, see 'help mtdparts'
mtdparts variable not set, see 'help mtdparts'
mtdparts variable not set, see 'help mtdparts'
mtd
device nor0 <physmap-flash>, # parts = 1
#: name\0x09\0x09\0x09size\0x09\0x09offset\0x09\0x09mask_flags
0: nor 0x00200000\0x090x00000000\0x090
device nand0 <neo1973-nand>, # parts = 6
#: name\0x09\0x09\0x09size\0x09\0x09offset\0x09\0x09mask_flags
0: u-boot 0x00040000\0x090x00000000\0x090
1: u-boot_env 0x00040000\0x090x00040000\0x090
2: kernel 0x00820000\0x090x00080000\0x090
3: splash 0x000a0000\0x090x008a0000\0x090
4: factory 0x00040000\0x090x00940000\0x090
5: rootfs 0x0f680000\0x090x00980000\0x090
active partition: nor0,0 - (nor) 0x00200000 @ 0x00000000
defaults:
mtdids : nor0=physmap-flash,nand0=neo1973-nand
mtdparts: <NULL>
GTA02v6 # dynpart
mtdparts mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00820000(kernel),0x000a0000(splash),0x00040000(factory),0x0f480000(rootfs)
GTA02v6 #
Regards,
Dmitry
>
> - Werner
>
More information about the openmoko-kernel
mailing list