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: EMMC boot up

Part Number: PROCESSOR-SDK-AM62X


Hi,

I am trying to boot up from EMMC and encountered this issue.

"---[ end Kernel panic - not syncing: Attempted to kill init! exi-"

OPTIONS: I18n 
Compiled on Dec 23 2019, 02:06:26.
Port /dev/ttyUSB0, 10:32:44

Press CTRL-A Z for help on special keys

�
U-Boot SPL 2021.01-g3983bffabc (Dec 14 2022 - 11:53:21 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
SPL initial stack usage: 13424 bytes
Trying to boot from MMC1
Warning: Detected image signing certificate on GP device. Skipping certificate d
Warning: Detected image signing certificate on GP device. Skipping certificate d
Loading Environment from MMC... OK
init_env from device 9 not supported!
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.7(release):v2.7.0-359-g1309c6c805-dirty
NOTICE:  BL31: Built : 11:48:12, Dec 14 2022
I/TC: 
I/TC: OP-TEE version: 3.19.0-15-gd6c5d0037 (gcc version 9.2.1 20191025 (GNU Too4
I/TC: WARNING: This OP-TEE configuration might be insecure!                     
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecturel
I/TC: Primary CPU initializing                                                  
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')    
I/TC: HUK Initialized                                                           
I/TC: Activated SA2UL device                                                    
I/TC: Fixing SA2UL firewall owner for GP device                                 
I/TC: Enabled firewalls for SA2UL TRNG device                                   
I/TC: SA2UL TRNG initialized                                                    
I/TC: SA2UL Drivers initialized                                                 
I/TC: Primary CPU switching to normal world boot                                
                                                                                
U-Boot SPL 2021.01-g3983bffabc (Dec 14 2022 - 11:52:19 +0000)                   
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')          
Trying to boot from MMC1                                                        
                                                                                
                                                                                
U-Boot 2021.01-g3983bffabc (Dec 14 2022 - 11:52:19 +0000)                       
                                                                                
SoC:   AM62X SR1.0 GP                                                           
Model: Texas Instruments AM625 SK                                               
EEPROM not available at 0x50, trying to read at 0x51                            
Reading on-board EEPROM at 0x51 failed -1                                       
DRAM:  2 GiB                                                                    
MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2                           
Loading Environment from MMC... OK                                              
In:    serial@2800000                                                           
Out:   serial@2800000                                                           
Err:   serial@2800000                                                           
EEPROM not available at 0x50, trying to read at 0x51                            
Reading on-board EEPROM at 0x51 failed -1                                       
Net:   eth0: ethernet@8000000port@1                                             
Hit any key to stop autoboot:  0                                                
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 **                                              
18543104 bytes read in 106 ms (166.8 MiB/s)                                     
50106 bytes read in 4 ms (11.9 MiB/s)                                           
## Flattened Device Tree blob at 88000000                                       
   Booting using the fdt blob at 0x88000000                                     
   Loading Device Tree to 000000008fef0000, end 000000008fffffff ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]          
[    0.000000] Linux version 5.10.145-g8b51d20b6e (oe-user@oe-host) (aarch64-no2
[    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] Reserved memory: created DMA memory pool at 0x000000009c800000, B
[    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatl
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, B
[    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compl
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, B
[    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatibl
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, B
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compl
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, B
[    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatibl
[    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-0x000000009c7fffff]          
[    0.000000]   node   0: [mem 0x000000009c800000-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 512 MiB at 0x00000000dd000000                      
[    0.000000] psci: probing for conduit method from DT.                        
[    0.000000] psci: PSCIv1.1 detected in firmware.                             
[    0.000000] psci: Using standard PSCI v0.2 function IDs                      
[    0.000000] psci: Trusted OS migration not required                          
[    0.000000] psci: SMC Calling Convention v1.2                                
[    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112         
[    0.000000] Detected VIPT I-cache on CPU0                                    
[    0.000000] CPU features: detected: ARM erratum 845719                       
[    0.000000] CPU features: detected: GIC system register CPU interface        
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096    
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmt
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes,)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off          
[    0.000000] Memory: 1456444K/2097152K available (10880K kernel code, 1148K r)
[    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] rcu: RCU calculated value of scheduler-enlistment delay is 25 ji.
[    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] GICv3: Distributor has no Range Selector support                 
[    0.000000] GICv3: 16 PPIs implemented                                       
[    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->9
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat)
[    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 @0x000000008004000
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).           
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless
[    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398s
[    0.008518] Console: colour dummy device 80x25                               
[    0.013108] Calibrating delay loop (skipped), value calculated using timer f)
[    0.023791] pid_max: default: 32768 minimum: 301                             
[    0.028596] LSM: Security Framework initializing                             
[    0.033380] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, lin)
[    0.040960] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.050717] rcu: Hierarchical SRCU implementation.                           
[    0.055899] Platform MSI: msi-controller@1820000 domain created              
[    0.062201] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@d
[    0.071451] EFI services will not be available.                              
[    0.076370] 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.089652] Detected VIPT I-cache on CPU1                                    
[    0.089689] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000   
[    0.089704] GICv3: CPU1: using allocated LPI pending table @0x000000008005000
[    0.089767] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]       
[    0.098439] Detected VIPT I-cache on CPU2                                    
[    0.098467] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000   
[    0.098479] GICv3: CPU2: using allocated LPI pending table @0x000000008006000
[    0.098520] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]       
[    0.107136] Detected VIPT I-cache on CPU3                                    
[    0.107160] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000   
[    0.107171] GICv3: CPU3: using allocated LPI pending table @0x000000008007000
[    0.107207] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]       
[    0.107292] smp: Brought up 1 node, 4 CPUs                                   
[    0.187002] SMP: Total of 4 processors activated.                            
[    0.191814] CPU features: detected: 32-bit EL0 Support                       
[    0.197079] CPU features: detected: CRC32 instructions                       
[    0.209838] CPU: All CPU(s) started at EL2                                   
[    0.214047] alternatives: patching kernel code                               
[    0.219758] devtmpfs: initialized                                            
[    0.229534] KASLR disabled due to lack of seed                               
[    0.234291] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.244270] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)   
[    0.265609] pinctrl core: initialized pinctrl subsystem                      
[    0.271623] DMI not present or invalid.                                      
[    0.276243] NET: Registered protocol family 16                               
[    0.282466] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations 
[    0.289808] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic alls
[    0.297875] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic as
[    0.306588] thermal_sys: Registered thermal governor 'step_wise'             
[    0.306594] thermal_sys: Registered thermal governor 'power_allocator'       
[    0.313296] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.    
[    0.327018] ASID allocator initialised with 65536 entries                    
[    0.355094] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages     
[    0.361972] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages     
[    0.368824] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages     
[    0.375676] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages     
[    0.383575] cryptd: max_cpu_qlen set to 1000                                 
[    0.390773] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bbd
[    0.399841] vcc_5v0: supplied by vmain_pd                                    
[    0.404351] vcc_3v3_sys: supplied by vmain_pd                                
[    0.409328] vcc_1v8: supplied by vcc_3v3_sys                                 
[    0.414586] iommu: Default domain type: Translated                           
[    0.419914] SCSI subsystem initialized                                       
[    0.424132] mc: Linux media interface: v0.10                                 
[    0.428527] videodev: Linux video capture interface: v2.00                   
[    0.434201] pps_core: LinuxPPS API ver. 1 registered                         
[    0.439276] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    0.448630] PTP clock support registered                                     
[    0.452667] EDAC MC: Ver: 3.0.0                                              
[    0.456510] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100       
[    0.463654] FPGA manager framework                                           
[    0.467228] Advanced Linux Sound Architecture Driver Initialized.            
[    0.474376] clocksource: Switched to clocksource arch_sys_counter            
[    0.480832] VFS: Disk quotas dquot_6.6.0                                     
[    0.484900] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)   
[    0.497272] NET: Registered protocol family 2                                
[    0.502028] IP idents hash table entries: 32768 (order: 6, 262144 bytes, lin)
[    0.510740] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 163)
[    0.519518] TCP established hash table entries: 16384 (order: 5, 131072 byte)
[    0.527728] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, line)
[    0.535455] TCP: Hash tables configured (established 16384 bind 16384)       
[    0.542352] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)     
[    0.549246] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.556722] NET: Registered protocol family 1                                
[    0.561639] RPC: Registered named UNIX socket transport module.              
[    0.567713] RPC: Registered udp transport module.                            
[    0.572550] RPC: Registered tcp transport module.                            
[    0.577364] RPC: Registered tcp NFSv4.1 backchannel transport module.        
[    0.583959] PCI: CLS 0 bytes, default 64                                     
[    0.588814] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counte
[    0.600879] Initialise system trusted keyrings                               
[    0.605666] workingset: timestamp_bits=46 max_order=19 bucket_order=0        
[    0.615894] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
[    0.622456] NFS: Registering the id_resolver key type                        
[    0.627671] Key type id_resolver registered                                  
[    0.631948] Key type id_legacy registered                                    
[    0.636111] nfs4filelayout_init: NFSv4 File Layout Driver Registering...     
[    0.642966] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registerin.
[    0.650727] 9p: Installing v9fs 9p2000 file system support                   
[    0.690609] Key type asymmetric registered                                   
[    0.694808] Asymmetric key parser 'x509' registered                          
[    0.699833] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[    0.707400] io scheduler mq-deadline registered                              
[    0.712031] io scheduler kyber registered                                    
[    0.718054] pinctrl-single 4084000.pinctrl: 34 pins, size 136                
[    0.724430] pinctrl-single f4000.pinctrl: 171 pins, size 684                 
[    0.737157] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled         
[    0.756679] brd: module loaded                                               
[    0.766858] loop: module loaded                                              
[    0.770958] megasas: 07.714.04.00-rc1                                        
[    0.778109] tun: Universal TUN/TAP device driver, 1.6                        
[    0.783808] igbvf: Intel(R) Gigabit Virtual Function Network Driver          
[    0.790233] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.              
[    0.796351] sky2: driver version 1.30                                        
[    0.800970] VFIO - User Level meta-driver version: 0.3                       
[    0.807242] i2c /dev entries driver                                          
[    0.812410] sdhci: Secure Digital Host Controller Interface driver           
[    0.818751] sdhci: Copyright(c) Pierre Ossman                                
[    0.823493] sdhci-pltfm: SDHCI platform and OF driver helper                 
[    0.830334] ledtrig-cpu: registered to indicate activity on CPUs             
[    0.836824] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....        
[    0.844454] optee: probing for conduit method.                               
[    0.849051] optee: revision 3.19 (d6c5d003)                                  
[    0.849341] optee: dynamic shared memory is enabled                          
[    0.858995] optee: initialized driver                                        
[    0.864629] NET: Registered protocol family 17                               
[    0.869357] 9pnet: Installing 9P2000 support                                 
[    0.873805] Key type dns_resolver registered                                 
[    0.878399] Loading compiled-in X.509 certificates                           
[    0.893254] ti-sci 44043000.system-controller: ti,ctx-memory-region is requi.
[    0.903434] ti-sci 44043000.system-controller: ti_sci_init_suspend failed, m.
[    0.913679] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008)
[    0.954243] davinci-mcasp 2b10000.mcasp: IRQ common not found                
[    0.964310] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz                  
[    0.972046] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz                  
[    0.978315] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domd
[    0.986742] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Roud
[    0.996111] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator d
[    1.005173] ti-bcdma 485c0100.dma-controller: Number of rings: 82            
[    1.013300] ti-bcdma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan)
[    1.024437] ti-pktdma 485c0000.dma-controller: Number of rings: 150          
[    1.034542] ti-pktdma 485c0000.dma-controller: Channels: 35 (tchan: 20, rcha)
[    1.044846] printk: console [ttyS2] disabled                                 
[    1.049296] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 30
[    1.058064] printk: console [ttyS2] enabled                                  
[    1.058064] printk: console [ttyS2] enabled                                  
[    1.066508] printk: bootconsole [ns16550a0] disabled                         
[    1.066508] printk: bootconsole [ns16550a0] disabled                         
[    1.080881] spi-nor spi0.0: s28hs512t (65536 Kbytes)                         
[    1.085912] 7 fixed-partitions partitions found on MTD device fc40000.spi.0  
[    1.092867] Creating 7 MTD partitions on "fc40000.spi.0":                    
[    1.098260] 0x000000000000-0x000000080000 : "ospi.tiboot3"                   
[    1.104928] 0x000000080000-0x000000280000 : "ospi.tispl"                     
[    1.111348] 0x000000280000-0x000000680000 : "ospi.u-boot"                    
[    1.117770] 0x000000680000-0x0000006c0000 : "ospi.env"                       
[    1.123919] 0x0000006c0000-0x000000700000 : "ospi.env.backup"                
[    1.130686] 0x000000800000-0x000003fc0000 : "ospi.rootfs"                    
[    1.137069] 0x000003fc0000-0x000004000000 : "ospi.phypattern"                
[    1.149930] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode       
[    1.194406] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 10
[    1.204084] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, drive7
[    1.212187] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, drive7
[    1.220366] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss ver2
[    1.233284] am65-cpsw-nuss 8000000.ethernet: Use random MAC address          
[    1.239549] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.246682] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512              
[    1.253353] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000
[    1.265700] rtc-ti-k3 2b1f0000.rtc: registered as rtc0                       
[    1.270897] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00)
[    1.383635] mmc0: CQHCI version 5.10                                         
[    1.387308] davinci-mcasp 2b10000.mcasp: IRQ common not found                
[    1.404620] reg-fixed-voltage regulator-6: Failed to register regulator: -517
[    1.412537] pca953x 1-0022: supply vcc not found, using dummy regulator      
[    1.419260] pca953x 1-0022: using AI                                         
[    1.428523] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 6t
[    1.441764] sii902x 1-003b: supply iovcc not found, using dummy regulator    
[    1.448729] sii902x 1-003b: supply cvcc12 not found, using dummy regulator   
[    1.458521] i2c i2c-1: Added multiplexed i2c bus 2                           
[    1.465390] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor0
[    1.473127] tidss 30200000.dss: [drm] Cannot find any crtc or sizes          
[    1.482523] vdd_mmc1: supplied by vcc_3v3_sys                                
[    1.488779] wlan_lten: supplied by vcc_3v3_sys                               
[    1.493912] wlan_en: supplied by wlan_lten                                   
[    1.499701] debugfs: Directory 'pd:182' with parent 'pm_genpd' already prese!
[    1.499922] mmc2: CQHCI version 5.10                                         
[    1.500024] mmc1: CQHCI version 5.10                                         
[    1.512796] ALSA device list:                                                
[    1.517168]   No soundcards found.                                           
[    1.520791] mmc0: Command Queue Engine enabled                               
[    1.525256] mmc0: new HS200 MMC card at address 0001                         
[    1.530877] mmcblk0: mmc0:0001 S0J56X 14.8 GiB                               
[    1.535600] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB              
[    1.541685] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB              
[    1.545066] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 6t
[    1.547852] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237)
[    1.550531] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 6t
[    1.573014]  mmcblk0: p1                                                     
[    1.575937] sdhci-am654 fa20000.mmc: card claims to support voltages below de
[    1.582953] EXT4-fs (mmcblk0p1): recovery complete                           
[    1.588836] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. )
[    1.596096] mmc2: new high speed SDIO card at address 0001                   
[    1.597013] VFS: Mounted root (ext4 filesystem) on device 179:1.             
[    1.610434] devtmpfs: mounted                                                
[    1.614675] Freeing unused kernel memory: 1792K                              
[    1.626445] Run /sbin/init as init process                                   
/sbin/init: error while loading shared libraries: libkmod.so.2: [    1.647770] 0
cannot open shared object file: No such file or directory                       
[    1.660926] CPU: 1 PID: 1 Comm: init Not tainted 5.10.145-g8b51d20b6e #1     
[    1.672709] Hardware name: Texas Instruments AM625 SK (DT)                   
[    1.678179] Call trace:                                                      
[    1.680629]  dump_backtrace+0x0/0x1a0                                        
[    1.684281]  show_stack+0x18/0x68                                            
[    1.687588]  dump_stack+0xd0/0x12c                                           
[    1.690977]  panic+0x16c/0x334                                               
[    1.694023]  do_exit+0x990/0x9c8                                             
[    1.697240]  do_group_exit+0x44/0xa0                                         
[    1.700803]  __wake_up_parent+0x0/0x30                                       
[    1.704544]  el0_svc_common.constprop.0+0x78/0x1c8                           
[    1.709322]  do_el0_svc+0x24/0x90                                            
[    1.712627]  el0_svc+0x14/0x20                                               
[    1.715671]  el0_sync_handler+0xb0/0xb8                                      
[    1.719494]  el0_sync+0x180/0x1c0                                            
[    1.722804] SMP: stopping secondary CPUs                                     
[    1.726722] Kernel Offset: disabled                                          
[    1.730199] CPU features: 0x00040002,2000200c                                
[    1.734542] Memory Limit: none                                               
[    1.737594] ---[ end Kernel panic - not syncing: Attempted to kill init! exi-

  • Hello,
    How did you load/boot the kernel/dtb/root_fs from the eMMC UDA? By modifying the u-boot SRC or the env "mmcdev"/"bootpart" @u-boot?
    How did you create the root_fs on the eMMC UDA?
    Here is the link on eMMC boot in AM62x Linux SDK
    software-dl.ti.com/.../UG-Memory.html
    Best,
    -Hong

  • The issue seems due to missing "libkmod.so.2" on your root_fs.
    The following is from eMMC booting on AM62x-sk for your reference:

    root@am62xx-evm:/usr/lib# ls -lrt libkmod*
    -rwxr-xr-x    1 root     root         80528 May 30 16:58 libkmod.so.2.3.4
    lrwxrwxrwx    1 root     root            16 May 30 16:58 libkmod.so.2 -> libkmod.so.2.3.4

    Best,
    -Hong

  • I can see that i have this file though?
                 
    root@am62xx-evm:/usr/lib# ls -lrt libkmod*                                      
    -rwxr-xr-x 1 root root 80528 Dec 14 12:14 libkmod.so.2.3.4                      
    lrwxrwxrwx 1 root root    16 Dec 14 12:14 libkmod.so.2 -> libkmod.so.2.3.4      
    lrwxrwxrwx 1 root root    16 Dec 14 12:14 libkmod.so -> libkmod.so.2.3.4 

  • root@am62xx-evm:/usr/lib# ls -lrt libkmod*                                      
    -rwxr-xr-x 1 root root 80528 Dec 14 12:14 libkmod.so.2.3.4                      
    lrwxrwxrwx 1 root root    16 Dec 14 12:14 libkmod.so.2 -> libkmod.so.2.3.4      
    lrwxrwxrwx 1 root root    16 Dec 14 12:14 libkmod.so -> libkmod.so.2.3.4 

    How was the log captured?
    From linux booting from other boot media/mode or eMMC?
    Best,
    -Hong

  • it's from SD card boot

  • Hello,
    Can we run a quick test as shown on your board booting from SD?
    Best,
    -Hong

    root@am62xx-evm:/# uname -a
    Linux am62xx-evm 5.10.162-g2927372e2c #1 SMP PREEMPT Sun Feb 5 17:01:51 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
    root@am62xx-evm:/# ls -l /dev/mmcblk*
    brw-rw---- 1 root disk 179,  0 Feb  5 16:03 /dev/mmcblk0
    brw-rw---- 1 root disk 179, 32 Feb  5 16:03 /dev/mmcblk0boot0
    brw-rw---- 1 root disk 179, 64 Feb  5 16:03 /dev/mmcblk0boot1
    brw-rw---- 1 root disk 179,  1 Feb  5 16:03 /dev/mmcblk0p1
    crw------- 1 root root 237,  0 Feb  5 16:03 /dev/mmcblk0rpmb
    brw-rw---- 1 root disk 179, 96 Feb  5 16:03 /dev/mmcblk1
    brw-rw---- 1 root disk 179, 97 Feb  5 16:03 /dev/mmcblk1p1
    brw-rw---- 1 root disk 179, 98 Feb  5 16:03 /dev/mmcblk1p2
    root@am62xx-evm:/# mkdir /mnt/testing
    root@am62xx-evm:~# mount /dev/mmcblk0p1 /mnt/testing
    [  346.062290] ext4 filesystem being mounted at /mnt/testing supports timestamps until 2038 (0x7fffffff)
    root@am62xx-evm:~# cd /mnt/testing
    root@am62xx-evm:/mnt/testing# cd usr/lib
    root@am62xx-evm:/mnt/testing/usr/lib# ls -lrt libkmod*
    -rwxr-xr-x 1 root root 80528 May 30  2022 libkmod.so.2.3.4
    lrwxrwxrwx 1 root root    16 May 30  2022 libkmod.so.2 -> libkmod.so.2.3.4
    root@am62xx-evm:/mnt/testing/usr/lib# pwd
    /mnt/testing/usr/lib
    root@am62xx-evm:/mnt/testing/usr/lib# 

  • uname -a
    Linux am62xx-evm 5.10.153-g3eee621d16 #1 SMP PREEMPT Wed Dec 14 11:54x
    root@am62xx-evm:/# ls -l /dev/mmcblk*
    brw-rw---- 1 root disk 179,  0 Feb  2 07:46 /dev/mmcblk0
    brw-rw---- 1 root disk 179, 32 Feb  2 07:46 /dev/mmcblk0boot0
    brw-rw---- 1 root disk 179, 64 Feb  2 07:46 /dev/mmcblk0boot1
    brw-rw---- 1 root disk 179,  1 Feb  2 07:46 /dev/mmcblk0p1
    crw------- 1 root root 237,  0 Feb  2 07:46 /dev/mmcblk0rpmb
    brw-rw---- 1 root disk 179, 96 Feb  2 07:46 /dev/mmcblk1
    brw-rw---- 1 root disk 179, 97 Feb  2 07:46 /dev/mmcblk1p1
    brw-rw---- 1 root disk 179, 98 Feb  2 07:46 /dev/mmcblk1p2
    root@am62xx-evm:/# mkdir /mnt/testing
    root@am62xx-evm:/# mount /dev/mmcblk0p1 /mnt/testing/
    root@am62xx-evm:/# cd /mnt/testing/
    root@am62xx-evm:/mnt/testing# cd usr/lib
    -sh: cd: usr/lib: No such file or directory
    root@am62xx-evm:/mnt/testing#









  • It looks like the root_fs on eMMC was NOT created or synched correctly.
    Can we recreate the root_fs on eMMC by adding "sync" as listed?

    # tar xf <Linux image file copied from the host>
    # sync 			<=== add
    # cd ..
    # umount temp

    Best,
    -Hong

  • /# cd /mnt/temp/
    root@am62xx-evm:/mnt/temp# tar xf tisdk-default-image-am62xx-evm.tar.xz 
    [90771.221049] mmc0: running CQE recovery
    [90771.230262] ------------[ cut here ]------------
    [90771.234906] mmc0: cqhci: spurious TCN for tag 26
    [90771.239613] WARNING: CPU: 0 PID: 2635 at drivers/mmc/host/cqhci.c:742 0
    [90771.247954] Modules linked in: xt_conntrack xt_addrtype iptable_filter6
    [90771.319260] CPU: 0 PID: 2635 Comm: kworker/0:1H Tainted: G           O1
    [90771.328293] Hardware name: Texas Instruments AM625 SK (DT)
    [90771.333790] Workqueue: kblockd blk_mq_run_work_fn
    [90771.338501] pstate: 40000085 (nZcv daIf -PAN -UAO -TCO BTYPE=--)
    [90771.344516] pc : cqhci_irq+0x318/0x4a0
    [90771.348264] lr : cqhci_irq+0x318/0x4a0
    [90771.352010] sp : ffff80001124bd40
    [90771.355321] x29: ffff80001124bd40 x28: ffff00000008b580 
    [90771.360632] x27: ffff00000034b280 x26: 0000000000000001 
    [90771.365945] x25: ffff800010dff778 x24: ffff00000034b298 
    [90771.371258] x23: ffff8000111aa91e x22: ffff000001615400 
    [90771.376568] x21: ffff00000008b000 x20: 0000000000000002 
    [90771.381882] x19: 000000000000001a x18: 0000000000000010 
    [90771.387192] x17: ffff0000019f9120 x16: 0000000000000000 
    [90771.392502] x15: ffff000001615930 x14: 00000000000001b9 
    [90771.397814] x13: ffff000001615930 x12: 00000000ffffffea 
    [90771.403127] x11: ffff8000111304b0 x10: ffff800011118470 
    [90771.408436] x9 : ffff8000111184c8 x8 : 0000000000017fe8 
    [90771.413746] x7 : c0000000ffffefff x6 : 0000000000000001 
    [90771.419053] x5 : ffff00007fb8dab8 x4 : 0000000000000000 
    [90771.424360] x3 : 0000000000000027 x2 : 0000000000000023 
    [90771.429669] x1 : b9f1ffbca07b7000 x0 : 0000000000000000 
    [90771.434979] Call trace:
    [90771.437428]  cqhci_irq+0x318/0x4a0
    [90771.440829]  sdhci_am654_cqhci_irq+0x58/0x88
    [90771.445096]  sdhci_irq+0xb0/0xf10
    [90771.448414]  __handle_irq_event_percpu+0x54/0x168
    [90771.453114]  handle_irq_event_percpu+0x34/0x90
    [90771.457552]  handle_irq_event+0x48/0xe0
    [90771.461388]  handle_fasteoi_irq+0xb8/0x170
    [90771.465482]  generic_handle_irq+0x30/0x48
    [90771.469487]  __handle_domain_irq+0x64/0xc0
    [90771.473584]  gic_handle_irq+0x58/0x128
    [90771.477331]  el1_irq+0xcc/0x180
    [90771.480474]  _raw_spin_unlock_irqrestore+0x14/0x48
    [90771.485260]  cqhci_request+0xc8/0x4e8
    [90771.488927]  mmc_cqe_start_req+0x58/0x68
    [90771.492849]  mmc_blk_mq_issue_rq+0x49c/0x8a0
    [90771.497116]  mmc_mq_queue_rq+0x118/0x2b0
    [90771.501041]  blk_mq_dispatch_rq_list+0x104/0x778
    [90771.505659]  __blk_mq_sched_dispatch_requests+0xd4/0x1a0
    [90771.510965]  blk_mq_sched_dispatch_requests+0x38/0x78
    [90771.516013]  __blk_mq_run_hw_queue+0xac/0x128
    [90771.520367]  blk_mq_run_work_fn+0x20/0x30
    [90771.524376]  process_one_work+0x1a0/0x328
    [90771.528385]  worker_thread+0x4c/0x420
    [90771.532048]  kthread+0x140/0x160
    [90771.535276]  ret_from_fork+0x10/0x34
    [90771.538849] ---[ end trace e0d8f5bd5aed2676 ]---
    [90771.548665] mmc0: running CQE recovery
    [90771.559550] mmc0: running CQE recovery
    [90771.593038] mmc0: running CQE recovery
    [90771.631204] mmc0: running CQE recovery
    [90771.640553] mmc0: running CQE recovery
    [90771.658282] mmc0: running CQE recovery
    [90771.664210] mmc0: running CQE recovery
    [90771.673846] mmc0: running CQE recovery
    [90771.724654] mmc0: running CQE recovery
    [90771.736957] mmc0: running CQE recovery
    [90771.751694] mmc0: running CQE recovery
    [90771.760178] mmc0: running CQE recovery
    [90771.770413] mmc0: running CQE recovery
    [90771.775671] mmc0: running CQE recovery
    [90771.784658] mmc0: running CQE recovery
    [90771.790280] mmc0: running CQE recovery
    [90771.799239] mmc0: running CQE recovery
    [90771.805410] mmc0: running CQE recovery
    [90771.820247] mmc0: running CQE recovery
    [90771.830611] mmc0: running CQE recovery
    [90771.847588] mmc0: running CQE recovery
    [90771.857658] mmc0: running CQE recovery
    [90771.867982] mmc0: running CQE recovery
    [90771.877697] mmc0: running CQE recovery
    [90771.886389] blk_update_request: I/O error, dev mmcblk0, sector 21281840
    [90771.897703] mmc0: running CQE recovery
    [90833.944992] mmc0: cqhci: timeout for tag 0
    [90833.949118] mmc0: cqhci: ============ CQHCI REGISTER DUMP ===========
    [90833.955665] mmc0: cqhci: Caps:      0x000030c8 | Version:  0x00000510
    [90833.962115] mmc0: cqhci: Config:    0x00000101 | Control:  0x00000000
    [90833.968602] mmc0: cqhci: Int stat:  0x00000000 | Int enab: 0x00000006
    [90833.975047] mmc0: cqhci: Int sig:   0x00000006 | Int Coal: 0x00000000
    [90833.981484] mmc0: cqhci: TDL base:  0x80f3f000 | TDL up32: 0x00000000
    [90833.987923] mmc0: cqhci: Doorbell:  0xffffffff | TCN:      0x00000000
    [90833.994358] mmc0: cqhci: Dev queue: 0x00000000 | Dev Pend: 0x00000000
    [90834.000792] mmc0: cqhci: Task clr:  0x00000000 | SSC1:     0x00011000
    [90834.007227] mmc0: cqhci: SSC2:      0x00000001 | DCMD rsp: 0x00000000
    [90834.013671] mmc0: cqhci: RED mask:  0xfdf9a080 | TERRI:    0x992f1a2c
    [90834.020107] mmc0: cqhci: Resp idx:  0x0000002f | Resp arg: 0x00000900
    [90834.026542] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
    [90834.032980] mmc0: sdhci: Sys addr:  0x00000400 | Version:  0x00001004
    [90834.039418] mmc0: sdhci: Blk size:  0x00007080 | Blk cnt:  0x00000000
    [90834.045853] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000013
    [90834.052291] mmc0: sdhci: Present:   0x01ff00f0 | Host ctl: 0x0000003c
    [90834.058725] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
    [90834.065160] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
    [90834.071601] mmc0: sdhci: Timeout:   0x0000000e | Int stat: 0x00000000
    [90834.078037] mmc0: sdhci: Int enab:  0x02ff4000 | Sig enab: 0x02ff4000
    [90834.084472] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
    [90834.090906] mmc0: sdhci: Caps:      0x3decc801 | Caps_1:   0x18002407
    [90834.097342] mmc0: sdhci: Cmd:       0x0000153a | Max curr: 0x00000000
    [90834.103789] mmc0: sdhci: Resp[0]:   0x00000900 | Resp[1]:  0xffc003ff
    [90834.110224] mmc0: sdhci: Resp[2]:   0x328f5903 | Resp[3]:  0x00d07f01
    [90834.116662] mmc0: sdhci: Host ctl2: 0x0000000b
    [90834.121103] mmc0: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x000000008c
    [90834.128232] mmc0: sdhci: ============================================
    [90834.134727] mmc0: running CQE recovery
    [90834.141467] mmc0: running CQE recovery
    [90834.146857] mmc0: running CQE recovery
    [90834.155401] blk_update_request: I/O error, dev mmcblk0, sector 21284750
    [90834.167038] mmc0: running CQE recovery
    [90834.172176] mmc0: running CQE recovery
    [90834.181541] blk_update_request: I/O error, dev mmcblk0, sector 21280810
    
    

  • Hello,
    Have you tried re-creating the ext4 on eMMC UDA from begening?
    For example, starting from "# fdisk /dev/mmcblk0" step in the link you used previously.
    Best,
    -Hong