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.

AM6442: Create yocto rootfs

Part Number: AM6442
Other Parts Discussed in Thread: SK-AM64B

Tool/software:

 hi sir :

     

I have installed ti-processor-sdk-linux-am64xx-evm-10_01_10_04-Linux-x86-Install.bin and successfully run make all. I used the script bin/create-sdcard.sh to create an SD card image and wrote it using the SDK's default build files. Now, I want to use ​​custom boot/rootfs tar packages or directories​​, but the SDK does not seem to include the Yocto-based rootfs source code.




After running make all, I did not find any rootfs build process or generated images. How can I resolve this?

root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04# ls
bin            example-applications  k3r5-devkit  linux-devkit    lmbench.tgz  makerules  rt-tests     Rules.make  stress-ng
board-support  filesystem            licenses     lmbench-3.0-a9  Makefile     manifest   rt-test.tar  setup.sh
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04# cd bin
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04/bin# ls
add-to-group.sh  create-sdcard.sh  setup-host-check.sh  setup-package-install.sh  setup-tftp.sh       sysfw_trace_parser.py
common.sh        Ethernet_flash    setup-minicom.sh     setup-targetfs-nfs.sh     setup-uboot-env.sh  sysfw_trace_rules.json
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04/bin# cd ..
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04# ls
bin            example-applications  k3r5-devkit  linux-devkit    lmbench.tgz  makerules  rt-tests     Rules.make  stress-ng
board-support  filesystem            licenses     lmbench-3.0-a9  Makefile     manifest   rt-test.tar  setup.sh
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04# 
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04# 
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04# 
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04# 
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04# cd filesystem/
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04/filesystem# ls
am64xx-evm
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04/filesystem# cd am64xx-evm/
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04/filesystem/am64xx-evm# ls
tisdk-base-image-rt-am64xx-evm.rootfs.tar.xz  tisdk-default-image-rt-am64xx-evm.rootfs.tar.xz  tisdk-thinlinux-image-rt-am64xx-evm.rootfs.tar.xz
root@master:/opt/ti-processor-sdk-linux-rt-am64xx-evm-10.01.10.04/filesystem/am64xx-evm# 

  • Hi Pingan,

    I have installed ti-processor-sdk-linux-am64xx-evm-10_01_10_04-Linux-x86-Install.bin and successfully run make al

    If you starting a new project, you should use our most current SDK, which right now is v11.0, to benefit from latest Linux Kernel, U-Boot, drivers, firmwares, demos, and so on. See https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-RT-AM64X

    Now, I want to use ​​custom boot/rootfs tar packages or directories​​, but the SDK does not seem to include the Yocto-based rootfs source code

    The Yocto environment is not part of the SDK installer, but is getting setup directly from source trees pulled in from the Internet via `git clone`. The documentation has all the details here: https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM64X/11_00_09_04/exports/docs/linux/Overview_Building_the_SDK.html

    Regards, Andreas

  • I am using "Create SD Card with custom images" and selected "Enter in custom boot and rootfs file paths". I entered the Boot Partition path, but I don’t know how to choose the ROOT path. I selected the option: "Provide a directory that contains the kernel image and device tree files to be used" because I want to use my own kernel image and device tree files. However, how should this path be configured? Do I need to place all the compiled device tree images and kernel images from the SDK into a single folder? Additionally, after completing this option, it asks me to select the rootfs path again. Can I use the default rootfs file from the system’s built-in filesystem?

  • I selected the option: "Provide a directory that contains the kernel image and device tree files to be used" because I want to use my own kernel image and device tree files. However, how should this path be configured? Do I need to place all the compiled device tree images and kernel images from the SDK into a single folder? Additionally, after completing this option, it asks me to select the rootfs path again.

    I'm not too familiar with the exact operation of the script when applying such customizations but you can just look at its source code and you'll see exactly where it will be trying to pull files from for Kernel, DTB, and rootfs in accordance with the options that are selected.

    Another (more straightforward way I think) would be to just program an initial SD card image with everything the SDK provides; and then mount this image (via SD card reader) and replace the files you want to replace. Note that if you replace the kernel you typically also want to update the kernel modules in sync with it to maintain compatibility (otherwise none of the kernel modules will get loaded).

    I still think the best is to use Yocto to just generate a new ready-to-flash WIC image directly. This also has the advantage that all your changes are immediately ready to re-build and re-deploy any time in a repeatable and organized fashion (rather than relying on some scripting and manual command selections etc.)

    Can I use the default rootfs file from the system’s built-in filesystem?

    Yes that shouldn't be an issue.

    Regards, Andreas

  • Thank you for your response. The issue with writing to the SD card using the script has been resolved. However, after flashing my self-compiled device tree (DTB) and kernel files, I encountered the following error.

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.58-rt45 (root@master) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT_RT Tue Apr 29 11:25:46 CST 2025
    [    0.000000] Machine model: Texas Instruments AM642 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: legacy bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    0 I/  TC 0:. 0Se0c00o0n0d]a rOyF :CP rU e1s erivneitd iamelimz: i0ngx0
    n00I0/0T0C:0a 3S0e0c0o0n0d0a.r.y 0Cx0P0U 0010 s00w0iat3ch0fifnfgf ft o( 1no02r4ma Kli Bw)o rlnodm abopo nto
     -reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable m4f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable m4f-memory@a4100000
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a57fffff (8192 KiB) nomap non-reusable ipc-memories@a5000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    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-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a57fffff]
    [    0.000000]   node   0: [mem 0x00000000a5800000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fbe00000 on node -1
    [    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 s46656 r8192 d31168 u86016
    [    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 earlycon=ns16550a,mmio32,0x02800000 omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=0e055cfd-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000f7c00000-0x00000000fbc00000] (64MB)
    [    0.000000] Memory: 1829764K/2097152K available (10560K kernel code, 1208K rwdata, 2548K rodata, 2176K init, 527K bss, 234620K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    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=2
    [    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: 0xffff8000800100c0
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000
    [    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 @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000
    [    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.000288] Console: colour dummy device 80x25
    [    0.000354] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
    [    0.000367] pid_max: default: 32768 minimum: 301
    [    0.000462] LSM: initializing lsm=capability,selinux,integrity
    [    0.000489] SELinux:  Initializing.
    [    0.000700] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.000725] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.009300] rcu: Hierarchical SRCU implementation.
    [    0.009313] rcu:     Max phase no-delay instances is 400.
    [    0.046644] Platform MSI: msi-controller@1820000 domain created
    [    0.046987] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.047133] EFI services will not be available.
    [    0.123081] smp: Bringing up secondary CPUs ...
    [    0.263745] Detected VIPT I-cache on CPU1
    [    0.263856] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
    [    0.263875] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000
    [    0.263935] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.312548] smp: Brought up 1 node, 2 CPUs
    [    0.312556] SMP: Total of 2 processors activated.
    [    0.312562] CPU features: detected: 32-bit EL0 Support
    [    0.312568] CPU features: detected: CRC32 instructions
    [    0.352151] CPU: All CPU(s) started at EL2
    [    0.352154] alternatives: applying system-wide alternatives
    [    0.353726] devtmpfs: initialized
    [    0.369044] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
    [    0.369074] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.370696] pinctrl core: initialized pinctrl subsystem
    [    0.371360] DMI not present or invalid.
    [    0.372144] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.373946] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.374163] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.374371] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.374461] audit: initializing netlink subsys (disabled)
    [    0.374771] audit: type=2000 audit(0.373:1): state=initialized audit_enabled=0 res=1
    [    0.375579] thermal_sys: Registered thermal governor 'step_wise'
    [    0.375921] ASID allocator initialised with 65536 entries
    [    0.382658] /bus@f4000/interrupt-controller@1800000: Fixed dependency cycle(s) with /bus@f4000/interrupt-controller@1800000
    [    0.389561] /bus@f4000/pinctrl@a40000: Fixed dependency cycle(s) with /bus@f4000/pinctrl@a40000/cpsw-cpts-pps
    [    0.395473] Modules: 28464 pages in range for non-PLT usage
    [    0.395489] Modules: 519984 pages in range for PLT usage
    [    0.396498] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.396517] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.396524] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.396528] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.396533] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.396537] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.396542] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.396546] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    1.033722] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR2.0 JTAGID[0x1bb3802f] Detected
    [    1.036862] iommu: Default domain type: Translated
    [    1.036880] iommu: DMA domain TLB invalidation policy: strict mode
    [    1.037403] SCSI subsystem initialized
    [    1.037928] usbcore: registered new interface driver usbfs
    [    1.037968] usbcore: registered new interface driver hub
    [    1.038009] usbcore: registered new device driver usb
    [    1.038805] pps_core: LinuxPPS API ver. 1 registered
    [    1.038815] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.038833] PTP clock support registered
    [    1.039145] EDAC MC: Ver: 3.0.0
    [    1.039745] scmi_core: SCMI protocol bus registered
    [    1.040143] FPGA manager framework
    [    1.040370] Advanced Linux Sound Architecture Driver Initialized.
    [    1.041703] vgaarb: loaded
    [    1.042193] clocksource: Switched to clocksource arch_sys_counter
    [    1.042662] VFS: Disk quotas dquot_6.6.0
    [    1.042701] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    1.052425] NET: Registered PF_INET protocol family
    [    1.052751] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    1.055011] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear)
    [    1.055076] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    r    1.055089] TCP estaI/bTliCs:h eReds eharsvehd t sahbaler eedn mtremieorsy:  i1s6 38e4n ab(olerdde
    r: I5/,T C1:3 1D0y7n2am biyct sesh,ar leidn emeamr)o
    76 [i  s   e1na.b0l5e53d
    b ] IT/CPT C:bi nNdo rhmaaslh W torablld ev iernttruaielsi:z a1t6io3n84  su(porpdoertr:  i8s,  d1is3a10bl72ed0 
    ryteIs/T, Cl:i Anseayrnc)h
    co[ n o u s1 .no05t7i3f2i8c]a tiTCoPn:s  aHraes hd istaabblleesd 
     onfigured (established 16384 bind 16384)
    [    1.057576] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear)
    [    1.057743] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear)
    [    1.058108] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    1.058780] RPC: Registered named UNIX socket transport module.
    [    1.058791] RPC: Registered udp transport module.
    [    1.058795] RPC: Registered tcp transport module.
    [    1.058798] RPC: Registered tcp-with-tls transport module.
    [    1.058802] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.058819] PCI: CLS 0 bytes, default 64
    [    1.062284] Initialise system trusted keyrings
    [    1.062558] workingset: timestamp_bits=62 max_order=19 bucket_order=0
    [    1.062979] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.063464] NFS: Registering the id_resolver key type
    [    1.063515] Key type id_resolver registered
    [    1.063519] Key type id_legacy registered
    [    1.063543] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    1.063549] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    1.102346] Key type asymmetric registered
    [    1.102365] Asymmetric key parser 'x509' registered
    [    1.102463] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    1.102471] io scheduler mq-deadline registered
    [    1.102477] io scheduler kyber registered
    [    1.102515] io scheduler bfq registered
    [    1.115094] pinctrl-single 4084000.pinctrl: 33 pins, size 132
    [    1.115810] pinctrl-single f4000.pinctrl: 180 pins, size 720
    [    1.118469] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    1.127891] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    1.144613] loop: module loaded
    [    1.146220] megasas: 07.725.01.00-rc1
    [    1.152176] tun: Universal TUN/TAP device driver, 1.6
    [    1.153271] usbcore: registered new interface driver asix
    [    1.153350] usbcore: registered new interface driver ax88179_178a
    [    1.153386] usbcore: registered new interface driver cdc_ether
    [    1.153423] usbcore: registered new interface driver net1080
    [    1.153466] usbcore: registered new interface driver rndis_host
    [    1.153506] usbcore: registered new interface driver cdc_subset
    [    1.153543] usbcore: registered new interface driver zaurus
    [    1.153579] usbcore: registered new interface driver cdc_ncm
    [    1.153616] usbcore: registered new interface driver r8153_ecm
    [    1.154204] VFIO - User Level meta-driver version: 0.3
    [    1.155869] usbcore: registered new interface driver cdc_acm
    [    1.155884] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    1.155921] usbcore: registered new interface driver usb-storage
    [    1.157031] i2c_dev: i2c /dev entries driver
    [    1.157982] sdhci: Secure Digital Host Controller Interface driver
    [    1.157995] sdhci: Copyright(c) Pierre Ossman
    [    1.158351] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.159459] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.160547] usbcore: registered new interface driver usbhid
    [    1.160559] usbhid: USB HID core driver
    [    1.161910] optee: probing for conduit method.
    [    1.161951] optee: revision 4.4 (8f645256efc0dc66)
    [    1.195060] optee: dynamic shared memory is enabled
    [    1.196390] random: crng init done
    [    1.196534] optee: initialized driver
    [    1.199453] Initializing XFRM netlink socket
    [    1.199506] NET: Registered PF_PACKET protocol family
    [    1.199610] Key type dns_resolver registered
    [    1.213518] Loading compiled-in X.509 certificates
    [    1.231997] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    [    1.361444] pca953x 0-0038: supply vcc not found, using dummy regulator
    [    1.361654] pca953x 0-0038: using no AI
    [    1.373216] pca953x 0-0038: failed writing register
    [    1.373420] pca953x: probe of 0-0038 failed with error -121
    [    1.373825] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.375875] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.376058] pca953x 1-0022: using AI
    [    1.387215] pca953x 1-0022: failed writing register
    [    1.387482] pca953x: probe of 1-0022 failed with error -121
    [    1.388065] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.388645] ti-sci-intr bus@f4000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.389075] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.392964] ti-udma 485c0100.dma-controller: Number of rings: 68
    [    1.395444] ti-udma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6)
    [    1.398040] ti-udma 485c0000.dma-controller: Number of rings: 288
    [    1.413667] ti-udma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15)
    [    1.418892] printk: console [ttyS2] disabled
    [    1.632429] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 309, base_baud = 3000000) is a 8250
    [    1.641373] printk: console [ttyS2] enabled
    [    1.641382] printk: legacy bootconsole [ns16550a0] disabled
    [    1.652402] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.652587] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.652601] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.652611] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    1.654626] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    1.656417] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    1.658192] 0x000000700000-0x000000740000 : "ospi.env"
    [    1.659952] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    1.661786] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.663574] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.665540] cadence-qspi fc40000.spi: Pattern not found. Skipping calibration.
    [    1.667317] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.701163] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.705660] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver RTL8211F Gigabit Ethernet
    [    1.705729] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000006
    [    1.706004] am65-cpsw-nuss 8000000.ethernet: /bus@f4000/ethernet@8000000/ethernet-ports/port@2 read phy-mode err -22
    [    1.707535] am65-cpsw-nuss: probe of 8000000.ethernet failed with error -22
    [    1.710414] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    1.713132] mmc1: CQHCI version 5.10
        1.715445] mmc0: CQHCI version 5.10
    [    1.737878] clk: Disabling unused clocks
    [    1.760885] ALSA device list:
    [    1.760900]   No soundcards found.
    [    1.761803] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.761891] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.815239] Waiting for root device PARTUUID=0e055cfd-02...
    [    1.840326] mmc0: Command Queue Engine enabled
    [    1.840395] mmc0: new HS200 MMC card at address 0001
    [    1.841281] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.843982] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [    1.845829] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [    1.847663] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (239:0)
    [    1.853493] mmc1: error -110 whilst initialising SD card

    The SD card is confirmed to be functional. How can I resolve this issue?

  • This is running on an off-the-shelf SK-AM64B board, right?

    Where does the kernel come from?

    Our current SDK (v11.x) production kernel can be found here: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?h=ti-linux-6.12.y

    For our previous SDK (v10.x), the production kernel trees are https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?h=ti-linux-6.6.y as well as https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?h=ti-rt-linux-6.6.y  (for Linux-RT).

    Please use one of the TI kernel trees (and associated defconfig & prune steps, see SDK documentation) to confirm correct operation and as a starting point for anything custom.

    Regards, Andreas