SK-AM62: Booting from eMMC

Part Number: SK-AM62

Tool/software:

Translator

Hello,

I'm using the SK-AM62 evaluation board, and I have successfully created an SD card that boots correctly. I want to use the SD card as the primary boot mode and eMMC as the backup.

I followed the instructions from this guide to download tiboot3.bin, tispl.bin, and u-boot.img from the SD card and write them to the eMMC.

However, I am encountering an issue when trying to set the device as dev 0 or dev 2 (eMMC in my case):

=> mmc dev 0 1
=> mmc info
MMC Device 0 not found
no mmc device at slot 0

=> mmc list
mmc@fa10000: 2
mmc@fa00000: 1 (SD)
mmc@fa20000: 3

=> mmc dev 2
=> mmc info
MMC Device 0 not found
no mmc device at slot 0

Am I missing something in the U-Boot configuration? Any help or suggestions would be greatly appreciated.

Thanks,

  • Hello,

    By default, the eMMC & SD card are identified as dev 0 & 1 respectively. So, have you modified the U-Boot source code to have them identified with different numbers?

    Please share the full boot logs as well.

    Regards,

    Prashant

  • Hello,

    I did not modify the U-Boot code. Where can I check it? Here is my boot log:

    U-Boot SPL 2022.10 (Dec 20 2024 - 14:52:29 +0100)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    Trying to boot from MMC2
    
    
    U-Boot 2022.10 (Dec 20 2024 - 14:52:29 +0100)
    
    SoC:   AM62X SR1.0 GP
    Model: Texas Instruments AM625 SK
    DRAM:  2 GiB
    Core:  34 devices, 16 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 2, mmc@fa00000: 1, mmc@fa20000: 3
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   No ethernet found.
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    Failed to load 'uEnv.txt'
    40821248 bytes read in 1677 ms (23.2 MiB/s)
    33678 bytes read in 7 ms (4.6 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fef4000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009ca00000..0x000000009cafffff (1024 KiB) map non-reusable ramoops@9ca00000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable r5f-dma-memory@9db00000
    [    0.000000] OF: reserved mem: 0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable tfa@9e780000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] NUMA: No NUMA configuration found
    [    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] NUMA: NODE_DATA [mem 0xffbe39c0-0xffbe5fff]
    [    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-0x000000009dafffff]
    [    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000
    [    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 s50408 r8192 d31512 u90112
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    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 root=PARTUUID=00000000-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] Fallback order for Node 0: 0 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Policy zone: DMA
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] Memory: 1945040K/2097152K available (16640K kernel code, 4216K rwdata, 10252K rodata, 8576K init, 616K bss, 119344K reserved, 32768K 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 event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    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=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: gic_handle_irq
    [    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 @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    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.009293] Console: colour dummy device 80x25
    [    0.013924] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.024608] pid_max: default: 32768 minimum: 301
    [    0.029398] LSM: initializing lsm=capability,integrity
    [    0.034767] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.042351] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.052320] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.059779] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.066079] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.073480] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.079891] rcu: Hierarchical SRCU implementation.
    [    0.084800] rcu: 	Max phase no-delay instances is 1000.
    [    0.090396] Platform MSI: msi-controller@1820000 domain created
    [    0.096614] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.105858] fsl-mc MSI: msi-controller@1820000 domain created
    [    0.113169] EFI services will not be available.
    [    0.118094] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    I/TC: Secondary CPU 2 initializing
    I/TC: Secondary CPU 2 switching to normal world boot
    I/TC: Secondary CPU 3 initializing
    I/TC: Secondary CPU 3 switching to normal world boot
    [    0.131420] Detected VIPT I-cache on CPU1
    [    0.131507] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.131524] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.131583] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.140346] Detected VIPT I-cache on CPU2
    [    0.140411] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.140425] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
    [    0.140460] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.149140] Detected VIPT I-cache on CPU3
    [    0.149199] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.149214] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
    [    0.149245] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.149316] smp: Brought up 1 node, 4 CPUs
    [    0.229032] SMP: Total of 4 processors activated.
    [    0.233846] CPU features: detected: 32-bit EL0 Support
    [    0.239110] CPU features: detected: 32-bit EL1 Support
    [    0.244365] CPU features: detected: CRC32 instructions
    [    0.249698] CPU: All CPU(s) started at EL2
    [    0.253911] alternatives: applying system-wide alternatives
    [    0.262038] devtmpfs: initialized
    [    0.271929] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.281955] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.290166] pinctrl core: initialized pinctrl subsystem
    [    0.297490] DMI not present or invalid.
    [    0.302245] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.309365] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.316744] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.324813] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.333012] audit: initializing netlink subsys (disabled)
    [    0.338789] audit: type=2000 audit(0.216:1): state=initialized audit_enabled=0 res=1
    [    0.340041] thermal_sys: Registered thermal governor 'step_wise'
    [    0.346732] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.352952] cpuidle: using governor menu
    [    0.363879] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.370921] ASID allocator initialised with 65536 entries
    [    0.378372] Serial: AMBA PL011 UART driver
    [    0.403775] KASLR disabled due to lack of seed
    [    0.409207] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.416178] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.422589] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.429528] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.435937] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.442876] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.449284] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.456223] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.464504] ACPI: Interpreter disabled.
    [    0.470581] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.480035] iommu: Default domain type: Translated 
    [    0.485054] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.491773] SCSI subsystem initialized
    [    0.495957] usbcore: registered new interface driver usbfs
    [    0.501600] usbcore: registered new interface driver hub
    [    0.507056] usbcore: registered new device driver usb
    [    0.513430] pps_core: LinuxPPS API ver. 1 registered
    [    0.518516] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.527872] PTP clock support registered
    [    0.532031] EDAC MC: Ver: 3.0.0
    [    0.536203] scmi_core: SCMI protocol bus registered
    [    0.542038] FPGA manager framework
    [    0.545637] Advanced Linux Sound Architecture Driver Initialized.
    [    0.553062] vgaarb: loaded
    [    0.556301] clocksource: Switched to clocksource arch_sys_counter
    [    0.562812] VFS: Disk quotas dquot_6.6.0
    [    0.566858] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.574086] pnp: PnP ACPI: disabled
    [    0.583865] NET: Registered PF_INET protocol family
    [    0.589155] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.598399] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.607214] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.615151] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.623354] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.631344] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.638257] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.645184] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.652695] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.659020] RPC: Registered named UNIX socket transport module.
    [    0.665103] RPC: Registered udp transport module.
    [    0.669913] RPC: Registered tcp transport module.
    [    0.674722] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.681323] PCI: CLS 0 bytes, default 64
    [    0.685799] kvm [1]: IPA Size Limit: 40 bits
    [    0.692108] kvm [1]: vgic-v2@100010000
    [    0.695967] kvm [1]: GIC system register CPU interface enabled
    [    0.701971] kvm [1]: vgic interrupt IRQ9
    [    0.706002] kvm [1]: Hyp mode initialized successfully
    [    0.712751] Initialise system trusted keyrings
    [    0.717575] workingset: timestamp_bits=42 max_order=19 bucket_order=0
    [    0.724570] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.730837] NFS: Registering the id_resolver key type
    [    0.736040] Key type id_resolver registered
    [    0.740318] Key type id_legacy registered
    [    0.744436] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.751293] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.759082] 9p: Installing v9fs 9p2000 file system support
    [    0.798209] Key type asymmetric registered
    [    0.802401] Asymmetric key parser 'x509' registered
    [    0.807457] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.815035] io scheduler mq-deadline registered
    [    0.819668] io scheduler kyber registered
    [    0.823800] io scheduler bfq registered
    [    0.835572] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.841942] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.855917] EINJ: ACPI disabled.
    [    0.888198] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.898557] SuperH (H)SCI(F) driver initialized
    [    0.903902] msm_serial: driver initialized
    [    0.917130] loop: module loaded
    [    0.921766] megasas: 07.725.01.00-rc1
    [    0.933712] tun: Universal TUN/TAP device driver, 1.6
    [    0.940201] thunder_xcv, ver 1.0
    [    0.943555] thunder_bgx, ver 1.0
    [    0.946885] nicpf, ver 1.0
    [    0.951180] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
    [    0.958582] hns3: Copyright (c) 2017 Huawei Corporation.
    [    0.964057] hclge is initializing
    [    0.967470] e1000: Intel(R) PRO/1000 Network Driver
    [    0.972458] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.978355] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.983429] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.989503] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.995023] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    1.000748] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    1.007157] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    1.013677] sky2: driver version 1.30
    [    1.019248] VFIO - User Level meta-driver version: 0.3
    [    1.028523] usbcore: registered new interface driver usb-storage
    [    1.038294] i2c_dev: i2c /dev entries driver
    [    1.054187] sdhci: Secure Digital Host Controller Interface driver
    [    1.060564] sdhci: Copyright(c) Pierre Ossman
    [    1.066226] Synopsys Designware Multimedia Card Interface Driver
    [    1.073686] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.082383] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.090984] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.098972] usbcore: registered new interface driver usbhid
    [    1.104709] usbhid: USB HID core driver
    [    1.113572] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    1.124903] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    1.129502] optee: revision 3.21 (fe50c054)
    [    1.146150] optee: dynamic shared memory is enabled
    [    1.156211] random: crng init done
    [    1.159810] optee: initialized driver
    [    1.168413] Initializing XFRM netlink socket
    [    1.172843] NET: Registered PF_PACKET protocol family
    [    1.178118] 9pnet: Installing 9P2000 support
    [    1.182572] Key type dns_resolver registered
    [    1.195958] registered taskstats version 1
    [    1.200591] Loading compiled-in X.509 certificates
    [    1.265248] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    [    1.350735] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.358595] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.365455] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.374266] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.383868] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.394131] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.402459] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.415200] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.425543] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.437804] printk: console [ttyS2] disabled
    [    1.442270] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 236, base_baud = 3000000) is a 8250
    [    1.451172] printk: console [ttyS2] enabled
    [    1.451172] printk: console [ttyS2] enabled
    [    1.459630] printk: bootconsole [ns16550a0] disabled
    [    1.459630] printk: bootconsole [ns16550a0] disabled
    [    1.477625] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.483344] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.490331] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.495726] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.502483] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.508944] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.515410] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.521640] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.528449] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.534900] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.547418] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.592346] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.604266] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.612405] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.620531] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000002
    [    1.633498] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    1.639767] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.646898] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.654313] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.677250] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.682805] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.690621] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    1.696627] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000000010
    [    1.706074] xhci-hcd xhci-hcd.0.auto: irq 240, io mem 0x31100000
    [    1.712918] hub 1-0:1.0: USB hub found
    [    1.716708] hub 1-0:1.0: 1 port detected
    [    1.730255] mmc0: CQHCI version 5.10
    [    1.745894] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.752696] pca953x 1-0022: using AI
    [    1.775378] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.801533] clk: Disabling unused clocks
    [    1.805920] mmc1: CQHCI version 5.10
    [    1.814290] ALSA device list:
    [    1.817280]   No soundcards found.
    [    1.843320] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.851175] Waiting for root device PARTUUID=00000000-02...
    [    1.868145] mmc0: Command Queue Engine enabled
    [    1.872625] mmc0: new HS200 MMC card at address 0001
    [    1.878566] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.885310]  mmcblk0: p1 p2
    [    1.894732] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB 
    [    1.900940] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB 
    [    1.906910] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (234:0)
    [    1.907554] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    1.920602] mmcblk1: mmc1:aaaa SH32G 29.7 GiB 
    [    1.927255]  mmcblk1: p1 p2
    [    2.042994] EXT4-fs (mmcblk1p2): 1 truncate cleaned up
    [    2.048202] EXT4-fs (mmcblk1p2): recovery complete
    [    2.071020] EXT4-fs (mmcblk1p2): mounted filesystem eb2ce202-5bbc-42af-ba9f-c29cbbd68dd5 r/w with ordered data mode. Quota mode: none.
    [    2.083240] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.090364] devtmpfs: mounted
    [    2.099174] Freeing unused kernel memory: 8576K
    [    2.103850] Run /sbin/init as init process
    [    2.197158] EXT4-fs (mmcblk1p2): re-mounted eb2ce202-5bbc-42af-ba9f-c29cbbd68dd5 r/w. Quota mode: none.

  • May I know the TI SDK version you are using?

    In case you are using SDK v8.6 (inferred from the SYSFW version in the logs) then this SDK version is created with the U-Boot tag 08.06.00.007 (U-Boot v2021.01) while your logs suggest that you are using the U-Boot v2022.10.

    https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_06_00_42/exports/docs/devices/AM62X/linux/Release_Specific_Release_Notes.html#u-boot

    Please checkout the commit corresponding to the SDK release then you would not see the issue.

  • Thank you.

    Using the SDK u-boot commit fixed this problem. I was able to download tiboot3.bin, tispl.bin, and u-boot.img from the SD card and write them to the eMMC. rootfs is written to the user partition (mmcblk0p2, ext4), with the kernel and dtb placed in /boot. However, I encountered the following error:

    => setenv mmcdev 0
    => setenv bootpart 0
    => boot
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    Failed to load '/boot/Image'
    Failed to load '/boot/k3-am625-sk.dtb'
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!

    Am I missing something else?

  • Am I missing something else?

    You would need to use "setenv bootpart 0:2" to boot Linux from the 2nd partition.