This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM623: am6234

Part Number: AM623

你好,我现在正在调试am6234 自制板,使用的是最新的8.6的SDK, 文件系统使用的是SDK中tisdk-default-image-am62xx-evm.tar.xz 制作SD启动卡启动后pvrsrvkm.ko  rti_wdt.ko 两个驱动加载会报错导致系统启动过程中会等待大约两分钟才能继续启动进入系统,我将这两个驱动从文件系统的驱动安装目录移动到/home/root 目录下后启动正常不需要再等待,因此确定是这两个驱动加载出问题导致的,手动加载这两个驱动报错如下,请问下如何解决。

root@am62xx-evm:~# insmod rti_wdt.ko
[ 106.052984] Internal error: synchronous external abort: 96000010 [#2] PREEMPT SMP
[ 106.060480] Modules linked in: rti_wdt(+) pvrsrvkm(O+) wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill libarc4 xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core roles rpmsg_char usb_common cdns_csi2rx v4l2_fwnode irq_pruss_intc pru_rproc crct10dif_ce snd_soc_simple_card snd_soc_simple_card_utils ti_k3_r5_remoteproc dwc3_am62 virtio_rpmsg_bus ti_k3_m4_remoteproc j721e_csi2rx videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 sa2ul videobuf2_common cdns_dphy sha512_generic mcrc authenc pruss snd_soc_tlv320aic3x sch_fq_codel cryptodev(O) ipv6
[ 106.108307] CPU: 3 PID: 1123 Comm: insmod Tainted: G D O 5.10.168-g2c23e6c538 #1
[ 106.116816] Hardware name: HZHY AM62X (DT)
[ 106.120906] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)
[ 106.126911] pc : rti_wdt_probe+0x1e0/0x4e8 [rti_wdt]
[ 106.131865] lr : rti_wdt_probe+0x1d0/0x4e8 [rti_wdt]
[ 106.136816] sp : ffff800012e83930
[ 106.140117] x29: ffff800012e83930 x28: 0000000000000100
[ 106.145419] x27: ffff8000100f67a8 x26: 0000000000000003
[ 106.150719] x25: ffff8000111f43c8 x24: 0000000000000054
[ 106.156019] x23: ffff000008a6d520 x22: ffff00000021d000
[ 106.161318] x21: ffff000008a6d490 x20: ffff00000021d010
[ 106.166617] x19: ffff000008a6d480 x18: 0000000000000002
[ 106.171917] x17: 0000000000000000 x16: 0000000000000000
[ 106.177217] x15: 0000000000000001 x14: 000000000006d98a
[ 106.182515] x13: 0000000000000003 x12: ffff8000116cb000
[ 106.187815] x11: ffff8000116cb000 x10: 0000000000001000
[ 106.193115] x9 : ffff800011247000 x8 : ffff80001112a4a4
[ 106.198415] x7 : 0000000000000041 x6 : 000000000000008b
[ 106.203714] x5 : 000000000e0f1000 x4 : ffff00000021d210
[ 106.209014] x3 : ffff0000081c1100 x2 : 0000000000000000
[ 106.214313] x1 : ffff0000036db900 x0 : ffff8000116c9090
[ 106.219615] Call trace:
[ 106.222056] rti_wdt_probe+0x1e0/0x4e8 [rti_wdt]
[ 106.226668] platform_drv_probe+0x54/0xa8
[ 106.230667] really_probe+0xec/0x400
[ 106.234231] driver_probe_device+0x58/0xb8
[ 106.238315] device_driver_attach+0x74/0x80
[ 106.242485] __driver_attach+0x68/0xf8
[ 106.246222] bus_for_each_dev+0x70/0xc0
[ 106.250046] driver_attach+0x24/0x30
[ 106.253608] bus_add_driver+0x150/0x200
[ 106.257431] driver_register+0x64/0x120
[ 106.261255] __platform_driver_register+0x48/0x58
[ 106.265947] rti_wdt_driver_init+0x24/0x1000 [rti_wdt]
[ 106.271075] do_one_initcall+0x54/0x1b8
[ 106.274899] do_init_module+0x44/0x1f0
[ 106.278637] load_module+0x1fbc/0x25d0
[ 106.282374] __do_sys_finit_module+0xb8/0xf8
[ 106.286630] __arm64_sys_finit_module+0x20/0x30
[ 106.291151] el0_svc_common.constprop.0+0x78/0x1c8
[ 106.295928] do_el0_svc+0x24/0xa0
[ 106.299234] el0_svc+0x14/0x20
[ 106.302278] el0_sync_handler+0xb0/0xb8
[ 106.306101] el0_sync+0x180/0x1c0
[ 106.309410] Code: f9000260 b140041f 54001128 91024000 (b9400000)
[ 106.315492] ---[ end trace edb2f0b4157cff27 ]---
Segmentation fault

root@am62xx-evm:~# insmod pvrsrvkm.ko
[ 95.345118] Internal error: synchronous external abort: 96000010 [#1] PREEMPT SMP
[ 95.352612] Modules linked in: pvrsrvkm(O+) wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill libarc4 xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core roles rpmsg_char usb_common cdns_csi2rx v4l2_fwnode irq_pruss_intc pru_rproc crct10dif_ce snd_soc_simple_card snd_soc_simple_card_utils ti_k3_r5_remoteproc dwc3_am62 virtio_rpmsg_bus ti_k3_m4_remoteproc j721e_csi2rx videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 sa2ul videobuf2_common cdns_dphy sha512_generic mcrc authenc pruss snd_soc_tlv320aic3x sch_fq_codel cryptodev(O) ipv6
[ 95.399472] CPU: 0 PID: 1114 Comm: insmod Tainted: G O 5.10.168-g2c23e6c538 #1
[ 95.407977] Hardware name: HZHY AM62X (DT)
[ 95.412064] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=--)
[ 95.418228] pc : RGXBvncInitialiseConfiguration+0x54c/0x8d8 [pvrsrvkm]
[ 95.424834] lr : RGXBvncInitialiseConfiguration+0x7d0/0x8d8 [pvrsrvkm]
[ 95.431345] sp : ffff800012e83790
[ 95.434647] x29: ffff800012e83790 x28: ffff800008ef6820
[ 95.439947] x27: 0000000000000000 x26: ffff000003e58170
[ 95.445248] x25: ffff800008f89000 x24: ffff800008ef5f60
[ 95.450547] x23: ffff000000c263c0 x22: 0000000000000000
[ 95.455847] x21: 0000000000000000 x20: ffff000003e58000
[ 95.461147] x19: ffff000003605800 x18: ffff800008eae840
[ 95.466447] x17: ffff800008eaea38 x16: ffff800008eae738
[ 95.471746] x15: ffff800008eae808 x14: 000000ffc0000000
[ 95.477045] x13: ffff000003e59000 x12: 0000000000000000
[ 95.482344] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 95.487644] x9 : 6b6860651f397224 x8 : 7f7f7f7f7f7f7f7f
[ 95.492944] x7 : fefefefefefefeff x6 : ffff0000002151a0
[ 95.498243] x5 : ffff800012e83650 x4 : 0000000000000000
[ 95.503543] x3 : ffff000000215104 x2 : 0000000000000000
[ 95.508842] x1 : ffff800012cc0024 x0 : ffff800012cc0000
[ 95.514142] Call trace:
[ 95.516667] RGXBvncInitialiseConfiguration+0x54c/0x8d8 [pvrsrvkm]
[ 95.522911] RGXRegisterDevice+0x414/0xb28 [pvrsrvkm]
[ 95.528027] PVRSRVCommonDeviceCreate+0x13c/0x628 [pvrsrvkm]
[ 95.533749] pvr_drm_load+0xa8/0x1b0 [pvrsrvkm]
[ 95.538344] pvr_probe+0x5c/0xa8 [pvrsrvkm]
[ 95.542525] platform_drv_probe+0x54/0xa8
[ 95.546523] really_probe+0xec/0x400
[ 95.550087] driver_probe_device+0x58/0xb8
[ 95.554171] device_driver_attach+0x74/0x80
[ 95.558341] __driver_attach+0x68/0xf8
[ 95.562079] bus_for_each_dev+0x70/0xc0
[ 95.565903] driver_attach+0x24/0x30
[ 95.569466] bus_add_driver+0x150/0x200
[ 95.573290] driver_register+0x64/0x120
[ 95.577114] __platform_driver_register+0x48/0x58
[ 95.581904] pvr_init+0x50/0x1000 [pvrsrvkm]
[ 95.586167] do_one_initcall+0x54/0x1b8
[ 95.589994] do_init_module+0x44/0x1f0
[ 95.593731] load_module+0x1fbc/0x25d0
[ 95.597469] __do_sys_finit_module+0xb8/0xf8
[ 95.601726] __arm64_sys_finit_module+0x20/0x30
[ 95.606248] el0_svc_common.constprop.0+0x78/0x1c8
[ 95.611025] do_el0_svc+0x24/0xa0
[ 95.614332] el0_svc+0x14/0x20
[ 95.617376] el0_sync_handler+0xb0/0xb8
[ 95.621199] el0_sync+0x180/0x1c0
[ 95.624510] Code: b9408e9b 3400143b f9406260 91009001 (b9400021)
[ 95.630593] ---[ end trace edb2f0b4157cff26 ]---
Segmentation fault