Hello,
I downloaded android kernel from android official website. I downloaded the
YAFFS2 file system from the YAFFS official website and I patched android to
support the YAFFS2 file system.
I compiled android and i got a zImage file. I loaded the zImage on Mini2440
and I used the file system from this website ("www.friendlyarm.net").
when I boot the mini2440, I got the following error ( see full trace on
attached file ). I worked on this probleme 2 weeks vainly. I couldn't fix
it ?
Please Help me to fix the probleme :(
Thank you very match
/************************************/
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 108K
Warning: unable to open an initial console.
Unable to handle kernel paging request at virtual address 6e656c68
pgd = c39a8000
[6e656c68] *pgd=00000000
Internal error: Oops: 0 [#1] PREEMPT
Modules linked in:
CPU: 0 Not tainted (2.6.31-08676-g7ca263cd-dirty #21)
PC is at 0x6e656c68
LR is at s3c2410_nand_select_chip+0x88/0xa0
pc : [<6e656c68>] lr : [<c01e9494>] psr: 20000033
sp : c3823970 ip : 00000005 fp : 00000000
r10: 00000001 r9 : c393c500 r8 : 00000000
r7 : 046bc000 r6 : 00000003 r5 : c38e6940 r4 : 00000000
r3 : 6e656c69 r2 : c4c00004 r1 : 00000000 r0 : c0020428
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user
Control: c000717f Table: 339a8000 DAC: 00000015
Process linuxrc (pid: 1, stack limit = 0xc3822270)
Stack: (0xc3823970 to 0xc3824000)
3960: c3841d80 c3841c00 c3823a70
c01e59bc
3980: e1a04008 0ef430d9 06ab413c 00008d77 00000000 00000800 00000000
00000010
39a0: 00000000 60000013 c3841d80 00000000 00000000 0000003f 00000000
00000000
39c0: 00000000 00000000 c3820000 00000000 c3841c00 c3823a70 046bc800
00000000
39e0: c393c500 046bc000 00000000 c01e5fdc c3823a70 c01e5bd4 00000018
00000000
3a00: 00000001 00008a70 00000000 00000000 00000000 c38fc400 00260000
00000000
3a20: 0445c800 00000000 c393c500 00000000 0445c000 c01e02d4 c3823a70
000088b8
3a40: c3813000 c3823ad0 c0020000 c38fc400 00000010 c016c4b0 c3823a70
c3841c00
3a60: c3823ae8 c01e5fe8 c3823ae8 c38f1240 00000001 00000800 00000000
00000010
3a80: 000088b8 00000000 c0020000 c38f1240 c3823ac0 00000173 c395c364
c3813000
3aa0: c3823ac0 00000000 c393c500 00000800 c3813000 c3823ad0 000088f8
c0020000
3ac0: 00000000 00000800 00000000 c016a90c aaaaaaaa 00000001 0000035f
00000172
3ae0: 00000800 00000001 00000000 00000000 00000000 00001000 c3823b3c
000000b8
3b00: c395b000 c0191f40 000000c3 c0020000 c395c364 00001000 c0020000
c3813000
3b20: c395c364 00001000 c0020000 c0165ea8 c3823b44 c3823b40 000b9000
00000000
3b40: 00000000 00000173 00000000 c0410400 c3813000 c395c364 c0020000
00000011
3b60: c393c500 00000020 000000c4 c016032c 00001000 c0410400 00000000
c0410400
3b80: c393c500 00000011 00000005 c016055c c03de9bc c0410400 c340a2cc
c006f570
3ba0: c001a800 c340a2d0 c04194f8 c0410438 00004000 c393c500 00000000
000000c4
3bc0: c340a2cc c340a2cc 000c4d68 c393c540 c3823c28 c006f5e8 00000000
c340a2cc
3be0: c393c500 c00683a4 00001000 c0410340 00000000 c340a230 c0410340
c39640b0
3c00: c39640b0 c395b000 00000001 c395b000 000000d4 c39a8000 000d4000
c007a8a8
3c20: c3823c20 c39a8000 00000001 000000c4 000d4000 00000000 00000805
00000001
3c40: c39640b0 000d4000 00000000 c395b000 000000d4 c39a8000 c3965b50
c007b5d0
3c60: 000000c4 00000001 00000000 c3822000 00000000 00000000 c39a8000
00000350
3c80: 00000000 c395a9a0 00000001 c03f6fb0 ffffffff c3820000 000d488d
c3823d90
3ca0: c39640b0 c395b034 00000805 c395b000 00000800 c002aac4 00000000
c03f7580
3cc0: 003fffff 00000000 bf000000 00000805 c03d45a0 000d488d c3823d90
00000000
3ce0: 80000013 000d488d 000d6e68 c0023224 000000c4 c0192290 000000c4
000000c4
3d00: 000000c3 00000000 00000000 c39640b0 c39640d4 c395b000 c393c500
000d4000
3d20: 00000001 c0077e58 c39640b0 c340a2cc c395b000 c007f8e4 c39640b0
c008022c
3d40: c3964070 c39640b0 c39640b0 08101877 c3964108 00000000 c395b000
c3822000
3d60: 00000002 c008019c c3964108 c008022c c3964018 c3964108 000d5000
ffffffff
3d80: c3823dc4 c3960200 c393c780 c0023980 000d488d 00000773 00000000
00000000
3da0: 00000000 c393c100 c3960200 c393c780 00000000 c395a980 000d488d
000d6e68
3dc0: 00000001 c3823dd8 c00c5a60 c018cb7c 80000013 ffffffff 00000773
c00c5a60
3de0: c395b000 c00c656c 00001812 00000000 c0051b34 c3823df4 000d6e68
00000001
3e00: c3960300 c395a980 00000007 000d488d c3823f88 000cbd7c 00008000
00000000
3e20: 000d4000 00008000 00000000 c340a230 c3407180 00000001 00000001
c340a230
3e40: c3823e78 c3822000 c3960200 c03dc1c8 fffffff8 00000001 c3823f88
00000000
3e60: c00c5e20 c009299c c3960200 c3960202 c3960200 c3960200 c3823f88
c03dc1a8
3e80: fffffff8 00000000 c3823f88 00000000 c00c5234 c00c5430 6e69622f
0068732f
3ea0: c3822000 00000000 beffffd8 c3964000 c3820000 c007c090 c3822000
00000000
3ec0: c395b000 00000020 00000000 c3822000 00000000 c3960200 00000001
beffffd8
3ee0: c3822000 00000009 c049408c c009247c 00000017 c3823f04 00000000
243d4854
3f00: befff000 c0410440 beffffe1 c3822000 c3960200 c03dc188 00000000
c3960202
3f20: c3823f88 c3822000 c3960200 c009299c c3960200 c3960202 00000140
c3822000
3f40: c03d40d0 c03d4158 c3960200 00000000 00000000 c3823f88 00000000
c0093e8c
3f60: c0494083 00000000 c03f75e0 c03d40d0 c0494083 c03d4158 00000000
00000000
3f80: 00000000 c00270d4 00000000 00000000 00000000 00000000 00000000
00000000
3fa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
3fc0: 00000000 00000000 00000000 00000000 c03f75e0 c03f75e0 00000000
00000000
3fe0: 00000000 c00234f0 c03f75e0 c000843c 00000000 c0024e84 9dcf2854
8212c7d1
Code: bad PC value.
---[ end trace f4cb4d45ff559373 ]---
Kernel panic - not syncing: Attempted to kill init!
[<c0029b54>] (unwind_backtrace+0x0/0xd4) from [<c02c8534>]
(panic+0x58/0x11c)
[<c02c8534>] (panic+0x58/0x11c) from [<c003fd90>] (do_exit+0x64/0x674)
[<c003fd90>] (do_exit+0x64/0x674) from [<c0027fcc>] (die+0x268/0x29c)
[<c0027fcc>] (die+0x268/0x29c) from [<c002a9cc>]
(__do_kernel_fault+0x64/0x74)
[<c002a9cc>] (__do_kernel_fault+0x64/0x74) from [<c002abf0>]
(do_page_fault+0x214/0x234)
[<c002abf0>] (do_page_fault+0x214/0x234) from [<c0023b20>]
(__pabt_svc+0x40/0x80)
[<c0023b20>] (__pabt_svc+0x40/0x80) from [<6e656c68>] (0x6e656c68)
compile android from android website
Use this git http://gitorious.org/android-mini2440 I got the source code from the above git, compiled everything and trying to port it into into Mini2440. Let me update you, once I got successfully ported it on mini2440. -Prakash
Hey Prakash A S, Have you gotten anywhere with the android source? Do you know if the android source recognizes the CROSS_COMPILE variable?
Hi Bill Sargent, The link I have given is the source they are maintain it properly. I dont think other Android sources available for Mini2440. Yes. It recognized the CROSS_COMPILE. You need to edit your Makefile.


