Other Parts Discussed in Thread: TDA4VH,
Tool/software:
This is the question I asked before. has been resolved. But I discovered a new problem.
R5 log is normal。
MCU only app: Inside MCU ONLY task!
MCU only app: Disabling MAXT_OUTRG_EN for TMPSENS1:4 in MAIN domain!
MCU only app: STATE INFO :: CURRENTLY IN ACTIVE MODE!
MCU only app: LED LD5 should be ON
MCU only app: Please measure TP133 and TP134!
MCU only app: Expected values in ACTIVE mode:
TP133: HIGH
TP134: HIGH
MCU only app: Kindly unload Remoteproc modules from Linux. Type these commands in Linux CMD:
modprobe -r ti_k3_r5_remoteproc
modprobe -r ti_k3_dsp_remoteproc
MCU only app: After modules have been removed, press 1 and enter
There is an abnormal log when linux starts. But you can finally log in.
1.145418] pca953x 4-0020: using no AI
[ 1.172306] omap_i2c 2060000.i2c: bus 4 rev0.12 at 400 kHz
[ 1.178025] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
[ 1.186557] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
[ 1.195887] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
[ 1.204482] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[ 1.215177] ------------[ cut here ]------------
[ 1.219915] wiz bus@100000:wiz@5000000: Unable to create SERDES platform device
[ 1.227409] WARNING: CPU: 0 PID: 38 at /drivers/phy/ti/phy-j721e-wiz.c:1624 wiz_probe+0xd10/0xe6c
[ 1.236491] Modules linked in:
[ 1.239607] CPU: 0 PID: 38 Comm: kworker/u4:2 Not tainted 6.6.32-ti-gdb8871293143-dirty #1
[ 1.248052] Hardware name: Texas Instruments J721e EVM (DT)
[ 1.253741] Workqueue: events_unbound deferred_probe_work_func
[ 1.259703] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 1.266815] pc : wiz_probe+0xd10/0xe6c
[ 1.270641] lr : wiz_probe+0xd10/0xe6c
[ 1.274465] sp : ffff8000817dba80
[ 1.277844] x29: ffff8000817dbb40 x28: ffff00085f809330 x27: 0000000000000001
[ 1.285136] x26: ffff800080cac470 x25: 0000000000000002 x24: 0000000000000002
[ 1.292428] x23: 0000000000000000 x22: ffff00080111f8c8 x21: ffff00080038d010
[ 1.299720] x20: ffff00080111f880 x19: 0000000000000000 x18: 0000000000000006
[ 1.307011] x17: 766564206d726f66 x16: 74616c7020534544 x15: 5245532065746165
[ 1.314302] x14: 7263206f7420656c x13: ffff8000812bea58 x12: 0000000000000363
[ 1.321593] x11: 0000000000000121 x10: ffff800081316a58 x9 : ffff8000812bea58
[ 1.328885] x8 : 00000000ffffefff x7 : ffff800081316a58 x6 : 80000000fffff000
[ 1.336176] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[ 1.343467] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000800175580
[ 1.350758] Call trace:
[ 1.353249] wiz_probe+0xd10/0xe6c
[ 1.356719] platform_probe+0x68/0xc4
[ 1.360456] really_probe+0x148/0x2b0
[ 1.364190] __driver_probe_device+0x78/0x12c
[ 1.368636] driver_probe_device+0xd8/0x15c
[ 1.372904] __device_attach_driver+0xb8/0x134
[ 1.377438] bus_for_each_drv+0x88/0xe8
[ 1.381352] __device_attach+0xa0/0x190
[ 1.385264] device_initial_probe+0x14/0x20
[ 1.389532] bus_probe_device+0xac/0xb0
[ 1.393446] deferred_probe_work_func+0x88/0xc0
[ 1.398071] process_one_work+0x138/0x248
[ 1.402166] worker_thread+0x320/0x438
[ 1.405991] kthread+0x110/0x114
[ 1.409283] ret_from_fork+0x10/0x20
[ 1.412931] ---[ end trace 0000000000000000 ]---
[ 1.417675] wiz: probe of bus@100000:wiz@5000000 failed with error -12
[ 1.426560] ------------[ cut here ]------------
[ 1.431301] wiz bus@100000:wiz@5010000: Unable to create SERDES platform device
[ 1.438787] WARNING: CPU: 0 PID: 38 at /drivers/phy/ti/phy-j721e-wiz.c:1624 wiz_probe+0xd10/0xe6c
[ 1.447864] Modules linked in:
[ 1.450979] CPU: 0 PID: 38 Comm: kworker/u4:2 Tainted: G W 6.6.32-ti-gdb8871293143-dirty #1
[ 1.460934] Hardware name: Texas Instruments J721e EVM (DT)
[ 1.466623] Workqueue: events_unbound deferred_probe_work_func
[ 1.472584] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 1.479695] pc : wiz_probe+0xd10/0xe6c
[ 1.483521] lr : wiz_probe+0xd10/0xe6c
[ 1.487346] sp : ffff8000817dba80
[ 1.490724] x29: ffff8000817dbb40 x28: ffff00085f80b190 x27: 0000000000000001
[ 1.498016] x26: ffff800080cac470 x25: 0000000000000002 x24: 0000000000000002
[ 1.505308] x23: 0000000000000000 x22: ffff00080111f8c8 x21: ffff00080038d410
[ 1.512599] x20: ffff00080111f880 x19: 0000000000000000 x18: 0000000000000006
[ 1.519890] x17: 766564206d726f66 x16: 74616c7020534544 x15: 5245532065746165
[ 1.527182] x14: 7263206f7420656c x13: ffff8000812bea58 x12: 00000000000003d8
[ 1.534473] x11: 0000000000000148 x10: ffff800081316a58 x9 : ffff8000812bea58
[ 1.541765] x8 : 00000000ffffefff x7 : ffff800081316a58 x6 : 80000000fffff000
[ 1.549056] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[ 1.556348] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000800175580
[ 1.563639] Call trace:
[ 1.566130] wiz_probe+0xd10/0xe6c
[ 1.569600] platform_probe+0x68/0xc4
[ 1.573335] really_probe+0x148/0x2b0
[ 1.577070] __driver_probe_device+0x78/0x12c
[ 1.581516] driver_probe_device+0xd8/0x15c
[ 1.585783] __device_attach_driver+0xb8/0x134
[ 1.590318] bus_for_each_drv+0x88/0xe8
[ 1.594232] __device_attach+0xa0/0x190
[ 1.598144] device_initial_probe+0x14/0x20
[ 1.602412] bus_probe_device+0xac/0xb0
[ 1.606326] deferred_probe_work_func+0x88/0xc0
[ 1.610951] process_one_work+0x138/0x248
[ 1.615044] worker_thread+0x320/0x438
[ 1.618869] kthread+0x110/0x114
[ 1.622161] ret_from_fork+0x10/0x20
[ 1.625808] ---[ end trace 0000000000000000 ]---
[ 1.630602] wiz: probe of bus@100000:wiz@5010000 failed with error -12
[ 1.639447] ------------[ cut here ]------------
[ 1.644186] wiz bus@100000:wiz@5020000: Unable to create SERDES platform device
[ 1.651673] WARNING: CPU: 0 PID: 38 at /drivers/phy/ti/phy-j721e-wiz.c:1624 wiz_probe+0xd10/0xe6c
[ 1.660752] Modules linked in:
[ 1.663867] CPU: 0 PID: 38 Comm: kworker/u4:2 Tainted: G W 6.6.32-ti-gdb8871293143-dirty #1
[ 1.673821] Hardware name: Texas Instruments J721e EVM (DT)
[ 1.679510] Workqueue: events_unbound deferred_probe_work_func
[ 1.685472] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 1.692583] pc : wiz_probe+0xd10/0xe6c
[ 1.696409] lr : wiz_probe+0xd10/0xe6c
[ 1.700234] sp : ffff8000817dba80
[ 1.703612] x29: ffff8000817dbb40 x28: ffff00085f80cff0 x27: 0000000000000001
[ 1.710904] x26: ffff800080cac470 x25: 0000000000000002 x24: 0000000000000002
[ 1.718195] x23: 0000000000000000 x22: ffff00080111f8c8 x21: ffff00080038d810
[ 1.725487] x20: ffff00080111f880 x19: 0000000000000000 x18: 0000000000000006
[ 1.732778] x17: 766564206d726f66 x16: 74616c7020534544 x15: 5245532065746165
[ 1.740069] x14: 7263206f7420656c x13: ffff8000812bea58 x12: 000000000000044d
[ 1.747360] x11: 000000000000016f x10: ffff800081316a58 x9 : ffff8000812bea58
[ 1.754652] x8 : 00000000ffffefff x7 : ffff800081316a58 x6 : 80000000fffff000
[ 1.761944] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[ 1.769235] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000800175580
[ 1.776526] Call trace:
[ 1.779016] wiz_probe+0xd10/0xe6c
[ 1.782486] platform_probe+0x68/0xc4
[ 1.786222] really_probe+0x148/0x2b0
[ 1.789957] __driver_probe_device+0x78/0x12c
[ 1.794402] driver_probe_device+0xd8/0x15c
[ 1.798670] __device_attach_driver+0xb8/0x134
[ 1.803204] bus_for_each_drv+0x88/0xe8
[ 1.807118] __device_attach+0xa0/0x190
[ 1.811031] device_initial_probe+0x14/0x20
[ 1.815299] bus_probe_device+0xac/0xb0
[ 1.819213] deferred_probe_work_func+0x88/0xc0
[ 1.823838] process_one_work+0x138/0x248
[ 1.827931] worker_thread+0x320/0x438
[ 1.831756] kthread+0x110/0x114
[ 1.835048] ret_from_fork+0x10/0x20
[ 1.838695] ---[ end trace 0000000000000000 ]---
[ 1.843488] wiz: probe of bus@100000:wiz@5020000 failed with error -12
[ 1.852345] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
[ 1.860016] j721e-pcie 2900000.pcie: IO 0x0010001000..0x0010010fff -> 0x0010001000
[ 1.868293] j721e-pcie 2900000.pcie: MEM 0x0010011000..0x0017ffffff -> 0x0010011000
[ 1.876569] j721e-pcie 2900000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 1.885755] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 1.893479] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 1.901760] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 1.910037] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 1.918926] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges:
[ 1.926631] j721e-pcie 2920000.pcie: IO 0x4400001000..0x4400010fff -> 0x0000001000
I have compiled the module.Please tell me what is the reason for these errors.
root@j721e-evm:/opt/edgeai-gst-apps# ls /lib/modules/6.6.32-gdb8871293143-dirty/
build modules.alias.bin modules.builtin.bin modules.dep.bin modules.softdep
kernel modules.builtin modules.builtin.modinfo modules.devname modules.symbols
modules.alias modules.builtin.alias.bin modules.dep modules.order modules.symbols.bin