本帖最后由 cszhoujin 于 2015-12-14 10:23 编辑
公司采用imx6d自己做的核心板,从SPI NOR启动,加载到Android时一直重启,搞了几天了,请问是什么原因?
Android4.2
Linux3.0.35
eMMC 4.5.1
从SPI Flash启动,已经更改最小系统,可以烧录到SPI FLASH和eMMC中,上电之后一直重启。
下面是启动LOG
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
android_usb gadget: high speed config #1: android
android_work: sent uevent USB_STATE=CONFIGURED
warning: `zygote' uses 32-bit capabilities (legacy support in use)
request_suspend_state: wakeup (3->0) at 11391197005 (1970-01-02 00:00:02.760548334 UTC)
eth0: no PHY, assuming direct connection to switch
PHY 0:00 not found
eth0: could not attach to PHY
acc_open
acc_release
binder: release 2493:2493 transaction 1987 in, still active
binder: send failed reply for transaction 1987 to 2623:2623
binder: release 2493:2504 transaction 1706 in, still active
binder: send failed reply for transaction 1706 to 2563:2563
binder: release 2493:2658 transaction 2186 in, still active
binder: send failed reply for transaction 2186 to 2643:2643
binder: release 2493:2688 transaction 2466 in, still active
binder: send failed reply for transaction 2466 to 2610:2610
binder: send failed reply for transaction 2509 to 2693:2693
mtp_open
binder: 2610:2610 transaction failed 29189, size 88-4
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
request_suspend_state: wakeup (0->0) at 14181195004 (1970-01-02 00:00:05.550545333 UTC)
mtp_release
init: untracked pid 2203 exited
init: untracked pid 2610 exited
init: untracked pid 2208 exited
init: untracked pid 2693 exited
init: untracked pid 2672 exited
request_suspend_state: wakeup (0->0) at 23251376006 (1970-01-02 00:00:14.620727335 UTC)
kernel BUG at include/linux/netdevice.h:520!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = d5dc8000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 Tainted: G B (3.0.35-06114-g3b96084-dirty #191)
PC is at __bug+0x1c/0x28
LR is at __bug+0x18/0x28
pc : [<c004efec>] lr : [<c004efe8>] psr: 60000013
sp : d0e7bdf8 ip : 00000000 fp : 00000001
r10: d0e7a000 r9 : d4148ac0 r8 : 00000000
r7 : d46f4044 r6 : 00000000 r5 : c06d0e28 r4 : d46f4000
r3 : 00000000 r2 : c0903b1c r1 : 60000093 r0 : 00000033
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 25dc804a DAC: 00000015
PC: 0xc004ef6c:
ef6c e1a04000 e24dd010 e590003c eb01c876 e3500000 0594003c 0a00000d e2841034
ef8c e594002c e891000e e88d000f ea000003 e59d000c eb01c86c e3500000 0a000006
efac e1a0000d eb000eac e3500000 aafffff7 e3a00000 e28dd010 e8bd8010 e59d000c
efcc eafffffb e92d4008 e1a03000 e1a02001 e59f0010 e1a01003 eb190573 e3a03000
efec e5833000 eafffffe c07cee38 e30e0e54 e30012e1 e92d4008 e34c007c ebfffff0
f00c e1a01000 e30e0e6c e92d4008 e34c007c eb190565 e30e0e54 e30012c5 e34c007c
f02c ebffffe7 e92d4008 e1a02000 e1a03001 e30e0e8c e1a0100e e34c007c eb19055a
f04c e30e0e54 e3001299 e34c007c ebffffdc e92d4ff0 e24dd06c e1a06002 e1a08000
LR: 0xc004ef68:
ef68 e92d4010 e1a04000 e24dd010 e590003c eb01c876 e3500000 0594003c 0a00000d
ef88 e2841034 e594002c e891000e e88d000f ea000003 e59d000c eb01c86c e3500000
efa8 0a000006 e1a0000d eb000eac e3500000 aafffff7 e3a00000 e28dd010 e8bd8010
efc8 e59d000c eafffffb e92d4008 e1a03000 e1a02001 e59f0010 e1a01003 eb190573
efe8 e3a03000 e5833000 eafffffe c07cee38 e30e0e54 e30012e1 e92d4008 e34c007c
f008 ebfffff0 e1a01000 e30e0e6c e92d4008 e34c007c eb190565 e30e0e54 e30012c5
f028 e34c007c ebffffe7 e92d4008 e1a02000 e1a03001 e30e0e8c e1a0100e e34c007c
f048 eb19055a e30e0e54 e3001299 e34c007c ebffffdc e92d4ff0 e24dd06c e1a06002
SP: 0xd0e7bd78:
bd78 00000002 c059fd6c d42724a0 00000001 00000000 c0940964 60000013 00000000
bd98 00000001 0000040f 00000005 00000000 d46f4044 c004b2d0 00000033 60000093
bdb8 c0903b1c 00000000 d46f4000 c06d0e28 00000000 d46f4044 00000000 d4148ac0
bdd8 d0e7a000 00000001 00000000 d0e7bdf8 c004efe8 c004efec 60000013 ffffffff
bdf8 00000000 c035dc00 c04fc4c0 ffffffec 00000000 00000000 d46f4000 0000000d
be18 d0e7a000 d0e7a000 00000001 c00b1250 d46f4000 c06d0e28 d46f4000 c06d0e28
be38 00000000 d46f4044 00000000 d0e7a000 d0e7a000 c04f5d54 c04f5cb4 d46f4000
be58 00001003 00001002 00000001 c04f5f7c 00000000 d46f4000 00001002 40b45a7c
R2: 0xc0903a9c:
3a9c 00000018 00000019 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f
3abc c0967628 00004000 00000001 c0903ac8 c0903ac8 00000000 00000000 000001f4
3adc 0000000a 00000000 00000000 00000000 0000000f 00000004 00000001 00000008
3afc 00000000 00000000 00000001 c0903b08 c0903b08 00000000 00000000 00000000
3b1c c0903b1c c0903b1c 00000004 ffffffff 00000000 ffffffff 00000000 c008ecb0
3b3c c094ff88 00000000 00000000 00000001 00000000 00000000 c0903b54 c0903b54
3b5c 00000000 00000000 00000001 00000000 00000000 c0903b70 c0903b70 00000000
3b7c 00000000 c07d83a8 c07d83ac c07d83b4 c07d83bc c07d83c4 c07d83cc c07d83dc
R4: 0xd46f3f80:
3f80 f815ef1b 53f3b7fe d44285e0 9bfd7f5e 7a573e37 17fab9d7 f7afbfdd 23f0bf3f
3fa0 d98f0000 d98f2000 00000004 d46f3f6d 00000000 00000000 d46f3f78 d414c1b8
3fc0 00000000 fffffffe d4428420 00000000 00000000 00000000 00000000 00000000
3fe0 f15ddb86 77d4cfb7 7ae27bd2 70cfceb7 e3dc83a3 dfefff3e 77fa76ff 2362a7bb
4000 30687465 00000000 00000000 00000000 00000000 00000000 00000000 00000000
4020 00000000 00000000 00000000 d4324ec0 00000000 00000000 00000000 00000000
4040 00000000 00000007 d4389848 d44e5048 d46f4f38 d46f4f38 d46f4058 d46f4058
4060 00004000 40004800 00004800 00004020 00000004 00000004 00000000 00000000
R5: 0xc06d0da8:
0da8 00000000 00000000 00000000 c035ca64 00000000 00000000 00000000 00000000
0dc8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c035c980
0de8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0e08 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0e28 00000000 00000000 c035d92c c035d898 c035d5d8 00000000 00000000 00000000
0e48 c035e7b8 c035cba4 c050a070 c035d574 00000000 c050a054 00000000 c035e9b8
0e68 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0e88 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
R7: 0xd46f3fc4:
3fc4 fffffffe d4428420 00000000 00000000 00000000 00000000 00000000 f15ddb86
3fe4 77d4cfb7 7ae27bd2 70cfceb7 e3dc83a3 dfefff3e 77fa76ff 2362a7bb 30687465
4004 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
4024 00000000 00000000 d4324ec0 00000000 00000000 00000000 00000000 00000000
4044 00000007 d4389848 d44e5048 d46f4f38 d46f4f38 d46f4058 d46f4058 00004000
4064 40004800 00004800 00004020 00000004 00000004 00000000 00000000 00000000
4084 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
40a4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
R9: 0xd4148a40:
8a40 73627573 65747379 b65a006d dfefe07f e6fbe6f5 f5ebedbf cedf57e7 dfceff36
8a60 74656e65 f700302e 9cff6d2f ac7e5ee7 e7ef7ff8 bf7736df dfcfff63 fdaafcef
8a80 74656e65 d500302e cbaede98 ccfe32bb 67b7fd7d d7fd77ff c7fefb93 f9ffebaa
8aa0 74656e65 fd00302e c6f6fce6 edbbffbf 77eeffbe f67fdf6b 7af6f5dc eeffabcb
8ac0 c006b20c 00000000 00000004 2719ed1e 0000b31a 6dfffe37 e7fe55c9 de667dba
8ae0 ffffffff 00000000 397e6aff 4df76f2f bbffec37 bfb7ef7c fc7ef6ef 57ffeffd
8b00 5f70616d 9f006469 00000000 00000000 00000000 00000000 d4108e98 c00b2730
8b20 65776f70 75ee0072 fe7a37ea 295fffdb 6efb6ef2 45effef7 e4fe73ba bd2c7df7
R10: 0xd0e79f80:
9f80 d126f988 00000000 00068966 00000000 00000000 00000000 d5d0f080 6898a000
9fa0 689b1000 d0f700d0 d0e79f40 0000079f 00100073 d0e79f5d 00000000 00000000
9fc0 00000000 00000000 00000000 00000000 d5f85df0 d5f85df0 d126f9b0 00000000
9fe0 0006898a 00000000 00000000 00000000 00000013 c004c408 00000000 00000000
a000 00000000 00000002 00000000 d41855e0 c0903a10 00000001 00000015 d41855e0
a020 c12ff320 d43f96e0 d0e7a000 c00431b4 d4412a00 00000001 d0e7baa4 d0e7b9f0
a040 c0694d8c 00000000 00000000 00000000 00000000 00000000 01010000 00000000
a060 40b45f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Process netd (pid: 2925, stack limit = 0xd0e7a2f0)
Stack: (0xd0e7bdf8 to 0xd0e7c000)
bde0: 00000000 c035dc00
be00: c04fc4c0 ffffffec 00000000 00000000 d46f4000 0000000d d0e7a000 d0e7a000
be20: 00000001 c00b1250 d46f4000 c06d0e28 d46f4000 c06d0e28 00000000 d46f4044
be40: 00000000 d0e7a000 d0e7a000 c04f5d54 c04f5cb4 d46f4000 00001003 00001002
be60: 00000001 c04f5f7c 00000000 d46f4000 00001002 40b45a7c 00008914 c04f60a0
be80: 00000000 d44e760c 40b45a7c c057464c 00008913 c04f6c68 00000000 c0ae1e60
bea0: 00000014 d44e7600 d46f4000 00000000 30687465 00000000 00000000 00000000
bec0: 00001003 00000000 00000000 00000000 d0e7bf08 00008914 40b45a7c d42dda20
bee0: 0000001e c004ba84 d0e7a000 00000000 4005eaab c04e0924 d23aee40 40b45a7c
bf00: d42dda20 c013e4b8 40b4566c 00000001 4005e2d5 00000010 40b4569c 00000018
bf20: d0e7bf54 00000003 d0e7bf84 c08e8d88 d0e7a000 c013072c 00000000 d23aee20
bf40: 0000001e d0e7bf84 d0e7bf88 00000003 40b45670 00000000 00000003 d0e7a000
bf60: d43ffb80 d42dda20 40b45a7c 00008914 0000001e c004ba84 d0e7a000 00000000
bf80: 4005eaab c013e9bc 00000000 00000001 00000003 40133004 401db228 00001003
bfa0: 00000036 c004b900 40133004 401db228 0000001e 00008914 40b45a7c 40b45a74
bfc0: 40133004 401db228 00001003 00000036 00000006 00000004 4005ea99 4005eaab
bfe0: 40132fc8 40b45a58 401ba9b1 401a7008 00000010 0000001e 28ffe821 28ffec21
[<c004efec>] (__bug+0x1c/0x28) from [<c035dc00>] (fec_enet_open+0x2d4/0x318)
[<c035dc00>] (fec_enet_open+0x2d4/0x318) from [<c04f5d54>] (__dev_open+0xa0/0xf0)
[<c04f5d54>] (__dev_open+0xa0/0xf0) from [<c04f5f7c>] (__dev_change_flags+0x7c/0x134)
[<c04f5f7c>] (__dev_change_flags+0x7c/0x134) from [<c04f60a0>] (dev_change_flags+0x10/0x48)
[<c04f60a0>] (dev_change_flags+0x10/0x48) from [<c057464c>] (devinet_ioctl+0x7bc/0x86c)
[<c057464c>] (devinet_ioctl+0x7bc/0x86c) from [<c04e0924>] (sock_ioctl+0x68/0x260)
[<c04e0924>] (sock_ioctl+0x68/0x260) from [<c013e4b8>] (do_vfs_ioctl+0x80/0x54c)
[<c013e4b8>] (do_vfs_ioctl+0x80/0x54c) from [<c013e9bc>] (sys_ioctl+0x38/0x5c)
[<c013e9bc>] (sys_ioctl+0x38/0x5c) from [<c004b900>] (ret_fast_syscall+0x0/0x30)
Code: e59f0010 e1a01003 eb190573 e3a03000 (e5833000)
---[ end trace ccd16110e8c89409 ]---
Kernel panic - not syncing: Fatal exception
[<c0052fc4>] (unwind_backtrace+0x0/0x138) from [<c0690498>] (panic+0x74/0x194)
[<c0690498>] (panic+0x74/0x194) from [<c004f454>] (die+0x218/0x284)
[<c004f454>] (die+0x218/0x284) from [<c068fe8c>] (__do_kernel_fault.part.3+0x54/0x74)
[<c068fe8c>] (__do_kernel_fault.part.3+0x54/0x74) from [<c0056d70>] (do_page_fault+0x2cc/0x334)
|