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.

AM625: Boot failure on custom board (Con't)

Part Number: AM625

Hi,

After the customer solved the issue asked in the original post, Linux Kernel starts.
But the kernel stops at below log.

U-Boot SPL 2023.04-00001-gf5b119738d-dirty (Dec 20 2023 - 18:01:58 +0900)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
SPL initial stack usage: 13376 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
NOTICE:  BL31: Built : 00:42:57, Jan 13 2023

U-Boot SPL 2023.04-00001-gf5b119738d-dirty (Dec 20 2023 - 18:03:08 +0900)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
SPL initial stack usage: 1856 bytes
Error (-2): cannot determine file size
Trying to boot from MMC2
Authentication passed
Authentication passed


U-Boot 2023.04-00001-gf5b119738d-dirty (Dec 20 2023 - 18:03:08 +0900)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
EEPROM not available at 80, trying to read at 81
Reading on-board EEPROM at 0x51 failed -121
DRAM:  2 GiB
Core:  70 devices, 31 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
EEPROM not available at 80, trying to read at 81
Reading on-board EEPROM at 0x51 failed -121
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
574 bytes read in 15 ms (37.1 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
## Error: "main_cpsw0_qsgmii_phyinit" not defined
20593152 bytes read in 874 ms (22.5 MiB/s)
57500 bytes read in 19 ms (2.9 MiB/s)
Working FDT set to 88000000
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
ERROR: reserving fdt memory region failed (addr=ff700000 size=8ca000 flags=4)
   Loading Device Tree to 000000008feee000, end 000000008fffffff ... OK
Working FDT set to 8feee000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.33-g40c32565ca (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Jul  6 14:17:24 UTC 2023
[    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 CMA memory pool at 0x00000000f7600000, size 128 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
[    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
[    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-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-0x00000000ff6fffff]
[    0.000000]   node   0: [mem 0x00000000ff700000-0x00000000fffc9fff]
[    0.000000]   node   0: [mem 0x00000000fffca000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    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 19 pages/cpu s38376 r8192 d31256 u77824
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);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=255b6d96-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] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1838092K/2097152K available (12480K kernel code, 1294K rwdata, 4040K rodata, 2176K init, 498K bss, 127988K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU 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.008550] Console: colour dummy device 80x25
[    0.013143] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023825] pid_max: default: 32768 minimum: 301
[    0.028600] LSM: Security Framework initializing
[    0.033453] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.041039] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.050866] cblist_init_generic: Setting adjustable number of callback queues.
[    0.058323] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.064627] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.071032] rcu: Hierarchical SRCU implementation.
[    0.075938] rcu:     Max phase no-delay instances is 1000.
[    0.081551] Platform MSI: msi-controller@1820000 domain created
[    0.087865] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.097751] EFI services will not be available.
[    0.102687] smp: Bringing up secondary CPUs ...
[    0.108008] Detected VIPT I-cache on CPU1
[    0.108126] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.108146] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
[    0.108204] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    5.134749] CPU2: failed to come online
[    5.163843] CPU2: failed in unknown state : 0x0
[   10.271929] CPU3: failed to come online
[   10.275852] CPU3: failed in unknown state : 0x0
[   10.280559] smp: Brought up 1 node, 2 CPUs
[   10.284763] SMP: Total of 2 processors activated.
[   10.289578] CPU features: detected: 32-bit EL0 Support
[   10.294844] CPU features: detected: CRC32 instructions
[   10.300174] CPU: All CPU(s) started at EL2
[   10.304361] alternatives: applying system-wide alternatives
[   10.311925] devtmpfs: initialized
[   10.323516] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[   10.333525] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[   10.345142] pinctrl core: initialized pinctrl subsystem
[   10.351126] DMI not present or invalid.
[   10.355703] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[   10.362910] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[   10.370305] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[   10.378383] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[   10.386570] audit: initializing netlink subsys (disabled)
[   10.392347] audit: type=2000 audit(10.300:1): state=initialized audit_enabled=0 res=1
[   10.392838] thermal_sys: Registered thermal governor 'step_wise'
[   10.400374] thermal_sys: Registered thermal governor 'power_allocator'
[   10.406558] cpuidle: using governor menu
[   10.417422] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[   10.424425] ASID allocator initialised with 65536 entries
[   10.440836] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/sii9022@3b
[   10.452078] platform connector: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/sii9022@3b
[   10.463010] KASLR disabled due to lack of seed
[   10.474732] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[   10.481713] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[   10.488126] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[   10.495066] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[   10.501474] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[   10.508413] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[   10.514822] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[   10.521761] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[   10.530095] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
[   10.540198] iommu: Default domain type: Translated
[   10.545229] iommu: DMA domain TLB invalidation policy: strict mode
[   10.551933] SCSI subsystem initialized
[   10.556167] usbcore: registered new interface driver usbfs
[   10.561814] usbcore: registered new interface driver hub
[   10.567269] usbcore: registered new device driver usb
[   10.572987] pps_core: LinuxPPS API ver. 1 registered
[   10.578067] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[   10.587417] PTP clock support registered
[   10.591549] EDAC MC: Ver: 3.0.0
[   10.595702] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
[   10.602883] FPGA manager framework
[   10.606450] Advanced Linux Sound Architecture Driver Initialized.
[   10.613704] clocksource: Switched to clocksource arch_sys_counter
[   10.620200] VFS: Disk quotas dquot_6.6.0
[   10.624254] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[   10.637306] NET: Registered PF_INET protocol family
[   10.642608] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[   10.651857] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[   10.660673] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[   10.668610] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[   10.676819] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[   10.684826] TCP: Hash tables configured (established 16384 bind 16384)
[   10.691753] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[   10.698680] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[   10.706210] NET: Registered PF_UNIX/PF_LOCAL protocol family
[   10.712526] RPC: Registered named UNIX socket transport module.
[   10.718621] RPC: Registered udp transport module.
[   10.723432] RPC: Registered tcp transport module.
[   10.728241] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.734834] NET: Registered PF_XDP protocol family
[   10.739748] PCI: CLS 0 bytes, default 64
[   10.744435] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[   10.754538] Initialise system trusted keyrings
[   10.759378] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[   10.771848] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   10.778590] NFS: Registering the id_resolver key type
[   10.783824] Key type id_resolver registered
[   10.788103] Key type id_legacy registered
[   10.792269] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   10.799125] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[   10.806904] 9p: Installing v9fs 9p2000 file system support
[   10.847723] Key type asymmetric registered
[   10.851916] Asymmetric key parser 'x509' registered
[   10.856967] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[   10.864718] io scheduler mq-deadline registered
[   10.869360] io scheduler kyber registered
[   10.876699] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[   10.883350] pinctrl-single f4000.pinctrl: 171 pins, size 684
[   10.890179] pinctrl-single a40000.pinctrl: 512 pins, size 2048
[   10.903976] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[   10.918727] loop: module loaded
[   10.923289] megasas: 07.719.03.00-rc1
[   10.931260] tun: Universal TUN/TAP device driver, 1.6
[   10.937208] thunder_xcv, ver 1.0
[   10.940564] thunder_bgx, ver 1.0
[   10.943893] nicpf, ver 1.0
[   10.947081] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[   10.954470] hns3: Copyright (c) 2017 Huawei Corporation.
[   10.959956] hclge is initializing
[   10.963368] e1000: Intel(R) PRO/1000 Network Driver
[   10.968353] e1000: Copyright (c) 1999-2006 Intel Corporation.
[   10.974259] e1000e: Intel(R) PRO/1000 Network Driver
[   10.979338] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[   10.985424] igb: Intel(R) Gigabit Ethernet Network Driver
[   10.990943] igb: Copyright (c) 2007-2014 Intel Corporation.
[   10.996667] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[   11.003075] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[   11.009256] sky2: driver version 1.30
[   11.013772] VFIO - User Level meta-driver version: 0.3
[   11.019834] usbcore: registered new interface driver usb-storage
[   11.026798] i2c_dev: i2c /dev entries driver
[   11.033400] sdhci: Secure Digital Host Controller Interface driver
[   11.039758] sdhci: Copyright(c) Pierre Ossman
[   11.044946] Synopsys Designware Multimedia Card Interface Driver
[   11.051553] sdhci-pltfm: SDHCI platform and OF driver helper
[   11.058396] ledtrig-cpu: registered to indicate activity on CPUs
[   11.064746] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[   11.071748] usbcore: registered new interface driver usbhid
[   11.077455] usbhid: USB HID core driver
[   11.082726] optee: probing for conduit method.
[   11.087333] optee: revision 3.20 (8e74d476)
[   11.087676] optee: dynamic shared memory is enabled
[   11.097214] optee: initialized driver
[   11.102847] Initializing XFRM netlink socket
[   11.107278] NET: Registered PF_PACKET protocol family
[   11.112595] 9pnet: Installing 9P2000 support
[   11.117028] Key type dns_resolver registered
[   11.121869] registered taskstats version 1
[   11.126094] Loading compiled-in X.509 certificates
[   11.140290] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
[   11.203916] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[   11.211515] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
[   11.218627] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
[   11.224619] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
[   11.232980] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
[   11.242217] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
[   11.252205] ti-udma 485c0100.dma-controller: Number of rings: 82
[   11.260408] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
[   11.271582] ti-udma 485c0000.dma-controller: Number of rings: 150
[   11.281646] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
[   11.291932] printk: console [ttyS2] disabled
[   11.296398] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 239, base_baud = 3000000) is a 8250
[   11.305293] printk: console [ttyS2] enabled
[   11.305293] printk: console [ttyS2] enabled
[   11.313751] printk: bootconsole [ns16550a0] disabled
[   11.313751] printk: bootconsole [ns16550a0] disabled
[   11.326111] spi-nor spi0.0: unrecognized JEDEC id bytes: e6 01 02 01 17 a7
[   11.334283] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[   11.377728] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[   11.387474] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[   11.395585] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, dr
                                                                            [   21.604543] platform regulator-3: deferred probe pending
[   21.609901] platform regulator-6: deferred probe pending
[   21.615238] platform regulator-7: deferred probe pending
[   21.620558] platform fa20000.mmc: deferred probe pending
[   21.625927] platform fa00000.mmc: deferred probe pending


Are there any points to check?

Thanks and regards,
Koichiro Tashiro