This thread has been locked.

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

PROCESSOR-SDK-J721S2: Facing issues while trying an IPC communication

Part Number: PROCESSOR-SDK-J721S2


Hi, 

I am using J721S2 PDK 8.6.1.2 and trying to establish an IPC communication b/w A72 (Linux) and Main R5F(MCU2_0). 

The below are the errors I am getting.

"pru_rproc: Unknown symbol pruss_cfg_update (err -2)"

"_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio1.rpmsg_chrdev.-1.13"
Is it due to a mismatch in .ko file or kernel image for RPmsg or a possible device tree issue?
Please find the attached logs for your reference. 
NOTICE: BL31: Built : 20:11:33, Jun 14 2023
ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[ 0.000000] Linux version 5.10.162-g76b3e88d56 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Tue May 2 16:19:15 UTC 2023
[ 0.000000] Machine model: Texas Instruments J721S2 EVM
[ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a6000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a6100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a7000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a7100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node c71_1-dma-memory@a8000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 31 MiB
[ 0.000000] OF: reserved mem: initialized node c71_1-memory@a8100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node c71-dma-memory@aa000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 111 MiB
[ 0.000000] OF: reserved mem: initialized node c71_0-memory@aa100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node ipc-memory-region@b2000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000b4000000, size 96 MiB
[ 0.000000] OF: reserved mem: initialized node dma-memory@b4000000, compatible id shared-dma-pool
[ 0.000000] OF: reserved mem: initialized node shared-memories, compatible id dma-heap-carveout
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000bc000000, size 48 MiB
[ 0.000000] OF: reserved mem: initialized node core-heap-memory-lo@bc000000, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000b0ffffff]
[ 0.000000] node 0: [mem 0x00000000b1000000-0x00000000b1ffffff]
[ 0.000000] node 0: [mem 0x00000000b2000000-0x00000000b9ffffff]
[ 0.000000] node 0: [mem 0x00000000ba000000-0x00000000bbffffff]
[ 0.000000] node 0: [mem 0x00000000bc000000-0x00000000beffffff]
[ 0.000000] node 0: [mem 0x00000000bf000000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] cma: Failed to reserve 512 MiB
[ 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: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: EL2 vector hardening
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: detected: ARM erratum 1742098
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048
[ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x2880000
[ 0.000000] mtdid=spi-nand0
[ 0.000000] mtdparts=spi-nand0:512k(ospi_nand.sbl),512k(ospi_nand.tifs),27648k(ospi_nand.combined),102144k(ospi_nand.rootfs),256k(ospi_nand.phypattern)
[ 0.000000] ubi part ospi_nand.rootfs
[ 0.000000] ubi.mtd=ospi_nand.rootfs root=ubi0:rootfs rw rootfstype=ubifs rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 518228K/1048576K available (11200K kernel code, 1160K rwdata, 4300K rodata, 1856K init, 433K bss, 530348K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 960 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 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 @81c00000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: using LPI property table @0x0000000081430000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000081440000
[ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[ 0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[ 0.008396] Console: colour dummy device 80x25
[ 0.012961] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[ 0.023632] pid_max: default: 32768 minimum: 301
[ 0.028388] LSM: Security Framework initializing
[ 0.033135] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.040698] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.049603] rcu: Hierarchical SRCU implementation.
[ 0.054679] Platform MSI: msi-controller@1820000 domain created
[ 0.060880] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[ 0.070181] EFI services will not be available.
[ 0.074919] smp: Bringing up secondary CPUs ...
ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
[ 0.085798] Detected PIPT I-cache on CPU1
[ 0.085826] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[ 0.085839] GICv3: CPU1: using allocated LPI pending table @0x0000000081450000
[ 0.085879] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[ 0.085934] smp: Brought up 1 node, 2 CPUs
[ 0.115281] SMP: Total of 2 processors activated.
[ 0.120087] CPU features: detected: 32-bit EL0 Support
[ 0.125342] CPU features: detected: CRC32 instructions
[ 0.140049] CPU: All CPU(s) started at EL2
[ 0.144252] alternatives: patching kernel code
[ 0.149403] devtmpfs: initialized
[ 0.157114] KASLR disabled due to lack of seed
[ 0.161775] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.171742] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.178812] pinctrl core: initialized pinctrl subsystem
[ 0.184417] DMI not present or invalid.
[ 0.188661] NET: Registered protocol family 16
[ 0.193467] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.200704] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.208649] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.216960] thermal_sys: Registered thermal governor 'step_wise'
[ 0.216963] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.223583] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.237224] ASID allocator initialised with 32768 entries
[ 0.259559] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.266417] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.273268] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.280116] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.287603] cryptd: max_cpu_qlen set to 1000
[ 0.293760] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
[ 0.302872] vsys_3v3: supplied by evm_12v0
[ 0.307308] vsys_5v0: supplied by evm_12v0
[ 0.312092] iommu: Default domain type: Translated
[ 0.317239] SCSI subsystem initialized
[ 0.321373] mc: Linux media interface: v0.10
[ 0.325754] videodev: Linux video capture interface: v2.00
[ 0.331387] pps_core: LinuxPPS API ver. 1 registered
[ 0.336457] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.345795] PTP clock support registered
[ 0.349817] EDAC MC: Ver: 3.0.0
[ 0.353629] FPGA manager framework
[ 0.357146] Advanced Linux Sound Architecture Driver Initialized.
[ 0.363802] clocksource: Switched to clocksource arch_sys_counter
[ 0.370158] VFS: Disk quotas dquot_6.6.0
[ 0.374197] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.383932] Carveout Heap: Exported 32 MiB at 0x00000000ba000000
[ 0.390140] NET: Registered protocol family 2
[ 0.394712] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.402812] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.411389] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.419336] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.426793] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.433374] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.440147] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.447419] NET: Registered protocol family 1
[ 0.452132] RPC: Registered named UNIX socket transport module.
[ 0.458193] RPC: Registered udp transport module.
[ 0.463009] RPC: Registered tcp transport module.
[ 0.467812] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.474394] NET: Registered protocol family 44
[ 0.478942] PCI: CLS 0 bytes, default 64
[ 0.483332] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.493851] Initialise system trusted keyrings
[ 0.498487] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.506690] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.512969] NFS: Registering the id_resolver key type
[ 0.518150] Key type id_resolver registered
[ 0.522426] Key type id_legacy registered
[ 0.526552] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.533402] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.541048] 9p: Installing v9fs 9p2000 file system support
[ 0.565873] Key type asymmetric registered
[ 0.570062] Asymmetric key parser 'x509' registered
[ 0.575062] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 0.582622] io scheduler mq-deadline registered
[ 0.587247] io scheduler kyber registered
[ 0.592842] pinctrl-single 4301c000.pinctrl: 101 pins, size 404
[ 0.599064] pinctrl-single 11c000.pinctrl: 72 pins, size 288
[ 0.609717] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.622850] brd: module loaded
[ 0.629805] loop: module loaded
[ 0.633572] megasas: 07.714.04.00-rc1
[ 0.639473] tun: Universal TUN/TAP device driver, 1.6
[ 0.645021] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 0.651430] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.657508] sky2: driver version 1.30
[ 0.661900] VFIO - User Level meta-driver version: 0.3
[ 0.667728] i2c /dev entries driver
[ 0.672204] sdhci: Secure Digital Host Controller Interface driver
[ 0.678522] sdhci: Copyright(c) Pierre Ossman
[ 0.683180] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.689559] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.695913] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 0.703328] optee: probing for conduit method.
[ 0.707880] optee: api uid mismatch
[ 0.711441] optee: probe of firmware:optee failed with error -22
[ 0.718959] NET: Registered protocol family 17
[ 0.723609] 9pnet: Installing 9P2000 support
[ 0.728024] Key type dns_resolver registered
[ 0.732531] Loading compiled-in X.509 certificates
[ 0.745946] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.3--1-g2249f (Chill Capybara')
[ 0.784628] omap_i2c 42120000.i2c: bus 0 rev0.12 at 100 kHz
[ 0.790819] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
[ 0.796902] omap_i2c 40b10000.i2c: bus 2 rev0.12 at 100 kHz
[ 0.803376] pca953x 3-0021: supply vcc not found, using dummy regulator
[ 0.810212] pca953x 3-0021: using no AI
[ 0.835846] pca953x 3-0021: failed writing register
[ 0.840895] pca953x: probe of 3-0021 failed with error -121
[ 0.846871] pca953x 3-0020: supply vcc not found, using dummy regulator
[ 0.853684] pca953x 3-0020: using no AI
[ 0.857654] pca953x 3-0020: failed writing register
[ 0.862686] pca953x: probe of 3-0020 failed with error -121
[ 0.868623] pca953x 3-0022: supply vcc not found, using dummy regulator
[ 0.875422] pca953x 3-0022: using AI
[ 0.879125] pca953x 3-0022: failed writing register
[ 0.884150] pca953x: probe of 3-0022 failed with error -121
[ 0.889886] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[ 0.896510] pca953x 4-0020: supply vcc not found, using dummy regulator
[ 0.903343] pca953x 4-0020: using no AI
[ 0.927823] omap_i2c 2040000.i2c: Arbitration lost
[ 0.932729] pca953x 4-0020: failed writing register
[ 0.937768] pca953x: probe of 4-0020 failed with error -11
[ 0.943418] omap_i2c 2040000.i2c: bus 4 rev0.12 at 400 kHz
[ 0.949794] pca953x 5-0020: supply vcc not found, using dummy regulator
[ 0.956646] pca953x 5-0020: using no AI
[ 0.983995] omap_i2c 2050000.i2c: Arbitration lost
[ 0.988899] pca953x 5-0020: failed writing register
[ 0.993939] pca953x: probe of 5-0020 failed with error -11
[ 0.999599] omap_i2c 2050000.i2c: bus 5 rev0.12 at 400 kHz
[ 1.006024] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
[ 1.014574] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
[ 1.023914] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
[ 1.032525] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
[ 1.044965] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 1.052643] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 1.060921] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 1.069197] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 1.078302] ti-udma 311a0000.dma-controller: Number of rings: 48
[ 1.085045] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
[ 1.094293] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
[ 1.104180] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[ 1.110940] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
[ 1.119827] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
[ 1.129967] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[ 1.136731] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
[ 1.144417] omap8250 40a00000.serial: failed to get alias
[ 1.150532] printk: console [ttyS2] disabled
[ 1.154932] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 27, base_baud = 3000000) is a 8250
[ 1.163680] printk: console [ttyS2] enabled
[ 1.163680] printk: console [ttyS2] enabled
[ 1.172119] printk: bootconsole [ns16550a0] disabled
[ 1.172119] printk: bootconsole [ns16550a0] disabled
[ 1.184178] cadence-qspi 47040000.spi: error -ENODEV: No Rx DMA available
[ 1.191253] spi-nand spi0.0: Winbond SPI NAND was found.
[ 1.196561] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
[ 1.204868] 7 fixed-partitions partitions found on MTD device spi0.0
[ 1.211210] Creating 7 MTD partitions on "spi0.0":
[ 1.215991] 0x000000000000-0x000000080000 : "ospi_nand.sbl"
[ 1.222345] 0x000000080000-0x000000140000 : "ospi_nand.tifs"
[ 1.228773] 0x000000140000-0x000000180000 : "ospi_nand.uartval"
[ 1.235237] 0x000000180000-0x0000002c0000 : "ospi_nand.btdldr"
[ 1.242013] 0x0000002c0000-0x0000026c0000 : "ospi_nand.combined"
[ 1.263203] 0x0000026c0000-0x000007fc0000 : "ospi_nand.rootfs"
[ 1.305920] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
[ 1.313315] cadence-qspi 47050000.spi: error -ENODEV: No Rx DMA available
[ 1.320322] spi-nor spi1.0: unrecognized JEDEC id bytes: e0 00 00 00 00 00
[ 1.327192] spi-nor: probe of spi1.0 failed with error -2
[ 1.335723] davinci_mdio c200f00.mdio: Configuring MDIO in manual mode
[ 1.379806] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 1.387709] mdio_bus c200f00.mdio: MDIO device at address 0 is missing.
[ 1.394349] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
[ 1.407121] am65-cpsw-nuss c200000.ethernet: Use random MAC address
[ 1.413380] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
[ 1.420500] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
[ 1.426742] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
[ 1.436979] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
[ 1.546784] mmc0: CQHCI version 5.10
[ 1.554494] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
[ 1.561352] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
[ 1.568169] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
[ 1.574965] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
[ 1.581737] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 1.589225] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 1.591612] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[ 1.597307] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 1.612845] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 1.621952] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[ 1.631969] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
[ 1.643157] davinci_mdio c200f00.mdio: Configuring MDIO in manual mode
[ 1.687807] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 1.695708] mdio_bus c200f00.mdio: MDIO device at address 0 is missing.
[ 1.702358] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
[ 1.715131] am65-cpsw-nuss c200000.ethernet: Use random MAC address
[ 1.721390] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
[ 1.728507] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
[ 1.734731] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
[ 1.744611] am65-cpsw-nuss c200000.ethernet: set new flow-id-base 82
[ 1.753275] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 1.760780] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 1.768863] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 1.776945] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 1.787205] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 1.794723] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 1.802812] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 1.810899] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 1.820204] debugfs: Directory 'pd:39' with parent 'pm_genpd' already present!
[ 1.827518] debugfs: Directory 'pd:38' with parent 'pm_genpd' already present!
[ 1.835266] debugfs: Directory 'pd:276' with parent 'pm_genpd' already present!
[ 1.843174] debugfs: Directory 'pd:154' with parent 'pm_genpd' already present!
[ 1.850994] ubi0: attaching mtd5
[ 2.384804] ubi0: scanning is finished
[ 2.412991] ubi0: volume 0 ("rootfs") re-sized from 56 to 342 LEBs
[ 2.419436] ubi0: attached mtd5 (name "ospi_nand.rootfs", size 89 MiB)
[ 2.425958] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[ 2.432818] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[ 2.439588] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
[ 2.446532] ubi0: good PEBs: 356, bad PEBs: 0, corrupted PEBs: 0
[ 2.452525] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 2.459729] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 405937904
[ 2.468754] ubi0: available PEBs: 0, total reserved PEBs: 356, PEBs reserved for bad PEB handling: 10
[ 2.477989] ubi0: background thread "ubi_bgt0d" started, PID 136
[ 2.489214] ALSA device list:
[ 2.492178] No soundcards found.
[ 2.497521] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 2.503382] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 137

[ 2.667833] UBIFS (ubi0:0): start fixing up free space

[ 2.860045] UBIFS (ubi0:0): free space fixup complete

[ 2.949097] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 2.956480] UBIFS (ubi0:0): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 2.966372] UBIFS (ubi0:0): FS size: 33775616 bytes (32 MiB, 133 LEBs), journal size 5079040 bytes (4 MiB, 20 LEBs)
[ 2.976784] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 2.982605] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 4338E179-D43D-4851-8F3A-B41FCD861675, small LPT model
[ 3.006089] VFS: Mounted root (ubifs filesystem) on device 0:20.
[ 3.024306] devtmpfs: mounted
[ 3.028317] Freeing unused kernel memory: 1856K
[ 3.032940] Run /sbin/init as init process



INIT: version 2.96 booting



hwclock: can't open '/dev/misc/rtc': No such file or directory
Tue May 2 16:30:19 UTC 2023
hwclock: can't open '/dev/misc/rtc': No such file or directory


[ 4.914144] random: dd: uninitialized urandom read (512 bytes read)
Configuring packages on first boot....
(This may take several minutes. Please do not power off the machine.)
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
Removing any system startup links for run-postinsts ...
/etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... [ 5.184166] eth0: mtu greater than device maximum
ifconfig: SIOCSIFMTU: Invalid argument
[ 5.193260] am65-cpsw-nuss c200000.ethernet eth0: configuring for fixed/rgmii-rxid link mode
[ 5.201785] am65-cpsw-nuss c200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting syslogd/klogd: done
root@j721s2-evm:~#
root@j721s2-evm:~#
root@j721s2-evm:~#
root@j721s2-evm:~#
root@j721s2-evm:~#
root@j721s2-evm:~# cd /lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random# insmod rng-core.ko
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random# insmod omap-rng.ko
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random# [ 33.867822] tlv71033: disabling
insmod optee-rng.ko
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random# insmod optee-rng.ko
insmod: ERROR: could not insert module optee-rng.ko: File exists
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/hw_random# cd ../ipmi/
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi# insmod ipmi_msghandler.ko
[ 48.493790] IPMI message handler: version 39.2
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi# insmod ipmi_devintf.ko
[ 52.920222] ipmi device interface
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi# insmod ipmi_si.ko
[ 57.110781] ipmi_si: IPMI System Interface driver
[ 57.115926] ipmi_si: Unable to find any System Interface(s)
insmod: ERROR: could not insert module ipmi_si.ko: No such device
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/char/ipmi# cd ../../remoteproc/
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc# insmod pru_rproc.ko
[ 72.541709] pru_rproc: Unknown symbol pruss_cfg_update (err -2)
[ 72.547655] pru_rproc: Unknown symbol pruss_cfg_read (err -2)
insmod: ERROR: could not insert module pru_rproc.ko: Unknown symbol in module
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc# insmod ti_k3_r5_remoteproc.ko
[ 77.344152] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[ 77.355979] platform 41000000.r5f: configured R5F for IPC-only mode
[ 77.362429] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
[ 77.370809] remoteproc remoteproc0: 41000000.r5f is available
[ 77.376594] remoteproc remoteproc0: attaching to 41000000.r5f
[ 77.382337] remoteproc remoteproc0: rsc table is truncated
[ 77.387813] remoteproc remoteproc0: Failed to process resources: -22
[ 77.394156] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: rproc_add failed, ret = -22
[ 77.402545] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: k3_r5_cluster_rproc_init failed, ret = -22
[ 77.412543] k3_r5_rproc: probe of bus@100000:bus@28380000:r5fss@41000000 failed with error -22
[ 77.422117] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[ 77.433846] platform 5c00000.r5f: configured R5F for IPC-only mode
[ 77.440145] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
[ 77.448679] remoteproc remoteproc1: 5c00000.r5f is available
[ 77.454367] remoteproc remoteproc1: attaching to 5c00000.r5f
[ 77.460110] platform 5c00000.r5f: R5F core initialized in IPC-only mode
[ 77.466719] remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@a2000000
[ 77.475093] remoteproc1#vdev0buffer: registered virtio0 (type 7)
[ 77.481177] remoteproc remoteproc1: remote processor 5c00000.r5f is now attached
[ 77.488604] platform 5d00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[ 77.500343] platform 5d00000.r5f: configured R5F for IPC-only mode
[ 77.506562] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
[ 77.515146] remoteproc remoteproc2: 5d00000.r5f is available
[ 77.520832] remoteproc remoteproc2: attaching to 5d00000.r5f
[ 77.526552] platform 5d00000.r5f: R5F core initialized in IPC-only mode
[ 77.533160] remoteproc2#vdev0buffer: assigned reserved memory node r5f-dma-memory@a4000000
[ 77.541542] remoteproc2#vdev0buffer: registered virtio1 (type 7)
[ 77.547624] remoteproc remoteproc2: remote processor 5d00000.r5f is now attached
[ 77.556426] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 77.563938] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 77.564750] platform 5e00000.r5f: configured R5F for remoteproc mode
[ 77.572213] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 77.578668] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a6000000
[ 77.586561] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 77.594826] remoteproc remoteproc3: 5e00000.r5f is available

[ 77.609956] platform 5f00000.r5f: configured R5F for remoteproc mode
[ 77.612423] remoteproc remoteproc3: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2
[ 77.625690] remoteproc remoteproc3: powering up 5e00000.r5f
[ 77.631323] remoteproc remoteproc3: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2
[ 77.631450] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a7000000
[ 77.640774] remoteproc remoteproc3: request_firmware failed: -2
[ 77.649091] remoteproc remoteproc4: 5f00000.r5f is available
[ 77.660341] remoteproc remoteproc4: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2
[ 77.665420] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 77.670117] remoteproc remoteproc4: powering up 5f00000.r5f
[ 77.677681] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 77.690935] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers[ 77.699099] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
/remoteproc# [ 77.699116] remoteproc remoteproc4: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2

[ 77.723492] remoteproc remoteproc4: request_firmware failed: -2
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc# insmod ti_k3_dsp_remoteproc.ko
[ 84.144042] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@aa000000
[ 84.154298] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
[ 84.160979] remoteproc remoteproc5: 64800000.dsp is available
[ 84.166752] remoteproc remoteproc5: attaching to 64800000.dsp
[ 84.172524] remoteproc remoteproc5: unsupported resource 65538
[ 84.178409] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
[ 84.185019] remoteproc5#vdev0buffer: assigned reserved memory node c71-dma-memory@aa000000
[ 84.193398] remoteproc5#vdev0buffer: registered virtio2 (type 7)
[ 84.199483] remoteproc remoteproc5: remote processor 64800000.dsp is now attached
[ 84.208162] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 84.208199] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71_1-dma-memory@a8000000
[ 84.215660] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 84.232334] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
[ 84.232340] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 84.238990] remoteproc remoteproc6: 65800000.dsp is available
[ 84.247129] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 84.252780] remoteproc remoteproc6: attaching to 65800000.dsp
[ 84.266768] remoteproc remoteproc6: unsupported resource 65538
[ 84.272653] k3-dsp-rproc 65800000.dsp: DSP initialized in IPC-only mode
[ 84.279266] remoteproc6#vdev0buffer: assigned reserved memory node c71_1-dma-memory@a8000000
[ 84.287833] remoteproc6#vdev0buffer: registered virtio3 (type 7)
[ 84.293913] remoteproc remoteproc6: remote processor 65800000.dsp is now attached
[ 84.302405] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 84.310284] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers[ 84.318740] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
/remoteproc# [ 84.332326] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000

root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc# insmod ti_k3_m4_remoteproc.ko
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/remoteproc# cd ../rpmsg
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg# insmod rpmsg_char.ko
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg# insmod virtio_rpmsg_bus.ko
[ 109.983864] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 109.990404] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 109.996097] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 109.998159] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 110.003590] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 110.011518] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 110.017121] virtio_rpmsg_bus virtio3: rpmsg host is online
[ 110.025045] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers[ 110.041258] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
/rpmsg# [ 110.051782] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 110.060533] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 110.068621] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000

root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg# insmod rpmsg_pru.ko
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg# cd ../rpmsg-kdrv/
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv# insmod rpmsg_kdrv_switch.ko
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv# export LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv#
root@j721s2-evm:/lib/modules/5.10.162-g76b3e88d56/kernel/drivers/rpmsg-kdrv# cd
root@j721s2-evm:~# cd /opt/
root@j721s2-evm:/opt# ls -lrt
total 1908
drwxrwxrwx 4 root root 296 Oct 26 2023 ltp
-rwxrwxrwx 1 root root 643 Oct 27 2023 start.sh
-rwxrwxrwx 1 root root 658688 Oct 27 2023 main_renderer_tda4xx_linux_a72_r
-rwxrwxrwx 1 root root 628456 Oct 27 2023 main_mcu_comms_tda4xx_linux_a72_r
-rwxrwxrwx 1 root root 658256 Oct 27 2023 main_app_tda4xx_linux_a72_r
root@j721s2-evm:/opt# ./main_app_tda4xx_linux_a72_r
A72_MAIN Application
Before LPC Fire
LpcInit
MAP Completed
MAP LPC_IPC_HW_SPIN_LOCK_MMR_SIZE
i am in else
initDescriptors
initDescriptors
initDescriptors
initDescriptors
initDescriptors
initDescriptors
initDescriptors
initDescriptors
initDescriptors
rpmsg_char_init 0
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio0.rpmsg_chrdev.-1.13
ERR_LPC_STATIC_INIT_FAILED
Segmentation fault
  • Hi Ramakrishnan,

    "pru_rproc: Unknown symbol pruss_cfg_update (err -2)"

    You seem to have customized your filesystem. You wouldn't normally need to insmod modules specifically, if you have installed the modules properly associated with your kernel version.

    There are no PRUs on J721S2. Your error is because you are trying to insmod the pru_rproc.ko module without the dependent modules loaded first. The pruss.ko module would have to be inserted first.

    "_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio1.rpmsg_chrdev.-1.13"

    This is because the R5F hasn't booted properly to begin, and there are no rpmsg devices published.

    You seem to be using a custom firmware that does not have the required .resource_table section.

    [ 77.370809] remoteproc remoteproc0: 41000000.r5f is available
    [ 77.376594] remoteproc remoteproc0: attaching to 41000000.r5f
    [ 77.382337] remoteproc remoteproc0: rsc table is truncated
    [ 77.387813] remoteproc remoteproc0: Failed to process resources: -22
    [ 77.394156] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: rproc_add failed, ret = -22
    [ 77.402545] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: k3_r5_cluster_rproc_init failed, ret = -22
    [ 77.412543] k3_r5_rproc: probe of bus@100000:bus@28380000:r5fss@41000000 failed with error -22

    Please try booting first the default filesystem that comes with the SDK on your J721S2 EVM.

    regards

    Suman

  • Hi Suman, 

    Thanks for your answers. I will check and revert you back,