Hi,
I modified the conf/local.conf file and added llce_can in DISTRO_FEATURES:append. I have all four .bin files in the pre-defined firmware folder, and the LLCE firmware version is 1.0.8. The SD card image used is fsl-image-auto.
When the board boots up, I can see that the LLCE kernel modules are loaded. However, running ifconfig -a doesn't show any llce_can interfaces. I've dumped the device tree from the running system, and all llce_can interfaces have their status set to OK.
Can anyone help me identify what might be wrong? I've included more details below.
root@s32g399ardb3:~# lsmod
Module Size Used by
pfeng 565248 0
llce_can 24576 0
llce_mailbox 32768 1
llce_core 16384 0
grep the dmesg, only a few lines are llce related
root@s32g399ardb3:~# dmesg | grep -i llc
[ 6.777298] Modules linked in: llce_mailbox(+) llce_core
[ 6.807139] lr : llce_mb_last_tx_done+0xb8/0x170 [llce_mailbox]
[ 6.894104] execute_hif_cmd+0x70/0xe0 [llce_mailbox]
[ 6.899138] get_fw_version+0x84/0xb0 [llce_mailbox]
[ 6.904087] llce_mb_probe+0x4c8/0x854 [llce_mailbox]
[ 6.969889] llce_mb_driver_init+0x24/0x1000 [llce_mailbox]
root@s32g399ardb3:~#
these are related to some kernel exception
Starting Load Kernel Modules...
Starti[ 6.756042] systemd[1]: Starting Generate network units from Kernel command line...
ng Generate network �…ts from Kernel command li[ 6.769759] Internal error: synchronous external abort: 96000210 [#1] PREEMPT SMP
n[ 6.777298] Modules linked in: llce_mailbox(+) llce_core
e[ 6.782664] CPU: 7 PID: 156 Comm: systemd-modules Not tainted 5.15.119-rt65+ge18f05316cd9 #1
6.791169] Hardware name: NXP S32G399A-RDB3 (DT)
[[ 6.795944] pstate: 800000c5 (Nzcv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
0[ 6.802973] pc : __memcpy_fromio+0x48/0xa0
m[ 6.807139] lr : llce_mb_last_tx_done+0xb8/0x170 [llce_mailbox]
.[ 6.813130] sp : ffffffc00a0bb600
.[ 6.816514] x29: ffffffc00a0bb600 x28: ffffff885f8fdc50 x27: 0000000000000000
.[ 6.823718] x26: ffffffc00a0bb6b0 x25: ffffffc00ba80000 x24: ffffff88009621c8
[ 6.830923] x23: 0000000000000000 x22: 0000000000000000 x21: ffffff88017b4000
[ 6.838127] x20: ffffff8801638080 x19: 0000000000000001 x18: 0000000000000001
[ 6.845239] x17: 0000000000000000 x16: ffffff8800962128 x15: 0000000000000000
[ 6.852354] x14: ffffffffffffffff x13: 0000000000000020 x12: 0101010101010101
[ 6.859471] x11: 0000000000000040 x10: ffffff88009ae128 x9 : 0000000000000000
[ 6.866588] x8 : ffffffc00a0bb848 x7 : 0000000000000000 x6 : 0000000000000198
[ 6.873706] x5 : 0000000000000000 x4 : ffffffc00bab9f70 x3 : ffffffc00a0bb848
[ 6.880823] x2 : 0000000000000198 x1 : ffffffc00bab9de0 x0 : ffffffc00a0bb840
[ 6.887942] Call trace:
Thanks,
XD