Hi, this is the failuer situation what i got right now which compiled 2.6.32.2 kernel(linux-2.6.32.2-mini2440_20110413.tgz) and provided your site. i just tried replace kernel only without change the yaffs file system that provided. once i boot the kernel it always shows me right by that messages bellow. any ideas would be nice and thanks in advance. Best Regards. hansoo Enter your selection: b Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done zImage magic = 0x016f2818 Setup linux parameters at 0x30000100 linux command line is: "noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0" MACH_TYPE = 1999 NOW, Booting Linux...... Uncompressing Linux........................................................................... ................................................ done, booting the kernel. Linux version 2.6.32.2-FriendlyARM (iryna7@DEV140-26) (gcc version 4.2.4) #9 Fri Feb 17 01:14:52 KST 2012 .......................................................................... .......................................................................... NetWinder Floating Point Emulator V0.97 (double precision) yaffs Feb 16 2012 14:00:35 Installing. .......................................................................... .......................................................................... loop: module loaded S3C24XX NAND Driver, (c) 2004 Simtec Electronics s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns s3c24xx-nand s3c2440-nand: NAND soft ECC NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 1394 at 0x0000015c8000 Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit": 0x000000000000-0x000000040000 : "supervivi" 0x000000040000-0x0000000a0000 : "param" 0x000000060000-0x0000005c0000 : "kernel" 0x000000560000-0x000004000000 : "root" dm9000 Ethernet Driver, V1.31 eth0: dm9000e at c4808300,c480c304 IRQ 51 MAC: 08:90:90:90:90:90 (chip) ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver .......................................................................... .......................................................................... NET: Registered protocol family 17 s3c2410-rtc s3c2410-rtc: setting system clock to 2165-01-04 23:32:08 UTC (1859043832) yaffs: dev is 32505858 name is "mtdblock2" yaffs: passed flags "" yaffs: Attempting MTD mount on 31.2, "mtdblock2" yaffs_read_super: isCheckpointed 0 VFS: Mounted root (yaffs filesystem) on device 31:2. Freeing init memory: 148K Warning: unable to open an initial console. Failed to execute /linuxrc. Attempting defaults... Kernel panic - not syncing: No init found. Try passing init= option to kernel. Backtrace: [<c003223c>] (dump_backtrace+0x0/0x114) from [<c00326c8>] (dump_stack+0x18/0x1c) r6:c03c13dc r5:c001ea00 r4:c03c0e14 [<c00326b0>] (dump_stack+0x0/0x1c) from [<c0045a80>] (panic+0x4c/0x13c) [<c0045a34>] (panic+0x0/0x13c) from [<c002d5bc>] (init_post+0xd0/0x10c) r3:c033a55c r2:00000000 r1:c0464980 r0:c033a564 [<c002d4ec>] (init_post+0x0/0x10c) from [<c0008814>] (kernel_init+0xf0/0x120) r4:c03c0e18 [<c0008724>] (kernel_init+0x0/0x120) from [<c0048a60>] (do_exit+0x0/0x634) r6:00000000 r5:00000000 r4:00000000
root file system failure.
"replace kernel only . . ." with which kernel? How did you compile the kernel, ie which cross-toolchain?
replace(downloaded) to linux-2.6.32.2-mini2440_20110413.tgz kerenl which is compiled cross-tool belows #arm-linux-gcc -v Using built-in specs. Target: arm-linux Configured with: ../configure --target=arm-linux --disable-shared --prefix=/usr/local --with-headers=/home/gerg/src/gnu/arm-linux/linux-2.6.25/include --with-gnu-as --with-gnu-ld --enable-multilib Thread model: posix gcc version 4.2.4
Sorry, I do not have a clear picture of what you are trying to do? Sounds to me like you have compiled the kernel, with some new options AND are still using the root filesystem that was associated with that kernel. In that case I do not know what has gone wrong. Be aware that you can get into difficulties mixing kernels and root filesystems when they have been built using different toolchains.
okay, this is compiled with few options(mostly removed) for the test matters. anyhow, thanks a lot davef. i have to digging more about the kernel and root file systems, i guess.
Search for this phrase on the forum: <Failed to execute /linuxrc> And try compiling the kernel without making any changes and see if that works. And then look for: <Kernel panic - not syncing: No init found. Try passing init= option to kernel.> Good luck!
> Warning: unable to open an initial console. This sounds like your kernel mounts an empty partition. > Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit": > 0x000000000000-0x000000040000 : "supervivi" > 0x000000040000-0x0000000a0000 : "param" > 0x000000060000-0x0000005c0000 : "kernel" > 0x000000560000-0x000004000000 : "root" You have *4* partitions and you using "root=/dev/mtdblock2". Should be "mtdblock3" I guess.
yaffs_read_super: isCheckpointed 0 VFS: Mounted root (yaffs filesystem) on device 31:2. Freeing init memory: 148K Warning: unable to open an initial console. Failed to execute /linuxrc. Attempting defaults... Kernel panic - not syncing: No init found. Try passing init= option to kernel. Backtrace:
dear sir i have compiled a readly available code from the web, but it give me such type of error when i try to load into my mini2440. i m using "arch=arm-cross-compile" to compile the linux please help me out thanking you with best regards Nair Nitheesh
Perhaps tell us where you got this "readly available code". Which touchscreen on the mini2440? Maybe, tell us which tutorial you are following. "arch=arm-cross-compile" is unfamiliar to me.
> Warning: unable to open an initial console. > Failed to execute /linuxrc. Attempting defaults... > Kernel panic - not syncing: No init found. Try passing init= option to > kernel. Seems you root file system is empty. "Warning: unable to open an initial console." means the kernel cannot find a '/dev/console' device node.
I think, First of all, try Juergen Beisert's suggestion, from ur partition's info,ur rootfs is in mtdblock3. I have the same problem(2.6.32 and mini2440) and work on it.
hi everyone, my rootfs file is not loading on mini2440 board.. showing error > Warning: unable to open an initial console. > Failed to execute /linuxrc. Attempting defaults... > Kernel panic - not syncing: No init found. Try passing init= option i downloaded supervivi, zImage and rootfs file from friendlyarm website... what may be problem.. thanks in advance.... plz help me out
Hello, I am using s3c2440 i ported 1) supervivi-128M 2) zImage_gpio_wifi 3) rootfs_qtopia_qt4.img i am getting some errors when booting the board, kindly see the screen shot. Kernel panic - not syncing: No init found. Try passing init= option to kernel. Backtrace: