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.

PROCESSOR-SDK-J7200: MCAN support on top of PSDK 9.1

Part Number: PROCESSOR-SDK-J7200

Hi J7200 Champ !

Can you please support MCAN enabling on top of PSDK 9.1 ? 

Customers have tried the guidance introcued based on PSDK8.5. But it still not activated althourgh followed the same steps of the guidance. 

Please follow up the MCAN enabling task on PSDK9.1 by providing us with hotfix patch even before PSDK 9.2. official release.

Thanks.

Best Regards, 

Jack 

  • Hi Jack,

    Looks like the offset for GPIO have shifted in 9.x SDK for J7200. Could you try applying this patch instead?

    0001-arm64-dts-ti-k3-j7200-Add-support-for-multiple-CAN-i.patch

    Regards,

    Takuma

  • hello Takuma,

    I applied your patch, but the problem still persists.

    I sent packets, but there is no change in the tx, rx counters.

    could you send your dts files as follow?

    k3-j7200-main.dtsi
    k3-j7200-common-proc-board.dts
    k3-j7200-mcu-wakeup.dtsi

    Regards,

    ryu

    root@j7200-evm:~# cansend can0 999#DEADBEEF
    root@j7200-evm:~# cansend can1 999#DEADBEEF
    root@j7200-evm:~# ifconfig
    can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    UP RUNNING NOARP MTU:72 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:10
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:172

    can1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    UP NOARP MTU:72 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:10
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:173

  • Hi Ryu and Jack,

    Apologies, I missed sharing two more patches. Could you apply these three patches?

    I can confirm that using J31 and J30 headers that CAN transmission is happening.

    root@j7200-evm:~# cansend can1 123#DEADBEEF
    can0 123 [4] DE AD BE EF
    can1 123 [4] DE AD BE EF
    root@j7200-evm:~#

    Also sharing the dtb file for quick testing with 9.1 SDK version: 0257.k3-j7200-common-proc-board.dtb

    Regards,

    Takuma

  • hello Takuma,

    I have tried both of the following methods, but the problem still persists.

    1) patching dts files. 

    0001-arm64-dts-ti-k3-j7200-Add-support-for-CAN-nodes.patch
    0002-arm64-dts-ti-k3-j7200-som-p0-Add-support-for-CAN-ins.patch
    0003-arm64-dts-ti-k3-j7200-Add-support-for-multiple-CAN-i.patch

    2) copying your dtb file to /boot/dtb/ti/k3-j7200-common-proc-board.dtb

    could you send your kernel image files as follow?

    root@j7200-evm:/boot# find . -name "*"
    .
    ./Image
    ./fitImage
    ./dtb
    ./dtb/ti
    ./dtb/ti/k3-j7200-common-proc-board.dtb
    ./dtb/ti/k3-j7200-evm-quad-port-eth-exp.dtbo
    ./dtb/ti/k3-j7200-evm-virt-mac-client.dtbo
    ./dtb/ti/k3-j7200-evm-mcspi-loopback.dtbo
    ./Image-6.1.46-g0cc944dd47
    ./fitImage-6.1.46-g0cc944dd47
    ./EFI
    ./EFI/BOOT
    ./EFI/BOOT/bootaa64.efi
    ./EFI/BOOT/grub.cfg

    thank you.

    Regards,

    ryu

  • Hi Ryu,

    I am currently out of office until Tuesday next week and do not have access to my work PC. I can send those files when I get back into office.

    However, I am pretty sure those are the patches needed to enable MCAN. I would recommend checking if you are connected to the correct CAN headers when sending CAN messages, and if you have some wires, connecting two CAN headers to see if you can send and receive CAN messages.

    One useful thing to review is dmesg. In dmesg, do you see any CAN related error messages? We can also review them if you send them.

    Regards,

    Takuma

  • Hi Ryu,

    Attached are the files:

    5661.boot.zip

    And some logs:

    cansend.txt
    root@j7200-evm:~# ip link set can0 type can bitrate 1000000
    root@j7200-evm:~# ip link set can1 type can bitrate 1000000
    root@j7200-evm:~# ip link set can0 up
    [  179.120540] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
    root@j7200-evm:~# ip link set can1 up
    [  182.792578] IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
    root@j7200-evm:~# cansend can0 123#DEADBEEF
    [ 3384.758791] can: controller area network core
    [ 3384.763221] NET: Registered PF_CAN protocol family
    [ 3384.775827] can: raw protocol
    root@j7200-evm:~# candump can1 &
    [1] 775
    root@j7200-evm:~# cansend can0 123#DEADBEEF
    root@j7200-evm:~# cansend can0 123#DEADBEEF
    root@j7200-evm:~# cansend can1 123#DEADBEEF
    root@j7200-evm:~# cansend can2 123#DEADBEEF
    write: Network is down
    root@j7200-evm:~# ip link set can2 type can bitrate 1000000
    root@j7200-evm:~# ip link set can1 up
    root@j7200-evm:~# ip link set can2 up
    [ 4796.076508] IPv6: ADDRCONF(NETDEV_CHANGE): can2: link becomes ready
    root@j7200-evm:~#   can1  123   [4]  DE AD BE EF
    root@j7200-evm:~# cansend can2 123#DEADBEEF
      can1  123   [4]  DE AD BE EF
    root@j7200-evm:~# cansend can2 123#DEADBEEF
      can1  123   [4]  DE AD BE EF
    root@j7200-evm:~# cansend can2 123#DEADBEEF
      can1  123   [4]  DE AD BE EF
    root@j7200-evm:~# cansend can2 123#DEADBEEF
      can1  123   [4]  DE AD BE EF
    root@j7200-evm:~# cansend can2 123#DEADBEEF
      can1  123   [4]  DE AD BE EF
    root@j7200-evm:~# uname -r
    6.1.46-dirty
    root@j7200-evm:~#
    
    

    I noticed that in this boot, CAN came up on can1 and can2. Enumeration may be acting up, so please make sure that the correct CAN interfaces are used when sending/receiving messages.

    Also, if CAN messages are not received, then sending CAN messages does not increment TX counter under ifconfig. TX counter only gets incremented once the messages are received.

    Regards,

    Takuma

  • hello Takuma,

    I tested by changing the kernel you provided, but it still doesn't work. and it seems to be inactive CAN interface.

    root@j7200-evm:/boot/dtb/ti# uname -a
    Linux j7200-evm 6.1.46-dirty #1 SMP PREEMPT Thu Mar 28 15:42:22 CDT 2024 aarch64 GNU/Linux

    root@j7200-evm:/boot/dtb/ti# ip link set can0 type can bitrate 1000000
    Cannot find device "can0"

    And I noticed that after multiple reboots with the patched kernel, CAN data was successfully transmitted once. However, after reboot, no data was transmitted.

    I continued to conduct reboot tests, but CAN data was not transmitted.

    It seems like something is unstable.

    Regards,

    Ryu

  • Hi Ryu,

    Cannot find device "can0"

    That implies CAN interface was not initialized at boot. Could you share the output from two commands?

    • ifconfig -a > ifconfig_output.txt
    • dmesg > dmesg_output.txt

    Additionally, in the Linux SDK's kernel where the patches should be applied, could you run the following command and share the output? Note, the Linux kernel file path should be something like <PSDK Linux installation directory>/ti-processor-sdk-linux-j7200-evm-09_01_00_07/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+5892b80d6b-g5892b80d6b

    • git diff > diff_output.txt

    Regards,

    Takuma

  • hello Takuma,

    I attached  dmesg_output.txt,  ifconfig_output.txt  files for the kernel image you provided. Please find them attached.

    and i checked  folder "board-support/ti-linux-kernel-6.1.46+gitAUTOINC+5892b80d6b-g5892b80d6", i did make any changes.

    i applied your patch on "meta-ti-bsp/recipes-kernel/linux/files"

    if you want my kernel dmesg file, i will send.

    Regards,

    Ryu

    ryu@mocean-System-Product-Name:~/smnt2/ti-processor-sdk-linux-j7200-evm-09_01_00_07/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+5892b80d6b-g5892b80d6b$ git diff

    ryu@mocean-System-Product-Name:~/smnt2/ti-processor-sdk-linux-j7200-evm-09_01_00_07/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+5892b80d6b-g5892b80d6b$
    ryu@mocean-System-Product-Name:~/smnt2/ti-processor-sdk-linux-j7200-evm-09_01_00_07/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+5892b80d6b-g5892b80d6b$
    ryu@mocean-System-Product-Name:~/smnt2/ti-processor-sdk-linux-j7200-evm-09_01_00_07/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+5892b80d6b-g5892b80d6b$

    ryu@mocean-System-Product-Name:~/smnt2/ti-processor-sdk-linux-j7200-evm-09_01_00_07/yocto-build/sources/meta-ti$ git status
    HEAD가 다음 위치에서 분리: 09.01.00.006
    커밋하도록 정하지 않은 변경 사항:
    (무엇을 커밋할지 바꾸려면 "git add <파일>..."을 사용하십시오)
    (작업 디렉토리의 변경을 무시하려면 "git restore <file>..."을 사용하시오)
    수정함: meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb

    추적하지 않는 파일:
    (커밋할 사항에 포함하려면 "git add <파일>..."을 사용하십시오)
    meta-ti-bsp/recipes-kernel/linux/files/0001-arm64-dts-ti-k3-j7200-Add-support-for-CAN-nodes.patch
    meta-ti-bsp/recipes-kernel/linux/files/0002-arm64-dts-ti-k3-j7200-som-p0-Add-support-for-CAN-ins.patch
    meta-ti-bsp/recipes-kernel/linux/files/0003-arm64-dts-ti-k3-j7200-Add-support-for-multiple-CAN-i.patch

    커밋할 변경 사항을 추가하지 않았습니다 ("git add" 및/또는 "git commit -a"를
    사용하십시오)
    ryu@mocean-System-Product-Name:~/smnt2/ti-processor-sdk-linux-j7200-evm-09_01_00_07/yocto-build/sources/meta-ti$ git diff
    diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
    index e1ab9804..073e83af 100644
    --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
    +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
    @@ -33,7 +33,10 @@ PR = "${MACHINE_KERNEL_PR}"
    KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
    KERNEL_GIT_PROTOCOL = "https"
    SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
    - file://defconfig"
    + file://defconfig \
    + file://0001-arm64-dts-ti-k3-j7200-Add-support-for-CAN-nodes.patch \
    + file://0002-arm64-dts-ti-k3-j7200-som-p0-Add-support-for-CAN-ins.patch \
    + file://0003-arm64-dts-ti-k3-j7200-Add-support-for-multiple-CAN-i.patch"

    # Special configuration for remoteproc/rpmsg IPC modules
    module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
    ryu@mocean-System-Product-Name:~/smnt2/ti-processor-sdk-linux-j7200-evm-09_01_00_07/yocto-build/sources/meta-ti$

    7802.dmesg_output.txt
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.46-dirty (a0488417local@udc0488417) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Mar 28 15:42:22 CDT 2024
    [    0.000000] Machine model: Texas Instruments J7200 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 19 pages/cpu s38376 r8192 d31256 u77824
    [    0.000000] pcpu-alloc: s38376 r8192 d31256 u77824 alloc=19*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=8f7ead64-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
    [    0.000000] Memory: 3896340K/4194304K available (12352K kernel code, 1266K rwdata, 4028K rodata, 2112K init, 432K bss, 265196K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008353] Console: colour dummy device 80x25
    [    0.012915] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023586] pid_max: default: 32768 minimum: 301
    [    0.028323] LSM: Security Framework initializing
    [    0.033101] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040678] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049486] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.056891] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.063161] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.070547] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.076863] rcu: Hierarchical SRCU implementation.
    [    0.081763] rcu: 	Max phase no-delay instances is 1000.
    [    0.087276] Platform MSI: msi-controller@1820000 domain created
    [    0.093444] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.102809] EFI services will not be available.
    [    0.107546] smp: Bringing up secondary CPUs ...
    [    0.120733] Detected PIPT I-cache on CPU1
    [    0.120798] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.120813] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.120847] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.120898] smp: Brought up 1 node, 2 CPUs
    [    0.150247] SMP: Total of 2 processors activated.
    [    0.155052] CPU features: detected: 32-bit EL0 Support
    [    0.160306] CPU features: detected: CRC32 instructions
    [    0.165586] CPU: All CPU(s) started at EL2
    [    0.169769] alternatives: applying system-wide alternatives
    [    0.176290] devtmpfs: initialized
    [    0.184326] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.194304] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.201908] pinctrl core: initialized pinctrl subsystem
    [    0.207571] DMI not present or invalid.
    [    0.211818] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.218418] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.225733] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.233767] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.241894] audit: initializing netlink subsys (disabled)
    [    0.247500] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.247692] thermal_sys: Registered thermal governor 'step_wise'
    [    0.255423] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.261581] cpuidle: using governor menu
    [    0.272334] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.279297] ASID allocator initialised with 65536 entries
    [    0.291968] KASLR disabled due to lack of seed
    [    0.299435] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.306399] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.312805] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.319751] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.326176] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.333111] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.339513] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.346447] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.353616] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [    0.362835] iommu: Default domain type: Translated 
    [    0.367824] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.374355] SCSI subsystem initialized
    [    0.378257] libata version 3.00 loaded.
    [    0.378342] usbcore: registered new interface driver usbfs
    [    0.383965] usbcore: registered new interface driver hub
    [    0.389405] usbcore: registered new device driver usb
    [    0.394741] pps_core: LinuxPPS API ver. 1 registered
    [    0.399814] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.409154] PTP clock support registered
    [    0.413228] EDAC MC: Ver: 3.0.0
    [    0.416901] FPGA manager framework
    [    0.420417] Advanced Linux Sound Architecture Driver Initialized.
    [    0.427061] clocksource: Switched to clocksource arch_sys_counter
    [    0.433411] VFS: Disk quotas dquot_6.6.0
    [    0.437439] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.447421] NET: Registered PF_INET protocol family
    [    0.452743] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.461809] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.470586] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.478513] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.486742] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.495503] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.502350] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.509271] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.516715] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.522799] RPC: Registered named UNIX socket transport module.
    [    0.528866] RPC: Registered udp transport module.
    [    0.533671] RPC: Registered tcp transport module.
    [    0.538474] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.545057] NET: Registered PF_XDP protocol family
    [    0.549956] PCI: CLS 0 bytes, default 64
    [    0.554310] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.563384] Initialise system trusted keyrings
    [    0.568046] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.576728] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.583029] NFS: Registering the id_resolver key type
    [    0.588217] Key type id_resolver registered
    [    0.592490] Key type id_legacy registered
    [    0.596611] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.603460] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.630727] Key type asymmetric registered
    [    0.634912] Asymmetric key parser 'x509' registered
    [    0.639921] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.647573] io scheduler mq-deadline registered
    [    0.652210] io scheduler kyber registered
    [    0.657951] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.663958] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
    [    0.669757] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
    [    0.675799] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
    [    0.681727] pinctrl-single 11c000.pinctrl: 67 pins, size 268
    [    0.687582] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
    [    0.693593] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.702519] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.712758] loop: module loaded
    [    0.716510] megasas: 07.719.03.00-rc1
    [    0.721631] tun: Universal TUN/TAP device driver, 1.6
    [    0.727124] thunder_xcv, ver 1.0
    [    0.730429] thunder_bgx, ver 1.0
    [    0.733737] nicpf, ver 1.0
    [    0.736569] e1000: Intel(R) PRO/1000 Network Driver
    [    0.741552] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.747443] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.752513] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.758572] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.764086] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.769787] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.776190] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.782294] sky2: driver version 1.30
    [    0.786364] VFIO - User Level meta-driver version: 0.3
    [    0.791991] usbcore: registered new interface driver usb-storage
    [    0.798426] i2c_dev: i2c /dev entries driver
    [    0.803378] sdhci: Secure Digital Host Controller Interface driver
    [    0.809702] sdhci: Copyright(c) Pierre Ossman
    [    0.814335] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.820414] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.826648] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.833362] usbcore: registered new interface driver usbhid
    [    0.839060] usbhid: USB HID core driver
    [    0.843447] optee: probing for conduit method.
    [    0.848008] optee: revision 4.0 (2a5b1d12)
    [    0.864462] optee: dynamic shared memory is enabled
    [    0.873848] optee: initialized driver
    [    0.878659] Initializing XFRM netlink socket
    [    0.883049] NET: Registered PF_PACKET protocol family
    [    0.888246] Key type dns_resolver registered
    [    0.892799] registered taskstats version 1
    [    0.897000] Loading compiled-in X.509 certificates
    [    0.908236] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    [    0.933962] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.940350] pca953x 1-0021: supply vcc not found, using dummy regulator
    [    0.947181] pca953x 1-0021: using no AI
    [    0.975482] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    0.982291] pca953x 1-0020: using no AI
    [    0.986889] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    0.993698] pca953x 1-0022: using AI
    [    0.997997] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.004125] pca953x 2-0020: supply vcc not found, using dummy regulator
    [    1.010951] pca953x 2-0020: using no AI
    [    1.035376] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.041138] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    1.049673] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    1.059001] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    1.067602] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    1.077291] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    1.087183] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.093943] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.103651] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    1.113801] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.120560] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.128150] pinctrl-single 4301c000.pinctrl: mux offset out of range: 0xf8 (0x34)
    [    1.135802] pinctrl-single 4301c000.pinctrl: could not add functions for mcu-uart0-pins-default 248x
    [    1.145480] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 251, base_baud = 6000000) is a 8250
    [    1.154944] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 252, base_baud = 3000000) is a 8250
    [    1.163797] printk: console [ttyS2] enabled
    [    1.172238] printk: bootconsole [ns16550a0] disabled
    [    1.182635] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 253, base_baud = 3000000) is a 8250
    [    1.192431] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.239071] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.247656] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.255933] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.268786] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.275995] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.282180] pps pps0: new PPS source ptp0
    [    1.286341] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.296659] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.306291] mmc0: CQHCI version 5.10
    [    1.310045] gpio-mux mux-controller: 2-way mux-controller registered
    [    1.347613] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.443352] mmc0: Command Queue Engine enabled
    [    1.447873] mmc0: new HS400 MMC card at address 0001
    [    1.453487] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.459602] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB 
    [    1.465682] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB 
    [    1.471925] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [    1.654291] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    1.660254] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [    1.699361] vdd_core_0v85: Bringing 800000uV into 850000-850000uV
    [    1.820348] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    1.827366] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    1.836230] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.847731] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    1.862075] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.867151] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.874210] Creating 7 MTD partitions on "47040000.spi.0":
    [    1.879741] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    1.886250] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    1.892466] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    1.898925] 0x000000700000-0x000000740000 : "ospi.env"
    [    1.905036] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    1.911572] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.917763] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.929923] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.975090] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.983782] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.992069] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.005019] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.012244] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.018623] pps pps0: new PPS source ptp1
    [    2.022820] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    2.034031] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.042354] mmc1: CQHCI version 5.10
    [    2.042397] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    2.057535] ALSA device list:
    [    2.060528]   No soundcards found.
    [    2.085684] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.093313] Waiting for root device PARTUUID=8f7ead64-02...
    [    2.148139] mmc1: new ultra high speed SDR104 SDHC card at address 59b4
    [    2.155424] mmcblk1: mmc1:59b4       30.2 GiB 
    [    2.161455]  mmcblk1: p1 p2
    [    2.264882] EXT4-fs (mmcblk1p2): recovery complete
    [    2.275337] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    2.283890] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.290659] devtmpfs: mounted
    [    2.295026] Freeing unused kernel memory: 2112K
    [    2.299679] Run /sbin/init as init process
    [    2.303775]   with arguments:
    [    2.303778]     /sbin/init
    [    2.303780]   with environment:
    [    2.303783]     HOME=/
    [    2.303785]     TERM=linux
    [    2.460984] systemd[1]: System time before build time, advancing clock.
    [    2.493910] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    2.525749] systemd[1]: Detected architecture arm64.
    [    2.600092] systemd[1]: Hostname set to <j7200-evm>.
    [    2.681098] systemd-sysv-generator[146]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.884829] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.893750] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.951619] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    3.006236] systemd[1]: Queued start job for default target Multi-User System.
    [    3.054057] systemd[1]: Created slice Slice /system/getty.
    [    3.077934] systemd[1]: Created slice Slice /system/modprobe.
    [    3.101277] systemd[1]: Created slice Slice /system/serial-getty.
    [    3.125499] systemd[1]: Created slice User and Session Slice.
    [    3.147484] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.171402] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.195438] systemd[1]: Reached target Path Units.
    [    3.215210] systemd[1]: Reached target Remote File Systems.
    [    3.235204] systemd[1]: Reached target Slice Units.
    [    3.255210] systemd[1]: Reached target Swaps.
    [    3.306798] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.331310] systemd[1]: Reached target RPC Port Mapper.
    [    3.357121] systemd[1]: Listening on Process Core Dump Socket.
    [    3.379475] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.403851] systemd[1]: Listening on Journal Audit Socket.
    [    3.427684] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.451702] systemd[1]: Listening on Journal Socket.
    [    3.467836] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.491772] systemd[1]: Listening on udev Control Socket.
    [    3.511547] systemd[1]: Listening on udev Kernel Socket.
    [    3.531634] systemd[1]: Listening on User Database Manager Socket.
    [    3.583451] systemd[1]: Mounting Huge Pages File System...
    [    3.603849] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.647475] systemd[1]: Mounting Kernel Debug File System...
    [    3.663605] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.681994] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.699539] systemd[1]: Create List of Static Device Nodes was skipped because of a failed condition check (ConditionFileNotEmpty=/lib/modules/6.1.46-dirty/modules.devname).
    [    3.719262] systemd[1]: Starting Load Kernel Module configfs...
    [    3.739547] systemd[1]: Starting Load Kernel Module drm...
    [    3.759679] systemd[1]: Starting Load Kernel Module fuse...
    [    3.781097] systemd[1]: Starting RPC Bind...
    [    3.795461] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    3.831950] systemd[1]: Starting Journal Service...
    [    3.872753] systemd[1]: Starting Load Kernel Modules...
    [    3.889952] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.941276] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.960117] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    3.971133] systemd[1]: Starting Coldplug All udev Devices...
    [    3.992738] systemd[1]: Started RPC Bind.
    [    4.011594] systemd[1]: Started Journal Service.
    [    4.308968] systemd-journald[157]: Received client request to flush runtime journal.
    [    4.476772] audit: type=1334 audit(1651167747.012:2): prog-id=5 op=LOAD
    [    4.484869] audit: type=1334 audit(1651167747.020:3): prog-id=6 op=LOAD
    [    4.912934] systemd-journald[157]: Oldest entry in /run/log/journal/67056927a47847c1b56192f2cf50eb49/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [    4.934685] systemd-journald[157]: /run/log/journal/67056927a47847c1b56192f2cf50eb49/system.journal: Journal header limits reached or header out-of-date, rotating.
    [    5.147090] random: crng init done
    [    5.403243] audit: type=1334 audit(1712310138.858:4): prog-id=7 op=LOAD
    [    5.414001] audit: type=1334 audit(1712310138.862:5): prog-id=8 op=LOAD
    [    7.556640] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    7.569249] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   11.672367] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   14.320739] audit: type=1334 audit(1712310147.774:6): prog-id=9 op=LOAD
    [   14.327763] audit: type=1334 audit(1712310147.782:7): prog-id=10 op=LOAD
    [   14.500503] audit: type=1006 audit(1712310147.954:8): pid=519 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [   14.513854] audit: type=1300 audit(1712310147.954:8): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd0d97788 a2=1 a3=ffffa52be020 items=0 ppid=1 pid=519 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   14.540283] audit: type=1327 audit(1712310147.954:8): proctitle="(systemd)"
    [   14.560328] audit: type=1334 audit(1712310148.014:9): prog-id=11 op=LOAD
    [   14.567539] audit: type=1300 audit(1712310148.014:9): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffefb6df70 a2=78 a3=0 items=0 ppid=1 pid=519 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   14.593208] audit: type=1327 audit(1712310148.014:9): proctitle="(systemd)"
    [   14.600495] audit: type=1334 audit(1712310148.014:10): prog-id=11 op=UNLOAD
    [   14.607757] audit: type=1334 audit(1712310148.014:11): prog-id=12 op=LOAD
    
    ifconfig_output.txt
    eth0      Link encap:Ethernet  HWaddr 34:08:E1:65:B9:4D  
              inet addr:192.168.0.157  Bcast:192.168.0.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:83 errors:0 dropped:6 overruns:0 frame:0
              TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:7567 (7.3 KiB)  TX bytes:1795 (1.7 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:90 errors:0 dropped:0 overruns:0 frame:0
              TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:6818 (6.6 KiB)  TX bytes:6818 (6.6 KiB)
    
    

  • hello Takuma,

    i attached dmesg_output.txt,  ifconfig_output.txt  files for my kernel image applied patch.

    Sometimes, the CAN device works after rebooting......

    Regards,

    Ryu

    8688.dmesg_output.txt
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.46-g5892b80d6b (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Mon Nov 27 16:11:04 UTC 2023
    [    0.000000] Machine model: Texas Instruments J7200 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 19 pages/cpu s38376 r8192 d31256 u77824
    [    0.000000] pcpu-alloc: s38376 r8192 d31256 u77824 alloc=19*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=8f7ead64-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
    [    0.000000] Memory: 3896340K/4194304K available (12352K kernel code, 1266K rwdata, 4028K rodata, 2112K init, 432K bss, 265196K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008342] Console: colour dummy device 80x25
    [    0.012903] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023573] pid_max: default: 32768 minimum: 301
    [    0.028310] LSM: Security Framework initializing
    [    0.033085] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040664] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049469] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.056872] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.063137] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.070523] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.076843] rcu: Hierarchical SRCU implementation.
    [    0.081743] rcu: 	Max phase no-delay instances is 1000.
    [    0.087247] Platform MSI: msi-controller@1820000 domain created
    [    0.093414] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.102772] EFI services will not be available.
    [    0.107501] smp: Bringing up secondary CPUs ...
    [    0.120681] Detected PIPT I-cache on CPU1
    [    0.120748] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.120763] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.120795] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.120843] smp: Brought up 1 node, 2 CPUs
    [    0.150191] SMP: Total of 2 processors activated.
    [    0.154996] CPU features: detected: 32-bit EL0 Support
    [    0.160249] CPU features: detected: CRC32 instructions
    [    0.165530] CPU: All CPU(s) started at EL2
    [    0.169712] alternatives: applying system-wide alternatives
    [    0.176235] devtmpfs: initialized
    [    0.184276] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.194253] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.201862] pinctrl core: initialized pinctrl subsystem
    [    0.207520] DMI not present or invalid.
    [    0.211760] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.218355] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.225665] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.233699] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.241825] audit: initializing netlink subsys (disabled)
    [    0.247422] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.247611] thermal_sys: Registered thermal governor 'step_wise'
    [    0.255344] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.261504] cpuidle: using governor menu
    [    0.272238] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.279201] ASID allocator initialised with 65536 entries
    [    0.291836] KASLR disabled due to lack of seed
    [    0.299296] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.306258] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.312663] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.319609] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.326032] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.332966] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.339368] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.346301] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.353458] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [    0.362671] iommu: Default domain type: Translated 
    [    0.367660] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.374185] SCSI subsystem initialized
    [    0.378086] libata version 3.00 loaded.
    [    0.378169] usbcore: registered new interface driver usbfs
    [    0.383789] usbcore: registered new interface driver hub
    [    0.389227] usbcore: registered new device driver usb
    [    0.394558] pps_core: LinuxPPS API ver. 1 registered
    [    0.399630] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.408969] PTP clock support registered
    [    0.413041] EDAC MC: Ver: 3.0.0
    [    0.416700] FPGA manager framework
    [    0.420212] Advanced Linux Sound Architecture Driver Initialized.
    [    0.426857] clocksource: Switched to clocksource arch_sys_counter
    [    0.433206] VFS: Disk quotas dquot_6.6.0
    [    0.437233] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.447196] NET: Registered PF_INET protocol family
    [    0.452531] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.461567] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.470341] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.478269] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.486503] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.495275] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.502119] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.509045] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.516491] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.522565] RPC: Registered named UNIX socket transport module.
    [    0.528630] RPC: Registered udp transport module.
    [    0.533434] RPC: Registered tcp transport module.
    [    0.538236] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.544819] NET: Registered PF_XDP protocol family
    [    0.549719] PCI: CLS 0 bytes, default 64
    [    0.554067] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.563125] Initialise system trusted keyrings
    [    0.567785] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.576476] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.582776] NFS: Registering the id_resolver key type
    [    0.587975] Key type id_resolver registered
    [    0.592247] Key type id_legacy registered
    [    0.596366] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.603215] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.630374] Key type asymmetric registered
    [    0.634560] Asymmetric key parser 'x509' registered
    [    0.639571] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.647222] io scheduler mq-deadline registered
    [    0.651856] io scheduler kyber registered
    [    0.657601] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.663604] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
    [    0.669403] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
    [    0.675449] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
    [    0.681374] pinctrl-single 11c000.pinctrl: 67 pins, size 268
    [    0.687228] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
    [    0.693244] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.702184] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.712394] loop: module loaded
    [    0.716142] megasas: 07.719.03.00-rc1
    [    0.721272] tun: Universal TUN/TAP device driver, 1.6
    [    0.726749] thunder_xcv, ver 1.0
    [    0.730067] thunder_bgx, ver 1.0
    [    0.733374] nicpf, ver 1.0
    [    0.736203] e1000: Intel(R) PRO/1000 Network Driver
    [    0.741187] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.747076] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.752146] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.758206] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.763720] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.769421] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.775823] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.781930] sky2: driver version 1.30
    [    0.785992] VFIO - User Level meta-driver version: 0.3
    [    0.791607] usbcore: registered new interface driver usb-storage
    [    0.798032] i2c_dev: i2c /dev entries driver
    [    0.802981] sdhci: Secure Digital Host Controller Interface driver
    [    0.809302] sdhci: Copyright(c) Pierre Ossman
    [    0.813928] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.819975] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.826205] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.832912] usbcore: registered new interface driver usbhid
    [    0.838608] usbhid: USB HID core driver
    [    0.843000] optee: probing for conduit method.
    [    0.847556] optee: revision 4.0 (2a5b1d12)
    [    0.863982] optee: dynamic shared memory is enabled
    [    0.873366] optee: initialized driver
    [    0.878186] Initializing XFRM netlink socket
    [    0.882577] NET: Registered PF_PACKET protocol family
    [    0.887775] Key type dns_resolver registered
    [    0.892331] registered taskstats version 1
    [    0.896531] Loading compiled-in X.509 certificates
    [    0.907749] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    [    0.933453] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.939832] pca953x 1-0021: supply vcc not found, using dummy regulator
    [    0.946661] pca953x 1-0021: using no AI
    [    0.971268] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    0.978072] pca953x 1-0020: using no AI
    [    0.982636] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    0.989468] pca953x 1-0022: using AI
    [    0.993765] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.999888] pca953x 2-0020: supply vcc not found, using dummy regulator
    [    1.006715] pca953x 2-0020: using no AI
    [    1.031173] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.036936] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    1.045469] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    1.054797] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    1.063401] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    1.073092] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    1.082988] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.089748] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.099464] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    1.109615] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.116374] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.123968] pinctrl-single 4301c000.pinctrl: mux offset out of range: 0xf8 (0x34)
    [    1.131622] pinctrl-single 4301c000.pinctrl: could not add functions for mcu-uart0-pins-default 248x
    [    1.141297] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 251, base_baud = 6000000) is a 8250
    [    1.150759] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 252, base_baud = 3000000) is a 8250
    [    1.159611] printk: console [ttyS2] enabled
    [    1.168053] printk: bootconsole [ns16550a0] disabled
    [    1.178456] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 253, base_baud = 3000000) is a 8250
    [    1.188266] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.234864] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.243448] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.251724] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.264578] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.271787] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.277974] pps pps0: new PPS source ptp0
    [    1.282130] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.292448] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.302178] mmc0: CQHCI version 5.10
    [    1.302206] gpio-mux mux-controller: 2-way mux-controller registered
    [    1.343414] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.438847] mmc0: Command Queue Engine enabled
    [    1.443314] mmc0: new HS400 MMC card at address 0001
    [    1.448810] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.455521] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB 
    [    1.461611] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB 
    [    1.467826] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [    1.551661] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    1.558420] tps6594-rtc tps6594-rtc.4.auto: setting system clock to 2024-04-05T10:04:28 UTC (1712311468)
    [    1.706792] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    1.713777] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    1.722164] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.733042] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    1.746262] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.751292] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.758335] Creating 7 MTD partitions on "47040000.spi.0":
    [    1.763810] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    1.769983] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    1.775911] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    1.781875] 0x000000700000-0x000000740000 : "ospi.env"
    [    1.787592] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    1.793994] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.799869] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.810221] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.854868] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.863470] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.871747] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.884612] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.891825] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.898048] pps pps0: new PPS source ptp1
    [    1.902316] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.913456] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.922805] mmc1: CQHCI version 5.10
    [    1.923057] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    1.938247] ALSA device list:
    [    1.941233]   No soundcards found.
    [    1.965518] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.973200] Waiting for root device PARTUUID=8f7ead64-02...
    [    2.022684] mmc1: new ultra high speed SDR104 SDHC card at address 59b4
    [    2.030000] mmcblk1: mmc1:59b4       30.2 GiB 
    [    2.036057]  mmcblk1: p1 p2
    [    2.084128] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    2.092737] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.099418] devtmpfs: mounted
    [    2.103927] Freeing unused kernel memory: 2112K
    [    2.108571] Run /sbin/init as init process
    [    2.112666]   with arguments:
    [    2.112668]     /sbin/init
    [    2.112671]   with environment:
    [    2.112673]     HOME=/
    [    2.112675]     TERM=linux
    [    2.311031] NET: Registered PF_INET6 protocol family
    [    2.316955] Segment Routing with IPv6
    [    2.320648] In-situ OAM (IOAM) with IPv6
    [    2.347000] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    2.378594] systemd[1]: Detected architecture arm64.
    [    2.455907] systemd[1]: Hostname set to <j7200-evm>.
    [    2.542187] systemd-sysv-generator[147]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.792646] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.848024] systemd[1]: Queued start job for default target Multi-User System.
    [    2.899450] systemd[1]: Created slice Slice /system/getty.
    [    2.925151] systemd[1]: Created slice Slice /system/modprobe.
    [    2.949732] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.973251] systemd[1]: Created slice User and Session Slice.
    [    2.995296] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.019196] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.043252] systemd[1]: Reached target Path Units.
    [    3.063010] systemd[1]: Reached target Remote File Systems.
    [    3.083000] systemd[1]: Reached target Slice Units.
    [    3.103005] systemd[1]: Reached target Swaps.
    [    3.156367] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.183117] systemd[1]: Reached target RPC Port Mapper.
    [    3.208940] systemd[1]: Listening on Process Core Dump Socket.
    [    3.231263] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.255663] systemd[1]: Listening on Journal Audit Socket.
    [    3.279454] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.303505] systemd[1]: Listening on Journal Socket.
    [    3.323658] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.347620] systemd[1]: Listening on udev Control Socket.
    [    3.367352] systemd[1]: Listening on udev Kernel Socket.
    [    3.387398] systemd[1]: Listening on User Database Manager Socket.
    [    3.439295] systemd[1]: Mounting Huge Pages File System...
    [    3.463747] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.491960] systemd[1]: Mounting Kernel Debug File System...
    [    3.515414] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.547240] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.572498] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.599253] systemd[1]: Starting Load Kernel Module configfs...
    [    3.623211] systemd[1]: Starting Load Kernel Module drm...
    [    3.647029] systemd[1]: Starting Load Kernel Module fuse...
    [    3.660330] fuse: init (API version 7.37)
    [    3.691579] systemd[1]: Starting RPC Bind...
    [    3.711206] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    3.743394] systemd[1]: Starting Journal Service...
    [    3.763794] systemd[1]: Starting Load Kernel Modules...
    [    3.779681] cryptodev: loading out-of-tree module taints kernel.
    [    3.782377] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.794803] cryptodev: driver 1.12 loaded.
    [    3.820231] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.840423] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    3.850087] systemd[1]: Starting Coldplug All udev Devices...
    [    3.879622] systemd[1]: Started RPC Bind.
    [    3.899602] systemd[1]: Started Journal Service.
    [    4.230557] systemd-journald[162]: Received client request to flush runtime journal.
    [    4.460043] audit: type=1334 audit(1712311471.400:2): prog-id=5 op=LOAD
    [    4.467409] audit: type=1334 audit(1712311471.408:3): prog-id=6 op=LOAD
    [    4.936844] random: crng init done
    [    4.975681] CAN device driver interface
    [    4.984382] j721e-pcie-host 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    5.004833] j721e-pcie-host 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    5.014015] j721e-pcie-host 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    5.036385] j721e-pcie-host 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    5.106098] ti-udma 285c0000.dma-controller: chan1: is running!
    [    5.239208] audit: type=1334 audit(1712311472.180:4): prog-id=7 op=LOAD
    [    5.250073] audit: type=1334 audit(1712311472.184:5): prog-id=8 op=LOAD
    [    5.616668] m_can_platform 2701000.can: m_can device registered (irq=684, version=32)
    [    5.628645] m_can_platform 2731000.can: m_can device registered (irq=685, version=32)
    [    5.648675] m_can_platform 40528000.can: m_can device registered (irq=686, version=32)
    [    5.661451] m_can_platform 40568000.can: m_can device registered (irq=687, version=32)
    [    5.678199] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.716704] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    5.756226] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    5.763952] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    5.773994] cfg80211: failed to load regulatory.db
    [    5.886377] platform 41000000.r5f: configured R5F for IPC-only mode
    [    5.913493] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.922301] remoteproc remoteproc0: 41000000.r5f is available
    [    5.930500] remoteproc remoteproc0: attaching to 41000000.r5f
    [    5.936764] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    5.944167] rproc-virtio rproc-virtio.10.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.945669] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    5.958464] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.972849] rproc-virtio rproc-virtio.10.auto: registered virtio0 (type 7)
    [    5.972855] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.979750] remoteproc remoteproc0: remote processor 41000000.r5f is now attached
    [    5.995830] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    5.997542] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    6.106920] platform 41400000.r5f: configured R5F for remoteproc mode
    [    6.139040] j721e-pcie-host 2910000.pcie: PCI host bridge to bus 0000:00
    [    6.154147] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    6.162274] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
    [    6.174331] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    6.181609] pci 0000:00:00.0: [104c:b00f] type 01 class 0x060400
    [    6.196429] pci 0000:00:00.0: supports D1
    [    6.203965] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    6.211338] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    6.228274] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    6.243937] platform 41400000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
    [    6.255085] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    6.264449] remoteproc remoteproc1: 41400000.r5f is available
    [    6.271480] remoteproc remoteproc1: Direct firmware load for j7200-mcu-r5f0_1-fw failed with error -2
    [    6.281897] remoteproc remoteproc1: powering up 41400000.r5f
    [    6.293837] remoteproc remoteproc1: Direct firmware load for j7200-mcu-r5f0_1-fw failed with error -2
    [    6.304084] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    6.310799] remoteproc remoteproc1: request_firmware failed: -2
    [    6.334628] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    6.335192] pci 0000:00:00.0: BAR 7: assigned [mem 0x18400000-0x193fffff 64bit]
    [    6.348789] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    6.362078] pcieport 0000:00:00.0: PME: Signaling with IRQ 694
    [    6.373987] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.392394] remoteproc remoteproc2: 5c00000.r5f is available
    [    6.415896] pcieport 0000:00:00.0: AER: enabled with IRQ 694
    [    6.438391] remoteproc remoteproc2: attaching to 5c00000.r5f
    [    6.451077] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    6.465669] rproc-virtio rproc-virtio.11.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.479178] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.486558] rproc-virtio rproc-virtio.11.auto: registered virtio1 (type 7)
    [    6.493475] virtio_rpmsg_bus virtio1: creating channel ti.ethfw.ethdevice addr 0x65
    [    6.501537] remoteproc remoteproc2: remote processor 5c00000.r5f is now attached
    [    6.514293] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    6.526732] platform 5d00000.r5f: configured R5F for remoteproc mode
    [    6.535072] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.548615] remoteproc remoteproc3: 5d00000.r5f is available
    [    6.557802] remoteproc remoteproc3: Direct firmware load for j7200-main-r5f0_1-fw failed with error -2
    [    6.570618] remoteproc remoteproc3: powering up 5d00000.r5f
    [    6.579263] remoteproc remoteproc3: Direct firmware load for j7200-main-r5f0_1-fw failed with error -2
    [    6.592617] remoteproc remoteproc3: request_firmware failed: -2
    [    6.733211] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.101: 1 Virtual Switch Port(s), 1 Virtual MAC Only Port(s)
    [    6.749157] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.101: Virt Port: 0, Type: Switch Port, Iface: eth1, Token: 0
    [    6.761694] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.101: Virt Port: 4, Type: MAC Port, Iface: eth2, Token: 400
    [    6.947755] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.101: started virt port: 4 on interface eth2
    [    6.996167] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.101: started virt port: 0 on interface eth1
    [   10.104111] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   10.112860] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   11.403676] audit: type=1334 audit(1712311478.344:6): prog-id=9 op=LOAD
    [   11.410686] audit: type=1334 audit(1712311478.348:7): prog-id=10 op=LOAD
    [   11.589578] audit: type=1006 audit(1712311478.528:8): pid=579 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [   11.602685] audit: type=1300 audit(1712311478.528:8): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffe0f94238 a2=1 a3=ffff92ac7020 items=0 ppid=1 pid=579 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   11.629013] audit: type=1327 audit(1712311478.528:8): proctitle="(systemd)"
    [   11.636616] audit: type=1334 audit(1712311478.568:9): prog-id=11 op=LOAD
    [   11.643707] audit: type=1300 audit(1712311478.568:9): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffdcedf9c0 a2=78 a3=0 items=0 ppid=1 pid=579 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   11.669287] audit: type=1327 audit(1712311478.568:9): proctitle="(systemd)"
    [   11.676612] audit: type=1334 audit(1712311478.576:10): prog-id=11 op=UNLOAD
    [   11.683899] audit: type=1334 audit(1712311478.576:11): prog-id=12 op=LOAD
    [   15.744664] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
    [   15.764856] systemd-journald[162]: Time jumped backwards, rotating.
    [   16.758901] IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
    [   24.305808] can: controller area network core
    [   24.310329] NET: Registered PF_CAN protocol family
    [   24.321391] can: raw protocol
    
    6131.ifconfig_output.txt
    can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
              UP RUNNING NOARP  MTU:72  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:172 
    
    can1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
              UP RUNNING NOARP  MTU:72  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:173 
    
    can2      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
              NOARP  MTU:16  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:174 
    
    can3      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
              NOARP  MTU:16  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:175 
    
    eth0      Link encap:Ethernet  HWaddr 34:08:E1:65:B9:4D  
              inet addr:192.168.0.157  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::3608:e1ff:fe65:b94d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1206 errors:0 dropped:33 overruns:0 frame:0
              TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:100574 (98.2 KiB)  TX bytes:16397 (16.0 KiB)
    
    eth1      Link encap:Ethernet  HWaddr 70:FF:76:1D:92:C1  
              inet6 addr: fe80::72ff:76ff:fe1d:92c1/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:4575 (4.4 KiB)
    
    eth2      Link encap:Ethernet  HWaddr 70:FF:76:1D:92:C2  
              inet6 addr: fe80::72ff:76ff:fe1d:92c2/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:4575 (4.4 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:92 errors:0 dropped:0 overruns:0 frame:0
              TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:7648 (7.4 KiB)  TX bytes:7648 (7.4 KiB)
    
    

  • Hi Ryu,

    It seems like kernel modules are not being loaded in 7802.dmesg_output.txt, which could be because the kernel version name is different.

    Otherwise, in 8688.dmesg_output.txt, everything seems working. Could you send dmesg and ifconfig -a logs when the CAN interface does not come up? I would like to look through the boot logs to see if there are any errors that prevent the CAN interface from being initialized.

    Regards,

    Takuma

  • hello Takuma,

    8688.dmesg_output.txt, 6131.ifconfig_output.txt, Those logs were generated when can interface is not working. it seems no problem, but not working.....

    could you send your tisdk-base-image-j7200-evm.wic.xz file?

    Regards,

    Ryu

  • Hi Ryu,

    8688.dmesg_output.txt, 6131.ifconfig_output.txt, Those logs were generated when can interface is not working. it seems no problem, but not working.....

    Interesting. Could you do an experiment with this image then?

    1. Connect J31 and J30 on the EVM board with some jumper wires
    2. Boot up the board and log in
    3. Initialize all 4 CAN interfaces:
      ip link set can0 type can bitrate 1000000
      ip link set can1 type can bitrate 1000000
      ip link set can2 type can bitrate 1000000
      ip link set can3 type can bitrate 1000000
    4. Turn all 4 CAN interfaces on:
      ip link set can0 up
      ip link set can1 up
      ip link set can2 up
      ip link set can3 up
    5. Start listening on all 4 CAN interfaces:
      candump can0 &
      candump can1 &
      candump can2 &
      candump can3 &
    6. Send a message from all 4 CAN interfaces:
      cansend can0 123#DEADBEEF
      cansend can1 123#DEADBEEF
      cansend can2 123#DEADBEEF
      cansend can3 123#DEADBEEF

    For reference, here are expected logs:

    can_logs_9_1.txt
    root@j7200-evm:~# ip link set can0 type can bitrate 1000000
    root@j7200-evm:~# ip link set can1 type can bitrate 1000000
    root@j7200-evm:~# ip link set can2 type can bitrate 1000000
    root@j7200-evm:~# ip link set can3 type can bitrate 1000000
    root@j7200-evm:~# ip link set can0 up
    [  115.156606] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
    root@j7200-evm:~# ip link set can1 up
    [  117.628746] IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
    root@j7200-evm:~# ip link set can2 up
    [  119.716692] IPv6: ADDRCONF(NETDEV_CHANGE): can2: link becomes ready
    root@j7200-evm:~# ip link set can3 up
    [  122.085234] IPv6: ADDRCONF(NETDEV_CHANGE): can3: link becomes ready
    root@j7200-evm:~# candump can0 &
    [1] 732
    root@j7200-evm:~# [  129.811350] can: controller area network core
    [  129.817158] NET: Registered PF_CAN protocol family
    [  129.829299] can: raw protocol
    
    root@j7200-evm:~# candump can1 &
    [2] 736
    root@j7200-evm:~# candump can2 &
    [3] 737
    root@j7200-evm:~# candump can3 &
    [4] 738
    root@j7200-evm:~# cansend can0 123#DEADBEEF
      can1  123   [4]  DE AD BE EF
      can0  123   [4]  DE AD BE EF
    root@j7200-evm:~# cansend can1 123#DEADBEEF
      can0  123   [4]  DE AD BE EF
      can1  123   [4]  DE AD BE EF
    root@j7200-evm:~# cansend can2 123#DEADBEEF
    root@j7200-evm:~# cansend can3 123#DEADBEEF
    [  158.490109] m_can_platform 2731000.can can3: bus-off
    root@j7200-evm:~# uname -a
    Linux j7200-evm 6.1.46-dirty #1 SMP PREEMPT Thu Mar 28 15:42:22 CDT 2024 aarch64 aarch64 aarch64 GNU/Linux
    root@j7200-evm:~#
    
    

    I suspect that the CAN interfaces are enumerating differently on each boot. For example, on some boots, J30 connector enumerates as can0 interfaces, and sometimes it comes up as can2 interface. This would explain why CAN is coming up on some boots on your setup.

    Above experiment initializes all 4 interfaces, so one of them should always work.

    Regards,

    Takuma

  • hello Takuma,

    i has tested new PDK 09_02.

    I have confirmed that Mcan is enabled by default in PDK 09_02, and it is working well.

    thank for your support.

    We have another issue with the USB port not working. could you continue to provide support for this?

    Regards,

    Ryu

    root@j7200-evm:~# ifconfig -a
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.0.157 netmask 255.255.255.0 broadcast 192.168.0.255
    inet6 fe80::3608:e1ff:fe65:b94d prefixlen 64 scopeid 0x20<link>
    ether 34:08:e1:65:b9:4d txqueuelen 1000 (Ethernet)
    RX packets 5866 bytes 518937 (506.7 KiB)
    RX errors 0 dropped 319 overruns 0 frame 0
    TX packets 57 bytes 6563 (6.4 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet6 fe80::722e:8cff:fe9a:73f5 prefixlen 64 scopeid 0x20<link>
    ether 70:2e:8c:9a:73:f5 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 34 bytes 6380 (6.2 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet6 fe80::726c:5ff:fe95:c6ec prefixlen 64 scopeid 0x20<link>
    ether 70:6c:05:95:c6:ec txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 34 bytes 6380 (6.2 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 92 bytes 7648 (7.4 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 92 bytes 7648 (7.4 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    main_mcan0: flags=128<NOARP> mtu 16
    unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 172

    main_mcan3: flags=128<NOARP> mtu 16
    unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 175

    mcu_mcan0: flags=128<NOARP> mtu 16
    unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 173

    mcu_mcan1: flags=128<NOARP> mtu 16
    unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 174

  • Hi Ryu,

    Glad we can work around the MCAN issue!

    As for the USB issue, please create a new E2E thread if it has not been created already.

    Regards,

    Takuma

  • Hi Ryu,

    Understood, and thank you for creating the new thread. My colleague will be helping you on the newly created thread.

    Regards,

    Takuma