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.
Hi Team,
Processor MF no: AM6252ASGFHIAMCRQ1
Unable to boot to kernel
getting error as below on boot
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
Below is the Patch we have done,
diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c index 9146361b3a..543d4ea061 100644 --- a/board/ti/am62x/evm.c +++ b/board/ti/am62x/evm.c @@ -50,7 +50,7 @@ static struct gpio_desc board_det_gpios[AM62X_LPSK_BRD_DET_COUNT]; #define board_is_am62x_skevm() (board_ti_k3_is("AM62-SKEVM") || \ board_ti_k3_is("AM62B-SKEVM")) -#define board_is_am62b_p1_skevm() board_ti_k3_is("AM62B-SKEVM-P1") +#define board_is_am62b_p1_skevm() true //Bypassing #define board_is_am62x_lp_skevm() board_ti_k3_is("AM62-LP-SKEVM") #define board_is_am62x_sip_skevm() board_ti_k3_is("AM62SIP-SKEVM") #define board_is_am62x_play() board_ti_k3_is("BEAGLEPLAY-A0-") diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig index 56a65c0a40..1929b102a4 100644 --- a/board/ti/common/Kconfig +++ b/board/ti/common/Kconfig @@ -16,13 +16,13 @@ config EEPROM_BUS_ADDRESS int "Board EEPROM's I2C bus address" range 0 8 default 0 - depends on TI_I2C_BOARD_DETECT + // 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 + // depends on TI_I2C_BOARD_DETECT config CAPE_EEPROM_BUS_NUM int "Cape EEPROM's I2C bus address" diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c index 17fe8f8069..be096ac953 100644 --- a/board/ti/common/board_detect.c +++ b/board/ti/common/board_detect.c @@ -319,10 +319,10 @@ int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr) rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC, sizeof(am_ep), (uint8_t *)&am_ep); if (rc) - return rc; + strlcpy(ep->name, "AM62B-SKEVM-P1", TI_EEPROM_HDR_NAME_LEN + 1); // Modified for VCU 5.0 ep->header = am_ep.header; - strlcpy(ep->name, am_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); + // strlcpy(ep->name, am_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); // Modified for VCU 5.0 ti_eeprom_string_cleanup(ep->name); /* BeagleBone Green '1' eeprom, board_rev: 0x1a 0x00 0x00 0x00 */ @@ -691,25 +691,25 @@ u64 __maybe_unused board_ti_get_emif2_size(void) void __maybe_unused set_board_info_env(char *name) { - char *unknown = "unknown"; - struct ti_common_eeprom *ep = TI_EEPROM_DATA; + // char *unknown = "unknown"; + // struct ti_common_eeprom *ep = TI_EEPROM_DATA; - if (name) + // if (name) env_set("board_name", name); - else if (strlen(ep->name) != 0) - env_set("board_name", ep->name); - else - env_set("board_name", unknown); - - if (strlen(ep->version) != 0) - env_set("board_rev", ep->version); - else - env_set("board_rev", unknown); - - if (strlen(ep->serial) != 0) - env_set("board_serial", ep->serial); - else - env_set("board_serial", unknown); + // else if (strlen(ep->name) != 0) + // env_set("board_name", ep->name); + // else + // env_set("board_name", unknown); + + // if (strlen(ep->version) != 0) + env_set("board_rev", 1); + // else + // env_set("board_rev", unknown); + + // if (strlen(ep->serial) != 0) + env_set("board_serial", 1); + // else + // env_set("board_serial", unknown); }
kindly help
regards,
Pawan
Hi Pawan,
When first power on the board, please stop at the U-Boot prompt and run the following command to dump a register.
=> md.l 0x43018178 1
Then when Linux boot reset, stop at the U-Boot prompt and dump the same register again.
Hi Bin,
this is output after uboot's auto reset
=> md.l 0x43018178 1
43018178: 00000000 ....
=> boot
still boot loop continues,
I'm getting appropriate values for mcu and main reset. but unable to find root cause of this auto reset during kernel load .
any possibility of some other reset other than 0x43018178 reg resets due to which all 00000000 can come ?
here is the log,
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 => md.l 0x43018178 1 43018178: 00000000 .... => boot 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 1012 ms (23 MiB/s) 62335 bytes read in 30 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.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008620] Console: colour dummy device 80x25 [ 0.013217] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023901] pid_max: default: 32768 minimum: 301 [ 0.028705] LSM: Security Framework initializing [ 0.033467] LSM support for eBPF active [ 0.037496] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.045092] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.055288] cblist_init_generic: Setting adjustable number of callback queues. [ 0.062760] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.069074] cblist_init_generic: Setting adjustable number of callback queues. [ 0.076472] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.082900] rcu: Hierarchical SRCU implementation. [ 0.087813] rcu: Max phase no-delay instances is 1000. [ 0.093652] Platform MSI: msi-controller@1820000 domain created [ 0.100050] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.109456] EFI services will not be available. [ 0.114446] smp: Bringing up secondary CPUs ... [ 0.119927] Detected VIPT I-cache on CPU1 [ 0.120067] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.120085] GICv3: CPU1: using allocated LPI pending table @0x0000000080100000 [ 0.120161] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 5.138715] CPU2: failed to come online [ 5.167822] CPU2: failed in unknown state : 0x0 [ 10.276113] CPU3: failed to come online [ 10.280046] CPU3: failed in unknown state : 0x0 [ 10.284767] smp: Brought up 1 node, 2 CPUs [ 10.288981] SMP: Total of 2 processors activated. [ 10.293801] CPU features: detected: 32-bit EL0 Support [ 10.299072] CPU features: detected: CRC32 instructions [ 10.304418] CPU: All CPU(s) started at EL2 [ 10.308605] alternatives: applying system-wide alternatives [ 10.316513] devtmpfs: initialized [ 10.329961] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 10.339977] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 10.353026] pinctrl core: initialized pinctrl subsystem [ 10.359185] DMI not present or invalid. [ 10.363848] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 10.371278] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 10.378727] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 10.386811] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 10.394990] audit: initializing netlink subsys (disabled) [ 10.400800] audit: type=2000 audit(10.304:1): state=initialized audit_enabled=0 res=1 [ 10.401366] thermal_sys: Registered thermal governor 'step_wise' [ 10.408838] thermal_sys: Registered thermal governor 'power_allocator' [ 10.415038] cpuidle: using governor menu [ 10.425935] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 10.432944] ASID allocator initialised with 65536 entries [ 10.450682] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts [ 10.464699] KASLR disabled due to lack of seed [ 10.477434] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 10.484441] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 10.490903] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 10.497844] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 10.504253] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 10.511193] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 10.517601] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 10.524539] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 10.532896] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 10.543899] iommu: Default domain type: Translated [ 10.548963] iommu: DMA domain TLB invalidation policy: strict mode [ 10.555756] SCSI subsystem initialized [ 10.560038] usbcore: registered new interface driver usbfs [ 10.565687] usbcore: registered new interface driver hub [ 10.571174] usbcore: registered new device driver usb [ 10.576985] pps_core: LinuxPPS API ver. 1 registered [ 10.582066] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 10.591415] PTP clock support registered [ 10.595573] EDAC MC: Ver: 3.0.0 [ 10.599909] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 10.607148] FPGA manager framework [ 10.610756] Advanced Linux Sound Architecture Driver Initialized. [ 10.618216] clocksource: Switched to clocksource arch_sys_counter [ 10.624926] VFS: Disk quotas dquot_6.6.0 [ 10.629026] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 10.642191] NET: Registered PF_INET protocol family [ 10.647585] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 10.656975] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 10.665769] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 10.673710] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 10.681938] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 10.690055] TCP: Hash tables configured (established 16384 bind 16384) [ 10.697026] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 10.703948] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 10.711524] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 10.717997] RPC: Registered named UNIX socket transport module. [ 10.724096] RPC: Registered udp transport module. [ 10.728907] RPC: Registered tcp transport module. [ 10.733719] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 10.740310] NET: Registered PF_XDP protocol family [ 10.745224] PCI: CLS 0 bytes, default 64 [ 10.750076] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 10.760643] Initialise system trusted keyrings [ 10.765560] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 10.777032] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 10.783800] NFS: Registering the id_resolver key type [ 10.789042] Key type id_resolver registered [ 10.793344] Key type id_legacy registered [ 10.797509] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 10.804369] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 10.846724] NET: Registered PF_ALG protocol family [ 10.851633] Key type asymmetric registered [ 10.855821] Asymmetric key parser 'x509' registered [ 10.860889] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 10.868720] io scheduler mq-deadline registered [ 10.873359] io scheduler kyber registered [ 10.881478] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 10.891227] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 10.899163] pinctrl-single a40000.pinctrl: 512 pins, size 2048 [ 10.912679] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled [ 10.930338] loop: module loaded [ 10.934999] megasas: 07.719.03.00-rc1 [ 10.942451] tun: Universal TUN/TAP device driver, 1.6 [ 10.948537] VFIO - User Level meta-driver version: 0.3 [ 10.954847] usbcore: registered new interface driver usb-storage [ 10.961135] usbcore: registered new interface driver usbserial_generic [ 10.967841] usbserial: USB Serial support registered for generic [ 10.974018] usbcore: registered new interface driver cp210x [ 10.979750] usbserial: USB Serial support registered for cp210x [ 10.986731] i2c_dev: i2c /dev entries driver [ 10.991164] usbcore: registered new interface driver i2c-tiny-usb [ 10.999228] sdhci: Secure Digital Host Controller Interface driver [ 11.005578] sdhci: Copyright(c) Pierre Ossman [ 11.010300] sdhci-pltfm: SDHCI platform and OF driver helper [ 11.016950] ledtrig-cpu: registered to indicate activity on CPUs [ 11.023344] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 11.030475] usbcore: registered new interface driver usbhid [ 11.036178] usbhid: USB HID core driver [ 11.041171] optee: probing for conduit method. [ 11.045768] optee: revision 4.1 (012cdca4) [ 11.046149] optee: dynamic shared memory is enabled [ 11.055778] optee: initialized driver [ 11.061071] usbcore: registered new interface driver snd-usb-audio [ 11.068298] Initializing XFRM netlink socket [ 11.072740] NET: Registered PF_PACKET protocol family [ 11.078015] Key type dns_resolver registered [ 11.083207] registered taskstats version 1 [ 11.087466] Loading compiled-in X.509 certificates [ 11.104063] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') [ 11.162493] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=20, ret=-19 [ 11.198176] omap_i2c 4900000.i2c: bus 5 rev0.12 at 100 kHz [ 11.205461] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz [ 11.213349] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz [ 11.220510] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz [ 11.226638] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created [ 11.236002] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 11.248575] simple-framebuffer ff700000.framebuffer: framebuffer at 0xff700000, 0x8ca000 bytes [ 11.257443] simple-framebuffer ff700000.framebuffer: format=a8r8g8b8, mode=1920x1200x32, linelength=7680 [ 11.283935] Console: switching to colour frame buffer device 240x75 [ 11.305590] simple-framebuffer ff700000.framebuffer: fb0: simplefb registered! [ 11.314895] ti-udma 485c0100.dma-controller: Number of rings: 82 [ 11.323504] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18) [ 11.334838] ti-udma 485c0000.dma-controller: Number of rings: 150 [ 11.345293] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15) [ 11.356032] printk: console [ttyS2] disabled [ 11.360590] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 241, base_baud = 3000000) is a 8250 [ 11.369534] printk: console [ttyS2] enabled [ 11.369534] printk: console [ttyS2] enabled [ 11.378012] printk: bootconsole [ns16550a0] disabled [ 11.378012] 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: 0 => md.l 0x43018178 1 43018178: 00000000 .... => boot 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 1012 ms (23 MiB/s) 62335 bytes read in 31 ms (1.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 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.008619] Console: colour dummy device 80x25 [ 0.013232] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023925] pid_max: default: 32768 minimum: 301 [ 0.028726] LSM: Security Framework initializing [ 0.033494] LSM support for eBPF active [ 0.037527] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.045123] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.055314] cblist_init_generic: Setting adjustable number of callback queues. [ 0.062785] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.069104] cblist_init_generic: Setting adjustable number of callback queues. [ 0.076502] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.082935] rcu: Hierarchical SRCU implementation. [ 0.087843] rcu: Max phase no-delay instances is 1000. [ 0.093673] Platform MSI: msi-controller@1820000 domain created [ 0.100059] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.109462] EFI services will not be available. [ 0.114471] smp: Bringing up secondary CPUs ... [ 0.119977] Detected VIPT I-cache on CPU1 [ 0.120117] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.120142] GICv3: CPU1: using allocated LPI pending table @0x0000000080100000 [ 0.120215] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 5.138739] CPU2: failed to come online [ 5.167840] CPU2: failed in unknown state : 0x0 [ 10.276128] CPU3: failed to come online [ 10.280055] CPU3: failed in unknown state : 0x0 [ 10.284776] smp: Brought up 1 node, 2 CPUs [ 10.288982] SMP: Total of 2 processors activated. [ 10.293798] CPU features: detected: 32-bit EL0 Support [ 10.299072] CPU features: detected: CRC32 instructions [ 10.304411] CPU: All CPU(s) started at EL2 [ 10.308598] alternatives: applying system-wide alternatives [ 10.316615] devtmpfs: initialized [ 10.330034] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 10.340045] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 10.353187] pinctrl core: initialized pinctrl subsystem [ 10.359331] DMI not present or invalid. [ 10.363997] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 10.371342] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 10.378792] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 10.386878] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 10.395058] audit: initializing netlink subsys (disabled) [ 10.400876] audit: type=2000 audit(10.304:1): state=initialized audit_enabled=0 res=1 [ 10.401426] thermal_sys: Registered thermal governor 'step_wise' [ 10.408910] thermal_sys: Registered thermal governor 'power_allocator' [ 10.415110] cpuidle: using governor menu [ 10.426007] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 10.433020] ASID allocator initialised with 65536 entries [ 10.450764] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts [ 10.464782] KASLR disabled due to lack of seed [ 10.477392] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 10.484378] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 10.490813] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 10.497798] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 10.504209] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 10.511148] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 10.517557] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 10.524495] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 10.532930] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 10.543900] iommu: Default domain type: Translated [ 10.548985] iommu: DMA domain TLB invalidation policy: strict mode [ 10.555784] SCSI subsystem initialized [ 10.560083] usbcore: registered new interface driver usbfs [ 10.565746] usbcore: registered new interface driver hub [ 10.571229] usbcore: registered new device driver usb [ 10.577054] pps_core: LinuxPPS API ver. 1 registered [ 10.582134] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 10.591487] PTP clock support registered [ 10.595655] EDAC MC: Ver: 3.0.0 [ 10.600075] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 10.607320] FPGA manager framework [ 10.610922] Advanced Linux Sound Architecture Driver Initialized. [ 10.618387] clocksource: Switched to clocksource arch_sys_counter [ 10.625090] VFS: Disk quotas dquot_6.6.0 [ 10.629197] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 10.642306] NET: Registered PF_INET protocol family [ 10.647665] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 10.657063] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 10.665883] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 10.673823] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 10.682052] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 10.690180] TCP: Hash tables configured (established 16384 bind 16384) [ 10.697161] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 10.704075] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 10.711658] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 10.718137] RPC: Registered named UNIX socket transport module. [ 10.724245] RPC: Registered udp transport module. [ 10.729056] RPC: Registered tcp transport module. [ 10.733864] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 10.740453] NET: Registered PF_XDP protocol family [ 10.745367] PCI: CLS 0 bytes, default 64 [ 10.750283] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 10.760879] Initialise system trusted keyrings [ 10.765791] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 10.777288] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 10.784039] NFS: Registering the id_resolver key type [ 10.789280] Key type id_resolver registered [ 10.793580] Key type id_legacy registered [ 10.797750] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 10.804606] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 10.846669] NET: Registered PF_ALG protocol family [ 10.851581] Key type asymmetric registered [ 10.855768] Asymmetric key parser 'x509' registered [ 10.860835] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 10.868664] io scheduler mq-deadline registered [ 10.873309] io scheduler kyber registered [ 10.881441] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 10.888295] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 10.896133] pinctrl-single a40000.pinctrl: 512 pins, size 2048 [ 10.909688] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled [ 10.927531] loop: module loaded [ 10.932234] megasas: 07.719.03.00-rc1 [ 10.939597] tun: Universal TUN/TAP device driver, 1.6 [ 10.945761] VFIO - User Level meta-driver version: 0.3 [ 10.952050] usbcore: registered new interface driver usb-storage [ 10.958380] usbcore: registered new interface driver usbserial_generic [ 10.965095] usbserial: USB Serial support registered for generic [ 10.971260] usbcore: registered new interface driver cp210x [ 10.976972] usbserial: USB Serial support registered for cp210x [ 10.983996] i2c_dev: i2c /dev entries driver [ 10.988438] usbcore: registered new interface driver i2c-tiny-usb [ 10.996502] sdhci: Secure Digital Host Controller Interface driver [ 11.002852] sdhci: Copyright(c) Pierre Ossman [ 11.007650] sdhci-pltfm: SDHCI platform and OF driver helper [ 11.014308] ledtrig-cpu: registered to indicate activity on CPUs [ 11.020689] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 11.027819] usbcore: registered new interface driver usbhid [ 11.033523] usbhid: USB HID core driver [ 11.038532] optee: probing for conduit method. [ 11.043122] optee: revision 4.1 (012cdca4) [ 11.043522] optee: dynamic shared memory is enabled [ 11.053167] optee: initialized driver [ 11.058549] usbcore: registered new interface driver snd-usb-audio [ 11.065729] Initializing XFRM netlink socket [ 11.070152] NET: Registered PF_PACKET protocol family [ 11.075413] Key type dns_resolver registered [ 11.080611] registered taskstats version 1 [ 11.084876] Loading compiled-in X.509 certificates [ 11.101519] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') [ 11.159701] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=20, ret=-19 [ 11.195078] omap_i2c 4900000.i2c: bus 5 rev0.12 at 100 kHz [ 11.202321] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz [ 11.210299] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz [ 11.217467] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz [ 11.223543] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created [ 11.232929] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 11.245459] simple-framebuffer ff700000.framebuffer: framebuffer at 0xff700000, 0x8ca000 bytes [ 11.254481] simple-framebuffer ff700000.framebuffer: format=a8r8g8b8, mode=1920x1200x32, linelength=7680 [ 11.280573] Console: switching to colour frame buffer device 240x75 [ 11.301676] simple-framebuffer ff700000.framebuffer: fb0: simplefb registered! [ 11.310951] ti-udma 485c0100.dma-controller: Number of rings: 82 [ 11.319510] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18) [ 11.330937] ti-udma 485c0000.dma-controller: Number of rings: 150 [ 11.341359] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15) [ 11.352060] printk: console [ttyS2] disabled [ 11.356547] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 241, base_baud = 3000000) is a 8250 [ 11.365457] printk: console [ttyS2] enabled [ 11.365457] printk: console [ttyS2] enabled [ 11.373921] printk: bootconsole [ns16550a0] disabled [ 11.373921] 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: 0
Regards,
Pawan
Hi Pawan,
The value 0 from register 0x43018178 indicates the reboot is not caused by any Reset event, but likely the SoC lost power during Linux boot. Please probe all the power rails during Linux boot to see if they are still in the valid range at the time when reboot happens.
Hi Bin,
We checked the rail, loop was due to DRAM being reset by the Soc.
Then we probed SoC Core, voltage dips happen during loop.
Unfortunately we connected most reset signals , to SoC GPIO and during boot we get LEDs connected to gpio flicker. Is it possible for core voltage to dip when multiple 0.85 rail powered ICs are oscillating in RESET?
Regards,
Pawan
Hi Pawan,
Thanks for the update. I am routing your query to our Power Management hardware expert for comments.
Hello Pawan
We checked the rail, loop was due to DRAM being reset by the Soc.
Then we probed SoC Core, voltage dips happen during loop.
Unfortunately we connected most reset signals , to SoC GPIO and during boot we get LEDs connected to gpio flicker. Is it possible for core voltage to dip when multiple 0.85 rail powered ICs are oscillating in RESET?
I am not familiar with the design to comment.
Can you provide additional information on the board including if this is a custom board and the power architecture you are using.
Can you confirm you have measured all the supplied rails to be within the ROC.
Have you confirmed you are following the required power sequencing.
Regards,
Sreenivasa
Hello Pawan
Can you also confirm the required terminations (pullups or pulldown) as per the SK schematics have been provided.
Please refer to the below FAQs. We have schematics attached in the FAQ. The schematics includes design notes, review notes and CAD notes that could be used during custom board design.
Regards,
Sreenivasa
Hi Sreenivasa,
We probed the voltage rails, all are proper.
Found a issue when we tried to boot with minimal boot image. Boot stuck at kernel load (below is the last 4 line where it stuck log)
[ 1.399826] Key type dns_resolver registered
[ 1.404881] registered taskstats version 1
[ 1.415770] Loading compiled-in X.509 certificates
[ 1.512858] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
[ 1.537102] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=13, clk=7, ret=-19
[ 1.562770] omap8250 2800000.serial: failed to get alias
[ 1.698729] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=13, clk=7, ret=-19
[ 1.709620] ALSA device list:
[ 1.712684] No soundcards found.
[ 1.716276] Warning: unable to open an initial console.
[ 1.721721] Waiting for root device PARTUUID=07e1c071-02
Stuck at above last statement.
Does the SD card need to be restarted during kernel load ?
We have our custom board without IO expander (which is present in EVM).
Hence the Reset and Enable signals connected in IO expander (in EVM) are actually connected to SoC GPIO.
We have following observations
In EVM,
GPIO_31(GPMC0 CLK) is connected to PMIC_VSEL_SD
IO expander is present.
In our custom board, (AMC package)
Mainly,
GPIO_40(GPMC0 DIR) is connected to PMIC_VSEL_SD of PMIC and most reset pins (Io exp reset signals of Evm) are connected to SoC gpio. Since IO expander is not present,
GPIO_0_76 (RGMII1_TD1) is connected to MMC1_SD_EN of SDCARD LOAD SWITCH ENABLE pin (pulled up by default.)
,PROBED: We have constant 3.3 voltage at SDCARD MMC1 POWER during complete boot stuck process and configured only for SDIO lines to 3.3 .
Suspect SD card enable.
Kindly guide us changes (Hardware/firmware) that need to be done to properly bring up kernel boot.
REGARDS
PAWAN
Hello Pawan,
Thank you.
It is going to be a challenge and inefficient debugging without schematics.
If you did not use the load switch to reset SD card power supply, i assume you are fixing the SD card interface voltage to 3.3V since UHS-I speed will not be supported. This has to be done in the software.
Regards,
Sreenivasa
Hi Sreenivasa,
Yes , we are fixing the 3.3 SDIO voltage for SDCARD.
Would like to know default EVM device tree used for custom board is compatible with 3.3 SDIO fixed voltage or not. If not , then need to know the changes that need to be done on device tree.
I have Shared you the required documents details in private. Please find the document and kindly do the needful
Regards
Pawan
Hello Pawan,
Thank you.
Would like to know default EVM device tree used for custom board is compatible with 3.3 SDIO fixed voltage or not. If not , then need to know the changes that need to be done on device tree.
This assume the SK implementation and the SK has a load switch.
Please check the below FAQ
Regards,
Sreenivasa
Hello Pawan,
Suspect SD card enable.
Kindly guide us changes (Hardware/firmware) that need to be done to properly bring up kernel boot.
I do not see a pull of the SD_EN pin.
Please refer the SK schematics and add the required pull.
The below FAQ should help. We have design notes and review notes added to the schematics for customer to use.
Regards
Sreenivasa
Hello Pawan,
Based on quick schematics review, we observed that all the DNIs in the SK schematics have been due to reuse.
We checked the rail, loop was due to DRAM being reset by the Soc.
Then we probed SoC Core, voltage dips happen during loop.
Unfortunately we connected most reset signals , to SoC GPIO and during boot we get LEDs connected to gpio flicker. Is it possible for core voltage to dip when multiple 0.85 rail powered ICs are oscillating in RESET?
On the custom board please ensure all the DNI components have been depopulated.
Refer below FAQ
The OSPI interface had a pullup of 0R. This is not recommended and likely cause some performance issues. This needs to be changed to 10K.
Regards,
Sreenivasa
Hello Pawan,
Refer below FAQ to set the SD card to fixed 3.3V
Regards,
Sreenivasa
Hello Pawan,
Please refer below.
I did a review of the SD card interface
Provision to reset the SD card similar to the SK seems to have provided.
The MMC1_SD_EN and PMIC_VSEL_SD mapping is changed. I assume this has been updated in the software. Please verify.
You need to remove the code that fixed the SD card to 3.3V.
I see that the PMIC outputs does not have the recommended caps. I assume you referred SK-AM62B-P1.
Please review and update the values. Also review the schematics for any difference in mapping of IOs or component values.
The below FAQ could help
Regards,
Sreenivasa