I download kernel source code linux-2.6.32.2 then i do below step: 1.CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm make mini2440_defconfig 2.CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm make 3.CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm make zImage then i upload zImage into my board using supervivi and usbpush Now after starting mini2440 board i got following kernel error: yaffs_read_super: isCheckpointed 0 VFS: Mounted root (yaffs filesystem) on device 31:3. Freeing init memory: 160K Unable to handle kernel paging request at virtual address 00200200 pgd = c3ab4000 [00200200] *pgd=00000000 Internal error: Oops: 805 [#1] last sysfs file: Modules linked in: CPU: 0 Not tainted (2.6.32.2 #11) PC is at get_page_from_freelist+0x15c/0x45c LR is at get_page_from_freelist+0x128/0x45c pc : [<c0072d00>] lr : [<c0072ccc>] psr: 20000093 sp : c3823ba0 ip : 00000001 fp : 000201da r10: c03624a0 r9 : c3822000 r8 : 00000001 r7 : 00000000 r6 : c039e538 r5 : 00000003 r4 : c0362470 r3 : c03624a0 r2 : c039e538 r1 : 00200200 r0 : c039e520 Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user Control: c000717f Table: 33ab4000 DAC: 00000015 Process linuxrc (pid: 1, stack limit = 0xc3822270) Stack: (0xc3823ba0 to 0xc3824000) 3ba0: 00000041 00000000 00000000 c03624a0 00000001 c0362a64 00000001 ffffffff 3bc0: 00000000 c0362498 00000000 00000004 00000028 60000013 00000000 c0362470 3be0: c3823c24 000201da 00000000 c0362a60 c0362470 003fffff 00000001 c383b700 3c00: c340ce08 c00730e4 00000001 00000041 c0362470 00000002 00000000 00000002 3c20: 00000000 c0362470 00000003 000201da c0362a64 00000002 c3822000 c0362490 3c40: 000284d0 c0072f50 00000041 c000f000 00000028 c0362490 00000001 c0362470 3c60: 00000000 00000000 c340ce04 0000000c 00000000 00000020 00000025 c383b700 3c80: c340ce08 c0074ddc 00000001 00000020 c3823c90 c3823c90 c0362470 c383b700 3ca0: 00000000 0000001c c340ce04 c383b740 c3823d10 c395a1b8 c340cd68 c00751dc 3cc0: 00000000 c340ce04 c383b700 c006e618 c3822000 000284d0 c0362a64 c340ce04 3ce0: c3823ce4 c395a1b8 c395a1b8 c395f000 00000000 00000001 c3ab5000 c3a02890 3d00: 40024000 c007f60c 00000100 c3ab5000 00000001 0000001c 40024000 00000000 3d20: 00000200 400245cc c395a1b8 40024000 00000000 c395f000 00000200 c3a02890 3d40: c3ab4000 c0081fd0 0000001c 00000001 00000000 00000000 00000000 00000001 3d60: c3ab5000 00000090 00000024 00000003 00000000 400245cc c3820000 c3823e60 3d80: c395f000 00000805 c395a1b8 c395f034 c397e600 c0037b9c 400245cc 00000805 3da0: 00000805 00000005 400245cc c3823e60 c0340598 20000013 c383b700 c003021c and kernel is crash so how can i solve this error
Mini2440 kernel copile problem
Here is a good tutorial to compile kernel- http://www.youtube.com/watch?v=OzrxEIAHdxo
I Found Solution. my device is mini2440 and I am using mini6410's tool chain. so due to wrong toolchain kernel is crash. now i download toolchain from below url adn compile kernel. http://www.friendlyarm.net/downloads and it works fine.
I"m trying to run a newer kernel on Mini2440, 1.downloaded kernel src code ver 4.8 from mainstream ("kernel.org") 2. make mini2440_defconfig 3. make ARCH=arm CROSS_COMPILE=arm-linux- compilation was successful. 4. downloaded zImage to mini2440 5. after rebooting the card, linux uncompressed and stopped any ideas why ? would be deeply appreciated Thanks
The mainstream kernel needs lots of patching to work. If you want to investigate download the Pengutronix mini2440 BSP and have a look through the patches. That and the FriendlyArm 2.8.32.2 kernel are the only kernels, that I am aware of, that will run on the mini2440. Just so you don't end up wasting time could I ask what you hope to use the mini2440 for?