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.

J721S2XSOMXEVM: rpmsg_chrdev driver not working after moving from 6.6 to 6.12 kernel version (missing rpmsg devices under /dev)

Part Number: J721S2XSOMXEVM

Hello,

I'm running J721S2 based custom board. C7 DSPs are used for some signal processing and have been set up to use rpmsg_char to communicate with Linux cores.

This is a log of working setup with ti-linux-staging 6.6.58

ls /dev/rpmsg*
/dev/rpmsg0         /dev/rpmsg1         /dev/rpmsg_ctrl0    /dev/rpmsg_dsp_msg
[    1.096355] systemd[1]: Expecting device /dev/rpmsg_dsp_msg...
[    4.548066] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: MCU cluster requires both R5F cores to be enabled but num_cores is set to = 0
[    4.549775] k3_r5_rproc bus@100000:r5fss@5c00000: MCU cluster requires both R5F cores to be enabled but num_cores is set to = 0
[    4.553250] k3_r5_rproc bus@100000:r5fss@5e00000: MCU cluster requires both R5F cores to be enabled but num_cores is set to = 0
[    4.605403] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
[    4.607359] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
[    4.607668] remoteproc remoteproc0: 64800000.dsp is available
[    4.607763] remoteproc remoteproc0: attaching to 64800000.dsp
[    4.608078] remoteproc remoteproc0: unsupported resource 65538
[    4.608112] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node c71-dma-memory@a6000000
[    4.610186] virtio_rpmsg_bus virtio0: rpmsg host is online
[    4.610272] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
[    4.610279] remoteproc remoteproc0: remote processor 64800000.dsp is now attached
[    4.610560] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x21
[    4.611527] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
[    4.613220] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
[    4.617164] remoteproc remoteproc1: 65800000.dsp is available
[    4.617223] remoteproc remoteproc1: attaching to 65800000.dsp
[    4.617239] remoteproc remoteproc1: remote processor 65800000.dsp is now attached

 

after updating to 6.12 kernel version (I tried various SRCREVs but let's say 6.12.57) there's only /dev/rpmsg_ctrl0 device available, the other ones are missing.
The DSP firmware is the same and I also tested it with ipc_echo_test_c7x_1_release_strip.xe71 from ti-rtos-firmware package.
With 6.6 rpmsg devices are created while 6.12 aren't there.

Were there any updates with remoteproc/rpmsg framework between the kernel versions and what is additonally needed with 6.12 to communicate with the DSP core over rpmsg?

Thank you,
Darko

  • Hi Darko,

    after updating to 6.12 kernel version (I tried various SRCREVs but let's say 6.12.57) there's only /dev/rpmsg_ctrl0 device available, the other ones are missing.

    6.12.57 would be the 11.2 SDK, the LTS SDK release from the 11.x Release stream.

    IPC is fundamental to enable the complex multi-core usecases on our TDA4 SoCs, and our SDK would be completely broken if this is not working. Our SDKs are fully tested, and I believe this is some integration issues on your custom board/build rather than an issue with the Linux drivers or the SDKs.

    This is a log of working setup with ti-linux-staging 6.6.58

    Your log is limited, and I can see that C71_0 has booted successfully, while the C71_1 has not booted. The logs do recognize that the firmware is booted earlier (IPC-only mode detection), but I do not see any traces associated with the parsing of the rsc_table section.

    Linux requires that a resource table be supplied and linked into your firmware image at the appropriate location (expecting at 0xa71000000 based on your traces, also the address used by IPC firmwares in SDKs).

    Please provide the output of the following commands:

    $ head /sys/kernel/debug/remoteproc/remoteproc*/name

    $ head /sys/kernel/debug/remoteproc/remoteproc*/resource_table

    Can you also try not booting the DSPs at U-Boot or SBL, and rely on Linux kernel to boot the firmwares? This may give some more traces.

    The DSP firmware is the same and I also tested it with ipc_echo_test_c7x_1_release_strip.xe71 from ti-rtos-firmware package.

    Are you re-using the firmwares built using the older SDK, or did you rebuild the firmwares using the corresponding 11.2 RTOS SDK?

    Were there any updates with remoteproc/rpmsg framework between the kernel versions and what is additonally needed with 6.12 to communicate with the DSP core over rpmsg?

    remoteproc/rpmsg is all upstream code, and the fundamental architecture is still the same.

    regards

    Suman

  • Hello Suman, thank you for the details.

    Here's a minimal test setup I tried to make easy as possible to replicate

    meta-ti is checked out at 11.02.13 https://git.yoctoproject.org/meta-ti/tag/?h=11.02.13
    I used C7 binaries from ti-ipc-rtos recipe to make sure that my SDK build is not introducing the issue, again with the tag 11.02.13 https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/tag/?h=11.02.13

    Then I built an image similar to core-image-minimal, one with 6.6 kernel and the other with 6.12 by setting TI_PREFERRED_BSP variable in my local.conf

    Here are the logs with resource tables commands you asked

    head /sys/kernel/debug/remoteproc/remoteproc*/name
    ==> /sys/kernel/debug/remoteproc/remoteproc0/name <==
    64800000.dsp
    
    ==> /sys/kernel/debug/remoteproc/remoteproc1/name <==
    65800000.dsp
    
    
    head /sys/kernel/debug/remoteproc/remoteproc*/resource_table
    ==> /sys/kernel/debug/remoteproc/remoteproc0/resource_table <==
    Entry 0 is of type vdev
      ID 7
      Notify ID 0
      Device features 0x1
      Guest features 0x1
      Config length 0x0
      Status 0x7
      Number of vrings 2
      Reserved (should be zero) [0][0]
    
    
    ==> /sys/kernel/debug/remoteproc/remoteproc1/resource_table <==
    Entry 0 is of type vdev
      ID 7
      Notify ID 0
      Device features 0x1
      Guest features 0x1
      Config length 0x0
      Status 0x7
      Number of vrings 2
      Reserved (should be zero) [0][0]
    
    # dmesg_snippet
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.58-ti-01497-ga7758da17c28-dirty (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Wed Nov 27 13:23:15 UTC 2024
    [    0.000000] OF: reserved mem: initialized node a72-c71-0-shared-msmc-ram@70200000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000070200000..0x00000000702fffff (1024 KiB) nomap non-reusable a72-c71-0-shared-msmc-ram@70200000
    [    0.000000] OF: reserved mem: initialized node c71-0-c71-1-shared-msmc-ram@70300000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000070300000..0x00000000703fffff (1024 KiB) nomap non-reusable c71-0-c71-1-shared-msmc-ram@70300000
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    5.540813] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [    5.566833] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    5.579912] remoteproc remoteproc0: 64800000.dsp is available
    [    5.598116] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [    5.620108] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode
    [    5.669200] remoteproc remoteproc0: powering up 64800000.dsp
    [    5.687921] remoteproc remoteproc0: Booting fw image j721s2-c71_0-fw, size 10488888
    [    5.698163] remoteproc remoteproc0: unsupported resource 65538
    [    5.704997] k3-dsp-rproc 64800000.dsp: booting DSP core using boot addr = 0xa6e00000
    [    5.713606] remoteproc remoteproc1: 65800000.dsp is available
    [    5.714201] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node c71-dma-memory@a6000000
    [    5.729108] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.739340] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.765537] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    5.778585] remoteproc remoteproc0: remote processor 64800000.dsp is now up
    [    5.829231] remoteproc remoteproc1: powering up 65800000.dsp
    [    5.848329] remoteproc remoteproc1: Booting fw image j721s2-c71_1-fw, size 10488888
    [    5.857069] remoteproc remoteproc1: unsupported resource 65538
    [    5.863541] k3-dsp-rproc 65800000.dsp: booting DSP core using boot addr = 0xa7e00000
    [    5.875027] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node c71-dma-memory@a7000000
    [    5.887494] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    5.896204] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.904535] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    5.911189] remoteproc remoteproc1: remote processor 65800000.dsp is now up
    
    # rpmsg devices
    ls /dev/rpmsg*
    /dev/rpmsg0       /dev/rpmsg1       /dev/rpmsg_ctrl0  /dev/rpmsg_ctrl1
    
    head /sys/kernel/debug/remoteproc/remoteproc*/name
    ==> /sys/kernel/debug/remoteproc/remoteproc0/name <==
    64800000.dsp
    
    ==> /sys/kernel/debug/remoteproc/remoteproc1/name <==
    65800000.dsp
    
    head /sys/kernel/debug/remoteproc/remoteproc*/resource_table
    ==> /sys/kernel/debug/remoteproc/remoteproc0/resource_table <==
    Entry 0 is of type vdev
      ID 7
      Notify ID 0
      Device features 0x1
      Guest features 0x1
      Config length 0x0
      Status 0x7
      Number of vrings 2
      Reserved (should be zero) [0][0]
    
    
    ==> /sys/kernel/debug/remoteproc/remoteproc1/resource_table <==
    Entry 0 is of type vdev
      ID 7
      Notify ID 0
      Device features 0x1
      Guest features 0x1
      Config length 0x0
      Status 0x7
      Number of vrings 2
      Reserved (should be zero) [0][0]
    
    # dmesg snippet
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.12.57-ti-01365-gc52c5589aab8-dirty (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Thu Apr 16 07:38:45 UTC 2026
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    0.000000] OF: reserved mem: initialized node a72-c71-0-shared-msmc-ram@70200000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000070200000..0x00000000702fffff (1024 KiB) nomap non-reusable a72-c71-0-shared-msmc-ram@70200000
    [    0.000000] OF: reserved mem: initialized node c71-0-c71-1-shared-msmc-ram@70300000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000070300000..0x00000000703fffff (1024 KiB) nomap non-reusable c71-0-c71-1-shared-msmc-ram@70300000
    [    5.980895] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [    5.992870] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    6.005956] remoteproc remoteproc0: 64800000.dsp is available
    [    6.014836] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [    6.024740] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode
    [    6.033966] remoteproc remoteproc1: 65800000.dsp is available
    [    6.149135] remoteproc remoteproc0: powering up 64800000.dsp
    [    6.167857] remoteproc remoteproc1: powering up 65800000.dsp
    [    6.185887] remoteproc remoteproc0: Booting fw image j721s2-c71_0-fw, size 10488888
    [    6.205305] remoteproc remoteproc1: Booting fw image j721s2-c71_1-fw, size 10488888
    [    6.216543] remoteproc remoteproc0: unsupported resource 65538
    [    6.223320] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node c71-dma-memory@a6000000
    [    6.257780] remoteproc remoteproc1: unsupported resource 65538
    [    6.264618] rproc-virtio rproc-virtio.3.auto: assigned reserved memory node c71-dma-memory@a7000000
    [    6.277683] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.293162] remoteproc remoteproc0: remote processor 64800000.dsp is now up
    [    6.494362] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.513152] remoteproc remoteproc1: remote processor 65800000.dsp is now up
    
    # rpmsg devices
    ls /dev/rpmsg*
    /dev/rpmsg_ctrl0  /dev/rpmsg_ctrl1
    

    The 6.12 kernel doesn't have creating channel snippets

    [    5.739340] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.765537] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    
    
    [    5.896204] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.904535] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    
    

    And also 6.12 doesn't have /dev/rpmsg0 and /dev/rpmsg1 devices created.

    It seems that something changed with 6.12 kernel in the way how rpmsg is handled and I don't quite see what exactly.
    I'm trying to retest now with rpmsg_char_simple test.

    Thank you,
    Darko

  • And here's the rpmsg_char_simple test

    6.6 kernel

    rpmsg_char_simple -r 8 -n 1 -p 14
    Created endpt device rpmsg-char-8-760, fd = 3 port = 1025
    Exchanging 1 messages with rpmsg device rpmsg-char-8-760 on rproc id 8 ...
    
    Sending message #0: hello there 0!
    hello there 0!
    
    Communicated 1 messages successfully on rpmsg-char-8-760
    
    TEST STATUS: PASSED

    6.12 

    rpmsg_char_simple -r 8 -n 1 -p 14
    _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio0.rpmsg_chrdev.-1.14
    Can't create an endpoint device: Invalid argument
    TEST STATUS: FAILED
    

  • Hi Darko,

    The 6.12 kernel doesn't have creating channel snippets

    The absence of traces hint at the rpmsg_ns driver not creating the devices.

    Can you provide the output of the following commands?

    $ lsmod

    $ ls -l /sys/bus/rpmsg/devices

    $ ls -l /sys/bus/rpmsg/drivers

    $ ls -l /sys/bus/virtio/devices

    $ ls -l /sys/bus/virtio/drivers

    And also 6.12 doesn't have /dev/rpmsg0 and /dev/rpmsg1 devices created.

    These are created only when the local endpt devices are created through the character driver that interacts with the rpmsg_ctrl driver. The rpmsg_ctrl devices seems to be created as per your 6.12 log.

    I'm trying to retest now with rpmsg_char_simple test.

    Which version of ti-rpmsg-char library are you using? Did you update your filesystem to pick up any library updates between 6.6 and 6.12?

    regards

    Suman

  • Which version of ti-rpmsg-char library are you using? Did you update your filesystem to pick up any library updates between 6.6 and 6.12?

    regards

    When I switched meta-ti to tag 11.02.13 it got updated to 0.6.10 (SRCREV = "057b1a249261e26d00c501b59646957160ec815b")

    find / | grep libti_rpmsg
    /usr/lib/libti_rpmsg_char.so.0
    /usr/lib/libti_rpmsg_char.so.0.6.10


    Logs are attached (note in these logs, only first C71 core is running)

    lsmod
    Module                  Size  Used by
    cfg80211              925696  0
    usb_f_mass_storage     65536  2
    usb_f_midi             24576  2
    snd_rawmidi            40960  1 usb_f_midi
    snd_seq_device         16384  1 snd_rawmidi
    rpmsg_ctrl             12288  0
    usb_f_uac2             49152  2
    u_audio                32768  3 usb_f_uac2
    rpmsg_char             16384  1 rpmsg_ctrl
    libcomposite           81920  15 u_audio,usb_f_midi,usb_f_mass_storage,usb_f_uac2
    ti_am335x_adc          16384  0
    spidev                 28672  0
    ak4118_spi             12288  0
    kfifo_buf              12288  1 ti_am335x_adc
    lp873x_regulator       12288  0
    cdns3                 110592  0
    at25                   16384  0
    cdns_usb_common        28672  1 cdns3
    crct10dif_ce           12288  1
    mux_gpio               12288  0
    omap_mailbox           12288  2
    btti_uart              24576  0
    omap_hwspinlock        12288  0
    bluetooth             745472  1 btti_uart
    wave5                 126976  0
    ti_k3_r5_remoteproc    32768  0
    spi_cadence_quadspi    49152  0
    videobuf2_dma_contig    24576  1 wave5
    ecdh_generic           16384  1 bluetooth
    videobuf2_memops       16384  1 videobuf2_dma_contig
    ecc                    32768  1 ecdh_generic
    v4l2_mem2mem           36864  1 wave5
    compat                 12288  3 bluetooth,cfg80211,btti_uart
    videobuf2_v4l2         32768  2 v4l2_mem2mem,wave5
    lp873x                 12288  0
    videobuf2_common       65536  5 videobuf2_dma_contig,videobuf2_v4l2,v4l2_mem2mem,wave5,videobuf2_memops
    videodev              286720  3 videobuf2_v4l2,v4l2_mem2mem,wave5
    k3_j72xx_bandgap       16384  0
    pvrsrvkm             1564672  0
    ti_am335x_tscadc       16384  1 ti_am335x_adc
    ti_k3_dsp_remoteproc    16384  0
    mc                     69632  4 videodev,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem
    ili210x                24576  0
    ti_k3_common           28672  1 ti_k3_dsp_remoteproc
    sa2ul                  53248  0
    crc_ccitt              12288  1 ili210x
    cdns3_ti               12288  0
    rti_wdt                12288  0
    spi_omap2_mcspi        28672  0
    fuse                  159744  1
    ipv6                  471040  26
    
    
    ls -l /sys/bus/rpmsg/devices
    total 0
    lrwxrwxrwx    1 root     root             0 Apr 23 14:21 virtio0.rpmsg_ctrl.0.0 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.3.auto/virtio0/virtio0.rpmsg_ctrl.0.0
    lrwxrwxrwx    1 root     root             0 Apr 23 14:21 virtio0.rpmsg_ns.53.53 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.3.auto/virtio0/virtio0.rpmsg_ns.53.53
    
    ls -l /sys/bus/rpmsg/drivers
    total 0
    drwxr-xr-x    2 root     root             0 Apr 23 14:37 rpmsg_chrdev
    drwxr-xr-x    2 root     root             0 Apr 23 14:37 rpmsg_ctrl
    drwxr-xr-x    2 root     root             0 Jan  8  2025 rpmsg_ns
    
    ls -l /sys/bus/virtio/devices
    total 0
    lrwxrwxrwx    1 root     root             0 Jan  8  2025 virtio0 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.3.auto/virtio0
    
    ls -l /sys/bus/virtio/drivers
    total 0
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_balloon
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_blk
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_console
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_net
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_rng
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_rpmsg_bus
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_rproc_serial
    
    
    lsmod
    Module                  Size  Used by
    cfg80211              921600  0
    usb_f_mass_storage     65536  2
    usb_f_midi             24576  2
    snd_rawmidi            36864  1 usb_f_midi
    snd_seq_device         16384  1 snd_rawmidi
    usb_f_uac2             40960  2
    u_audio                32768  3 usb_f_uac2
    libcomposite           81920  15 u_audio,usb_f_midi,usb_f_mass_storage,usb_f_uac2
    rpmsg_ctrl             12288  0
    rpmsg_char             16384  1 rpmsg_ctrl
    spidev                 28672  0
    ak4118_spi             12288  0
    ti_am335x_adc          16384  0
    kfifo_buf              12288  1 ti_am335x_adc
    at25                   16384  0
    cdns3                 110592  0
    cdns_usb_common        28672  1 cdns3
    crct10dif_ce           12288  1
    btti_uart              20480  0
    mux_gpio               12288  0
    omap_mailbox           12288  2
    bluetooth             745472  1 btti_uart
    wave5                 122880  0
    omap_hwspinlock        16384  0
    ecdh_generic           16384  1 bluetooth
    videobuf2_dma_contig    24576  1 wave5
    ti_k3_r5_remoteproc    32768  0
    spi_cadence_quadspi    49152  0
    ecc                    32768  1 ecdh_generic
    videobuf2_memops       16384  1 videobuf2_dma_contig
    v4l2_mem2mem           36864  1 wave5
    videobuf2_v4l2         32768  2 v4l2_mem2mem,wave5
    videobuf2_common       65536  5 videobuf2_dma_contig,videobuf2_v4l2,v4l2_mem2mem,wave5,videobuf2_memops
    k3_j72xx_bandgap       16384  0
    compat                 12288  3 bluetooth,cfg80211,btti_uart
    videodev              278528  3 videobuf2_v4l2,v4l2_mem2mem,wave5
    ti_am335x_tscadc       16384  1 ti_am335x_adc
    mc                     69632  4 videodev,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem
    ti_k3_dsp_remoteproc    28672  0
    pvrsrvkm             1560576  0
    sa2ul                  40960  0
    ili210x                24576  0
    cdns3_ti               12288  0
    crc_ccitt              12288  1 ili210x
    spi_omap2_mcspi        28672  0
    rti_wdt                12288  0
    fuse                  139264  1
    ipv6                  466944  22
    
    ls -l /sys/bus/rpmsg/devices
    total 0
    lrwxrwxrwx    1 root     root             0 Jan  8  2025 virtio0.rpmsg_chrdev.-1.14 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.1.auto/virtio0/virtio0.rpmsg_chrdev.-1.14
    lrwxrwxrwx    1 root     root             0 Jan  8  2025 virtio0.rpmsg_ctrl.0.0 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.1.auto/virtio0/virtio0.rpmsg_ctrl.0.0
    lrwxrwxrwx    1 root     root             0 Jan  8  2025 virtio0.rpmsg_ns.53.53 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.1.auto/virtio0/virtio0.rpmsg_ns.53.53
    lrwxrwxrwx    1 root     root             0 Jan  8  2025 virtio0.ti.ipc4.ping-pong.-1.13 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.1.auto/virtio0/virtio0.ti.ipc4.ping-pong.-1.13
    
    ls -l /sys/bus/rpmsg/drivers
    total 0
    drwxr-xr-x    2 root     root             0 Apr 23 15:10 rpmsg_chrdev
    drwxr-xr-x    2 root     root             0 Apr 23 15:10 rpmsg_ctrl
    drwxr-xr-x    2 root     root             0 Jan  8  2025 rpmsg_ns
    
    ls -l /sys/bus/virtio/devices
    total 0
    lrwxrwxrwx    1 root     root             0 Jan  8  2025 virtio0 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.1.auto/virtio0
    
    ls -l /sys/bus/virtio/drivers
    total 0
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_balloon
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_blk
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_console
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_net
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_rng
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_rpmsg_bus
    drwxr-xr-x    2 root     root             0 Jan  8  2025 virtio_rproc_serial
    

    The first obvious difference in lsmod is that 6.12 has separate ti_k3_common driver which ti_k3_dsp_remoteproc uses.
    6.6 doesn't have ti_k3_common, those functions should be implemented in ti_k3_dsp_remoteproc directly.

    I think I can find somewhere some SK or EVM boards to test out the prebuilt images.

  • Hi Darko,

    The first obvious difference in lsmod is that 6.12 has separate ti_k3_common driver which ti_k3_dsp_remoteproc uses.
    6.6 doesn't have ti_k3_common, those functions should be implemented in ti_k3_dsp_remoteproc directly.

    Yes, but ti_k3_common driver is a non-factor.

    Looking at your logs, the virtio device itself for your second DSP is not showing up for whatever reason, but all the virtio and rpmsg drivers are present. Your earlier resource_table traces look to be shortened, and I am unable to see the vring contents from your resource table.

    I think I can find somewhere some SK or EVM boards to test out the prebuilt images.

    I have run this on my TI J721S2 EVM with the 11.2 SDK, and everything is working properly.

    The following log is w/o applying the k3-j721s2-vision-apps.dtbo overlay, and not booting the cores from U-Boot, and disabling the ti_k3_r5f_remoteproc.ko driver to only boot the DSPs. The library version also matches.

    U-Boot SPL 2025.01-00773-gdf1fe2382304 (Dec 24 2025 - 07:50:42 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.8--v11.02.08 (Fancy Rat)')
    SPL initial stack usage: 13512 bytes
    Trying to boot from MMC2
    Skipping authentication on GP device
    Skipping authentication on GP device
    Skipping authentication on GP device
    Skipping authentication on GP device
    Skipping authentication on GP device
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty
    NOTICE:  BL31: Built : 07:01:36, Jul  1 2025
    I/TC: 
    I/TC: OP-TEE version: 4.7.0-47-ga9690ae39 (gcc version 13.4.0 (GCC)) #1 Thu Aug  7 15:25:10 UTC 2025 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.8--v11.02.08 (Fancy Rat)')
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: EIP76D TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: HUK Initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2025.01-00773-gdf1fe2382304 (Dec 24 2025 - 07:50:42 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.8--v11.02.08 (Fancy Rat)')
    DM ABI: 3.0 (firmware ver 0x000b 'PSDK.11.02.00.07--v11.02.07' patch_ver: 7)
    Trying to boot from MMC2
    Skipping authentication on GP device
    Skipping authentication on GP device
    
    
    U-Boot 2025.01-00773-gdf1fe2382304 (Dec 24 2025 - 07:50:42 +0000)
    
    SoC:   J721S2 SR1.0 GP
    Model: Texas Instruments J721S2 EVM
    Board: J721S2X-PM1-SOM rev E1
    DRAM:  2 GiB (total 16 GiB)
    Core:  127 devices, 33 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2880000
    Out:   serial@2880000
    Err:   serial@2880000
    Net:   am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
    eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'uEnv.txt'
    22391296 bytes read in 235 ms (90.9 MiB/s)
    112470 bytes read in 6 ms (17.9 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008fee1000, end 000000008fffffff ... OK
    Working FDT set to 8fee1000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.12.57-ti-01343-g15b58b1dcd0e-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Wed Dec 24 07:44:02 UTC 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments J721S2 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '')
    [    0.000000] printk: legacy bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000bc8000000..0x0000000bffffffff (917504 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    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] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    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] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    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] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    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] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c71-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c71-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c71-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c71-memory@a7100000
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a9bfffff (28672 KiB) nomap non-reusable ipc-memories@a8000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000a9bfffff]
    [    0.000000]   node   0: [mem 0x00000000a9c00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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.5
    [    0.000000] percpu: Embedded 22 pages/cpu s51736 r8192 d30184 u90112
    [    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] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),5708t
    [    0.000000] Unknown kernel command line parameters "mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern).
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4194304
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    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=512 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] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
    [    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_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: GICD_CTRL.DS=0, SCR_EL3.FIQ=1
    [    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 @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    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.008503] Console: colour dummy device 80x25
    [    0.013082] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023756] pid_max: default: 32768 minimum: 301
    [    0.028520] LSM: initializing lsm=capability,selinux
    [    0.033633] SELinux:  Initializing.
    [    0.037527] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.045310] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.054847] rcu: Hierarchical SRCU implementation.
    [    0.059774] rcu:     Max phase no-delay instances is 1000.
    [    0.065241] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
    [    0.073881] EFI services will not be available.
    [    0.078677] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.091786] Detected PIPT I-cache on CPU1
    [    0.091843] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.091858] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.091894] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.091994] smp: Brought up 1 node, 2 CPUs
    [    0.121353] SMP: Total of 2 processors activated.
    [    0.126158] CPU: All CPU(s) started at EL2
    [    0.130348] CPU features: detected: 32-bit EL0 Support
    [    0.135599] CPU features: detected: CRC32 instructions
    [    0.140868] alternatives: applying system-wide alternatives
    [    0.146858] Memory: 15257956K/16777216K available (13056K kernel code, 1258K rwdata, 4676K rodata, 2752K init, 643K bss, 593272K reserved, 917504K cma-reserved)
    [    0.162158] devtmpfs: initialized
    [    0.174043] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.184026] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.201820] 27120 pages in range for non-PLT usage
    [    0.201836] 518640 pages in range for PLT usage
    [    0.206946] pinctrl core: initialized pinctrl subsystem
    [    0.217305] DMI not present or invalid.
    [    0.222650] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.229513] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.237169] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.245512] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.253738] audit: initializing netlink subsys (disabled)
    [    0.259448] audit: type=2000 audit(0.164:1): state=initialized audit_enabled=0 res=1
    [    0.259729] thermal_sys: Registered thermal governor 'step_wise'
    [    0.267378] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.273546] cpuidle: using governor menu
    [    0.284321] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.291293] ASID allocator initialised with 65536 entries
    [    0.301736] /bus@100000/interrupt-controller@1800000: Fixed dependency cycle(s) with /bus@100000/interrupt-controller@1800000
    [    0.313422] /bus@100000/i2c@2040000/dsi-edp-bridge@2c: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.323682] /bus@100000/dp-bridge@a000000: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.332776] /bus@100000/dsi@4800000: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.341317] /bus@100000/dsi@4800000: Fixed dependency cycle(s) with /bus@100000/i2c@2040000/dsi-edp-bridge@2c
    [    0.351469] /bus@100000/dss@4a00000: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.360012] /bus@100000/dss@4a00000: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000
    [    0.373256] /bus@100000/i2c@2040000/dsi-edp-bridge@2c: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.385075] /bus@100000/pcie@2910000: Fixed dependency cycle(s) with /bus@100000/pcie@2910000/interrupt-controller
    [    0.395974] /bus@100000/dp-bridge@a000000: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.405182] /bus@100000/i2c@2040000/dsi-edp-bridge@2c: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.415368] /bus@100000/dsi@4800000: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.423921] /bus@100000/dsi@4800000: Fixed dependency cycle(s) with /bus@100000/i2c@2040000/dsi-edp-bridge@2c
    [    0.434344] /bus@100000/dsi@4800000: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.442923] /bus@100000/dp-bridge@a000000: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.452030] /bus@100000/dss@4a00000: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    0.460601] /bus@100000/dss@4a00000: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000
    [    0.471165] /bus@100000/i2c@2040000/dsi-edp-bridge@2c: Fixed dependency cycle(s) with /connector-dp1
    [    0.480563] /connector-dp1: Fixed dependency cycle(s) with /bus@100000/i2c@2040000/dsi-edp-bridge@2c
    [    0.490467] /bus@100000/dp-bridge@a000000: Fixed dependency cycle(s) with /dp0-connector
    [    0.498798] /dp0-connector: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000
    [    0.507818] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.514767] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.521172] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.528108] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.534511] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.541447] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.547850] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.554785] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.562225] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.571357] iommu: Default domain type: Translated
    [    0.576270] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.582794] SCSI subsystem initialized
    [    0.586842] usbcore: registered new interface driver usbfs
    [    0.592476] usbcore: registered new interface driver hub
    [    0.597919] usbcore: registered new device driver usb
    [    0.603453] pps_core: LinuxPPS API ver. 1 registered
    [    0.608534] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.617876] PTP clock support registered
    [    0.621900] EDAC MC: Ver: 3.0.0
    [    0.625296] scmi_core: SCMI protocol bus registered
    [    0.630461] FPGA manager framework
    [    0.633988] Advanced Linux Sound Architecture Driver Initialized.
    [    0.640720] vgaarb: loaded
    [    0.643684] clocksource: Switched to clocksource arch_sys_counter
    [    0.650081] VFS: Disk quotas dquot_6.6.0
    [    0.654110] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.665137] NET: Registered PF_INET protocol family
    [    0.670486] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.683403] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.692321] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.700274] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.708960] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.717545] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.724446] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.731577] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.739244] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.745421] RPC: Registered named UNIX socket transport module.
    [    0.751486] RPC: Registered udp transport module.
    [    0.756292] RPC: Registered tcp transport module.
    [    0.761104] RPC: Registered tcp-with-tls transport module.
    [    0.766709] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.773295] NET: Registered PF_XDP protocol family
    [    0.778205] PCI: CLS 0 bytes, default 64
    [    0.782922] Initialise system trusted keyrings
    [    0.787616] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.794410] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.800559] NFS: Registering the id_resolver key type
    [    0.805739] Key type id_resolver registered
    [    0.810013] Key type id_legacy registered
    [    0.814117] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.820970] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.850438] Key type asymmetric registered
    [    0.854631] Asymmetric key parser 'x509' registered
    [    0.859655] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.867327] io scheduler mq-deadline registered
    [    0.871977] io scheduler kyber registered
    [    0.876097] io scheduler bfq registered
    [    0.882136] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.888201] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.894251] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.900560] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.906411] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.912603] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.918376] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.924647] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.934658] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.946978] loop: module loaded
    [    0.950946] megasas: 07.727.03.00-rc1
    [    0.957084] tun: Universal TUN/TAP device driver, 1.6
    [    0.962968] VFIO - User Level meta-driver version: 0.3
    [    0.969051] usbcore: registered new interface driver usb-storage
    [    0.975630] i2c_dev: i2c /dev entries driver
    [    0.980782] sdhci: Secure Digital Host Controller Interface driver
    [    0.987110] sdhci: Copyright(c) Pierre Ossman
    [    0.991746] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.997987] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.005130] usbcore: registered new interface driver usbhid
    [    1.010833] usbhid: USB HID core driver
    [    1.015602] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 (0,8000003f) counters available
    [    1.025518] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    1.030082] optee: revision 4.7 (a9690ae39995af36)
    [    1.046589] optee: dynamic shared memory is enabled
    [    1.056940] optee: initialized driver
    [    1.057023] random: crng init done
    [    1.062396] Initializing XFRM netlink socket
    [    1.068590] NET: Registered PF_PACKET protocol family
    [    1.073807] Key type dns_resolver registered
    [    1.082379] registered taskstats version 1
    [    1.086649] Loading compiled-in X.509 certificates
    [    1.098627] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000b '11.2.8--v11.02.08 (Fancy Rat)')
    [    1.179421] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.186177] pca953x 1-0021: supply vcc not found, using dummy regulator
    [    1.193039] pca953x 1-0021: using no AI
    [    1.212577] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    1.219406] pca953x 1-0020: using no AI
    [    1.224058] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.230886] pca953x 1-0022: using AI
    [    1.235791] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.242612] /connector-dp1: Fixed dependency cycle(s) with /bus@100000/i2c@2040000/dsi-edp-bridge@2c
    [    1.252017] /bus@100000/dsi@4800000: Fixed dependency cycle(s) with /bus@100000/i2c@2040000/dsi-edp-bridge@2c
    [    1.262189] /bus@100000/i2c@2040000/dsi-edp-bridge@2c: Fixed dependency cycle(s) with /connector-dp1
    [    1.271569] /bus@100000/i2c@2040000/dsi-edp-bridge@2c: Fixed dependency cycle(s) with /bus@100000/dsi@4800000
    [    1.282001] pca953x 2-0020: supply vcc not found, using dummy regulator
    [    1.288830] pca953x 2-0020: using no AI
    [    1.308084] omap_i2c 2040000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.314592] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    1.321433] pca953x 3-0020: using no AI
    [    1.340058] omap_i2c 2050000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.345834] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    1.354387] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.363746] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.372437] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.383805] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.390838] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.400330] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.410223] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.416992] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.426579] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.436767] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.443555] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.451870] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 231, base_baud = 6000000) is a 8250
    [    1.461716] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 232, base_baud = 3000000) is a 8250
    [    1.470597] printk: legacy console [ttyS2] enabled
    [    1.470597] printk: legacy console [ttyS2] enabled
    [    1.480278] printk: legacy bootconsole [ns16550a0] disabled
    [    1.480278] printk: legacy bootconsole [ns16550a0] disabled
    [    1.497657] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.510920] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.551706] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.561613] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.569951] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.577177] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64, Policers 8
    [    1.584671] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.595585] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    1.604722] mmc0: CQHCI version 5.10
    [    1.647699] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.740018] mmc0: Command Queue Engine enabled
    [    1.744491] mmc0: new HS400 MMC card at address 0001
    [    1.749904] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.755474] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [    1.761198] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [    1.766831] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (239:0)
    [    1.898860] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    2.297499] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.305012] j721e-pcie 2910000.pcie:       IO 0x4100001000..0x4100100fff -> 0x0000001000
    [    2.313097] j721e-pcie 2910000.pcie:      MEM 0x4100101000..0x41ffffffff -> 0x0000101000
    [    2.321192] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    3.432261] j721e-pcie 2910000.pcie: PCI host bridge to bus 0000:00
    [    3.438564] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    3.444042] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0x1000-0x100fff])
    [    3.453070] pci_bus 0000:00: root bus resource [mem 0x4100101000-0x41ffffffff] (bus address [0x00101000-0xffffffff])
    [    3.463598] pci 0000:00:00.0: [104c:b013] type 01 class 0x060400 PCIe Root Port
    [    3.470910] pci 0000:00:00.0: PCI bridge to [bus 00]
    [    3.475868] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
    [    3.481949] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
    [    3.488729] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
    [    3.496539] pci 0000:00:00.0: supports D1
    [    3.500540] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    3.508153] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.516277] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    3.522894] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    3.527857] pci_bus 0000:00: resource 4 [io  0x0000-0xfffff]
    [    3.533505] pci_bus 0000:00: resource 5 [mem 0x4100101000-0x41ffffffff]
    [    3.540190] irq: no irq domain found for interrupt-controller !
    [    3.546335] pcieport 0000:00:00.0: PME: Signaling with IRQ 666
    [    3.552381] pcieport 0000:00:00.0: AER: enabled with IRQ 666
    [    3.559062] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    3.569573] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    3.582506] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    3.589588] Creating 7 MTD partitions on "47040000.spi.0":
    [    3.595064] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    3.601304] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    3.607253] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    3.613241] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    3.618954] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    3.625224] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    3.631192] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    3.653244] 7 fixed-partitions partitions found on MTD device 47050000.spi.0
    [    3.660302] Creating 7 MTD partitions on "47050000.spi.0":
    [    3.665776] 0x000000000000-0x000000080000 : "qspi.tiboot3"
    [    3.671977] 0x000000080000-0x000000280000 : "qspi.tispl"
    [    3.677838] 0x000000280000-0x000000680000 : "qspi.u-boot"
    [    3.683974] 0x000000680000-0x0000006c0000 : "qspi.env"
    [    3.689702] 0x0000006c0000-0x000000700000 : "qspi.env.backup"
    [    3.696035] 0x000000800000-0x000003fc0000 : "qspi.rootfs"
    [    3.701992] 0x000003fc0000-0x000004000000 : "qspi.phypattern"
    [    3.708750] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    3.721860] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    3.763691] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    3.773591] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    3.781935] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    3.789148] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64, Policers 8
    [    3.796583] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    3.813555] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    3.824349] clk: Disabling unused clocks
    [    3.828304] mmc1: CQHCI version 5.10
    [    3.841096] PM: genpd: Disabling unused power domains
    [    3.846309] ALSA device list:
    [    3.849277]   No soundcards found.
    [    3.870277] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    3.878257] Waiting for root device PARTUUID=b6d77e58-02...
    [    3.945696] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    3.952710] mmcblk1: mmc1:aaaa SL32G 29.7 GiB
    [    3.961535]  mmcblk1: p1 p2
    [    4.481872] EXT4-fs (mmcblk1p2): recovery complete
    [    4.487740] EXT4-fs (mmcblk1p2): mounted filesystem 8d35481c-a054-46dc-9411-ff5938830150 r/w with ordered data mode. Quota mode: none.
    [    4.499855] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    4.510913] devtmpfs: mounted
    [    4.514878] Freeing unused kernel memory: 2752K
    [    4.519517] Run /sbin/init as init process
    [    4.709233] systemd[1]: System time before build time, advancing clock.
    [    4.749948] NET: Registered PF_INET6 protocol family
    [    4.755630] Segment Routing with IPv6
    [    4.759319] In-situ OAM (IOAM) with IPv6
    [    4.788495] systemd[1]: systemd 255.21^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYP)
    [    4.820433] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2025.01!
    
    [    4.837936] systemd[1]: Hostname set to <j721s2-evm>.
    [    5.137831] systemd[1]: Queued start job for default target Graphical Interface.
    [    5.183128] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    5.201050] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    5.220989] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    5.240732] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    5.259949] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    5.279864] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.299799] systemd[1]: Expecting device /dev/ttyS2...
             Expecting device /dev/ttyS2...
    [    5.311810] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    5.323764] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.339793] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    5.355775] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    5.395262] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    5.411881] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    5.433506] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    5.452027] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    5.472486] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    5.496193] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.516164] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.528220] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.550946] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.568108] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.584104] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    5.631953] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    5.646427] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    5.668143] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    5.680225] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    5.698373] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    5.716347] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    5.764372] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    5.804180] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    5.822756] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    5.844380] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    5.857044] fuse: init (API version 7.41)
    [    5.881091] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    5.892058] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    5.910883] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.932250] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    5.970246] systemd-journald[126]: Collecting audit messages is enabled.
    [    5.977102] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network units from Kernel command line...
    [    6.005640] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems   6.018946] cryptodev: loading out-of-tree module taints kernel.
    [0m...
    [    6.041557] systemd[1]: Starting Coldplug All udev Devices...
    [    6.047496] sysctl table check failed: ioctl/(null) procname is null
             Starting Coldplug All udev Devices...
    [    6.059787] sysctl table check failed: ioctl/(null) No proc_handler
    [    6.066412] EXT4-fs (mmcblk1p2): re-mounted 8d35481c-a054-46dc-9411-ff5938830150.
    [    6.070636] systemd[1]: Started RPC Bind.
    [    6.073940] cryptodev: driver 1.14 loaded.
    [  OK  ] Started RPC Bind.
    [    6.101321] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Start psplas��…temd progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    6.432251] systemd-journald[126]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev gracefully...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev gracefully.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /var/volatile...
    [    6.681486] audit: type=1334 audit(1748544503.968:2): prog-id=6 op=LOAD
    [    6.688533] audit: type=1334 audit(1748544503.976:3): prog-id=7 op=LOAD
             Starting Rule-based Manager for Device Events and Files...
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save OS Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create System Files and Directories...
    [  OK  ] Finished Load/Save OS Random Seed.
    [  OK  ] Finished Create System Files and Directories.
    [    6.901798] audit: type=1334 audit(1748544504.188:4): prog-id=8 op=LOAD
             Starting Network Name Resolution...
    [    6.941968] audit: type=1334 audit(1748544504.228:5): prog-id=9 op=LOAD
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [    7.023160] audit: type=1334 audit(1748544504.308:6): prog-id=10 op=LOAD
    [    7.030495] audit: type=1334 audit(1748544504.316:7): prog-id=11 op=LOAD
    [    7.037714] audit: type=1334 audit(1748544504.316:8): prog-id=12 op=LOAD
             Starting User Database Manager...
    [  OK  ] Started User Database Manager.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API...
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
    [    7.579370] audit: type=1334 audit(1748545473.536:9): prog-id=13 op=LOAD
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Periodic Command Scheduler.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
    [  OK  ] Started Multiple Spanning Tree Protocol Daemon.
             Starting Telephony service...
             Starting Expand the rootfs partiti��…to full size of the boot device....
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [    7.978997] audit: type=1334 audit(1748545473.936:10): prog-id=14 op=LOAD
    [    7.995871] audit: type=1334 audit(1748545473.956:11): prog-id=15 op=LOAD
             Starting User Login Management...
             Starting Telnet Server...
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Started Telephony service.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Finished Telnet Server.
    [    8.233621] Bluetooth: Core ver 2.22
    [    8.240490] NET: Registered PF_BLUETOOTH protocol family
    [    8.250412] Bluetooth: HCI device and connection manager initialized
    [    8.263745] Bluetooth: HCI socket layer initialized
    [    8.271135] Bluetooth: L2CAP socket layer initialized
    [    8.280831] Bluetooth: SCO socket layer initialized
    [  OK  ] Started User Login Management.
    [    8.845908] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [  OK  ] Finished Expand the rootfs partition to full size of the boot device..
    [    8.890482] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    8.900111] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [  OK  ] Started Network Configuration.
    [  OK  ] Reached target Network.
    [    9.062383] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    9.080863] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    
             Starting LLDP daemon...
    [  OK  ] Started Netperf Benchmark Server.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [    9.166581] mc: Linux media interface: v0.10
    [    9.190099] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    9.207958] videodev: Linux video capture interface: v2.00
    [    9.220005] CAN device driver interface
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started emptty display manager.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Started LLDP daemon.
    [    9.415573] PVR_K:  196: Read BVNC 36.53.104.796 from HW device registers
    [    9.479193] PVR_K:  196: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    9.492179] cdns-mhdp8546 a000000.dp-bridge: error -EINVAL: invalid resource (null)
    [    9.510454] at24 0-0050: supply vcc not found, using dummy regulator
    [    9.539995] cdns-mhdp8546 a000000.dp-bridge: Failed to get SAPB memory resource, HDCP not supported
    [    9.544044] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    9.556338] [drm] Initialized pvr 25.2.6850647 for 4e20000000.gpu on minor 0
    [    9.715840] vdec 4210000.video-codec: OPP table not found in device tree
    [    9.813048] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    9.825579] vdec 4210000.video-codec: Product Code:      0x521c
    [    9.831899] vdec 4210000.video-codec: Firmware Revision: 363254
    [    9.879502] m_can_platform 40528000.can: m_can device registered (irq=781, version=32)
    [    9.979763] m_can_platform 40568000.can: m_can device registered (irq=782, version=32)
    [   10.013592] m_can_platform 26a1000.can: m_can device registered (irq=783, version=32)
    [   10.051074] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [   10.091855] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [   10.117870] gpio-mux mux-controller-0: 2-way mux-controller registered
    [   10.170869] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [   10.173580] gpio-mux mux-controller-1: 2-way mux-controller registered
    [   10.186891] gpio-mux mux-controller-2: 2-way mux-controller registered
    [   10.219955] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [   10.267425] [drm] Initialized tidss 1.0.0 for 4a00000.dss on minor 1
    [  OK  ] Started Simple Network Management P[   10.278973] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    rotocol (SNMP) Daemon..
    [   10.292667] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [   10.305349] pca953x 6-0020: supply vcc not found, using dummy regulator
    [   10.312878] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [   10.323059] pca953x 6-0020: using no AI
    [  OK  ] Created slice Slice /system/tee-supplicant.
    [  OK  ] Started TEE Supplicant on teepriv0.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Virtual Console Setup...
    [   10.605901] m_can_platform 26a1000.can main_mcan16: renamed from can2
    [   10.628037] m_can_platform 40568000.can mcu_mcan1: renamed from can1
    [   10.640717] m_can_platform 40528000.can mcu_mcan0: renamed from can0
    [  OK  ] Finished Virtual Console Setup.
    [  OK  ] Created slice Slice /system/systemd-fsck.
             Expecting device /dev/mmcblk1p1...
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [   11.335745] omap_i2c 2030000.i2c: timeout waiting for bus ready
    [   11.341727] pca953x 6-0020: failed writing register: -16
    [   11.348166] pca953x 6-0020: probe with driver pca953x failed with error -16
    [   11.356167] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [   11.369933] m_can_platform 2731000.can: m_can device registered (irq=796, version=32)
    [   11.382021] m_can_platform 2731000.can main_mcan3: renamed from can0
    [   11.393358] m_can_platform 2751000.can: m_can device registered (irq=797, version=32)
    [   11.408933] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
    [   11.421715] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [   11.430508] remoteproc remoteproc0: 64800000.dsp is available
    [   11.434479] m_can_platform 2751000.can main_mcan5: renamed from can0
    [   11.442893] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
    [   11.453563] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode
    [   11.464614] remoteproc remoteproc1: 65800000.dsp is available
    [   11.766073] remoteproc remoteproc0: powering up 64800000.dsp
    [   11.771782] remoteproc remoteproc0: Booting fw image j721s2-c71_0-fw, size 10488888
    [   11.772277] remoteproc remoteproc1: powering up 65800000.dsp
    [   11.781176] remoteproc remoteproc0: unsupported resource 65538
    [   11.789205] remoteproc remoteproc1: Booting fw image j721s2-c71_1-fw, size 10488888
    [   11.798785] rproc-virtio rproc-virtio.17.auto: assigned reserved memory node c71-dma-memory@a6000000
    [   11.802743] remoteproc remoteproc1: unsupported resource 65538
    [  OK  ] Finished File System Check on /dev/[   11.817212] virtio_rpmsg_bus virtio0: rpmsg host is online
    mmcblk1p1.
    [   11.822059] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [   11.828294] rproc-virtio rproc-virtio.17.auto: registered virtio0 (type 7)
    [   11.834944] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [   11.842685] remoteproc remoteproc0: remote processor 64800000.dsp is now up
    [   11.848912] rproc-virtio rproc-virtio.18.auto: assigned reserved memory node c71-dma-memory@a7000000
    [   11.865879] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   11.871490] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [   11.879181] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [   11.886602] rproc-virtio rproc-virtio.18.auto: registered virtio1 (type 7)
    [   11.893578] remoteproc remoteproc1: remote processor 65800000.dsp is now up
             Mounting /run/media/boot-mmcblk1p1...
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    [  OK  ] Started containerd container runtime.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            adwaita-icon-theme-symbolic
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gnu-config
            grub-common
            grub-editenv
            grub-efi
            gzip
            hidapi
            kbd-dev
            kbd-keymaps-pine
            less
            libasm1
            libatomic-dev
            libatomic1
            libbfd
            libdebuginfod1
            libdw1
            libelf1
            libgcc-s-dev
            libgcc1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp-dev
            libgmp10
            libgmpxx4
            libgnutls-dev
            libgnutls-openssl27
            libgomp1
            libidn2-0
            libidn2-dev
            libmpc3
            libmpfr6
            libopcodes
            libqt6shadertools-dev
            libqt6shadertools-plugins
            libqt6shadertools-qmlplugins
            libqt6shadertools6
            libreadline-dev
            libreadline8
            libstdc++-dev
            libstdc++6
            libtasn1-dev
            libunistring-dev
            libunistring5
            m4
            make
            nettle-dev
            nettle
            parted
            piglit
            qtbase-dev
            qtbase-examples
            qtbase-plugins
            qtbase-qmlplugins
            qtbase-staticdev
            qtbase
            qtdeclarative-dev
            qtdeclarative-plugins
            qtdeclarative-qmlplugins
            qtdeclarative-staticdev
            qtdeclarative
            qtlanguageserver-dev
            qtlanguageserver-plugins
            qtlanguageserver-qmlplugins
            qtlanguageserver-staticdev
            qtlanguageserver
            qtsvg-dev
            qtsvg-plugins
            qtsvg-qmlplugins
            qtsvg
            qtwayland-dev
            qtwayland-plugins
            qtwayland-qmlplugins
            qtwayland
            tar
            which
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    [   13.996129] kauditd_printk_skb: 2 callbacks suppressed
    [   13.996139] audit: type=1006 audit(1748545479.956:14): pid=1002 uid=0 subj=kernel old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   14.015251] audit: type=1300 audit(1748545479.956:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffffa13bd98 a2=4 a3=1 items=0 ppid=1 pid=1002 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg)
    [   14.043149] audit: type=1327 audit(1748545479.956:14): proctitle="(systemd)"
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project j721s2-evm ttyS2
    
    Arago 2025.01 j721s2-evm ttyS2
    
    j721s2-evm login: [   15.206639] PVR_K:  1009: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [   15.220670] PVR_K:  1009: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [   15.229254] PVR_K:  1009: SLCSize:   262144
    root
    [   18.704801] audit: type=1006 audit(1748545484.664:15): pid=1020 uid=0 subj=kernel old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=2 res=1
    [   18.718749] audit: type=1300 audit(1748545484.664:15): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffe97d9638 a2=1 a3=1 items=0 ppid=1 pid=1020 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=)
    [   18.746544] audit: type=1327 audit(1748545484.664:15): proctitle="(systemd)"
    [   18.760458] audit: type=1334 audit(1748545484.720:16): prog-id=18 op=LOAD
    [   18.767724] audit: type=1300 audit(1748545484.720:16): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffec7de748 a2=90 a3=0 items=0 ppid=1 pid=1020 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgi)
    [   18.794935] audit: type=1327 audit(1748545484.720:16): proctitle="(systemd)"
    [   18.802316] audit: type=1334 audit(1748545484.720:17): prog-id=18 op=UNLOAD
    root@j721s2-evm:~# 
    root@j721s2-evm:~# 
    root@j721s2-evm:~# 
    root@j721s2-evm:~# cat /[   22.124325] i2c 6-0044: deferred probe pending: i2c: supplier 6-0020 not ready
    [   22.131575] platform sound: deferred probe pending: j721e-audio: devm_snd_soc_register_card() failed: -517
          
    root@j721s2-evm:~# 
    root@j721s2-evm:~# cat /proc/version 
    Linux version 6.12.57-ti-01343-g15b58b1dcd0e-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Wed Dec 24 07:44:02 UTC 2025
    root@j721s2-evm:~# 
    root@j721s2-evm:~# ls -l /sys/bus/virtio/drivers
    total 0
    drwxr-xr-x 2 root root 0 May 29 18:48 virtio_balloon
    drwxr-xr-x 2 root root 0 May 29 18:48 virtio_blk
    drwxr-xr-x 2 root root 0 May 29 18:48 virtio_console
    drwxr-xr-x 2 root root 0 May 29 18:48 virtio_net
    drwxr-xr-x 2 root root 0 May 29 18:48 virtio_rng
    drwxr-xr-x 2 root root 0 May 29 18:48 virtio_rpmsg_bus
    drwxr-xr-x 2 root root 0 May 29 18:48 virtio_rproc_serial
    root@j721s2-evm:~# ls -l /sys/bus/virtio/devices/
    total 0
    lrwxrwxrwx 1 root root 0 May 29 19:04 virtio0 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.17.auto/virtio0
    lrwxrwxrwx 1 root root 0 May 29 19:04 virtio1 -> ../../../devices/platform/bus@100000/65800000.dsp/remoteproc/remoteproc1/rproc-virtio.18.auto/virtio1
    root@j721s2-evm:~# ls -l /sys/bus/virtio/devices/virtio0/
    total 0
    -r--r--r-- 1 root root 4096 May 29 19:05 device
    lrwxrwxrwx 1 root root    0 May 29 19:05 driver -> ../../../../../../../../bus/virtio/drivers/virtio_rpmsg_bus
    -r--r--r-- 1 root root 4096 May 29 19:05 features
    -r--r--r-- 1 root root 4096 May 29 19:05 modalias
    drwxr-xr-x 2 root root    0 May 29 19:05 power
    -r--r--r-- 1 root root 4096 May 29 19:05 status
    lrwxrwxrwx 1 root root    0 May 29 19:04 subsystem -> ../../../../../../../../bus/virtio
    -rw-r--r-- 1 root root 4096 May 29 19:04 uevent
    -r--r--r-- 1 root root 4096 May 29 19:05 vendor
    drwxr-xr-x 4 root root    0 May 29 19:04 virtio0.rpmsg_chrdev.-1.14
    drwxr-xr-x 4 root root    0 May 29 19:04 virtio0.rpmsg_ctrl.0.0
    drwxr-xr-x 3 root root    0 May 29 19:05 virtio0.rpmsg_ns.53.53
    drwxr-xr-x 3 root root    0 May 29 19:05 virtio0.ti.ipc4.ping-pong.-1.13
    root@j721s2-evm:~# ls -l /sys/bus/virtio/devices/virtio1/
    total 0
    -r--r--r-- 1 root root 4096 May 29 19:05 device
    lrwxrwxrwx 1 root root    0 May 29 19:05 driver -> ../../../../../../../../bus/virtio/drivers/virtio_rpmsg_bus
    -r--r--r-- 1 root root 4096 May 29 19:05 features
    -r--r--r-- 1 root root 4096 May 29 19:05 modalias
    drwxr-xr-x 2 root root    0 May 29 19:05 power
    -r--r--r-- 1 root root 4096 May 29 19:05 status
    lrwxrwxrwx 1 root root    0 May 29 19:04 subsystem -> ../../../../../../../../bus/virtio
    -rw-r--r-- 1 root root 4096 May 29 19:04 uevent
    -r--r--r-- 1 root root 4096 May 29 19:05 vendor
    drwxr-xr-x 4 root root    0 May 29 19:04 virtio1.rpmsg_chrdev.-1.14
    drwxr-xr-x 4 root root    0 May 29 19:04 virtio1.rpmsg_ctrl.0.0
    drwxr-xr-x 3 root root    0 May 29 19:05 virtio1.rpmsg_ns.53.53
    drwxr-xr-x 3 root root    0 May 29 19:05 virtio1.ti.ipc4.ping-pong.-1.13
    root@j721s2-evm:~# 
    root@j721s2-evm:~# ls -l /sys/bus/rpmsg/drivers
    total 0
    drwxr-xr-x 2 root root 0 May 29 19:05 rpmsg_chrdev
    drwxr-xr-x 2 root root 0 May 29 19:05 rpmsg_ctrl
    drwxr-xr-x 2 root root 0 May 29 18:48 rpmsg_ns
    root@j721s2-evm:~# ls -l /sys/bus/rpmsg/devices/
    total 0
    lrwxrwxrwx 1 root root 0 May 29 19:05 virtio0.rpmsg_chrdev.-1.14 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.17.auto/virtio0/virtio0.rpmsg_chrdev.-1.14
    lrwxrwxrwx 1 root root 0 May 29 19:05 virtio0.rpmsg_ctrl.0.0 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.17.auto/virtio0/virtio0.rpmsg_ctrl.0.0
    lrwxrwxrwx 1 root root 0 May 29 19:05 virtio0.rpmsg_ns.53.53 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.17.auto/virtio0/virtio0.rpmsg_ns.53.53
    lrwxrwxrwx 1 root root 0 May 29 19:05 virtio0.ti.ipc4.ping-pong.-1.13 -> ../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.17.auto/virtio0/virtio0.ti.ipc4.ping-pong.-1.13
    lrwxrwxrwx 1 root root 0 May 29 19:05 virtio1.rpmsg_chrdev.-1.14 -> ../../../devices/platform/bus@100000/65800000.dsp/remoteproc/remoteproc1/rproc-virtio.18.auto/virtio1/virtio1.rpmsg_chrdev.-1.14
    lrwxrwxrwx 1 root root 0 May 29 19:05 virtio1.rpmsg_ctrl.0.0 -> ../../../devices/platform/bus@100000/65800000.dsp/remoteproc/remoteproc1/rproc-virtio.18.auto/virtio1/virtio1.rpmsg_ctrl.0.0
    lrwxrwxrwx 1 root root 0 May 29 19:05 virtio1.rpmsg_ns.53.53 -> ../../../devices/platform/bus@100000/65800000.dsp/remoteproc/remoteproc1/rproc-virtio.18.auto/virtio1/virtio1.rpmsg_ns.53.53
    lrwxrwxrwx 1 root root 0 May 29 19:05 virtio1.ti.ipc4.ping-pong.-1.13 -> ../../../devices/platform/bus@100000/65800000.dsp/remoteproc/remoteproc1/rproc-virtio.18.auto/virtio1/virtio1.ti.ipc4.ping-pong.-1.13
    root@j721s2-evm:~# 
    root@j721s2-evm:~# 
    root@j721s2-evm:~# ls -l /dev/rpmsg*
    crw------- 1 root root 237, 0 May 29 19:04 /dev/rpmsg0
    crw------- 1 root root 237, 1 May 29 19:04 /dev/rpmsg1
    crw------- 1 root root 236, 0 May 29 19:04 /dev/rpmsg_ctrl0
    crw------- 1 root root 236, 1 May 29 19:04 /dev/rpmsg_ctrl1
    root@j721s2-evm:~# 
    root@j721s2-evm:~# head /sys/class/remoteproc/remoteproc*/name
    ==> /sys/class/remoteproc/remoteproc0/name <==
    64800000.dsp
    
    ==> /sys/class/remoteproc/remoteproc1/name <==
    65800000.dsp
    root@j721s2-evm:~# 
    root@j721s2-evm:~# head /sys/class/remoteproc/remoteproc*/state
    ==> /sys/class/remoteproc/remoteproc0/state <==
    running
    
    ==> /sys/class/remoteproc/remoteproc1/state <==
    running
    root@j721s2-evm:~# 
    root@j721s2-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc*/resource_table
    Entry 0 is of type vdev
      ID 7
      Notify ID 0
      Device features 0x1
      Guest features 0x1
      Config length 0x0
      Status 0x7
      Number of vrings 2
      Reserved (should be zero) [0][0]
    
      Vring 0
        Device Address 0xa6000000
        Alignment 4096
        Number of buffers 256
        Notify ID 0
        Physical Address 0x0
    
      Vring 1
        Device Address 0xa6004000
        Alignment 4096
        Number of buffers 256
        Notify ID 1
        Physical Address 0x0
    
    Unknown resource type found: 65538 [hdr: 000000004fc453e2]
    Entry 0 is of type vdev
      ID 7
      Notify ID 0
      Device features 0x1
      Guest features 0x1
      Config length 0x0
      Status 0x7
      Number of vrings 2
      Reserved (should be zero) [0][0]
    
      Vring 0
        Device Address 0xa7000000
        Alignment 4096
        Number of buffers 256
        Notify ID 0
        Physical Address 0x0
    
      Vring 1
        Device Address 0xa7004000
        Alignment 4096
        Number of buffers 256
        Notify ID 1
        Physical Address 0x0
    
    Unknown resource type found: 65538 [hdr: 000000003e81c788]
    root@j721s2-evm:~# 
    root@j721s2-evm:~# rpmsg_char_simple -r 8 -n 5 -p 14
    Created endpt device rpmsg-char-8-1087, fd = 3 port = 1025
    Exchanging 5 messages with rpmsg device rpmsg-char-8-1087 on rproc id 8 ...
    
    Sending message #0: hello there 0!
    hello there 0!
    Sending message #1: hello there 1!
    hello there 1!
    Sending message #2: hello there 2!
    hello there 2!
    Sending message #3: hello there 3!
    hello there 3!
    Sending message #4: hello there 4!
    hello there 4!
    
    Communicated 5 messages successfully on rpmsg-char-8-1087
    
    TEST STATUS: PASSED
    root@j721s2-evm:~# 
    root@j721s2-evm:~# rpmsg_char_simple -r 10 -n 5 -p 14                                                                                                                                                              
    Created endpt device rpmsg-char-10-1093, fd = 3 port = 1025
    Exchanging 5 messages with rpmsg device rpmsg-char-10-1093 on rproc id 10 ...
    
    Sending message #0: hello there 0!
    hello there 0!
    Sending message #1: hello there 1!
    hello there 1!
    Sending message #2: hello there 2!
    hello there 2!
    Sending message #3: hello there 3!
    hello there 3!
    Sending message #4: hello there 4!
    hello there 4!
    
    Communicated 5 messages successfully on rpmsg-char-10-1093
    
    TEST STATUS: PASSED
    root@j721s2-evm:~# 
    root@j721s2-evm:~# ls -l /lib/firmware/
    total 29796
    -rw-r--r-- 1 root root    2040 Mar  9  2018 LICENCE.ibt_firmware
    -rw-r--r-- 1 root root    2046 Mar  9  2018 LICENCE.iwlwifi_firmware
    -rw-r--r-- 1 root root  716160 Mar  9  2018 bl32.bin
    -rw-r--r-- 1 root root 4834104 Mar  9  2018 bl32.elf
    drwxr-xr-x 2 root root    4096 Mar  9  2018 cadence
    drwxr-xr-x 2 root root    4096 Mar  9  2018 cnm
    -rw-r--r-- 1 root root   14980 Mar  9  2018 eip29t2_2.1.0.bin
    drwxr-xr-x 2 root root    4096 Mar  9  2018 intel
    -rw-r--r-- 1 root root  918268 Mar  9  2018 iwlwifi-3160-17.ucode
    -rw-r--r-- 1 root root 2448976 Mar  9  2018 iwlwifi-8000C-34.ucode
    -rw-r--r-- 1 root root 2428004 Mar  9  2018 iwlwifi-8000C-36.ucode
    -rw-r--r-- 1 root root 2440780 Mar  9  2018 iwlwifi-8265-34.ucode
    -rw-r--r-- 1 root root 2436632 Mar  9  2018 iwlwifi-8265-36.ucode
    -rw-r--r-- 1 root root 2678092 Mar  9  2018 iwlwifi-9260-th-b0-jf-b0-34.ucode
    -rw-r--r-- 1 root root 2521412 Mar  9  2018 iwlwifi-9260-th-b0-jf-b0-38.ucode
    -rw-r--r-- 1 root root 1490508 Mar  9  2018 iwlwifi-9260-th-b0-jf-b0-46.ucode
    lrwxrwxrwx 1 root root      52 May 29 18:51 j721s2-c71_0-fw -> ti-ipc/j721s2/ipc_echo_test_c7x_1_release_strip.xe71
    lrwxrwxrwx 1 root root      68 Mar  9  2018 j721s2-c71_0-fw-sec -> /usr/lib/firmware/vision_apps_evm/vx_app_rtos_linux_c7x_1.out.signed
    lrwxrwxrwx 1 root root      52 May 29 18:51 j721s2-c71_1-fw -> ti-ipc/j721s2/ipc_echo_test_c7x_2_release_strip.xe71
    lrwxrwxrwx 1 root root      68 Mar  9  2018 j721s2-c71_1-fw-sec -> /usr/lib/firmware/vision_apps_evm/vx_app_rtos_linux_c7x_2.out.signed
    lrwxrwxrwx 1 root root      54 May 29 18:51 j721s2-main-r5f0_0-fw -> ti-ipc/j721s2/ipc_echo_test_mcu2_0_release_strip.xer5f
    lrwxrwxrwx 1 root root      69 Mar  9  2018 j721s2-main-r5f0_0-fw-sec -> /usr/lib/firmware/vision_apps_evm/vx_app_rtos_linux_mcu2_0.out.signed
    lrwxrwxrwx 1 root root      54 May 29 18:52 j721s2-main-r5f0_1-fw -> ti-ipc/j721s2/ipc_echo_test_mcu2_1_release_strip.xer5f
    lrwxrwxrwx 1 root root      69 Mar  9  2018 j721s2-main-r5f0_1-fw-sec -> /usr/lib/firmware/vision_apps_evm/vx_app_rtos_linux_mcu2_1.out.signed
    -rw-r--r-- 1 root root    6328 Mar  9  2018 regulatory.db
    -rw-r--r-- 1 root root    1085 Mar  9  2018 regulatory.db.p7s
    -rw-r--r-- 1 root root  229376 Mar  9  2018 rgx.fw.36.53.104.796
    -rw-r--r-- 1 root root  286084 Mar  9  2018 rgx.sh.36.53.104.796
    -rw-r--r-- 1 root root      28 Mar  9  2018 tee-header_v2.bin
    -rw-r--r-- 1 root root       0 Mar  9  2018 tee-pageable_v2.bin
    -rw-r--r-- 1 root root  716160 Mar  9  2018 tee-pager_v2.bin
    -rw-r--r-- 1 root root  716160 Mar  9  2018 tee-raw.bin
    -rw-r--r-- 1 root root  716188 Mar  9  2018 tee.bin
    -rw-r--r-- 1 root root 4834104 Mar  9  2018 tee.elf
    drwxr-xr-x 2 root root    4096 Mar  9  2018 ti-connectivity
    drwxr-xr-x 3 root root    4096 Mar  9  2018 ti-ipc
    drwxr-xr-x 2 root root    4096 Mar  9  2018 vision_apps_evm
    lrwxrwxrwx 1 root root      46 Mar  9  2018 wave521c_k3_codec_fw.bin -> /usr/lib/firmware/cnm/wave521c_k3_codec_fw.bin
    root@j721s2-evm:~# 
    root@j721s2-evm:~#
    root@j721s2-evm:~# ls -l /sys/bus/platform/drivers/rproc-virtio/
    total 0
    --w------- 1 root root 4096 May 29 19:30 bind
    lrwxrwxrwx 1 root root    0 May 29 19:30 rproc-virtio.17.auto -> ../../../../devices/platform/bus@100000/64800000.dsp/remoteproc/remoteproc0/rproc-virtio.17.auto
    lrwxrwxrwx 1 root root    0 May 29 19:30 rproc-virtio.18.auto -> ../../../../devices/platform/bus@100000/65800000.dsp/remoteproc/remoteproc1/rproc-virtio.18.auto
    --w------- 1 root root 4096 May 29 18:48 uevent
    --w------- 1 root root 4096 May 29 19:30 unbind
    root@j721s2-evm:~# 
    root@j721s2-evm:~# 
    root@j721s2-evm:~# dmesg | grep Booting
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [   11.771782] remoteproc remoteproc0: Booting fw image j721s2-c71_0-fw, size 10488888
    [   11.789205] remoteproc remoteproc1: Booting fw image j721s2-c71_1-fw, size 10488888
    root@j721s2-evm:~# 
    root@j721s2-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/
    carveout_memories  coredump           crash              name               recovery           resource_table     
    root@j721s2-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/carveout_memories 
    Carveout memory entry:
            Name: vdev0vring0
            Virtual address: 000000004194bf22
            DMA address: 0x00000000a7000000
            Device address: 0xa7000000
            Length: 0x3000 Bytes
    
    Carveout memory entry:
            Name: vdev0vring1
            Virtual address: 00000000b76bfe57
            DMA address: 0x00000000a7004000
            Device address: 0xa7004000
            Length: 0x3000 Bytes
    
    root@j721s2-evm:~#
    

    Please confirm that you have linked the right C71_1 firmware image, and check the carveout memories for vrings using the following command,

    $ cat /sys/kernel/debug/remoteproc/remoteproc1/carveout_memories

    Also, ensure that you have a carveout memory for the RTOS-to-RTOS IPC, your earlier snippet log doesn't show all the carveouts.

    regards

    Suman

  • Hi Suman, thank you, that was very helpful.

    I compared my log with yours, compared the memory carveouts and did some more comaprison between 6.6 and 6.12 changes and I finally found the root cause.

    In the 6.6 device trees, main_timer0 to main_timer5 have status = "reserved" property in k3-j721s2-main.dtsi
    https://github.com/TexasInstruments/ti-linux-kernel/blob/ti-linux-6.6.y/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi#L251

    In 6.12, the status = "reserved" for timers got moved to k3-j721s2-som-po.dtsi
    https://github.com/TexasInstruments/ti-linux-kernel/blob/c52c5589aab8c376f975b1feb7b8746b7b6624bd/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi#L668

    After adding those to my device tree and dtsi files, rpmsg devs appeared and rpmsg_char_simple test are passing!

    Thank you for your assistance. much appreciated!