We are working with custom board having AM5718 using ti-processor-sdk-linux-am57xx-evm-05.02.00.10.
Regarding the pci based ethernet we are able to detect the pci based information the boot log and there is an issue we are facing presently in the process of detecting mac address. While trying to fetch the pci based mac the boot log is getting stucked over the below mentioned lines and not able boot further. Kindly suggest us what factors are making this scenario to happen.
U-Boot SPL 2018.01-00558-gca1e85ecb5-dirty (Aug 16 2019 - 11:12:37)
DRA722-GP ES2.0
U-Boot SPL 2018.01-00558-gca1e85ecb5-dirty (Aug 16 2019 - 11:12:37)
DRA722-GP ES2.0
Trying to boot from MMC1
no pinctrl state for default mode
no pinctrl state for default mode
U-Boot 2018.01-00558-gca1e85ecb5-dirty (Aug 16 2019 - 11:12:37 +0530)
CPU : DRA722-GP ES2.0
Model: TI AM5718 IDK
Board: AM571x
DRAM: 1 GiB
MMC: prop_name: pinctrl-0 mode: default index: 0
prop_name: pinctrl-0 mode: default index: 0
OMAP SD/MMC: 0, OMAP SD/MMC: 1
Warning: fastboot.board_rev: unknown board revision
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:
entered in to auto negotiation
**********Auto Negotiation Available******eth0: ethernet@48484000
Hit any key to stop autoboot: 0
=> mmc dev 0
switch to partitions #0, OK
mmc0 is current device
=> setenv bootpart 0:2
=> boot
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
4162048 bytes read in 469 ms (8.5 MiB/s)
94021 bytes read in 57 ms (1.6 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe6000, end 8fffff44 ... OK
Starting Medha kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.79-gbde58ab01e (root@medha) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #33 SMP PREEMPT Fri Aug 19
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM571x IDK
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x00000000be400000
[ 0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
[ 0.000000] DRA722 ES2.0
[ 0.000000] percpu: Embedded 15 pages/cpu @ef64c000 s31372 r8192 d21876 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 210496
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=e227a097-02 rw rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 644584K/848896K available (8192K kernel code, 353K rwdata, 2628K rodata, 2048K init, 283K bss, 24088K reserved, 180224)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
[ 0.000000] .data : 0xc1000000 - 0xc1058798 ( 354 kB)
[ 0.000000] .bss : 0xc105a000 - 0xc10a0c60 ( 284 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000016] Switching to timer-based delay loop, resolution 162ns
[ 0.000361] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000369] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000796] Console: colour dummy device 80x30
[ 0.000814] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000821] This ensures that you still see kernel messages. Please
[ 0.000828] update your kernel commandline.
[ 0.000849] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000864] pid_max: default: 32768 minimum: 301
[ 0.000972] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000985] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001517] CPU: Testing write buffer coherency: ok
[ 0.001554] CPU0: Spectre v2: using ICIALLU workaround
[ 0.001747] /cpus/cpu@0 missing clock-frequency property
[ 0.001760] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.039855] Setting up static identity map for 0x80200000 - 0x80200060
[ 0.059861] Hierarchical SRCU implementation.
[ 0.080044] EFI services will not be available.
[ 0.099916] smp: Bringing up secondary CPUs ...
[ 0.099927] smp: Brought up 1 node, 1 CPU
[ 0.099936] SMP: Total of 1 processors activated (12.29 BogoMIPS).
[ 0.099944] CPU: All CPU(s) started in HYP mode.
[ 0.099951] CPU: Virtualization extensions available.
[ 0.100360] devtmpfs: initialized
[ 0.117194] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
[ 0.120052] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.120245] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.120262] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.123834] pinctrl core: initialized pinctrl subsystem
[ 0.124321] DMI not present or invalid.
[ 0.124568] NET: Registered protocol family 16
[ 0.130817] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.131681] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.323780] cpuidle: using governor ladder
[ 0.323814] cpuidle: using governor menu
[ 0.332085] OMAP GPIO hardware version 0.1
[ 0.333984] omap_gpio 48059000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio4_pins_default, deferring pe
[ 0.334350] omap_gpio 4805b000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio5_pins_default, deferring pe
[ 0.359254] No ATAGs?
[ 0.359300] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.359314] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.359684] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.359694] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.360242] OMAP DMA hardware revision 0.0
[ 0.392392] edma 43300000.edma: memcpy is disabled
[ 0.395638] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.402415] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.403220] evm_5v0: supplied by evm_12v0
[ 0.403501] evm_3v6: supplied by evm_5v0
[ 0.403770] vsys_3v3: supplied by evm_12v0
[ 0.404040] evm_3v3: supplied by vsys_3v3
[ 0.404324] evm_3v3_sd: supplied by evm_3v3
[ 0.405430] V3_3D: supplied by VMAIN
[ 0.405840] vtt_fixed: supplied by V3_3D
[ 0.408377] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.408582] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.408827] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.409065] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.409397] iommu: Adding device 58820000.ipu to group 1
[ 0.409484] iommu: Adding device 55020000.ipu to group 2
[ 0.409640] iommu: Adding device 40800000.dsp to group 0
[ 0.412464] palmas 0-0058: IRQ missing: skipping irq request
[ 0.441003] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
[ 0.442372] SMPS1: supplied by evm_3v3_sd
[ 0.443971] SMPS2: supplied by evm_3v3_sd
[ 0.445539] SMPS3: supplied by evm_3v3_sd
[ 0.447111] SMPS4: supplied by evm_3v3_sd
[ 0.448533] SMPS5: supplied by evm_3v3_sd
[ 0.449717] SMPS12: supplied by evm_3v3_sd
[ 0.450681] LDO1: supplied by evm_3v3_sd
[ 0.451194] ldo1: Bringing 3000000uV into 3300000-3300000uV
[ 0.461636] LDO2: supplied by evm_3v3_sd
[ 0.462778] LDO3: supplied by evm_3v3_sd
[ 0.471392] LDO4: supplied by evm_3v3_sd
[ 0.471710] random: fast init done
[ 0.481413] LDO5: supplied by evm_3v3_sd
[ 0.492267] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.492477] media: Linux media interface: v0.10
[ 0.492515] Linux video capture interface: v2.00
[ 0.492594] pps_core: LinuxPPS API ver. 1 registered
[ 0.492603] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <
giometti@linux.it>
[ 0.492622] PTP clock support registered
[ 0.492649] EDAC MC: Ver: 3.0.0
[ 0.500873] dmi: Firmware registration failed.
[ 0.501086] omap-mailbox: probe of 4883c000.mailbox failed with error -22
[ 0.501149] omap-mailbox: probe of 4883e000.mailbox failed with error -22
[ 0.501420] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.501520] omap-mailbox: probe of 48842000.mailbox failed with error -22
[ 0.501831] Advanced Linux Sound Architecture Driver Initialized.
[ 0.510976] clocksource: Switched to clocksource arch_sys_counter
[ 0.518428] missing cooling_device property
[ 0.518443] failed to build thermal zone board_thermal: -2
[ 0.518577] NET: Registered protocol family 2
[ 0.519104] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.519167] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.519293] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.519363] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.519396] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.519512] NET: Registered protocol family 1
[ 0.539863] RPC: Registered named UNIX socket transport module.
[ 0.539873] RPC: Registered udp transport module.
[ 0.539881] RPC: Registered tcp transport module.
[ 0.539888] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.540819] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.540942] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.542000] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.546073] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.556622] NFS: Registering the id_resolver key type
[ 0.556645] Key type id_resolver registered
[ 0.556654] Key type id_legacy registered
[ 0.556689] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.558337] bounce: pool size: 64 pages
[ 0.558387] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.558398] io scheduler noop registered
[ 0.558407] io scheduler deadline registered
[ 0.558499] io scheduler cfq registered (default)
[ 0.558509] io scheduler mq-deadline registered
[ 0.558518] io scheduler kyber registered
[ 0.563823] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.563960] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
[ 0.564036] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
[ 0.564047] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
[ 0.577404] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
[ 0.577772] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
[ 0.577807] OF: PCI: IO 0x20003000..0x20012fff -> 0x00000000
[ 0.577829] OF: PCI: MEM 0x20013000..0x2fffffff -> 0x20013000
[ 0.677908] dra7-pcie 51000000.pcie: link up
[ 0.678041] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 0.678055] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.678068] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.678079] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 0.678392] PCI: bus0: Fast back to back transfers disabled
[ 0.680199] omap_l3_noc 44000000.ocp: L3 application error: target 5 mod:1 (unclearable)
[ 0.680216] omap_l3_noc 44000000.ocp: L3 debug error: target 5 mod:1 (unclearable)
[ 0.711162] PCI: bus1: Fast back to back transfers disabled
[ 0.711202] pci 0000:00:00.0: BAR 8: assigned [mem 0x20400000-0x20ffffff]
[ 0.711215] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
[ 0.711233] pci 0000:00:00.0: BAR 7: assigned [io 0x1000-0x1fff]
[ 0.711249] pci 0000:01:00.0: BAR 0: assigned [mem 0x20800000-0x20ffffff]
[ 0.713341] pci 0000:01:00.0: BAR 3: assigned [mem 0x20400000-0x20403fff]
[ 0.713397] pci 0000:01:00.0: BAR 2: assigned [io 0x1000-0x101f]
[ 0.713436] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 0.713448] pci 0000:00:00.0: bridge window [io 0x1000-0x1fff]
[ 0.713460] pci 0000:00:00.0: bridge window [mem 0x20400000-0x20ffffff]
[ 0.713787] pcieport 0000:00:00.0: Signaling PME with IRQ 175
[ 0.713920] pcieport 0000:00:00.0: AER enabled with IRQ 175
[ 0.714962] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.717423] vdd_3v3: supplied by ldo1
[ 0.717693] aic_dvdd_fixed: supplied by vdd_3v3
[ 0.759775] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.762522] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 45, base_baud = 3000000) is a 8250
[ 1.933163] console [ttyS0] enabled
[ 1.937573] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 46, base_baud = 3000000) is a 8250
[ 1.947185] 48420000.serial: ttyS6 at MMIO 0x48420000 (irq = 47, base_baud = 3000000) is a 8250
[ 1.956770] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 48, base_baud = 3000000) is a 8250
[ 1.967504] omap_rng 48090000.rng: Random Number Generator ver. 20
[ 1.974619] DSS: OMAP DSS rev 6.1
[ 1.979111] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 1.999583] brd: module loaded
[ 2.008035] loop: module loaded
[ 2.014230] libphy: Fixed MDIO Bus: probed
[ 2.019095] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 2.026254] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 2.032099] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 2.037957] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.043967] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[ 2.050957] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2.056632] igb 0000:01:00.0: of_irq_parse_pci: failed with rc=134
[ 2.090993] igb 0000:01:00.0: Refused to change power state, currently in D3P. Venkata prasad.