Hi Expert,
請問一下
使用官網的am335x-evm-linux-06.03.00.106.img開機的時候會出現kernel panic
請問有建議嗎?
Starting thttpd.service…
Starting busybox-udhcpd.service…
[[0;32m OK [0m] Started Serial Getty on ttyGS0.
[[0;32m OK [0m] Reached target Login Prompts.
Starting Synchronize System and HW clocks…
[[0;32m OK [0m] Started thttpd.service.
[[0;32m OK [0m] Started busybox-udhcpd.service.
[[0;32m OK [0m] Started Synchronize System and HW clocks.
[[0;32m OK [0m] Started Avahi mDNS/DNS-SD Stack.
[[0;32m OK [0m] Started Login Service.
[ 31.844255] lis3_reg: disabling
[ 31.852754] v1_8d: disabling
[ 31.858526] v3_3d: disabling
[ 31.861446] vwl1271: disabling
_____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___|
Arago Project http://arago-project.org am335x-evm ttyS0
Arago 2019.11 am335x-evm ttyS0
am335x-evm login: [ 36.794348] hrtimer: interrupt took 237750 ns
[ 42.468862] Unable to handle kernel NULL pointer dereference at virtual address 00000007
[ 42.477019] pgd = 6685c740
[ 42.479734] [00000007] *pgd=88272831, *pte=00000000, *ppte=00000000
[ 42.486040] Internal error: Oops: 17 [#1] PREEMPT ARM
[ 42.491112] Modules linked in: usb_f_acm u_serial usb_f_ecm g_multi usb_f_mass_storage usb_f_rndis u_ether libcomposite usbhid pruss musb_dsps musb_
hdrc phy_am335x udc_core phy_generic phy_am335x_control ti_am335x_tsc snd_soc_simple_card snd_soc_simple_card_utils pm33xx wkup_m3_ipc wkup_m3_rproc re
moteproc pvrsrvkm(O) omap_aes_driver crypto_engine omap_sham omap_crypto ti_emif_sram pruss_soc_bus snd_soc_tlv320aic3x rtc_omap musb_am335x omap_wdt t
i_am335x_tscadc sch_fq_codel uio_module_drv(O) uio ftdi_sio usbserial usbcore usb_common cryptodev(O)
[ 42.539697] CPU: 0 PID: 290 Comm: redis-server Tainted: G O 4.19.94-gbe5389fd85 #1
[ 42.548603] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 42.554735] PC is at __dev_printk+0x30/0x90
[ 42.558932] LR is at _dev_err+0x50/0x6c
[ 42.562779] pc : [<c05ae508>] lr : [<c05ae75c>] psr: 20060193
[ 42.569068] sp : c8125d98 ip : c8125db4 fp : c8125dac
[ 42.574309] r10: 20060193 r9 : 00000009 r8 : 00000000
[ 42.579551] r7 : 00000000 r6 : c0e15bc0 r5 : c0e15c00 r4 : c0e03048
[ 42.586102] r3 : 00000007 r2 : c8125db4 r1 : c0e15c14 r0 : 00000003
[ 42.592656] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
[ 42.599905] Control: 10c5387d Table: 882a0019 DAC: 00000051
[ 42.605671] Process redis-server (pid: 290, stack limit = 0x6e12bbae)
[ 42.612136] Stack: (0xc8125d98 to 0xc8126000)
[ 42.616508] 5d80: 000001a2 00000000
[ 42.624719] 5da0: c8125dd0 c8125db0 c05ae75c c05ae4e4 c8125dd8 c0c224a8 c8125db0 f061300d
[ 42.632931] 5dc0: c84124a8 c8125dfc c8125de0 c069f9ec c05ae71c c0c224a8 00000000 00000000
[ 42.641143] 5de0: c0e15c00 c84124a8 c0e15bc0 ffffe000 c8125e54 c8125e00 c0187ffc c0187898
[ 42.649355] 5e00: c018c794 c0bc96d0 c0e4b7c2 00000009 e3216f79 c0e15bc0 c0e15c14 00000006
[ 42.657566] 5e20: e3216f79 00000009 00000000 c0e15bc0 ffffe000 20060193 00000003 7fffffff
[ 42.665778] 5e40: ffffffff c0e4b77f c8125eac c8125e58 c01887f8 c0187eb4 c024023c 00000009
[ 42.673989] 5e60: c809048c c827c0c0 c8125ec0 c8124000 e3216f79 7fffffff ffffffff 00000000
[ 42.682200] 5e80: ffffe000 c0e07f00 00000000 00000000 c8125f08 00000010 cf007100 c0e4b77f
[ 42.690412] 5ea0: c8125ebc c8125eb0 c011a118 c01886e4 c8125f04 c8125ec0 c016f558 c011a0f4
[ 42.698623] 5ec0: 00000000 00000000 00000001 c0bc7b90 c0bc7b7c c0bc7b54 c827c0c0 c0e03048
[ 42.706834] 5ee0: 00000000 cf007100 00000000 cf008000 413c31e0 00000002 c8125f2c c8125f08
[ 42.715046] 5f00: c016f670 c016f4fc 00000000 f061300d c017527c cf007100 00000000 00000001
[ 42.723257] 5f20: c8125f44 c8125f30 c016f728 c016f648 cf007100 00000000 c8125f5c c8125f48
[ 42.731468] 5f40: c0172f78 c016f6d0 c0e49f20 00000000 c8125f6c c8125f60 c016e6c4 c0172ec4
[ 42.739679] 5f60: c8125f94 c8125f70 c016eea4 c016e6a4 c0e7e09c 60060030 ffffffff 10c5387d
[ 42.747890] 5f80: 10c53c7d 413c31e0 c8125fac c8125f98 c0452e40 c016ee54 00076010 60060030
[ 42.756101] 5fa0: 00000000 c8125fb0 c0101e14 c0452e10 00000000 00000001 000bfdd4 00000000
[ 42.764312] 5fc0: 000bfe68 000bfe68 000ffffe 000bfdb8 000d0f1c 413c31e0 00000002 00000004
[ 42.772523] 5fe0: 00000000 bec3cc3c 00000000 00076010 60060030 ffffffff 00000000 00000000
[ 42.780729] Backtrace:[ 42.783186] [<c05ae4d8>] (__dev_printk) from [<c05ae75c>] (_dev_err+0x50/0x6c)
[ 42.790450] [<c05ae710>] (_dev_err) from [<c069f9ec>] (elan_i2c_initialize+0xe0/0x118)
[ 42.798398] r3:00000000 r2:00000000 r1:c0c224a8
[ 42.803029] r4:c84124a8
[ 42.805582] [<c018788c>] (__remove_hrtimer) from [<c0187ffc>] (__hrtimer_run_queues.constprop.3+0x154/0x228)
[ 42.815448] r7:ffffe000 r6:c0e15bc0 r5:c84124a8 r4:c0e15c00
[ 42.821132] [<c0187ea8>] (__hrtimer_run_queues.constprop.3) from [<c01887f8>] (hrtimer_interrupt+0x120/0x30c)
[ 42.831088] r10:c0e4b77f r9:ffffffff r8:7fffffff r7:00000003 r6:20060193 r5:ffffe000
[ 42.838946] r4:c0e15bc0
[ 42.841503] [<c01886d8>] (hrtimer_interrupt) from [<c011a118>] (omap2_gp_timer_interrupt+0x30/0x38)
[ 42.850586] r10:c0e4b77f r9:cf007100 r8:00000010 r7:c8125f08 r6:00000000 r5:00000000
[ 42.858443] r4:c0e07f00
[ 42.860992] [<c011a0e8>] (omap2_gp_timer_interrupt) from [<c016f558>] (__handle_irq_event_percpu+0x68/0x14c)
[ 42.870861] [<c016f4f0>] (__handle_irq_event_percpu) from [<c016f670>] (handle_irq_event_percpu+0x34/0x88)
[ 42.880555] r10:00000002 r9:413c31e0 r8:cf008000 r7:00000000 r6:cf007100 r5:00000000
[ 42.888412] r4:c0e03048
[ 42.890954] [<c016f63c>] (handle_irq_event_percpu) from [<c016f728>] (handle_irq_event+0x64/0x90)
[ 42.899860] r6:00000001 r5:00000000 r4:cf007100
[ 42.904499] [<c016f6c4>] (handle_irq_event) from [<c0172f78>] (handle_level_irq+0xc0/0x160)
[ 42.912881] r5:00000000 r4:cf007100
[ 42.916469] [<c0172eb8>] (handle_level_irq) from [<c016e6c4>] (generic_handle_irq+0x2c/0x3c)
[ 42.924939] r5:00000000 r4:c0e49f20
[ 42.928528] [<c016e698>] (generic_handle_irq) from [<c016eea4>] (__handle_domain_irq+0x5c/0xb0)
[ 42.937264] [<c016ee48>] (__handle_domain_irq) from [<c0452e40>] (omap_intc_handle_irq+0x3c/0x94)
[ 42.946173] r9:413c31e0 r8:10c53c7d r7:10c5387d r6:ffffffff r5:60060030 r4:c0e7e09c
[ 42.953950] [<c0452e04>] (omap_intc_handle_irq) from [<c0101e14>] (__irq_usr+0x54/0x80)
[ 42.961983] Exception stack(0xc8125fb0 to 0xc8125ff8)
[ 42.967053] 5fa0: 00000000 00000001 000bfdd4 00000000
[ 42.975264] 5fc0: 000bfe68 000bfe68 000ffffe 000bfdb8 000d0f1c 413c31e0 00000002 00000004
[ 42.983474] 5fe0: 00000000 bec3cc3c 00000000 00076010 60060030 ffffffff
[ 42.990112] r5:60060030 r4:00076010
[ 42.993703] Code: e5d00001 e3530000 e2400030 0a000009 (e5933000)[ 42.999830] —[ end trace b8b4e4284dad188e ]—
[ 43.004465] Kernel panic – not syncing: Fatal exception in interrupt
[ 43.010846] —[ end Kernel panic – not syncing: Fatal exception in interrupt ]—
Daniel
Shine:
请问用的是EVM板还是自己的板子?
Daniel Cheng1:
回复 Shine:
Hi Shine
自己的板子,幾乎都照抄公版
Shine:
回复 Daniel Cheng1:
如果是自己的板子,建议查一下是否DDR稳定。
Daniel Cheng1:
回复 Shine:
Hi Shine
請問DDR是否穩定該怎麼確認?有可能是DDR Layout的問題嗎?
謝謝
Daniel