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-AM62X: In the SDK 10.00.07.04, memtotal was smaller

Part Number: PROCESSOR-SDK-AM62X

Tool/software:

I used the SDK 09.09.02.01.10 to view free -h for 423.0M, but when I switched to SDK 10.00.07.04, the same driver was used in the system, but in the system, the free -h was shown at 358.0M.please tell me why this happened. And what I should do to recover.

  • Hi Zhaohang,

    What is the output of command "dmesg | grep Memory" in both cases?

  • HI Bin Liu,

    This is the output:

    root@H3:~# dmesg | grep -i Memory
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000094000000, size 128 MiB
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [ 0.000000] OF: reserved mem: 0x000000009cb00000..0x000000009cbfffff (1024 KiB) nomap non-reusable m4f-dma-memory@9cb00000
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [ 0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [ 0.000000] OF: reserved mem: 0x000000009cc00000..0x000000009d9fffff (14336 KiB) nomap non-reusable m4f-memory@9cc00000
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [ 0.000000] OF: reserved mem: 0x000000009da00000..0x000000009dafffff (1024 KiB) nomap non-reusable r5f-dma-memory@9da00000
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [ 0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [ 0.000000] OF: reserved mem: 0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable r5f-memory@9db00000
    [ 0.000000] Early memory node ranges
    [ 0.000000] Memory: 225496K/458752K available (12608K kernel code, 1558K rwdata, 6392K rodata, 4416K init, 533K bss, 102184K reserved, 131072K cma-reserved)
    [ 0.167405] optee: dynamic shared memory is enabled
    [ 0.999239] Freeing unused kernel memory: 4416K

  • Is this log from running SDK9.2 or 10.0? What is the log for the other SDK for comparison?

  • HI Bin Liu,

    I have uploaded two kernel logs. Please help me analyze them. Thank you!

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.58-rt45+ (cotrust@cotrust) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #176 SMP PREEMPT_RT Thu Jul  3 18:09:19 CST 2025
    [    0.000000] Machine model: H3 kernel
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: legacy bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000094000000, size 128 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000094000000..0x000000009bffffff (131072 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) nomap non-reusable tfa@80000000
    [    0.000000] OF: reserved mem: 0x000000009c700000..0x000000009c7fffff (1024 KiB) map non-reusable ramoops@9c700000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c800000..0x000000009cafffff (3072 KiB) nomap non-reusable ipc-memories@9c800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009cb00000..0x000000009cbfffff (1024 KiB) nomap non-reusable m4f-dma-memory@9cb00000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009cc00000..0x000000009d9fffff (14336 KiB) nomap non-reusable m4f-memory@9cc00000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009da00000..0x000000009dafffff (1024 KiB) nomap non-reusable r5f-dma-memory@9da00000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable r5f-memory@9db00000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x000000009bffffff]
    [    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-0x000000008007ffff]
    [    0.000000]   node   0: [mem 0x0000000080080000-0x000000009bffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009bffffff]
    [    0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.5
    [    0.000000] percpu: Embedded 21 pages/cpu s47040 r8192 d30784 u86016
    [    0.000000] pcpu-alloc: s47040 r8192 d30784 u86016 alloc=21*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 loglevel=4 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=e9f74a45-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 112896
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x000000008beed000-0x000000008feed000] (64MB)
    [    0.000000] Memory: 225496K/458752K available (12608K kernel code, 1558K rwdata, 6392K rodata, 4416K init, 533K bss, 102184K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: 0xffff8000800100c4
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    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 @80c00000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080430000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080440000
    [    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.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000269] Console: colour dummy device 80x25
    [    0.000344] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
    [    0.000357] pid_max: default: 32768 minimum: 301
    [    0.000445] LSM: initializing lsm=capability,selinux,integrity
    [    0.000472] SELinux:  Initializing.
    [    0.000678] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
    [    0.000693] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
    [    0.003020] rcu: Hierarchical SRCU implementation.
    [    0.003031] rcu:     Max phase no-delay instances is 400.
    [    0.003396] Platform MSI: msi-controller@1820000 domain created
    [    0.003729] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.003836] EFI services will not be available.
    [    0.004216] smp: Bringing up secondary CPUs ...
    [    0.005045] Detected VIPT I-cache on CPU1
    [    0.005163] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.005183] GICv3: CPU1: using allocated LPI pending table @0x0000000080450000
    [    0.005254] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.006111] Detected VIPT I-cache on CPU2
    [    0.006186] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.006199] GICv3: CPU2: using allocated LPI pending table @0x0000000080460000
    [    0.006238] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.007045] Detected VIPT I-cache on CPU3
    [    0.007111] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.007124] GICv3: CPU3: using allocated LPI pending table @0x0000000080470000
    [    0.007160] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.007231] smp: Brought up 1 node, 4 CPUs
    [    0.007239] SMP: Total of 4 processors activated.
    [    0.007278] CPU features: detected: 32-bit EL0 Support
    [    0.007283] CPU features: detected: CRC32 instructions
    [    0.007343] CPU: All CPU(s) started at EL2
    [    0.007347] alternatives: applying system-wide alternatives
    [    0.008682] devtmpfs: initialized
    [    0.020939] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
    [    0.020976] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.027475] pinctrl core: initialized pinctrl subsystem
    [    0.028111] DMI not present or invalid.
    [    0.028913] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.030169] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
    [    0.030245] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.030332] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.030409] audit: initializing netlink subsys (disabled)
    [    0.030623] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
    [    0.031283] thermal_sys: Registered thermal governor 'step_wise'
    [    0.031600] ASID allocator initialised with 65536 entries
    [    0.036392] /bus@f0000/interrupt-controller@1800000: Fixed dependency cycle(s) with /bus@f0000/interrupt-controller@1800000
    [    0.036647] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@0
    [    0.036669] /bus@f0000/dss@30200000/oldi-txes/oldi@0: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.045096] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@0
    [    0.045136] /bus@f0000/dss@30200000/oldi-txes/oldi@0: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.045284] /bus@f0000/pinctrl@a40000: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.049511] /bus@f0000/dss@30200000/oldi-txes/oldi@0: Fixed dependency cycle(s) with /display
    [    0.049606] /display: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@0
    [    0.050770] Modules: 26352 pages in range for non-PLT usage
    [    0.050779] Modules: 517872 pages in range for PLT usage
    [    0.051649] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.051658] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.051664] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.051667] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.051671] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.051674] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.051679] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.051682] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.053792] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.054530] iommu: Default domain type: Translated
    [    0.054545] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.055092] SCSI subsystem initialized
    [    0.055242] libata version 3.00 loaded.
    [    0.055507] usbcore: registered new interface driver usbfs
    [    0.055548] usbcore: registered new interface driver hub
    [    0.055588] usbcore: registered new device driver usb
    [    0.056266] mc: Linux media interface: v0.10
    [    0.056338] videodev: Linux video capture interface: v2.00
    [    0.056388] pps_core: LinuxPPS API ver. 1 registered
    [    0.056392] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.056409] PTP clock support registered
    [    0.056735] EDAC MC: Ver: 3.0.0
    [    0.057203] scmi_core: SCMI protocol bus registered
    [    0.057501] FPGA manager framework
    [    0.057680] Advanced Linux Sound Architecture Driver Initialized.
    [    0.059190] vgaarb: loaded
    [    0.059648] clocksource: Switched to clocksource arch_sys_counter
    [    0.060034] VFS: Disk quotas dquot_6.6.0
    [    0.060068] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.068881] NET: Registered PF_INET protocol family
    [    0.069098] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.070023] tcp_listen_portaddr_hash hash table entries: 256 (order: 1, 10240 bytes, linear)
    [    0.070103] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.070115] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.070173] TCP bind hash table entries: 4096 (order: 6, 327680 bytes, linear)
    [    0.070738] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.070953] UDP hash table entries: 256 (order: 2, 24576 bytes, linear)
    [    0.071009] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes, linear)
    [    0.071282] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.071873] RPC: Registered named UNIX socket transport module.
    [    0.071880] RPC: Registered udp transport module.
    [    0.071883] RPC: Registered tcp transport module.
    [    0.071886] RPC: Registered tcp-with-tls transport module.
    [    0.071889] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.072959] PCI: CLS 0 bytes, default 64
    [    0.074950] Initialise system trusted keyrings
    [    0.075200] workingset: timestamp_bits=62 max_order=17 bucket_order=0
    [    0.075619] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.075987] NFS: Registering the id_resolver key type
    [    0.076026] Key type id_resolver registered
    [    0.076030] Key type id_legacy registered
    [    0.076052] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.076058] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.107574] Key type asymmetric registered
    [    0.107589] Asymmetric key parser 'x509' registered
    [    0.107715] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.107723] io scheduler mq-deadline registered
    [    0.107729] io scheduler kyber registered
    [    0.107763] io scheduler bfq registered
    [    0.113168] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.114314] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.116715] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.128274] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.148368] loop: module loaded
    [    0.150047] megasas: 07.725.01.00-rc1
    [    0.155848] tun: Universal TUN/TAP device driver, 1.6
    [    0.156212] CAN device driver interface
    [    0.157374] VFIO - User Level meta-driver version: 0.3
    [    0.159898] usbcore: registered new interface driver usb-storage
    [    0.161173] i2c_dev: i2c /dev entries driver
    [    0.162770] sdhci: Secure Digital Host Controller Interface driver
    [    0.162776] sdhci: Copyright(c) Pierre Ossman
    [    0.163048] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.165030] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.165970] usbcore: registered new interface driver usbhid
    [    0.165978] usbhid: USB HID core driver
    [    0.167465] optee: probing for conduit method.
    [    0.167510] optee: revision 4.4 (8f645256efc0dc66)
    [    0.167994] optee: dynamic shared memory is enabled
    [    0.168855] random: crng init done
    [    0.168978] optee: initialized driver
    [    0.170409] MDIO driver initialized with major=237
    [    0.175455] Initializing XFRM netlink socket
    [    0.175523] NET: Registered PF_PACKET protocol family
    [    0.175528] can: controller area network core
    [    0.175610] NET: Registered PF_CAN protocol family
    [    0.175618] can: raw protocol
    [    0.175626] can: broadcast manager protocol
    [    0.175701] can: netlink gateway - max_hops=1
    [    0.175824] 8021q: 802.1Q VLAN Support v1.8
    [    0.175893] Key type dns_resolver registered
    [    0.188885] Loading compiled-in X.509 certificates
    [    0.212677] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    [    0.314782] rtc-pcf8563 0-0051: registered as rtc0
    [    0.316037] rtc-pcf8563 0-0051: setting system clock to 1970-01-13T03:14:42 UTC (1048482)
    [    0.317262] omap_i2c 20000000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.317558] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    0.317806] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    0.318129] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    0.320472] simple-framebuffer chosen:framebuffer@0: Can't parse width property
    [    0.320507] simple-framebuffer: probe of chosen:framebuffer@0 failed with error -22
    [    0.322594] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    0.326325] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    0.330315] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    0.337059] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    0.341283] printk: console [ttyS2] disabled
    [    0.341837] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 235, base_baud = 3000000) is a 8250
    [    0.341938] printk: console [ttyS2] enabled
    [    0.341944] printk: legacy bootconsole [ns16550a0] disabled
    [    0.345097] tidss 30200000.dss: failed to init OLDI: -517
    [    0.350579] m_can_platform 4e08000.can: m_can device registered (irq=0, version=32)
    [    0.352685] m_can_platform 4e18000.can: m_can device registered (irq=0, version=32)
    [    0.354907] m_can_platform 20701000.can: m_can device registered (irq=238, version=32)
    [    0.357878] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    0.357956] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    0.358131] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    0.358150] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020000010
    [    0.358416] xhci-hcd xhci-hcd.0.auto: irq 239, io mem 0x31000000
    [    0.359532] hub 1-0:1.0: USB hub found
    [    0.359584] hub 1-0:1.0: 1 port detected
    [    0.362865] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    0.362944] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    0.363126] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
    [    0.363144] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020000010
    [    0.363377] xhci-hcd xhci-hcd.1.auto: irq 240, io mem 0x31100000
    [    0.364412] hub 2-0:1.0: USB hub found
    [    0.364467] hub 2-0:1.0: 1 port detected
    [    0.366414] input: pwm-beeper as /devices/platform/pwm-beeper/input/input0
    [    0.369210] mmc0: CQHCI version 5.10
    [    0.370198] mmc1: CQHCI version 5.10
    [    0.383981] 2820000.serial: ttyS3 at MMIO 0x2820000 (irq = 423, base_baud = 3000000) is a 8250
    [    0.386277] 2850000.serial: ttyS4 at MMIO 0x2850000 (irq = 424, base_baud = 3000000) is a 8250
    [    0.387386] panel-simple display: supply power not found, using dummy regulator
    [    0.389206] OF: graph: no port node found in /bus@f0000/dss@30200000/oldi-txes/oldi@1/ports
    [    0.390684] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    0.402362] Console: switching to colour frame buffer device 128x48
    [    0.411695] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    0.412405] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    0.424648] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    0.458223] mmc1: new SDXC card at address b37a
    [    0.459420] mmcblk1: mmc1:b37a EZSD1 58.2 GiB
    [    0.462667]  mmcblk1: p1 p2
    [    0.519836] mmc0: Command Queue Engine enabled
    [    0.519898] mmc0: new HS200 MMC card at address 0001
    [    0.520873] mmcblk0: mmc0:0001 88A398 7.28 GiB
    [    0.523336]  mmcblk0: p1
    [    0.524162] mmcblk0boot0: mmc0:0001 88A398 4.00 MiB
    [    0.526170] mmcblk0boot1: mmc0:0001 88A398 4.00 MiB
    [    0.527919] mmcblk0rpmb: mmc0:0001 88A398 4.00 MiB, chardev (238:0)
    [    0.603676] usb 2-1: new high-speed USB device number 2 using xhci-hcd
    [    0.779892] hub 2-1:1.0: USB hub found
    [    0.780019] hub 2-1:1.0: 4 ports detected
    [    0.800057] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    0.834675] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    0.836064] davinci_mdio 8000f00.mdio: phy[3]: device 8000f00.mdio:03, driver unknown
    [    0.836186] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    0.836592] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    0.836630] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    0.836660] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    0.837512] pps pps0: new PPS source ptp0
    [    0.838087] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    0.850773] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    0.858301] input: matrix_keyboard0 as /devices/platform/matrix_keyboard0/input/input1
    [    0.870318] power_cut_probe sucess !
    [    0.871174] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    0.873405] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    0.874335] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    0.874474] clk: Disabling unused clocks
    [    0.874615] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    0.874970] cfg80211: failed to load regulatory.db
    [    0.886275] ALSA device list:
    [    0.886315]   No soundcards found.
    [    1.010830] EXT4-fs (mmcblk1p2): recovery complete
    [    1.012148] EXT4-fs (mmcblk1p2): mounted filesystem 91c9eca8-e4c8-4eb0-b6bf-0d3ea6ee0e1a r/w with ordered data mode. Quota mode: none.
    [    1.012301] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.019589] devtmpfs: mounted
    [    1.024571] Freeing unused kernel memory: 4416K
    [    1.024792] Run /sbin/init as init process
    [    1.024812]   with arguments:
    [    1.024828]     /sbin/init
    [    1.024840]   with environment:
    [    1.024853]     HOME=/
    [    1.024863]     TERM=linux
    [    1.125699] usb 2-1.1: new high-speed USB device number 3 using xhci-hcd
    [    1.374984] EXT4-fs (mmcblk1p2): re-mounted 91c9eca8-e4c8-4eb0-b6bf-0d3ea6ee0e1a r/w. Quota mode: none.
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.83-rt28+ (laizh@laizh-virtual-machine) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #31 SMP PREEMPT_RT Tue Oct 29 14:35:23 CST 2024
    [    0.000000] Machine model: CT 6K12 09.02 SDK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000094000000, size 128 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x000000009bffffff]
    [    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-0x000000008007ffff]
    [    0.000000]   node   0: [mem 0x0000000080080000-0x000000009bffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009bffffff]
    [    0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.5
    [    0.000000] percpu: Embedded 21 pages/cpu s45312 r8192 d32512 u86016
    [    0.000000] pcpu-alloc: s45312 r8192 d32512 u86016 alloc=21*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 112896
    [    0.000000] Kernel command line: console=ttyS2,115200n8 loglevel=4 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=e9f74a45-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 300016K/458752K available (10816K kernel code, 1300K rwdata, 2720K rodata, 2112K init, 412K bss, 27664K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: 0xffff800008413360
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    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 @80c00000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080430000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080440000
    [    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.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000245] Console: colour dummy device 80x25
    [    0.000352] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
    [    0.000363] pid_max: default: 32768 minimum: 301
    [    0.000443] LSM: Security Framework initializing
    [    0.000586] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
    [    0.000599] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
    [    0.002567] rcu: Hierarchical SRCU implementation.
    [    0.002576] rcu:     Max phase no-delay instances is 400.
    [    0.002625] printk: bootconsole [ns16550a0] printing thread started
    [    0.002956] Platform MSI: msi-controller@1820000 domain created
    [    0.003282] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.003384] EFI services will not be available.
    [    0.003677] smp: Bringing up secondary CPUs ...
    [    0.004481] Detected VIPT I-cache on CPU1
    [    0.004601] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.004622] GICv3: CPU1: using allocated LPI pending table @0x0000000080450000
    [    0.004685] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.005509] Detected VIPT I-cache on CPU2
    [    0.005589] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.005604] GICv3: CPU2: using allocated LPI pending table @0x0000000080460000
    [    0.005640] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.006401] Detected VIPT I-cache on CPU3
    [    0.006483] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.006496] GICv3: CPU3: using allocated LPI pending table @0x0000000080470000
    [    0.006526] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.006586] smp: Brought up 1 node, 4 CPUs
    [    0.006593] SMP: Total of 4 processors activated.
    [    0.006613] CPU features: detected: 32-bit EL0 Support
    [    0.006617] CPU features: detected: CRC32 instructions
    [    0.006670] CPU: All CPU(s) started at EL2
    [    0.006673] alternatives: applying system-wide alternatives
    [    0.007881] devtmpfs: initialized
    [    0.019029] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
    [    0.019059] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.026224] pinctrl core: initialized pinctrl subsystem
    [    0.027090] DMI not present or invalid.
    [    0.027695] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.028979] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
    [    0.029193] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.029278] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.029382] audit: initializing netlink subsys (disabled)
    [    0.029523] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1
    [    0.030215] thermal_sys: Registered thermal governor 'step_wise'
    [    0.030434] ASID allocator initialised with 65536 entries
    [    0.042004] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.045753] platform 30200000.dss: Fixed dependency cycle(s) with /display
    [    0.045831] platform display: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.055922] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.055934] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.055939] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.055942] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.055946] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.055950] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.055954] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.055957] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.057944] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.061162] iommu: Default domain type: Translated
    [    0.061175] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.061620] SCSI subsystem initialized
    [    0.061785] libata version 3.00 loaded.
    [    0.062064] usbcore: registered new interface driver usbfs
    [    0.062105] usbcore: registered new interface driver hub
    [    0.062138] usbcore: registered new device driver usb
    [    0.062797] pps_core: LinuxPPS API ver. 1 registered
    [    0.062802] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.062821] PTP clock support registered
    [    0.062977] EDAC MC: Ver: 3.0.0
    [    0.063918] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.064311] FPGA manager framework
    [    0.065880] clocksource: Switched to clocksource arch_sys_counter
    [    0.066154] VFS: Disk quotas dquot_6.6.0
    [    0.066209] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.073486] NET: Registered PF_INET protocol family
    [    0.073753] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.074750] tcp_listen_portaddr_hash hash table entries: 256 (order: 1, 10240 bytes, linear)
    [    0.074785] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.074802] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.074902] TCP bind hash table entries: 4096 (order: 6, 327680 bytes, linear)
    [    0.075384] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.075566] UDP hash table entries: 256 (order: 2, 24576 bytes, linear)
    [    0.075625] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes, linear)
    [    0.075982] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.076508] RPC: Registered named UNIX socket transport module.
    [    0.076513] RPC: Registered udp transport module.
    [    0.076516] RPC: Registered tcp transport module.
    [    0.076519] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.077338] PCI: CLS 0 bytes, default 64
    [    0.079394] Initialise system trusted keyrings
    [    0.079607] workingset: timestamp_bits=62 max_order=17 bucket_order=0
    [    0.085174] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.085743] NFS: Registering the id_resolver key type
    [    0.085790] Key type id_resolver registered
    [    0.085794] Key type id_legacy registered
    [    0.085930] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.085937] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.123119] Key type asymmetric registered
    [    0.123127] Asymmetric key parser 'x509' registered
    [    0.123219] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.123226] io scheduler mq-deadline registered
    [    0.123232] io scheduler kyber registered
    [    0.127781] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.128733] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.130965] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.140218] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.146713] panel-simple display: supply power not found, using dummy regulator
    [    0.155064] loop: module loaded
    [    0.156550] megasas: 07.719.03.00-rc1
    [    0.161164] tun: Universal TUN/TAP device driver, 1.6
    [    0.162131] VFIO - User Level meta-driver version: 0.3
    [    0.163657] usbcore: registered new interface driver usb-storage
    [    0.164715] i2c_dev: i2c /dev entries driver
    [    0.165949] sdhci: Secure Digital Host Controller Interface driver
    [    0.165955] sdhci: Copyright(c) Pierre Ossman
    [    0.166209] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.167631] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.168098] usbcore: registered new interface driver usbhid
    [    0.168104] usbhid: USB HID core driver
    [    0.169544] optee: probing for conduit method.
    [    0.169591] optee: revision 4.4 (8f645256efc0dc66)
    [    0.170010] optee: dynamic shared memory is enabled
    [    0.170478] optee: initialized driver
    [    0.171761] Initializing XFRM netlink socket
    [    0.171816] NET: Registered PF_PACKET protocol family
    [    0.171959] lib80211: common routines for IEEE802.11 drivers
    [    0.171964] lib80211_crypt: registered algorithm 'NULL'
    [    0.171971] lib80211_crypt: registered algorithm 'WEP'
    [    0.171976] lib80211_crypt: registered algorithm 'CCMP'
    [    0.171981] lib80211_crypt: registered algorithm 'TKIP'
    [    0.172032] Key type dns_resolver registered
    [    0.172348] registered taskstats version 1
    [    0.172354] Loading compiled-in X.509 certificates
    [    0.184817] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    [    0.237858] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=20, ret=-19
    [    0.261053] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.262214] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    0.262386] pca953x 1-0022: using AI
    [    0.274018] pca953x 1-0022: failed writing register
    [    0.274237] pca953x: probe of 1-0022 failed with error -121
    [    0.274653] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-121 addr=0e, data=03
    [    0.274661] rtc-pcf8563 1-0051: pcf8563_probe: write error
    [    0.274669] rtc-pcf8563: probe of 1-0051 failed with error -5
    [    0.274706] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.275056] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    0.275222] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    0.275517] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    0.277265] simple-framebuffer chosen:framebuffer@0: Can't parse width property
    [    0.277295] simple-framebuffer: probe of chosen:framebuffer@0 failed with error -22
    [    0.279032] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    0.281670] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    0.284943] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    0.289938] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    0.293203] printk: console [ttyS2] disabled
    [    0.293429] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 237, base_baud = 3000000) is a 8250
    [    0.301062] printk: console [ttyS2] printing thread started
    [    0.301085] printk: console [ttyS2] enabled
    [    0.301091] printk: bootconsole [ns16550a0] disabled
    [    0.301104] printk: bootconsole [ns16550a0] printing thread stopped
    [    0.304836] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    0.308442] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    0.313316] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    0.346898] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    0.348181] davinci_mdio 8000f00.mdio: phy[3]: device 8000f00.mdio:03, driver unknown
    [    0.348258] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    0.348657] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    0.348671] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    0.348677] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    0.349396] pps pps0: new PPS source ptp0
    [    0.349722] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    0.357007] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    0.361883] platform 31000000.usb: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/tps6598x@3f/connector
    [    0.363374] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    0.363408] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    0.363599] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    0.363606] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010
    [    0.363958] xhci-hcd xhci-hcd.0.auto: irq 244, io mem 0x31000000
    [    0.365055] hub 1-0:1.0: USB hub found
    [    0.365091] hub 1-0:1.0: 1 port detected
    [    0.369035] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    0.369080] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    0.369253] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
    [    0.369269] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010
    [    0.369557] xhci-hcd xhci-hcd.1.auto: irq 245, io mem 0x31100000
    [    0.370582] hub 2-0:1.0: USB hub found
    [    0.370621] hub 2-0:1.0: 1 port detected
    [    0.372524] input: pwm-beeper as /devices/platform/pwm-beeper/input/input0
    [    0.375008] mmc0: CQHCI version 5.10
    [    0.376186] mmc1: CQHCI version 5.10
    [    0.387451] input: matrix_keyboard0 as /devices/platform/matrix_keyboard0/input/input1
    [    0.391432] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    0.394995] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present!
    [    0.397674] input: gpio-keys as /devices/platform/gpio-keys/input/input2
    [    0.399350] power_cut_probe sucess !
    [    0.400429] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    0.402603] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    0.403442] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    0.403959] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    0.403976] cfg80211: failed to load regulatory.db
    [    0.408071] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19
    [    0.416634] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    0.416819] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    0.420096] Waiting for root device PARTUUID=e9f74a45-02...
    [    0.462222] mmc1: new SDXC card at address b36e
    [    0.463461] mmcblk1: mmc1:b36e EZSD1 58.2 GiB
    [    0.466365]  mmcblk1: p1 p2
    [    0.510716] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    0.510850] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    0.518067] devtmpfs: mounted
    [    0.520551] Freeing unused kernel memory: 2112K
    [    0.520705] Run /sbin/init as init process
    [    0.520709]   with arguments:
    [    0.520711]     /sbin/init
    [    0.520713]   with environment:
    [    0.520715]     HOME=/
    [    0.520717]     TERM=linux
    

  • Hi Zhaohang,

    The SDK10.01 kernel log has "102184K reserved" in the Memory info, while the SDK 09.02 kernel log has "27664K reserved" in the Memory info. This shows about 74520KB difference.

    Have you modified the reserved-memory node in kernel devicetree file? I see the SDK09.02 kernel dts reserved-memory node has some segments defined but I don't see them get mentioned in the kernel boot log.

  • HI Bin Liu,
    1、I haven't made any changes to these two parts. However, I need to mention that the reserved memory section only requires modification of the device tree in U-Boot on SDK 09.02. But on SDK 10.01, the device trees of U-Boot and Kernel are both present. I don't know why this is the case. Finally, how should I modify it to ensure that the memory of SDK 10.01 and SDK 09.02 remains consistent?
    2、I have uploaded the configurations related to SDK 09.2uboot, SDK 10.01uboot, and SDK 10.01kernel. Could you please help me check what changes are needed for SDK 10.01? Additionally, if possible, please try to allocate more memory for me.
    Thank you!

    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		ramoops@9ca00000 {
    			compatible = "ramoops";
    			reg = <0x00 0x9ca00000 0x00 0x00100000>;
    			record-size = <0x8000>;
    			console-size = <0x8000>;
    			ftrace-size = <0x00>;
    			pmsg-size = <0x8000>;
    		};
    
    		secure_tfa_ddr: tfa@9e780000 {
    			reg = <0x00 0x9e780000 0x00 0x80000>;
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		secure_ddr: optee@9e800000 {
    			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9cb00000 0x00 0x100000>;
    			no-map;
    		};
    
    		mcu_m4fss_memory_region: m4f-memory@9cc00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9cc00000 0x00 0xe00000>;
    			no-map;
    		};
    
    		wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9da00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9da00000 0x00 0x00100000>;
    			no-map;
    		};
    
    		wkup_r5fss0_core0_memory_region: r5f-memory@9db00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9db00000 0x00 0x00c00000>;
    			no-map;
    		};
    	};
    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		ramoops@9c700000 {
    			compatible = "ramoops";
    			reg = <0x00 0x9c700000 0x00 0x00100000>;
    			record-size = <0x8000>;
    			console-size = <0x8000>;
    			ftrace-size = <0x00>;
    			pmsg-size = <0x8000>;
    		};
    
    		rtos_ipc_memory_region: ipc-memories@9c800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9c800000 0x00 0x00300000>;
    			no-map;
    		};
    
    		mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9cb00000 0x00 0x100000>;
    			no-map;
    		};
    
    		mcu_m4fss_memory_region: m4f-memory@9cc00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9cc00000 0x00 0xe00000>;
    			no-map;
    		};
    
    		/* global cma region */
    		linux,cma {
    			compatible = "shared-dma-pool";
    			reusable;
    			size = <0x00 0x8000000>;
    			linux,cma-default;
    		};
    
    		secure_tfa_ddr: tfa@9e780000 {
    			reg = <0x00 0x9e780000 0x00 0x80000>;
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		secure_ddr: optee@9e800000 {
    			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9db00000 0x00 0xc00000>;
    			no-map;
    		};
    	};
    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		ramoops@9c700000 {
    			compatible = "ramoops";
    			reg = <0x00 0x9c700000 0x00 0x00100000>;
    			record-size = <0x8000>;
    			console-size = <0x8000>;
    			ftrace-size = <0x00>;
    			pmsg-size = <0x8000>;
    		};
    
    		rtos_ipc_memory_region: ipc-memories@9c800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9c800000 0x00 0x00300000>;
    			no-map;
    		};
    
    		mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9cb00000 0x00 0x100000>;
    			no-map;
    		};
    
    		mcu_m4fss_memory_region: m4f-memory@9cc00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9cc00000 0x00 0xe00000>;
    			no-map;
    		};
    
    		/* global cma region */
    		linux,cma {
    			compatible = "shared-dma-pool";
    			reusable;
    			size = <0x00 0x8000000>;
    			linux,cma-default;
    		};
    
    		wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9da00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9da00000 0x00 0x00100000>;
    			no-map;
    		};
    
    		wkup_r5fss0_core0_memory_region: r5f-memory@9db00000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9db00000 0x00 0x00c00000>;
    			no-map;
    		};
    
    		secure_tfa_ddr: tfa@9e780000 {
    			reg = <0x00 0x9e780000 0x00 0x80000>;
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		secure_ddr: optee@9e800000 {
    			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
    			alignment = <0x1000>;
    			no-map;
    		};
    
    	};

  • Hi Zhaohang,

    Are you running these on your custom board or AM62x SK EVM?

  • HI Bin Liu,
    I'm running these on the custom board.

  • Okay, let me run both SDK on the SK EVM to see what is happening. I will get back to you later this week.

  • Hi Zhaohang,

    The SDK10.1 kernel log has the following message, which is not in SDK9.2 kernel log.

    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x000000008beed000-0x000000008feed000] (64MB)

    Please add "swiotlb=noforce" into your SDK10.1 kernel bootargs to free this 64MB memory.

  • Hi Zhaohang,

    The result I obtained by using the solution you provided is exactly as I expected.
    Thank you!