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.

SK-AM62B-P1: How to bypass the EEPROM checking procedure

Part Number: SK-AM62B-P1

Dear TI Experts,

I am a new user working with the AM62 SK-EVM SoC chip on a custom platform designed based on the SK-AM62B-P1 evaluation board circuitry (without an EEPROM). I have encountered a boot issue and would appreciate your assistance in resolving it.

After power on, The boot process was stopped as the following figure.

U-Boot SPL 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
SPL initial stack usage: 13392 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE:  BL31: Built : 15:06:40, Feb  1 2024

U-Boot SPL 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
SPL initial stack usage: 1904 bytes
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
Trying to boot from MMC2
Authentication passed
Authentication passed


U-Boot 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
EEPROM not available at 80, trying to read at 81
Board: AM62B-SKEVM-P1 rev A
DRAM:  2 GiB
Core:  72 devices, 32 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
SD/MMC found on device 1
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
** Bad device specification mmc 1 **
Couldn't find partition mmc 1
Can't set block device
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
** Bad device specification mmc 1 **
Couldn't find partition mmc 1
Can't set block device
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
** Bad device specification mmc 1 **
## Error: "main_cpsw0_qsgmii_phyinit" not defined
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:2
Can't set block device
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:2
Can't set block device
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!
switch to partitions #0, OK
mmc0(part 0) is current device
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
starting USB...
Bus usb@31100000: generic_phy_get_bulk : no phys property
Register 1000840 NbrPorts 1
Starting the controller
USB XHCI 1.10
scanning bus usb@31100000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
link up on port 1, speed 10, half duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
I am able to compile source code. But is it possible to bypass the EEPROM checking procedure by modifying some specific configuration of the source code? I have attached log file please look into it and give solution ASAP!
Mainly it is showing this two erors while booting the board:-

(A)i2c_write: error waiting for data ACK

 (B)EEPROM not available at 80, trying to read at 81
Reading on-board EEPROM at 0x51 failed -1

  • From 21b7670c47a84c0e60ba390306ed9d895ee6caf2 Mon Sep 17 00:00:00 2001
    From: Suraj Singh <suraj@raptee.com>
    Date: Tue, 14 May 2024 16:28:08 +0530
    Subject: [PATCH] Bypassing eeprom read for board_ID detection
    
    ---
     board/ti/common/Kconfig | 2 --
     1 file changed, 2 deletions(-)
    
    diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig
    index 49edd98014..3d2f4f8598 100644
    --- a/board/ti/common/Kconfig
    +++ b/board/ti/common/Kconfig
    @@ -8,13 +8,11 @@ config EEPROM_BUS_ADDRESS
     	int "Board EEPROM's I2C bus address"
     	range 0 8
     	default 0
    -	depends on TI_I2C_BOARD_DETECT
     
     config EEPROM_CHIP_ADDRESS
     	hex "Board EEPROM's I2C chip address"
     	range 0 0xff
     	default 0x50
    -	depends on TI_I2C_BOARD_DETECT
     
     config CAPE_EEPROM_BUS_NUM
     	int "Cape EEPROM's I2C bus address"
    -- 
    2.34.1
    

    Dear Hong,

    I have applied this patch, whether is it correct or not, can you check it please still output remain same! I have attached patch file.

    Regards,

    Suraj

  • Will you upload the full boot log as an attachment after code changes?
    Best,
    -Hong

  • U-Boot SPL 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 15:06:40, Feb  1 2024
    
    U-Boot SPL 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    SPL initial stack usage: 1904 bytes
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Board: AM62B-SKEVM-P1 rev A
    DRAM:  2 GiB
    Core:  72 devices, 32 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    switch to partitions #0, OK
    mmc1 is current device
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    Failed to load 'uEnv.txt'
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    24381952 bytes read in 1011 ms (23 MiB/s)
    62335 bytes read in 29 ms (2 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
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    Working FDT set to 8feed000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.806.1.80-Raptee-g6328116b7b7a (oe-user@oe-host) (aarch64-agl-linux-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.42.0.20240216) #1 SMP PREEMPT Thu Feb  1 15:06:40 UTC 2024
    [    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-0x00000000fffeffff]
    [    0.000000]   node   0: [mem 0x00000000ffff0000-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.4
    [    0.000000] percpu: Embedded 29 pages/cpu s78056 r8192 d32536 u118784
    [    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=07e1c071-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: 1834104K/2097152K available (13376K kernel code, 2242K rwdata, 4860K rodata, 3200K init, 475K bss, 131976K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] trace event string verifier disabled
    [    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 @0x00000000800e0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000800f0000
    [    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.008618] Console: colour dummy device 80x25
    [    0.013224] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023913] pid_max: default: 32768 minimum: 301
    [    0.028722] LSM: Security Framework initializing
    [    0.033492] LSM support for eBPF active
    [    0.037533] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.045127] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.055324] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.062797] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.069115] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.076512] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.082942] rcu: Hierarchical SRCU implementation.
    [    0.087853] rcu:     Max phase no-delay instances is 1000.
    [    0.093691] Platform MSI: msi-controller@1820000 domain created
    [    0.100090] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.109502] EFI services will not be available.
    [    0.114443] smp: Bringing up secondary CPUs ...
    [    0.119936] Detected VIPT I-cache on CPU1
    [    0.120068] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.120088] GICv3: CPU1: using allocated LPI pending table @0x0000000080100000
    [    0.120162] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    5.138709] CPU2: failed to come online
    [    5.167810] CPU2: failed in unknown state : 0x0
    [   10.276097] CPU3: failed to come online
    [   10.280027] CPU3: failed in unknown state : 0x0
    [   10.284748] smp: Brought up 1 node, 2 CPUs
    [   10.288959] SMP: Total of 2 processors activated.
    [   10.293774] CPU features: detected: 32-bit EL0 Support
    [   10.299045] CPU features: detected: CRC32 instructions
    [   10.304385] CPU: All CPU(s) started at EL2
    [   10.308571] alternatives: applying system-wide alternatives
    [   10.316480] devtmpfs: initialized
    [   10.329886] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [   10.339935] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [   10.352996] pinctrl core: initialized pinctrl subsystem
    [   10.359140] DMI not present or invalid.
    [   10.363814] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [   10.371249] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [   10.378687] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [   10.386769] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [   10.394953] audit: initializing netlink subsys (disabled)
    [   10.400790] audit: type=2000 audit(10.304:1): state=initialized audit_enabled=0 res=1
    [   10.401360] thermal_sys: Registered thermal governor 'step_wise'
    [   10.408828] thermal_sys: Registered thermal governor 'power_allocator'
    [   10.415028] cpuidle: using governor menu
    [   10.425935] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [   10.432941] ASID allocator initialised with 65536 entries
    [   10.450492] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [   10.464591] KASLR disabled due to lack of seed
    [   10.477202] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [   10.484188] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [   10.490624] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [   10.497615] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [   10.504025] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [   10.510964] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [   10.517371] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [   10.524310] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [   10.532768] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [   10.543749] iommu: Default domain type: Translated
    [   10.548833] iommu: DMA domain TLB invalidation policy: strict mode
    [   10.555633] SCSI subsystem initialized
    [   10.559923] usbcore: registered new interface driver usbfs
    [   10.565584] usbcore: registered new interface driver hub
    [   10.571062] usbcore: registered new device driver usb
    [   10.576878] pps_core: LinuxPPS API ver. 1 registered
    [   10.581962] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [   10.591319] PTP clock support registered
    [   10.595479] EDAC MC: Ver: 3.0.0
    [   10.599900] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [   10.607137] FPGA manager framework
    [   10.610739] Advanced Linux Sound Architecture Driver Initialized.
    [   10.618155] clocksource: Switched to clocksource arch_sys_counter
    [   10.624872] VFS: Disk quotas dquot_6.6.0
    [   10.628977] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [   10.642107] NET: Registered PF_INET protocol family
    [   10.647467] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [   10.656873] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [   10.665690] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [   10.673629] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [   10.681858] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [   10.689976] TCP: Hash tables configured (established 16384 bind 16384)
    [   10.696950] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [   10.703874] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [   10.711457] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [   10.717895] RPC: Registered named UNIX socket transport module.
    [   10.724003] RPC: Registered udp transport module.
    [   10.728812] RPC: Registered tcp transport module.
    [   10.733625] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [   10.740217] NET: Registered PF_XDP protocol family
    [   10.745130] PCI: CLS 0 bytes, default 64
    [   10.750039] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [   10.760617] Initialise system trusted keyrings
    [   10.765542] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [   10.777034] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [   10.783772] NFS: Registering the id_resolver key type
    [   10.789014] Key type id_resolver registered
    [   10.793315] Key type id_legacy registered
    [   10.797482] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [   10.804337] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [   10.847956] NET: Registered PF_ALG protocol family
    [   10.852878] Key type asymmetric registered
    [   10.857065] Asymmetric key parser 'x509' registered
    [   10.862127] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [   10.869959] io scheduler mq-deadline registered
    [   10.874644] io scheduler kyber registered
    [   10.882964] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [   10.889822] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [   10.897644] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [   10.911363] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [   10.929061] loop: module loaded
    [   10.933755] megasas: 07.719.03.00-rc1
    [   10.941209] tun: Universal TUN/TAP device driver, 1.6
    [   10.947364] VFIO - User Level meta-driver version: 0.3
    [   10.953661] usbcore: registered new interface driver usb-storage
    [   10.959987] usbcore: registered new interface driver usbserial_generic
    [   10.966701] usbserial: USB Serial support registered for generic
    [   10.972880] usbcore: registered new interface driver cp210x
    [   10.978598] usbserial: USB Serial support registered for cp210x
    [   10.985555] i2c_dev: i2c /dev entries driver
    [   10.990000] usbcore: registered new interface driver i2c-tiny-usb
    [   10.998068] sdhci: Secure Digital Host Controller Interface driver
    [   11.004449] sdhci: Copyright(c) Pierre Ossman
    [   11.009166] sdhci-pltfm: SDHCI platform and OF driver helper
    [   11.015890] ledtrig-cpu: registered to indicate activity on CPUs
    [   11.022282] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [   11.029395] usbcore: registered new interface driver usbhid
    [   11.035100] usbhid: USB HID core driver
    [   11.040083] optee: probing for conduit method.
    [   11.044694] optee: revision 4.1 (012cdca4)
    [   11.045069] optee: dynamic shared memory is enabled
    [   11.054714] optee: initialized driver
    [   11.059985] usbcore: registered new interface driver snd-usb-audio
    [   11.067234] Initializing XFRM netlink socket
    [   11.071667] NET: Registered PF_PACKET protocol family
    [   11.076957] Key type dns_resolver registered
    [   11.082191] registered taskstats version 1
    [   11.086428] Loading compiled-in X.509 certificates
    [   11.103357] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    [   11.161784] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=20, ret=-19
    [   11.197323] omap_i2c 4900000.i2c: bus 5 rev0.12 at 100 kHz
    [   11.204576] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [   11.212458] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [   11.219575] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [   11.225622] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [   11.234914] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [   11.247478] simple-framebuffer ff700000.framebuffer: framebuffer at 0xff700000, 0x8ca000 bytes
    [   11.256343] simple-framebuffer ff700000.framebuffer: format=a8r8g8b8, mode=1920x1200x32, linelength=7680
    [   11.282572] Console: switching to colour frame buffer device 240x75
    [   11.303681] simple-framebuffer ff700000.framebuffer: fb0: simplefb registered!
    [   11.312916] ti-udma 485c0100.dma-controller: Number of rings: 82
    [   11.321506] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [   11.332953] ti-udma 485c0000.dma-controller: Number of rings: 150
    [   11.343549] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [   11.354199] printk: console [ttyS2] disabled
    [   11.358668] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 241, base_baud = 3000000) is a 8250
    [   11.367578] printk: console [ttyS2] enabled
    [   11.367578] printk: console [ttyS2] enabled
    [   11.376038] printk: bootconsole [ns16550a0] disabled
    [   11.376038] printk: bootconsole [ns16550a0] disabled
    
    
    
    U-Boot SPL 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 15:06:40, Feb  1 2024
    
    U-Boot SPL 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    SPL initial stack usage: 1904 bytes
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-ti-gd2612223375a (Feb 01 2024 - 15:06:40 +0000)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Board: AM62B-SKEVM-P1 rev A
    DRAM:  2 GiB
    Core:  72 devices, 32 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  1

    Dear Hong,

    i have attached the logs please check it out and give solution regarding this.Actually it's being getting reset again and again,  so where we need to modify please help ASAP!

    [ 5.138709] CPU2: failed to come online
    [ 5.167810] CPU2: failed in unknown state : 0x0
    [ 10.276097] CPU3: failed to come online
    [ 10.280027] CPU3: failed in unknown state : 0x0

    This part should not show but it is showing like this. For the EVM this part is not showing so please check.

    Regards,

    Suraj

  • [ 5.138709] CPU2: failed to come online
    [ 5.167810] CPU2: failed in unknown state : 0x0
    [ 10.276097] CPU3: failed to come online
    [ 10.280027] CPU3: failed in unknown state : 0x0

    The above message was due to the AM62x2 SoC on your board which has only dual A53 cores.
    One option to boot dual A53 cores in Linux:
    - stop @u-boot prompt
    - setenv optargs "maxcpus=2"
    - boot

    I think the kernel booting issue was triggered by something else.
    Let's close this e2e, and follow up the kernel booting issue in the following e2e.
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1360910/am625-q1-board-boot-loops-during-kernel-load

    Best,
    -Hong

  • Dear Hong,

    I am requesting you that all queries regarding the current kernel booting issue be routed to Other Person, as they possess the specialised knowledge and experience needed to resolve this matter efficiently.
    I need to solve this please check and help ASAP. At least if i will get to know about issue i can try to fix it.

    Regards,

    Suraj  

  • I thought the original e2e question on skipping EEPROM in u-boot was addressed.
    The current issue is in kernel boot up process, as reported in this e2e.
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1360910/am625-q1-board-boot-loops-during-kernel-load