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.

TDA4VE-Q1: Problems with creating and starting the tda4ve ubi burning file system

Part Number: TDA4VE-Q1

Tool/software:

hello teams:

sdk update from sdk805 to sdk902 

target sdk version: 09.02.00.05  tisdk-tiny-image-j721s2-evm.tar.xz

hw: tda4ve 

Our Linux kernel and dtb have been upgraded to sdk902, and the rootfs is made for the original sdk805 file system, which can run. Therefore, it can be judged that the kernel has been started normally.

Next we need to upgrade rootfs to the file system package of sdk 902

Due to limited conditions, we need to crop tiny fs and limit the size of the final ubi file to 32M. How do we crop the file system?

The current rootfs.ubi is based on the original tisdk-tiny-image-j721s2-evm.tar.xz and is still very large, 53M

mkfs.ubifs -r rootfs-evm/ -o rootfs.ubifs -F -m 4096 -e 253952 -c 207 -v
mkfs.ubifs
        root:         rootfs-evm/
        min_io_size:  4096
        leb_size:     253952
        max_leb_cnt:  207
        output:       rootfs.ubifs
        jrn_size:     6094848
        reserved:     0
        compr:        lzo
        keyhash:      r5
        fanout:       8
        orph_lebs:    1
        space_fixup:  1
        selinux file: (null)
        super lebs:   1
        master lebs:  2
        log_lebs:     4
        lpt_lebs:     2
        orph_lebs:    1
        main_lebs:    197
        gc lebs:      1
        index lebs:   4
        leb_cnt:      207
        UUID:         4BD7AE16-6F9C-43A2-A9A9-44E0BE25587B
Success!

ubinize -o rootfs.ubi -m 4096 -p 256KiB -s 4096 -O 4096 ubinize.ini -v
ubinize: LEB size:                  253952
ubinize: PEB size:                  262144
ubinize: min. I/O size:             4096
ubinize: sub-page size:             4096
ubinize: VID offset:                4096
ubinize: data offset:               8192
ubinize: UBI image sequence number: 1585830763
ubinize: loaded the ini-file "ubinize.ini"
ubinize: count of sections: 1

ubinize: parsing section "ubifs"
ubinize: mode=ubi, keep parsing
ubinize: volume type: dynamic
ubinize: volume ID: 0
ubinize: volume size was not specified in section "ubifs", assume minimum to fit image "rootfs.ubifs"52568064 bytes (50.1 MiB)
ubinize: volume name: rootfs
ubinize: volume alignment: 1
ubinize: autoresize flags found
ubinize: adding volume 0
ubinize: writing volume 0
ubinize: image file: rootfs.ubifs

ubinize: writing layout volume
ubinize: done

ls -alh
total 127M
drwxr-xr-x  5 l-yzhong8 domain users 4.0K 8月   2 14:10 .
drwxrwxrwx 39 l-yzhong8 domain users 4.0K 8月   1 13:50 ..
drwxr-xr-x 11 l-yzhong8 domain users 4.0K 8月   2 11:34 rootfs1
drwxr-xr-x 18 l-yzhong8 domain users 4.0K 8月   1 14:49 rootfs1-bak
drwxr-xr-x 18 l-yzhong8 domain users 4.0K 3月   9  2018 rootfs-evm
-rw-r--r--  1 l-yzhong8 domain users  53M 8月   2 18:42 rootfs.ubi
-rw-r--r--  1 l-yzhong8 domain users  51M 8月   2 18:42 rootfs.ubifs
-rw-r--r--  1 l-yzhong8 domain users  24M 8月   1 09:49 tisdk-tiny-image-j721s2-evm.tar.xz
-rw-r--r--  1 l-yzhong8 domain users   99 8月   1 14:43 ubinize.ini

So we did the following

rootfs-evm$

rm ./lib/udev/hwdb.bin
rm ./lib/firmware/wave521c_codec_fw.bin
rm ./lib/firmware/cnm/wave521c_codec_fw.bin
rm ./lib/firmware/cadence/mhdp8546.bin
rm ./boot/* -fr

This image has 28M after burning, and it can't run after burning.

set FLASH_TOOL=%FLASH_DIR%\ProcessorSDKSerialFlash_fast.exe

call %FLASH_TOOL% -c %UNIFLASH_COM_PORT% -f %ROOTFS_PATH%\rootfs.ubi -d 0 -o 5FC0000
echo "loading rootfs.ubi "
echo %time%
echo ***************
echo ***************

It gets stuck at the last print of the following log

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 6.1.80 (l-yzhong8@she1-w31865.vnet.valeo.com) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #2 SMP PREEMPT Fri Aug  2 14:59:59 CST 2024
[    0.000000] Machine model: Texas Instruments J721S2 EVM
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] Reserved memory: created CMA memory pool at 0x00000008c8000000, size 896 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-c71_0-memory@aa100000, 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 vision-apps-dma-memory@b4000000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: initialized node vision-apps-shared-memories, compatible id dma-heap-carveout
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000da000000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@da000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 736 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
[    0.000000]   node   0: [mem 0x000000009e800000-0x00000000b0ffffff]
[    0.000000]   node   0: [mem 0x00000000b1000000-0x00000000b1ffffff]
[    0.000000]   node   0: [mem 0x00000000b2000000-0x00000000b9ffffff]
[    0.000000]   node   0: [mem 0x00000000ba000000-0x00000000d9ffffff]
[    0.000000]   node   0: [mem 0x00000000da000000-0x00000000ddffffff]
[    0.000000]   node   0: [mem 0x00000000de000000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008adffffff]
[    0.000000]   node   0: [mem 0x00000008ae000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    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.2
[    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
[    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: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=serial2
[    0.000000]   mtdid=spi-nand0
[    0.000000]   mtdparts=spi-nand0:512k(ospi_nand.tiboot3),512k(ospi_nand.sysfw),10m(ospi_nand.mcu1_0),768k(ospi_nand.atf),19m(ospi_nand.kernel),1m(ospi_nand.dtb),24m(ospi_nand.lateapp1),40m(ospi_nand.lateapp2),32m(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] Unknown kernel command line parameters "ubi part mtdid=spi-nand0", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 1335268K/4194304K available (11776K kernel code, 1262K rwdata, 3836K rodata, 1984K init, 438K bss, 1941532K reserved, 917504K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8ae800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000008ae030000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008ae040000
[    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.000196] Console: colour dummy device 80x25
[    0.000231] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.000236] pid_max: default: 32768 minimum: 301
[    0.000262] LSM: Security Framework initializing
[    0.000323] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000336] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001177] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001183] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.001226] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001228] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.001316] rcu: Hierarchical SRCU implementation.
[    0.001318] rcu:     Max phase no-delay instances is 1000.
[    0.001490] Platform MSI: msi-controller@1820000 domain created
[    0.001630] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.001775] EFI services will not be available.
[    0.001898] smp: Bringing up secondary CPUs ...
[    0.016347] Detected PIPT I-cache on CPU1
[    0.016410] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.016424] GICv3: CPU1: using allocated LPI pending table @0x00000008ae050000
[    0.016457] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.016512] smp: Brought up 1 node, 2 CPUs
[    0.016517] SMP: Total of 2 processors activated.
[    0.016519] CPU features: detected: 32-bit EL0 Support
[    0.016522] CPU features: detected: CRC32 instructions
[    0.016554] CPU: All CPU(s) started at EL2
[    0.016556] alternatives: applying system-wide alternatives
[    0.017487] devtmpfs: initialized
[    0.022798] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.022811] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.034826] pinctrl core: initialized pinctrl subsystem
[    0.035150] DMI not present or invalid.
[    0.035484] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.036121] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.036227] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.036323] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.036363] audit: initializing netlink subsys (disabled)
[    0.036456] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[    0.036662] thermal_sys: Registered thermal governor 'step_wise'
[    0.036667] thermal_sys: Registered thermal governor 'power_allocator'
[    0.036692] cpuidle: using governor menu
[    0.036769] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.036809] ASID allocator initialised with 32768 entries
[    0.043755] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
[    0.045143] KASLR enabled
[    0.047952] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.047957] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.047961] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.047962] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.047964] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.047966] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.047968] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.047970] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.048722] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
[    0.049644] iommu: Default domain type: Translated
[    0.049650] iommu: DMA domain TLB invalidation policy: strict mode
[    0.049787] SCSI subsystem initialized
[    0.049949] usbcore: registered new interface driver usbfs
[    0.049964] usbcore: registered new interface driver hub
[    0.049977] usbcore: registered new device driver usb
[    0.050180] pps_core: LinuxPPS API ver. 1 registered
[    0.050182] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.050187] PTP clock support registered
[    0.050261] EDAC MC: Ver: 3.0.0
[    0.050761] FPGA manager framework
[    0.050800] Advanced Linux Sound Architecture Driver Initialized.
[    0.051222] clocksource: Switched to clocksource arch_sys_counter
[    0.051342] VFS: Disk quotas dquot_6.6.0
[    0.051363] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.054146] Carveout Heap: Exported 512 MiB at 0x00000000ba000000
[    0.054216] NET: Registered PF_INET protocol family
[    0.054447] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.056011] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.056036] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.056043] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.056152] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.056646] TCP: Hash tables configured (established 32768 bind 32768)
[    0.056736] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.056789] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.056927] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.057234] RPC: Registered named UNIX socket transport module.
[    0.057238] RPC: Registered udp transport module.
[    0.057240] RPC: Registered tcp transport module.
[    0.057242] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.057246] NET: Registered PF_XDP protocol family
[    0.057257] PCI: CLS 0 bytes, default 64
[    0.057702] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.058500] Initialise system trusted keyrings
[    0.058620] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.060567] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.060851] NFS: Registering the id_resolver key type
[    0.060874] Key type id_resolver registered
[    0.060877] Key type id_legacy registered
[    0.060905] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.060908] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.080271] Key type asymmetric registered
[    0.080276] Asymmetric key parser 'x509' registered
[    0.080309] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.080400] io scheduler mq-deadline registered
[    0.080404] io scheduler kyber registered
[    0.081668] can_transceiver_phy_probe 109
[    0.081754] can_transceiver_phy_probe 109
[    0.081805] can_transceiver_phy_probe 109
[    0.081856] can_transceiver_phy_probe 109
[    0.081904] can_transceiver_phy_probe 109
[    0.082684] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.082784] pinctrl-single 4301c038.pinctrl: could not get mem_region
[    0.082787] pinctrl-single: probe of 4301c038.pinctrl failed with error -16
[    0.082808] pinctrl-single 4301c068.pinctrl: could not get mem_region
[    0.082810] pinctrl-single: probe of 4301c068.pinctrl failed with error -16
[    0.082836] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
[    0.082965] pinctrl-single 11c000.pinctrl: 72 pins, size 288
[    0.083562] pinctrl-single a40000.pinctrl: 512 pins, size 2048
[    0.087004] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
[    0.091377] loop: module loaded
[    0.091998] megasas: 07.719.03.00-rc1
[    0.093510] tun: Universal TUN/TAP device driver, 1.6
[    0.093634] CAN device driver interface
[    0.094000] VFIO - User Level meta-driver version: 0.3
[    0.094429] usbcore: registered new interface driver usb-storage
[    0.094735] i2c_dev: i2c /dev entries driver
[    0.095433] sdhci: Secure Digital Host Controller Interface driver
[    0.095438] sdhci: Copyright(c) Pierre Ossman
[    0.095566] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.095866] ledtrig-cpu: registered to indicate activity on CPUs
[    0.095958] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.096102] usbcore: registered new interface driver usbhid
[    0.096106] usbhid: USB HID core driver
[    0.096608] optee: probing for conduit method.
[    0.096625] optee: revision 3.19 (d6c5d003)
[    0.096778] optee: dynamic shared memory is enabled
[    0.097003] optee: initialized driver
[    0.097954] Initializing XFRM netlink socket
[    0.097987] NET: Registered PF_PACKET protocol family
[    0.097989] can: controller area network core
[    0.098033] NET: Registered PF_CAN protocol family
[    0.098037] can: raw protocol
[    0.098041] can: broadcast manager protocol
[    0.098046] can: netlink gateway - max_hops=1
[    0.098130] Key type dns_resolver registered
[    0.098354] registered taskstats version 1
[    0.098368] Loading compiled-in X.509 certificates
[    0.104321] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.5.2--v08.05.02 (Chill Capybar')
[    0.141694] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
[    0.141798] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
[    0.141905] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
[    0.142139] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
[    0.142547] ti-udma 311a0000.dma-controller: Number of rings: 48
[    0.143162] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
[    0.144079] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
[    0.144086] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    0.144089] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
[    0.145494] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
[    0.145502] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    0.145505] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
[    0.146024] printk: console [ttyS2] disabled
[    0.146057] 2830000.serial: ttyS2 at MMIO 0x2830000 (irq = 212, base_baud = 3000000) is a 8250
[    1.906284] printk: console [ttyS2] enabled
[    1.910945] omap8250 2840000.serial: failed to get alias
[    1.916520] omap8250 2850000.serial: failed to get alias
[    1.922126] omap8250 2860000.serial: failed to get alias
[    1.927608] omap8250 2870000.serial: failed to get alias
[    1.933035] omap8250 2880000.serial: failed to get alias
[    1.938583] omap8250 2890000.serial: failed to get alias
[    1.944272] cqspi_probe 2483
[    1.947144] cqspi_probe 2502
[    1.950022] cqspi_probe 2511
[    1.952908] cqspi_probe 2521
[    1.955787] cqspi_probe 2530
[    1.958676] cqspi_probe 2541
[    1.961550] cqspi_probe 2546
[    1.964635] cqspi_probe 2554
[    1.967510] cqspi_probe 2563
[    1.970379] cqspi_probe 2571
[    1.973252] cqspi_probe 2610
[    1.976165] cqspi_probe 2631
[    1.979579] m_can_plat_probe 87
[    1.983338] m_can_platform 27c1000.can: m_can device registered (irq=220, version=32)
[    1.991714] m_can_plat_probe 87
[    1.995536] m_can_platform 27d1000.can: m_can device registered (irq=221, version=32)
[    2.004001] m_can_plat_probe 87
[    2.007598] m_can_platform 2681000.can: m_can device registered (irq=222, version=32)
[    2.015929] m_can_plat_probe 87
[    2.019570] m_can_platform 2691000.can: m_can device registered (irq=223, version=32)
[    2.027926] m_can_plat_probe 87
[    2.031562] m_can_platform 26a1000.can: m_can device registered (irq=224, version=32)
[    2.040462] am65_cpsw_nuss_probe 2941
[    2.044309] davinci_mdio_probe 524
[    2.047719] davinci_mdio c200f00.mdio: Configuring MDIO in manual mode
[    2.091223] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.101551] davinci_mdio c200f00.mdio: phy[7]: device c200f00.mdio:07, driver Marvell 88Q2220
[    2.110090] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
[    2.122859] am65-cpsw-nuss c200000.ethernet: Use random MAC address
[    2.129117] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
[    2.136236] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
[    2.142613] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
[    2.153164] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
[    2.163135] mmc0: CQHCI version 5.10
[    2.169555] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
[    2.176511] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
[    2.183538] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
[    2.190804] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
[    2.198279] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    2.203812] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit

The question becomes, how can we adapt the file system of sdk902 and make it boot normally after burning, and limit the size to less than 32M

  • Hi,

    Can you package the new kernel and dtb in to the older ubifs that was working in 8.5? I believe that should work. Can you try that and let me know if that's working?

    Best Regards,

    Keerthy 

  • yes ,package the new kernel and dtb in to the older ubifs that was working in 8.5,working .

  • Hi,

    Did you make any changes in the 8.5 SDK kernel image for the ubifs to work? Have ported the same changes on top 9.2 SDK?

    Best Regards,

    Keerthy 

  • Did you make any changes in the 8.5 SDK kernel image for the ubifs to work?

    yes

    Have ported the same changes on top 9.2 SDK?

    yes 

  • It seems like it's stuck after MMC probing. Can you share the working logs? 

    Best Regards,

    Keerthy 

  • Excuse me, why does an error occur when loading ko at startup?

    insmod rpmsg_char.ko
    
    [  909.390390] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [  909.398344] insmod: vmalloc error: size 16384, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
    [  909.411562] CPU: 1 PID: 281 Comm: insmod Not tainted 6.1.80 #3
    [  909.417835] Hardware name: Texas Instruments J721S2 EVM (DT)
    [  909.423664] Call trace:
    [  909.426098]  dump_backtrace.part.0+0xdc/0xf0
    [  909.430366]  show_stack+0x18/0x30
    [  909.433669]  dump_stack_lvl+0x68/0x84
    [  909.437322]  dump_stack+0x18/0x34
    [  909.440624]  warn_alloc+0x114/0x1a0
    [  909.444104]  __vmalloc_node_range+0x590/0x740
    [  909.448446]  module_alloc+0xec/0x100
    [  909.452011]  load_module+0xa1c/0x1c80
    [  909.455663]  __do_sys_finit_module+0xac/0x104
    [  909.460006]  __arm64_sys_finit_module+0x20/0x30
    [  909.464523]  invoke_syscall+0x48/0x114
    [  909.468260]  el0_svc_common.constprop.0+0xd4/0xfc
    [  909.472950]  do_el0_svc+0x20/0x30
    [  909.476251]  el0_svc+0x28/0xa0
    [  909.479295]  el0t_64_sync_handler+0xbc/0x140
    [  909.483551]  el0t_64_sync+0x18c/0x190
    [  909.487228] Mem-Info:
    [  909.489504] active_anon:54 inactive_anon:3261 isolated_anon:0
    [  909.489504]  active_file:1438 inactive_file:2907 isolated_file:0
    [  909.489504]  unevictable:0 dirty:0 writeback:0
    [  909.489504]  slab_reclaimable:2096 slab_unreclaimable:3930
    [  909.489504]  mapped:1843 shmem:2237 pagetables:85
    [  909.489504]  sec_pagetables:0 bounce:0
    [  909.489504]  kernel_misc_reclaimable:0
    [  909.489504]  free:540613 free_pcp:5504 free_cma:65103
    [  909.528272] Node 0 active_anon:216kB inactive_anon:13044kB active_file:5752kB inactive_file:11628kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:7372kB dirty:0kB writeback:0kB shmem:8948kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB kernel_stack:1120kB pagetables:340kB sec_pagetables:0kB all_unreclaimable? no
    [  909.559063] DMA free:986156kB boost:0kB min:19760kB low:24700kB high:29640kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:2097152kB managed:990132kB mlocked:0kB bounce:0kB free_pcp:2232kB local_pcp:248kB free_cma:260412kB
    [  909.586296] lowmem_reserve[]: 0 0 1234 1234
    [  909.590477] Normal free:1176296kB boost:0kB min:25292kB low:31612kB high:37932kB reserved_highatomic:0KB active_anon:216kB inactive_anon:13044kB active_file:5752kB inactive_file:11628kB unevictable:0kB writepending:0kB present:2097152kB managed:1264624kB mlocked:0kB bounce:0kB free_pcp:19784kB local_pcp:9544kB free_cma:0kB
    [  909.619010] lowmem_reserve[]: 0 0 0 0
    [  909.622670] DMA: 54kB (UMC) 58kB (UMC) 316kB (UMC) 432kB (UMC) 364kB (UM) 3128kB (UM) 3256kB (MC) 5512kB (UM) 31024kB (UM) 42048kB (UMC) 237*4096kB (MC) = 986156kB
    [  909.638143] Normal: 24kB (UM) 7468kB (UM) 9316kB (M) 1832kB (UME) 464kB (ME) 1128kB (M) 2256kB (UM) 2512kB (ME) 11024kB (U) 12048kB (E) 284*4096kB (M) = 1176296kB
    [  909.653530] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
    [  909.662215] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=32768kB
    [  909.670725] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
    [  909.679148] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=64kB
    [  909.687396] 6582 total pagecache pages
    [  909.691134] 0 pages in swap cache
    [  909.694435] Free swap  = 0kB
    [  909.697308] Total swap = 0kB
    [  909.700179] 1048576 pages RAM
    [  909.703139] 0 pages HighMem/MovableOnly
    [  909.706963] 484887 pages reserved
    [  909.710263] 65536 pages cma reserved
    [  909.713828] 0 pages hwpoisoned
    insmod: ERROR: could not insert module rpmsg_char.ko: Cannot allocate memor

  • I find the parttions ,has an error,we face new problem about ko

  • we add vmalloc=400M  at bootargs

     cat /proc/cmdline
    console=ttyS2,115200n8 earlycon=serial2
      mtdid=spi-nand0
      mtdparts=spi-nand0:512k(ospi_nand.tiboot3),512k(ospi_nand.sysfw),10m(ospi_nand.mcu1_0),768k(ospi_nand.atf),19m(ospi_nand.kernel),1m(ospi_nand.dtb),24320k(ospi_nand.lateapp1),256k(ospi_nand.caldata_merge),40m(ospi_nand.lateapp2),32m(ospi_nand.rootfs),256k(ospi_nand.phypattern)
      ubi part ospi_nand.rootfs
      ubi.mtd=ospi_nand.rootfs root=ubi0:rootfs rw rootfstype=ubifs rootwait loglevel=7 vmalloc=400M

    But still can't load ko

    You are in emergency mode. After logging in, type "journalctl -xb" to view
    system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
    to boot into default mode.
    Press Enter for maintenance
    (or press Control-D to continue): [   16.220165] m_can_platform 2691000.can main_mcan15: renamed from can3
    [   16.281513] m_can_platform 26a1000.can main_mcan16: renamed from can4
    [   16.363071] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [   16.366804] m_can_platform 27c1000.can main_mcan12: renamed from can0
    [   16.371308] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [   16.387593] systemd-udevd: vmalloc error: size 16384, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
    [   16.411756] vmap allocation for size 32768 failed: use vmalloc=<size> to increase size
    [   16.423643] CPU: 0 PID: 195 Comm: systemd-udevd Not tainted 6.1.80-ti-g2e423244f8c0 #1
    [   16.431558] Hardware name: Texas Instruments J721S2 EVM (DT)
    [   16.437205] Call trace:
    [   16.439646]  dump_backtrace.part.0+0xdc/0xf0
    [   16.441375] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [   16.443920]  show_stack+0x18/0x30
    [   16.443932]  dump_stack_lvl+0x68/0x84
    [   16.443940]  dump_stack+0x18/0x34
    [   16.443944]  warn_alloc+0x114/0x1a0
    [   16.443951]  __vmalloc_node_range+0x590/0x740
    [   16.443955]  module_alloc+0xec/0x100
    [   16.443961]  load_module+0xa1c/0x1c80
    [   16.443968]  __do_sys_finit_module+0xac/0x104
    [   16.443972]  __arm64_sys_finit_module+0x20/0x30
    [   16.443977]  invoke_syscall+0x48/0x114
    [   16.454882] mtdblock: MTD device 'ospi_nand.sysfw' is NAND, please consider using UBI block devices instead.
    [   16.457252]  el0_svc_common.constprop.0+0xd4/0xfc
    [   16.462002] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [   16.464200]  do_el0_svc+0x20/0x30
    [   16.464206]  el0_svc+0x28/0xa0
    [   16.464213]  el0t_64_sync_handler+0xbc/0x140
    [   16.464218]  el0t_64_sync+0x18c/0x190
    [   16.475324] mtdblock: MTD device 'ospi_nand.mcu1_0' is NAND, please consider using UBI block devices instead.
    [   16.482701] m_can_platform 2681000.can main_mcan14: renamed from can2
    [   16.502152] mtdblock: MTD device 'ospi_nand.atf' is NAND, please consider using UBI block devices instead.
    [   16.523674] mtdblock: MTD device 'ospi_nand.dtb' is NAND, please consider using UBI block devices instead.
    [   16.535440] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [   16.542151] vmap allocation for size 32768 failed: use vmalloc=<size> to increase size
    [   16.555813] Mem-Info:
    [   16.584911] active_anon:8 inactive_anon:5158 isolated_anon:0
    [   16.584911]  active_file:1194 inactive_file:2961 isolated_file:0
    [   16.584911]  unevictable:0 dirty:0 writeback:0
    [   16.584911]  slab_reclaimable:2013 slab_unreclaimable:4085
    [   16.584911]  mapped:1778 shmem:2142 pagetables:364
    [   16.584911]  sec_pagetables:0 bounce:0
    [   16.584911]  kernel_misc_reclaimable:0
    [   16.584911]  free:541552 free_pcp:2231 free_cma:65103
    [   16.625556] mtdblock: MTD device 'ospi_nand.kernel' is NAND, please consider using UBI block devices instead.
    [   16.626321] mtdblock: MTD device 'ospi_nand.caldata_merge' is NAND, please consider using UBI block devices instead.
    [   16.654407] m_can_platform 27d1000.can main_mcan13: renamed from can1
    [   16.663877] mtdblock: MTD device 'ospi_nand.lateapp1' is NAND, please consider using UBI block devices instead.
    [   16.695056] mtdblock: MTD device 'ospi_nand.lateapp2' is NAND, please consider using UBI block devices instead.
    [   16.707575] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [   16.806902] Node 0 active_anon:32kB inactive_anon:19372kB active_file:4860kB inactive_file:11928kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:7364kB dirty:0kB writeback:0kB shmem:8568kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB kernel_stack:1520kB pagetables:1204kB sec_pagetables:0kB all_unreclaimable? no
    [   16.843755] vmap allocation for size 32768 failed: use vmalloc=<size> to increase size
    [   16.853571] vmap allocation for size 32768 failed: use vmalloc=<size> to increase size
    [   16.876078] vmap allocation for size 32768 failed: use vmalloc=<size> to increase size
    [   16.885787] DMA free:986156kB boost:0kB min:19760kB low:24700kB high:29640kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:2097152kB managed:990132kB mlocked:0kB bounce:0kB free_pcp:2232kB local_pcp:1984kB free_cma:260412kB
    [   16.921076] lowmem_reserve[]: 0 0 1234 1234
    [   16.925525] Normal free:1176528kB boost:0kB min:25292kB low:31612kB high:37932kB reserved_highatomic:0KB active_anon:168kB inactive_anon:19644kB active_file:4912kB inactive_file:11924kB unevictable:0kB writepending:0kB present:2097152kB managed:1264624kB mlocked:0kB bounce:0kB free_pcp:12064kB local_pcp:4696kB free_cma:0kB
    [   16.959070] lowmem_reserve[]: 0 0 0 0
    [   16.962989] DMA: 5*4kB (UMC) 5*8kB (UMC) 3*16kB (UMC) 4*32kB (UMC) 3*64kB (UM) 3*128kB (UM) 3*256kB (MC) 5*512kB (UM) 3*1024kB (UM) 4*2048kB (UMC) 237*4096kB (MC) = 986156kB
    [   16.979096] Normal: 2*4kB (UE) 809*8kB (M) 82*16kB (UME) 3*32kB (M) 2*64kB (ME) 1*128kB (M) 2*256kB (ME) 1*512kB (E) 0*1024kB 2*2048kB (UE) 284*4096kB (M) = 1176528kB
    [   16.999598] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
    [   17.013914] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=32768kB
    [   17.063370] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
    [   17.075568] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=64kB
    [   17.092932] 6449 total pagecache pages
    [   17.097152] 0 pages in swap cache
    [   17.102472] Free swap  = 0kB
    [   17.107325] Total swap = 0kB
    [   17.111371] 1048576 pages RAM
    [   17.115576] 0 pages HighMem/MovableOnly
    [   17.120443] 484887 pages reserved
    [   17.126519] 65536 pages cma reserved
    [   17.131279] 0 pages hwpoisoned
    
    ~ # ls
    insmod.sh  phyconfig
    ~ # cd /lib/modules/6.1.80-ti-g2e423244f8c0/
    /lib/modules/6.1.80-ti-g2e423244f8c0 # lsmod
    Module                  Size  Used by
    /lib/modules/6.1.80-ti-g2e423244f8c0 # ls
    kernel                     modules.dep
    modules.alias              modules.dep.bin
    modules.alias.bin          modules.devname
    modules.builtin            modules.order
    modules.builtin.alias.bin  modules.softdep
    modules.builtin.bin        modules.symbols
    modules.builtin.modinfo    modules.symbols.bin
    /lib/modules/6.1.80-ti-g2e423244f8c0 # cd kernel/
    drivers/  samples/
    /lib/modules/6.1.80-ti-g2e423244f8c0 # cd kernel/drivers/remoteproc/
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/drivers/remoteproc # ls
    pru_rproc.ko             ti_k3_dsp_remoteproc.ko  ti_k3_r5_remoteproc.ko
    ti_k3_common.ko          ti_k3_m4_remoteproc.ko
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/drivers/remoteproc # cd ../
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/drivers # cd rpmsg/
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/drivers/rpmsg # ls
    rpmsg_char.ko        rpmsg_ns.ko          virtio_rpmsg_bus.ko
    rpmsg_ctrl.ko        rpmsg_pru.ko
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/drivers/rpmsg # cd ../
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/drivers # l
    sh: l: not found
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/drivers # ls
    remoteproc  rpmsg
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/drivers # cd ../
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel # ls
    drivers  samples
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel # cd samples/
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/samples # ls
    rpmsg
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/samples # cd rpmsg/
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/samples/rpmsg # ls
    rpmsg_client_sample.ko
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/samples/rpmsg # insmod rpmsg_client_
    sample.ko
    [   74.796599] alloc_vmap_area: 2 callbacks suppressed
    [   74.796610] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [   74.809429] warn_alloc: 9 callbacks suppressed
    [   74.809432] insmod: vmalloc error: size 16384, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
    [   74.826387] CPU: 1 PID: 244 Comm: insmod Not tainted 6.1.80-ti-g2e423244f8c0 #1
    [   74.833678] Hardware name: Texas Instruments J721S2 EVM (DT)
    [   74.839319] Call trace:
    [   74.841754]  dump_backtrace.part.0+0xdc/0xf0
    [   74.846022]  show_stack+0x18/0x30
    [   74.849325]  dump_stack_lvl+0x68/0x84
    [   74.852979]  dump_stack+0x18/0x34
    [   74.856282]  warn_alloc+0x114/0x1a0
    [   74.859761]  __vmalloc_node_range+0x590/0x740
    [   74.864105]  module_alloc+0xec/0x100
    [   74.867671]  load_module+0xa1c/0x1c80
    [   74.871324]  __do_sys_finit_module+0xac/0x104
    [   74.875667]  __arm64_sys_finit_module+0x20/0x30
    [   74.880184]  invoke_syscall+0x48/0x114
    [   74.883920]  el0_svc_common.constprop.0+0xd4/0xfc
    [   74.888610]  do_el0_svc+0x20/0x30
    [   74.891913]  el0_svc+0x28/0xa0
    [   74.894957]  el0t_64_sync_handler+0xbc/0x140
    [   74.899214]  el0t_64_sync+0x18c/0x190
    [   74.902889] Mem-Info:
    [   74.905155] active_anon:63 inactive_anon:3560 isolated_anon:0
    [   74.905155]  active_file:1409 inactive_file:2888 isolated_file:0
    [   74.905155]  unevictable:0 dirty:0 writeback:0
    [   74.905155]  slab_reclaimable:2080 slab_unreclaimable:3988
    [   74.905155]  mapped:1838 shmem:2238 pagetables:89
    [   74.905155]  sec_pagetables:0 bounce:0
    [   74.905155]  kernel_misc_reclaimable:0
    [   74.905155]  free:540611 free_pcp:5237 free_cma:65103
    [   74.943944] Node 0 active_anon:252kB inactive_anon:14240kB active_file:5636kB inactive_file:11552kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:7352kB dirty:0kB writeback:0kB shmem:8952kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB kernel_stack:1200kB pagetables:356kB sec_pagetables:0kB all_unreclaimable? no
    [   74.974735] DMA free:986156kB boost:0kB min:19760kB low:24700kB high:29640kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:2097152kB managed:990132kB mlocked:0kB bounce:0kB free_pcp:2232kB local_pcp:1984kB free_cma:260412kB
    [   75.002054] lowmem_reserve[]: 0 0 1234 1234
    [   75.006234] Normal free:1176288kB boost:0kB min:25292kB low:31612kB high:37932kB reserved_highatomic:0KB active_anon:252kB inactive_anon:14240kB active_file:5636kB inactive_file:11552kB unevictable:0kB writepending:0kB present:2097152kB managed:1264624kB mlocked:0kB bounce:0kB free_pcp:18724kB local_pcp:7844kB free_cma:0kB
    [   75.034769] lowmem_reserve[]: 0 0 0 0
    [   75.038423] DMA: 5*4kB (UMC) 5*8kB (UMC) 3*16kB (UMC) 4*32kB (UMC) 3*64kB (UM) 3*128kB (UM) 3*256kB (MC) 5*512kB (UM) 3*1024kB (UM) 4*2048kB (UMC) 237*4096kB (MC) = 986156kB
    [   75.053901] Normal: 2*4kB (UE) 809*8kB (M) 81*16kB (ME) 4*32kB (UM) 2*64kB (ME) 1*128kB (M) 3*256kB (UME) 2*512kB (UE) 1*1024kB (U) 1*2048kB (E) 284*4096kB (M) = 1176288kB
    [   75.069207] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
    [   75.077888] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=32768kB
    [   75.086395] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
    [   75.094818] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=64kB
    [   75.103066] 6538 total pagecache pages
    [   75.106805] 0 pages in swap cache
    [   75.110107] Free swap  = 0kB
    [   75.112980] Total swap = 0kB
    [   75.115852] 1048576 pages RAM
    [   75.118811] 0 pages HighMem/MovableOnly
    [   75.122638] 484887 pages reserved
    [   75.125938] 65536 pages cma reserved
    [   75.129504] 0 pages hwpoisoned
    insmod: ERROR: could not insert module rpmsg_client_sample.ko: Cannot allocate memory
    /lib/modules/6.1.80-ti-g2e423244f8c0/kernel/samples/rpmsg # cat /proc/meminfo
    MemTotal:        2254756 kB
    MemFree:         2162444 kB
    MemAvailable:    2102696 kB
    Buffers:               0 kB
    Cached:            26152 kB
    SwapCached:            0 kB
    Active:             5884 kB
    Inactive:          25712 kB
    Active(anon):        248 kB
    Inactive(anon):    14148 kB
    Active(file):       5636 kB
    Inactive(file):    11564 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          5456 kB
    Mapped:             7288 kB
    Shmem:              8952 kB
    KReclaimable:       8320 kB
    Slab:              24272 kB
    SReclaimable:       8320 kB
    SUnreclaim:        15952 kB
    KernelStack:        1200 kB
    PageTables:          356 kB
    SecPageTables:         0 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:     1127376 kB
    Committed_AS:      33616 kB
    VmallocTotal:   133143199744 kB
    VmallocUsed:        5288 kB
    VmallocChunk:          0 kB
    Percpu:              400 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:         0 kB
    ShmemHugePages:        0 kB
    ShmemPmdMapped:        0 kB
    FileHugePages:         0 kB
    FilePmdMapped:         0 kB
    CmaTotal:         262144 kB
    CmaFree:          260412 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    Hugetlb:               0 kB
    

  • Hi,

    So first of all how big is your OSPI partition where you burn the UBIFS?

    Due to limited conditions, we need to crop tiny fs and limit the size of the final ubi file to 32M. How do we crop the file system?

    I believe the 8.5 SDK had a very minimal tiny FS around 2-3 MB. The 9.2 SDK has a 25MB Tiny FS. Its a custom FS that you want. So how were you loading the modules in 8.5 SDK? Can you share the working 8.5 logs?

    Also once you increased vmalloc the original failing module:  rpmsg_char.ko is inserted & now rpmsg_client_sample.ko is failing. You could try to increase further. Before that I want to understand if in 8.5 case you were able to load the above modules? If yes then please share logs.

    - Keerthy

  • 128M ospi nand flash,but ospi rootfs parttion is 32M

    8.5 sdk nomal log

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.153-g90c3a58fd2 (hzhang37@ce113aab90bd) (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 Wed Jul 24 18:26:56 AKDT 2024
    [    0.000000] Machine model: Texas Instruments J721S2 EVM
    [    0.000000] The version of tidtb_linux.appimage is P2_ADC_AP_R400_RX1_10
    [    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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-c71_0-memory@aa100000, 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 vision-apps-dma-memory@b4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node vision-apps-shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000da000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@da000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 736 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000b0ffffff]
    [    0.000000]   node   0: [mem 0x00000000b1000000-0x00000000b1ffffff]
    [    0.000000]   node   0: [mem 0x00000000b2000000-0x00000000b9ffffff]
    [    0.000000]   node   0: [mem 0x00000000ba000000-0x00000000d9ffffff]
    [    0.000000]   node   0: [mem 0x00000000da000000-0x00000000ddffffff]
    [    0.000000]   node   0: [mem 0x00000000de000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008adffffff]
    [    0.000000]   node   0: [mem 0x00000008ae000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 256 MiB at 0x00000000f0000000
    [    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.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 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: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=serial2
    [    0.000000]   mtdid=spi-nand0
    [    0.000000]   mtdparts=spi-nand0:512k(ospi_nand.tiboot3),512k(ospi_nand.sysfw),10m(ospi_nand.mcu1_0),768k(ospi_nand.atf),19m(ospi_nand.kernel),1m(ospi_nand.dtb),24320k(ospi_nand.lateapp1),256k(ospi_nand.caldata_merge),40m(ospi_nand.lateapp2),32m(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: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000ec000000-0x00000000f0000000] (64MB)
    [    0.000000] Memory: 1991796K/4194304K available (10944K kernel code, 1150K rwdata, 4232K rodata, 1792K init, 430K bss, 1940364K reserved, 262144K 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] 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 @8ae800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008ae030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008ae040000
    [    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.000176] Console: colour dummy device 80x25
    [    0.000207] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000215] pid_max: default: 32768 minimum: 301
    [    0.000267] LSM: Security Framework initializing
    [    0.000310] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.000332] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.001176] rcu: Hierarchical SRCU implementation.
    [    0.001318] Platform MSI: msi-controller@1820000 domain created
    [    0.001437] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.001479] EFI services will not be available.
    [    0.001591] smp: Bringing up secondary CPUs ...
    [    0.016027] Detected PIPT I-cache on CPU1
    [    0.016053] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.016065] GICv3: CPU1: using allocated LPI pending table @0x00000008ae050000
    [    0.016102] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.016158] smp: Brought up 1 node, 2 CPUs
    [    0.016166] SMP: Total of 2 processors activated.
    [    0.016171] CPU features: detected: 32-bit EL0 Support
    [    0.016175] CPU features: detected: CRC32 instructions
    [    0.025521] CPU: All CPU(s) started at EL2
    [    0.025545] alternatives: patching kernel code
    [    0.026145] devtmpfs: initialized
    [    0.030085] KASLR disabled due to lack of seed
    [    0.030188] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.030199] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.033740] pinctrl core: initialized pinctrl subsystem
    [    0.034053] DMI not present or invalid.
    [    0.034400] NET: Registered protocol family 16
    [    0.035148] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.035265] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.035427] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.035649] thermal_sys: Registered thermal governor 'step_wise'
    [    0.035651] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.036162] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.036205] ASID allocator initialised with 32768 entries
    [    0.048399] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.048407] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.048410] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.048414] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.049065] cryptd: max_cpu_qlen set to 1000
    [    0.050716] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.051128] vsys_3v3: supplied by evm_12v0
    [    0.051335] vsys_5v0: supplied by evm_12v0
    [    0.051688] iommu: Default domain type: Translated
    [    0.051844] SCSI subsystem initialized
    [    0.052034] mc: Linux media interface: v0.10
    [    0.052050] videodev: Linux video capture interface: v2.00
    [    0.052078] pps_core: LinuxPPS API ver. 1 registered
    [    0.052082] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.052088] PTP clock support registered
    [    0.052106] EDAC MC: Ver: 3.0.0
    [    0.052676] FPGA manager framework
    [    0.052716] Advanced Linux Sound Architecture Driver Initialized.
    [    0.053162] clocksource: Switched to clocksource arch_sys_counter
    [    0.053258] VFS: Disk quotas dquot_6.6.0
    [    0.053286] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.055786] Carveout Heap: Exported 512 MiB at 0x00000000ba000000
    [    0.055853] NET: Registered protocol family 2
    [    0.056104] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.057201] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.057255] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.057365] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.057586] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.057703] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.057750] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.057869] NET: Registered protocol family 1
    [    0.058187] RPC: Registered named UNIX socket transport module.
    [    0.058192] RPC: Registered udp transport module.
    [    0.058195] RPC: Registered tcp transport module.
    [    0.058198] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.058206] PCI: CLS 0 bytes, default 64
    [    0.058606] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.060588] Initialise system trusted keyrings
    [    0.060682] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.062343] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.062618] NFS: Registering the id_resolver key type
    [    0.062633] Key type id_resolver registered
    [    0.062637] Key type id_legacy registered
    [    0.062667] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.062671] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.062763] 9p: Installing v9fs 9p2000 file system support
    [    0.082924] Key type asymmetric registered
    [    0.082931] Asymmetric key parser 'x509' registered
    [    0.082958] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.082964] io scheduler mq-deadline registered
    [    0.082967] io scheduler kyber registered
    [    0.084449] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.084590] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.086768] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.086804] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.088371] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.093981] brd: module loaded
    [    0.097395] loop: module loaded
    [    0.098075] megasas: 07.714.04.00-rc1
    [    0.099815] tun: Universal TUN/TAP device driver, 1.6
    [    0.099921] CAN device driver interface
    [    0.100282] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.100291] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.100322] sky2: driver version 1.30
    [    0.100812] VFIO - User Level meta-driver version: 0.3
    [    0.101368] i2c /dev entries driver
    [    0.102055] sdhci: Secure Digital Host Controller Interface driver
    [    0.102059] sdhci: Copyright(c) Pierre Ossman
    [    0.102210] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.102647] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.102832] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.103517] optee: probing for conduit method.
    [    0.103538] optee: revision 3.19 (d6c5d003)
    [    0.103683] optee: dynamic shared memory is enabled
    [    0.103903] optee: initialized driver
    [    0.104882] NET: Registered protocol family 17
    [    0.104895] can: controller area network core
    [    0.104940] NET: Registered protocol family 29
    [    0.104945] can: raw protocol
    [    0.104950] can: broadcast manager protocol
    [    0.104956] can: netlink gateway - max_hops=1
    [    0.105053] 9pnet: Installing 9P2000 support
    [    0.105092] Key type dns_resolver registered
    [    0.105255] Loading compiled-in X.509 certificates
    [    0.108185] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.108303] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.111361] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.5.2--v08.05.02 (Chill Capybar')
    [    0.135629] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.136166] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.136946] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.137047] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    0.137136] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    0.137336] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    0.138118] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    0.138124] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    0.138128] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.139544] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    0.139551] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    0.139555] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.139787] omap8250 40a00000.serial: failed to get alias
    [    0.140374] printk: console [ttyS2] disabled
    [    0.140410] 2830000.serial: ttyS2 at MMIO 0x2830000 (irq = 19, base_baud = 3000000) is a 8250
    [    1.754702] printk: console [ttyS2] enabled
    [    1.759249] omap8250 2880000.serial: failed to get alias
    [    1.772497] m_can_platform 27c1000.can: m_can device registered (irq=25, version=32)
    [    1.782504] m_can_platform 27d1000.can: m_can device registered (irq=27, version=32)
    [    1.792402] m_can_platform 2681000.can: m_can device registered (irq=29, version=32)
    [    1.802237] m_can_platform 2691000.can: m_can device registered (irq=31, version=32)
    [    1.812076] m_can_platform 26a1000.can: m_can device registered (irq=33, version=32)
    [    1.820681] davinci_mdio c200f00.mdio: Configuring MDIO in manual mode
    [    1.865163] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.875508] davinci_mdio c200f00.mdio: phy[7]: device c200f00.mdio:07, driver Marvell 88Q2220
    [    1.884076] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.896837] am65-cpsw-nuss c200000.ethernet: Use random MAC address
    [    1.903095] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
    [    1.910214] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
    [    1.916615] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.926852] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    2.036972] mmc0: CQHCI version 5.10
    [    2.043642] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    2.050762] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    2.057955] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    2.064902] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    2.072177] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.080804] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.089389] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    2.103124] spi-nand spi6.0: Winbond SPI NAND was found.
    [    2.108439] spi-nand spi6.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    2.116720] 11 fixed-partitions partitions found on MTD device spi6.0
    [    2.123148] Creating 11 MTD partitions on "spi6.0":
    [    2.128013] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [    2.134667] 0x000000080000-0x000000100000 : "ospi_nand.sysfw"
    [    2.141023] 0x000000100000-0x000000b00000 : "ospi_nand.mcu1_0"
    [    2.150113] 0x000000b00000-0x000000bc0000 : "ospi_nand.atf"
    [    2.156333] 0x000000bc0000-0x000001ec0000 : "ospi_nand.kernel"
    [    2.162337] mmc0: Command Queue Engine enabled
    [    2.166794] mmc0: new high speed MMC card at address 0001
    [    2.172572] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
    [    2.177259] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
    [    2.183281] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
    [    2.189287] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (237:0)
    [    2.197432]  mmcblk0: p1 p2
    [    2.204775] 0x000001ec0000-0x000001fc0000 : "ospi_nand.dtb"
    [    2.211098] 0x000001fc0000-0x000003780000 : "ospi_nand.lateapp1"
    [    2.224169] 0x000003780000-0x0000037c0000 : "ospi_nand.caldata_merge"
    [    2.231103] 0x0000037c0000-0x000005fc0000 : "ospi_nand.lateapp2"
    [    2.248737] 0x000005fc0000-0x000007fc0000 : "ospi_nand.rootfs"
    [    2.263990] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    2.270959] debugfs: Directory 'pd:39' with parent 'pm_genpd' already present!
    [    2.278245] debugfs: Directory 'pd:38' with parent 'pm_genpd' already present!
    [    2.285955] debugfs: Directory 'pd:276' with parent 'pm_genpd' already present!
    [    2.293626] debugfs: Directory 'pd:357' with parent 'pm_genpd' already present!
    [    2.300973] debugfs: Directory 'pd:154' with parent 'pm_genpd' already present!
    [    2.308720] ubi0: attaching mtd9
    [    2.350877] ubi0: scanning is finished
    [    2.365662] ubi0: volume 0 ("rootfs") re-sized from 101 to 114 LEBs
    [    2.372179] ubi0: attached mtd9 (name "ospi_nand.rootfs", size 32 MiB)
    [    2.378707] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
    [    2.385566] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
    [    2.392340] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
    [    2.399285] ubi0: good PEBs: 128, bad PEBs: 0, corrupted PEBs: 0
    [    2.405276] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.412480] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1622106731
    [    2.421592] ubi0: available PEBs: 0, total reserved PEBs: 128, PEBs reserved for bad PEB handling: 10
    [    2.430796] ubi0: background thread "ubi_bgt0d" started, PID 131
    [    2.441141] ALSA device list:
    [    2.444106]   No soundcards found.
    [    2.448948] UBIFS (ubi0:0): Mounting in unauthenticated mode
    [    2.454711] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 132
    [    2.485506] UBIFS (ubi0:0): start fixing up free space
    [    2.554176] UBIFS (ubi0:0): free space fixup complete
    [    2.573554] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    2.580941] UBIFS (ubi0:0): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
    [    2.590834] UBIFS (ubi0:0): FS size: 26411008 bytes (25 MiB, 104 LEBs), journal size 4825088 bytes (4 MiB, 19 LEBs)
    [    2.601247] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    2.607067] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 7C146E2A-044A-40A4-AFAD-611D5ACD654B, small LPT model
    [    2.619438] VFS: Mounted root (ubifs filesystem) on device 0:20.
    [    2.626331] devtmpfs: mounted
    [    2.630013] Freeing unused kernel memory: 1792K
    [    2.634654] Run /sbin/init as init process
    INIT: version 2.96 booting
    [    3.340757] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
    [    3.352303] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    3.358998] remoteproc remoteproc0: 64800000.dsp is available
    [    3.364777] remoteproc remoteproc0: attaching to 64800000.dsp
    [    3.370546] remoteproc remoteproc0: unsupported resource 65538
    [    3.376428] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    3.383035]  remoteproc0#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
    [    3.392668] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    3.398194] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x14
    [    3.401222]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    3.405476] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xa
    [    3.411397] remoteproc remoteproc0: remote processor 64800000.dsp is now attached
    [    3.418573] k3-dsp-rproc 65800000.dsp: assigned reserved memory node vision-apps-c71_1-dma-memory@a8000000
    [    3.426018] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    3.442589] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
    [    3.442685] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xf
    [    3.449215] remoteproc remoteproc1: 65800000.dsp is available
    [    3.456308] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x10
    [    3.461977] remoteproc remoteproc1: attaching to 65800000.dsp
    [    3.474837] remoteproc remoteproc1: unsupported resource 65538
    [    3.480697] k3-dsp-rproc 65800000.dsp: DSP initialized in IPC-only mode
    [    3.487303]  remoteproc1#vdev0buffer: assigned reserved memory node vision-apps-c71_1-dma-memory@a8000000
    [    3.497096] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    3.499119] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x14
    [    3.502610]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    3.509819] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xa
    [    3.515779] remoteproc remoteproc1: remote processor 65800000.dsp is now attached
    [    3.530547] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    3.537696] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xf
    [    3.544853] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x10
    [    3.555343] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: MCU cluster requires both R5F cores to be enabled but num_cores is set to = 1
    [    3.568785] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    3.580749] platform 41000000.r5f: configured R5F for IPC-only mode
    [    3.587109] platform 41000000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    3.596506] remoteproc remoteproc2: 41000000.r5f is available
    [    3.602301] remoteproc remoteproc2: attaching to 41000000.r5f
    [    3.608126] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    3.614826]  remoteproc2#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    3.624452] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    3.629959]  remoteproc2#vdev0buffer: registered virtio2 (type 7)
    [    3.631564] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x14
    [    3.636039] remoteproc remoteproc2: remote processor 41000000.r5f is now attached
    [    3.650798] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    3.658018] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    3.669903] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    3.676152] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    3.685707] remoteproc remoteproc3: 5c00000.r5f is available
    [    3.691382] remoteproc remoteproc3: attaching to 5c00000.r5f
    [    3.697111] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    3.703717]  remoteproc3#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    3.713336] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    3.716818] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x14
    [    3.718835]  remoteproc3#vdev0buffer: registered virtio3 (type 7)
    [    3.726035] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xa
    [    3.732014] remoteproc remoteproc3: remote processor 5c00000.r5f is now attached
    [    3.739118] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xe
    [    3.753461] platform 5d00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    3.753541] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xf
    [    3.772206] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x10
    [    3.779336] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    3.779409] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    3.795055] remoteproc remoteproc4: 5d00000.r5f is available
    [    3.800732] remoteproc remoteproc4: attaching to 5d00000.r5f
    [    3.806427] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    3.813051]  remoteproc4#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    3.822641] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    3.826479] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x11
    [    3.828183]  remoteproc4#vdev0buffer: registered virtio4 (type 7)
    [    3.835490] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x13
    [    3.841355] remoteproc remoteproc4: remote processor 5d00000.r5f is now attached
    [    3.856037] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x12
    [    3.863284] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x17
    [    3.870507] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    3.877724] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x11
    [    3.884854] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    3.884940] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x13
    [    3.898392] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x12
    [    3.905597] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x17
    [    3.912810] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x15
    [    3.912848] platform 5e00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a6000000
    [    3.920030] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x11
    [    3.929356] remoteproc remoteproc5: 5e00000.r5f is available
    [    3.936174] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x13
    [    3.948985] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x12
    [    3.956229] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x17
    [    3.963359] platform 5f00000.r5f: configured R5F for remoteproc mode
    [    3.969821] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    3.977059] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x14
    [    3.984264] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2
    [    3.984279] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xa
    [    3.993698] platform 5f00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a7000000
    [    4.000748] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xe
    [    4.009700] remoteproc remoteproc5: powering up 5e00000.r5f
    [    4.009714] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2
    [    4.016857] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xf
    [    4.022685] remoteproc remoteproc6: 5f00000.r5f is available
    [    4.031762] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x10
    [    4.038702] remoteproc remoteproc5: request_firmware failed: -2
    [    4.044426] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x11
    [    4.051516] remoteproc remoteproc6: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2
    [    4.057465] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x13
    [    4.064952] remoteproc remoteproc6: powering up 5f00000.r5f
    [    4.074008] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x12
    [    4.081681] remoteproc remoteproc6: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2
    [    4.087038] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x17
    [    4.094720] remoteproc remoteproc6: request_firmware failed: -2
    [    4.103287] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x15
    insmod: ERROR: could not load module /lib/modules/5.10.153-g90c3a58fd2/extra/cryptodev.ko: No such file or directory
    [    4.273669] pvrsrvkm: loading out-of-tree module taints kernel.
    [    4.287078] PVR_K:  475: Read BVNC 36.53.104.796 from HW device registers
    [    4.293877] PVR_K:  475: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    4.302531] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 0
    mkdir: can't create directory '/tmp/wayland': No such file or directory
    openvt: can't find open VT
    Couldn't start Weston automatically.
    Loaded PowerVR consumer services.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Fri Jun 16 16:59:58 UTC 2023
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    [    4.544855] random: dd: uninitialized urandom read (512 bytes read)
    INIT: Entering runlevel: 5
    Configuring network interfaces... [    4.619190] am65-cpsw-nuss c200000.ethernet: down msc_sl e0000000 tmo 0
    [    4.628619] am65-cpsw-nuss c200000.ethernet: set new flow-id-base 82
    [    4.637542] Marvell 88Q2220 c200f00.mdio:07: [m88q222x_soft_reset] called
    [    4.646220] Marvell 88Q2220 c200f00.mdio:07: buf 1
    [    4.651285] Marvell 88Q2220 c200f00.mdio:07: current speed is 1000
    [    4.671318] Marvell 88Q2220 c200f00.mdio:07: slave
    [    4.676378] Marvell 88Q2220 c200f00.mdio:07: speed 100
    [    4.741952] am65-cpsw-nuss c200000.ethernet eth0: PHY [c200f00.mdio:07] driver [Marvell 88Q2220] (irq=POLL)
    [    4.751679] am65-cpsw-nuss c200000.ethernet eth0: configuring for phy/rgmii-id link mode
    [    4.759907] Marvell 88Q2220 c200f00.mdio:07: [m88q222x_config_aneg] called
    udhcpc: started, v1.31.1
    udhcpc: sending discover
    udhcpc: sending discover
    
    
    
    
    
    
    
    
    
    
    udhcpc: sending discover
    
    
    
    
    
    
    
    
    
    udhcpc: no lease, forking to background
    done.
    Starting Dropbear SSH server: Waiting for kernel randomness to be initialised...
    [   14.429165] random: crng init done
    Generating 2048 bit rsa key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCu+ond4NocGxSFPnOxTnjwFc3/k3kmff9a8NfxL6PXgxslvSWge3F8SjuL1/XkN59DIkuXbuXuZqXuJBiPaoctmcT2fMrsD7jyENRVNFqX5Q18OI2aJxQ1ARviXGLtxT9eVpO9nNrscOn+Hu25q4yY9+Z38tPV7JRqjQeEfN+4q8ms+fabACLOAHQC0HPeO5tOCze0sRHXblVoUDgwHJFLUnRbB2KpLtNeXKtf9gtrN6gSKcVk78TwJCU3aVMj6OBp6c3vH25WyCSpb2aBU1q4Trdwna7bmgQwrc4k7h+dEfIPmJUHRQ+JxygCkrvyeIfcrm449ctc3TkPnhYuu1CD root@j721s2-evm
    Fingerprint: SHA256:tDWH8ppa44vm3phTNdpvWVrbCS5QiRgT+D0lADRTfBA
    dropbear.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Starting syslogd/klogd: done
    [   14.777374] EXT4-fs (mmcblk0p2): recovery complete
    [   14.782512] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    userscript.sh not found in /opt, skipping execution.
    Startup init-app.sh script executed successfully.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project j721s2-evm /dev/ttyS2
    
    Arago 2021.09 j721s2-evm /dev/ttyS2
    
    j721s2-evm login: root
    root@j721s2-evm:/opt#
    root@j721s2-evm:/opt#
    root@j721s2-evm:/opt#
    root@j721s2-evm:/opt#
    root@j721s2-evm:/opt# lsmod
    Module                  Size  Used by
    pvrsrvkm             1171456  0
    ti_k3_r5_remoteproc    28672  0
    ti_k3_dsp_remoteproc    20480  0
    rpmsg_kdrv_switch      20480  0
    virtio_rpmsg_bus       24576  0
    rpmsg_pru              16384  0
    rpmsg_char             20480  0
    root@j721s2-evm:/opt# ls -alh
    drwxr-xr-x    3 root     root        4.0K Jun 16  2023 .
    drwxrwxr-x   18 1000     1000        1.3K Jul 24  2024 ..
    -rwxr-xr-x    1 root     root           0 Jun 16  2023 19
    drwx--x--x    2 root     root       16.0K Jun 16 17:13 lost+found
    root@j721s2-evm:/opt# uname -a
    Linux j721s2-evm 5.10.153-g90c3a58fd2 #1 SMP PREEMPT Wed Jul 24 18:26:56 AKDT 2024 aarch64 GNU/Linux
    root@j721s2-evm:/opt# ifconfig
    can3      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
              UP RUNNING NOARP  MTU:72  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:31
    
    can4      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
              UP RUNNING NOARP  MTU:72  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:33
    
    eth0      Link encap:Ethernet  HWaddr DA:BB:18:CC:43:B9
              inet addr:192.168.1.12  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@j721s2-evm:/opt# ls /lib/modules/5.10.153-g90c3a58fd2/
    build                      modules.alias              modules.builtin.alias.bin  modules.dep                modules.order              modules.symbols.bin
    extra                      modules.alias.bin          modules.builtin.bin        modules.dep.bin            modules.softdep            source
    kernel                     modules.builtin            modules.builtin.modinfo    modules.devname            modules.symbols
    root@j721s2-evm:/opt#
    

  • 1 use below command to make image ,and flash into nandflash

    sudo mkfs.ubifs -r tisdk-tiny-image-j721s2-evm -o rootfs.ubifs -F -m 4096 -e 253952 -c 132 -v


    sudo ubinize -o rootfs.ubi -m 4096 -p 256KiB -s 4096 -O 4096 ubinize.ini -v

    2

    after burnning ,boot the machine,the check the space

    df -h
    Filesystem                Size      Used Available Use% Mounted on
    ubi0:rootfs              22.3M     22.3M         0 100% /
    devtmpfs                972.0M         0    972.0M   0% /dev
    tmpfs                     1.1G         0      1.1G   0% /dev/shm
    tmpfs                   440.4M      8.8M    431.6M   2% /run
    tmpfs                     4.0M         0      4.0M   0% /sys/fs/cgroup
    tmpfs                     1.1G         0      1.1G   0% /tmp
    tmpfs                    50.0M         0     50.0M   0% /var/volatile
    ~ # mk
    mkdir             mkfifo            mknod             mktemp
    mkdosfs           mkfs.minix        mkpasswd
    mke2fs            mkhomedir_helper  mkswap

    22.3M     22.3M 
    After burning the ubi file, we found that the available space was 0. When we touch to create a file, we found that it printed

    no space left on device
  • Hi,

    This is because the earlier version was < 3 MB. The current tisdk-tiny-image-j721s2-evm is bigger 20+MB. Can you make a bigger UBIFS file?
    That gives more space? I do not have a way to cut down the size of current version. Are you looking for something specific in the newer tiny fs?

    - Keerthy

  • You may have misunderstood.

    The original tisdk-tiny-image-j721s2-evm is 50M in size, but our file system only has 32M of space.

    The 23.3M in the df -h above is the size after we cropped it in the native tiny fs.

    Do you know why the available space is 0? The method of making a ubi image for this file system is the same as that of sdk805, but the available space of sdk805 is not 0

  • Hi, 

    I believe the other thread on insmod is also related to this. Is the size issue fixed with the kernel image alignment?

    If not as requested can you share steps to reproduce the issue on 9.x SDK?

    Regards, 

    Keerthy 

  • The problem of ko not being able to load has been solved. The new problem is that the ubi file system space is 0, which has blocked our project process.

  • Hi,

    Apologies for the long silence on this.

    How about copying the /lib/modules from 9.2 SDK to 8.5 folder, also the boot folder from 8.5 to 9.2 SDK & then preparing a ubifs?
    Is this tried out?

    - Keerthy

  • We reduced the package size to 22M and the package size to 18M, and the effect seems to be close to sdk805.

  • Okay. I am closing this thread if the issue is taken care of by reducing the FS size.

    One question: What is the end use case as the file system is so small how can we run any real world ADAS use case with 32 MB file system?

    - Keerthy

  • the adas data store other devices which is mounted on system