Hi Darwin, Darwin Chen wrote: > I’m porting uclinux-2.6.22 to Winbond W90N740, this is an ARM7TDMI-based > CPU. This time , the following error occurred, I don’t know how to find > the bug. > > Is there anyone can help me?
See below. > This board has 32MB SDRAM(0x00000000 ~ 0x02000000) and 2MB > Flash(0x7F000000 ~ 0x7F1FFFFF) after remapping the SDRAM and Flash, > > > The total message is listed: > > When power on, the message is listed as following: > > Uncompressing Linux......................................... done, > booting the kernel. > > Linux version 2.6.22-uc0 ([EMAIL PROTECTED]) (gcc version > 3.4.3) #25 Wed Aug 1 13:37:38 CST 2007 > > CPU: Winbond-W90N740 [32103201] revision 1 (ARMvundefined/unknown), > cr=00000000 > > Machine: W90N740 > > Built 1 zonelists. Total pages: 8128 > > Kernel command line: init=/linuxrc console=ttySA0,115200 mem=32MB > root=/dev/mtdblock2 > > PID hash table entries: 128 (order: 7, 512 bytes) > > start_kernel(): bug: interrupts were enabled early > > W90N740 console initialized. > > Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) > > Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) > > Memory: 32MB = 32MB total > > Memory: 31180KB available (1020K code, 225K data, 44K init) > > Mount-cache hash table entries: 512 > > w90n740 machine initialized. > > NetWinder Floating Point Emulator V0.97 (double precision) > > NTFS driver 2.1.28 [Flags: R/W]. > > io scheduler noop registered > > io scheduler cfq registered (default) > > Serial: W90N740 driver $Revision: 1.50 $ > > loop: module loaded > > uclinux[mtd]: RAM probe address=0x7f000000 size=0x200000 > > Creating 5 MTD partitions on "cramfs": > > 0x00000000-0x00010000 : "uBoot" > > 0x00010000-0x000d0000 : "Kernel" > > 0x000e0000-0x001e0000 : "Cramfs" > > 0x001e0000-0x001f0000 : "ParamA" > > 0x001f0000-0x00200000 : "ParamB" > > uclinux[mtd]: set Cramfs to be root filesystem > > VFS: Mounted root (cramfs filesystem) readonly. > > Freeing init memory: 44K > > Warning: unable to open an initial console. > > Try to execute /linuxrc > > Error -3 while decompressing! Looks like your cramfs is corrupted in RAM. Are you sure it is being loaded into RAM properly and completely? Regards Greg > > 00141758(2597)->00008000(4096) ?this is a surprised address, it > is a kernel start address in RAM. > > Error -3 while decompressing! > > 00142b56(2334)->0000a000(4096) > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > Failed to execute /linuxrc. Attempting defaults... > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > BINFMT_FLAT: bad header magic > > Kernel panic - not syncing: No init found. Try passing init= option to > kernel. > > > > When the board is reset by H-JTAG, the message is listed as following: > > Uncompressing Linux......................................... done, > booting the kernel. > > Linux version 2.6.22-uc0 ([EMAIL PROTECTED]) (gcc version > 3.4.3) #25 Wed Aug 1 13:37:38 CST 2007 > > CPU: Winbond-W90N740 [32103201] revision 1 (ARMvundefined/unknown), > cr=00000000 > > Machine: W90N740 > > Built 1 zonelists. Total pages: 8128 > > Kernel command line: init=/linuxrc console=ttySA0,115200 mem=32MB > root=/dev/mtdblock2 > > PID hash table entries: 128 (order: 7, 512 bytes) > > start_kernel(): bug: interrupts were enabled early > > W90N740 console initialized. > > Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) > > Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) > > Memory: 32MB = 32MB total > > Memory: 31180KB available (1020K code, 225K data, 44K init) > > Mount-cache hash table entries: 512 > > w90n740 machine initialized. > > NetWinder Floating Point Emulator V0.97 (double precision) > > NTFS driver 2.1.28 [Flags: R/W]. > > io scheduler noop registered > > io scheduler cfq registered (default) > > Serial: W90N740 driver $Revision: 1.50 $ > > loop: module loaded > > uclinux[mtd]: RAM probe address=0x7f000000 size=0x200000 > > Creating 5 MTD partitions on "cramfs": > > 0x00000000-0x00010000 : "uBoot" > > 0x00010000-0x000d0000 : "Kernel" > > 0x000e0000-0x001e0000 : "Cramfs" > > 0x001e0000-0x001f0000 : "ParamA" > > 0x001f0000-0x00200000 : "ParamB" > > uclinux[mtd]: set Cramfs to be root filesystem > > VFS: Mounted root (cramfs filesystem) readonly. > > Freeing init memory: 44K > > Warning: unable to open an initial console. > > Try to execute /linuxrc > > Error -3 while decompressing! > > 00143e55(2556)->007a0000(4096) ? the address is different with > power on booting(0x00008000). > > Error -3 while decompressing! > > 00145851(1990)->007a1000(4096) > > Unhandled fault: vector exception (0x800) at 0x00000000 > > < repeated much times with previous text line.> > > ............................................ > > Internal error: : 800 [#1] > > CPU: 0 Not tainted (2.6.22-uc0 #25) > > PC is at __irq_svc+0x58/0x80 > > LR is at __init_begin+0xffff8000/0x2c > > pc : [<00013a58>] lr : [<00000000>] psr: 60000093 > > sp : 00757f68 ip : 00757f48 fp : 0079ffa0 > > r10: 00000000 r9 : 00000000 r8 : 77206c6f > > r7 : fff1a000 r6 : 7960f000 r5 : 00757f9c r4 : ffffffff > > r3 : 00000000 r2 : 00000001 r1 : 00757ef0 r0 : 00000000 > > Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment kernel > > Process linuxrc (pid: 1, stack limit = 0x00756258) > > Stack: (0x00757f68 to 0x00758000) > > 7f60: 00000000 00000800 00757fb0 a0000010 ffffffff > 00000000 > > 7f80: 7960f000 fff1a000 77206c6f 00000000 007954c4 0079ffa0 ffffffe0 > 00757fb0 > > 7fa0: 00013b84 00013b8c 40000013 ffffffff fff1a000 0079ebf5 00795340 > 007960de > > 7fc0: 007954ac 0079ffb8 00000000 ff8600b7 00000000 00000000 007954c4 > 0079ffa0 > > 7fe0: ffffffe0 0079ff94 0075072c 007960f0 a0000010 ffffffff 0f000981 > 42200300 > > Backtrace: > > Code: e1a0000e 11a0100d 124fe034 1afffd69 (e5878000) > > Kernel panic - not syncing: Attempted to kill init! > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > uClinux-dev mailing list > [email protected] > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by [email protected] > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev -- ------------------------------------------------------------------------ Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] Secure Computing Corporation PHONE: +61 7 3435 2888 825 Stanley St, FAX: +61 7 3891 3630 Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
