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.

Linux/PROCESSOR-SDK-AM57X: Struct at booting kernal

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: AM5718, PMP, DRA722, DP83848C, TMP102

Tool/software: Linux

Hi,

We are using PROCESSOR-SDK-AM57X ti-processor-sdk-linux-am57xx-evm-05.02.00.10, using UART1 (ttyO0) and customized am571x-idk. Device trees are modifile as per am571x-idk.

Booting through sd card by creating bootable sd card using this(tisdk-rootfs-image-am57xx-evm.tar.xz) tarball,  having a problem with kernal booting it stops at starting kernal ......... for a long time and moves forward then regulator and ldo voltages are disabling. Please find the log below.

Kindlly suggest what's wrong.

U-Boot SPL 2018.01-00558-gca1e85ecb5-dirty (Jan 12 2019 - 14:56:01)
DRA722-GP ES1.0

U-Boot SPL 2018.01-00558-gca1e85ecb5-dirty (Jan 12 2019 - 14:56:01)
DRA722-GP ES1.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 (Jan 12 2019 - 14:56:01 +0530)

CPU  : DRA722-GP ES1.0
Model: TI AM5718 IDK
Board: AM571x IDRAM:  1 GiB
MMC:   prop_name: pinctrl-0 mode: default index: 0
prop_name: pinctrl-6 mode: sdr104 index: 6
prop_name: pinctrl-4 mode: sdr50 index: 4
prop_name: pinctrl-5 mode: ddr50 index: 5
prop_name: pinctrl-3 mode: sdr25 index: 3
prop_name: pinctrl-2 mode: sdr12 index: 2
prop_name: pinctrl-1 mode: hs index: 1
prop_name: pinctrl-0 mode: default index: 0
prop_name: pinctrl-2 mode: ddr_1_8v index: 2
prop_name: pinctrl-1 mode: hs index: 1
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:   Could not get PHY for ethernet@48484000: addr 0

Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot:  0
WARNING: Could not determine device tree to use
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Unable to read file boot.scr **
1490 bytes read in 4 ms (363.3 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
Running uenvcmd ...
1 bytes read in 3 ms (0 Bytes/s)
Already setup.
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
4022784 bytes read in 193 ms (19.9 MiB/s)
92417 bytes read in 20 ms (4.4 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe6000, end 8ffff900 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.79-gbde58ab01e (medha@medha) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 SMP PREEMPT Fri Jan 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 AM5718 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 ES1.0
[    0.000000] percpu: Embedded 15 pages/cpu @ef64d000 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=23d2adc0-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: 644604K/848896K available (8192K kernel code, 347K rwdata, 2564K rodata, 2048K init, 282K bss, 24068K 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 - 0xc1056e98   ( 348 kB)
[    0.000000]        .bss : 0xc1058000 - 0xc109ebe0   ( 283 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.000353] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000362] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000780] Console: colour dummy device 80x30
[    0.000798] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000805] This ensures that you still see kernel messages. Please
[    0.000812] update your kernel commandline.
[    0.000833] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000848] pid_max: default: 32768 minimum: 301
[    0.000954] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000967] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001507] CPU: Testing write buffer coherency: ok
[    0.001543] CPU0: Spectre v2: using ICIALLU workaround
[    0.001743] /cpus/cpu@0 missing clock-frequency property
[    0.001757] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.039872] Setting up static identity map for 0x80200000 - 0x80200060
[    0.059876] Hierarchical SRCU implementation.
[    0.080060] EFI services will not be available.
[    0.099932] smp: Bringing up secondary CPUs ...
[    0.099943] smp: Brought up 1 node, 1 CPU
[    0.099952] SMP: Total of 1 processors activated (12.29 BogoMIPS).
[    0.099959] CPU: All CPU(s) started in HYP mode.
[    0.099966] CPU: Virtualization extensions available.
[    0.100399] devtmpfs: initialized
[    0.117291] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
[    0.120073] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.120275] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.120292] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.124033] pinctrl core: initialized pinctrl subsystem
[    0.124520] DMI not present or invalid.
[    0.124766] NET: Registered protocol family 16
[    0.130834] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.131707] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.323922] cpuidle: using governor ladder
[    0.323957] cpuidle: using governor menu
[    0.331782] OMAP GPIO hardware version 0.1
[    0.356771] No ATAGs?
[    0.356819] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.356833] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.357193] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.357204] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.357737] OMAP DMA hardware revision 0.0
[    0.392322] edma 43300000.edma: memcpy is disabled
[    0.395592] edma 43300000.edma: TI EDMA DMA engine driver
[    0.402438] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.404119] V3_3D: supplied by VMAIN
[    0.406744] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.406954] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.407196] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.407444] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.409831] palmas 0-0058: Irq flag is 0x00000000
[    0.442624] random: fast init done
[    1.054708] random: crng init done
[   64.182169] irq 166: nobody cared (try booting with the "irqpoll" option)
[   64.182185] CPU: 0 PID: 22 Comm: irq/166-tps6591 Not tainted 4.14.79-gbde58ab01e #2
[   64.182195] Hardware name: Generic DRA72X (Flattened Device Tree)
[   64.182203] Backtrace:
[   64.182225] [<c020b4dc>] (dump_backtrace) from [<c020b7c0>] (show_stack+0x18/0x1c)
[   64.182237]  r7:000000a6 r6:20000193 r5:00000000 r4:c1053d10
[   64.182253] [<c020b7a8>] (show_stack) from [<c0931328>] (dump_stack+0x90/0xa4)
[   64.182272] [<c0931298>] (dump_stack) from [<c02820a4>] (__report_bad_irq+0x30/0xd4)
[   64.182283]  r7:000000a6 r6:c1022048 r5:00000000 r4:ef2ec300
[   64.182297] [<c0282074>] (__report_bad_irq) from [<c0282498>] (note_interrupt+0x270/0x2bc)
[   64.182309]  r9:ef308000 r8:ef008000 r7:000000a6 r6:c1022048 r5:00000000 r4:ef2ec300
[   64.182322] [<c0282228>] (note_interrupt) from [<c027f6c0>] (handle_irq_event_percpu+0x54/0x60)
[   64.182333]  r10:c02807ac r9:ef308000 r8:ef008000 r7:00000000 r6:c1022048 r5:ef2ec300
[   64.182341]  r4:00000002 r3:00000000
[   64.182353] [<c027f66c>] (handle_irq_event_percpu) from [<c027f70c>] (handle_irq_event+0x40/0x64)
[   64.182361]  r5:ef2ec364 r4:ef2ec300
[   64.182374] [<c027f6cc>] (handle_irq_event) from [<c0283020>] (handle_fasteoi_irq+0xac/0x160)
[   64.182383]  r7:00000000 r6:c1022048 r5:ef2ec364 r4:ef2ec300
[   64.182396] [<c0282f74>] (handle_fasteoi_irq) from [<c027e7f4>] (generic_handle_irq+0x2c/0x3c)
[   64.182405]  r7:00000000 r6:00000000 r5:000000a6 r4:c0e64b3c
[   64.182416] [<c027e7c8>] (generic_handle_irq) from [<c027ed7c>] (__handle_domain_irq+0x64/0xbc)
[   64.182427] [<c027ed18>] (__handle_domain_irq) from [<c0201474>] (gic_handle_irq+0x44/0x80)
[   64.182438]  r9:ef308000 r8:fa213000 r7:fa212000 r6:ef309e98 r5:fa21200c r4:c1004000
[   64.182449] [<c0201430>] (gic_handle_irq) from [<c020c378>] (__irq_svc+0x58/0x8c)
[   64.182457] Exception stack(0xef309e98 to 0xef309ee0)
[   64.182466] 9e80:                                                       ef2ec364 00000800
[   64.182477] 9ea0: ef2ec300 000093e7 ef2ec300 ef2ec364 ef2e9e80 ef2ec314 ef2ec300 ef2e9e80
[   64.182487] 9ec0: c02807ac ef309ef4 ef309ef8 ef309ee8 c02806cc c094a000 20000013 ffffffff
[   64.182497]  r9:ef308000 r8:ef2ec300 r7:ef309ecc r6:ffffffff r5:20000013 r4:c094a000
[   64.182511] [<c0949fd8>] (_raw_spin_unlock_irq) from [<c02806cc>] (irq_finalize_oneshot.part.1+0x84/0xe0)
[   64.182524] [<c0280648>] (irq_finalize_oneshot.part.1) from [<c0280800>] (irq_thread_fn+0x54/0x5c)
[   64.182533]  r7:00000001 r6:00000000 r5:ef2ec300 r4:ef2e9e80
[   64.182546] [<c02807ac>] (irq_thread_fn) from [<c0280ad0>] (irq_thread+0x14c/0x204)
[   64.182554]  r7:00000001 r6:00000000 r5:ffffe000 r4:ef2e9ea4
[   64.182568] [<c0280984>] (irq_thread) from [<c0248ba8>] (kthread+0x164/0x16c)
[   64.182578]  r10:ef07d928 r9:c0280984 r8:ef2e9e80 r7:ef308000 r6:00000000 r5:ef2e9ec0
[   64.182585]  r4:ef2e9f00
[   64.182598] [<c0248a44>] (kthread) from [<c0207d18>] (ret_from_fork+0x14/0x3c)
[   64.182608]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0248a44
[   64.182615]  r4:ef2e9ec0
[   64.182622] handlers:
[   64.182631] [<c027f784>] irq_default_primary_handler threaded [<c06716a8>] regmap_irq_thread
[   64.182651] Disabling IRQ #166
[   64.183647] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
[   64.185196] SMPS1: supplied by evm_3v3_sd
[   64.186901] SMPS2: supplied by evm_3v3_sd
[   64.188561] SMPS3: supplied by evm_3v3_sd
[   64.190223] SMPS4: supplied by evm_3v3_sd
[   64.191741] SMPS5: supplied by evm_3v3_sd
[   64.192991] SMPS12: supplied by evm_3v3_sd
[   64.194016] LDO1: supplied by evm_3v3_sd
[   64.194533] ldo1: Bringing 3000000uV into 3300000-3300000uV
[   64.203665] LDO2: supplied by evm_3v3_sd
[   64.213403] LDO3: supplied by evm_3v3_sd
[   64.223425] LDO4: supplied by evm_3v3_sd
[   64.233430] LDO5: supplied by evm_3v3_sd
[   64.244582] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[   64.244764] media: Linux media interface: v0.10
[   64.244803] Linux video capture interface: v2.00
[   64.244886] pps_core: LinuxPPS API ver. 1 registered
[   64.244894] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[   64.244914] PTP clock support registered
[   64.244941] EDAC MC: Ver: 3.0.0
[   64.252886] dmi: Firmware registration failed.
[   64.253101] omap-mailbox: probe of 4883c000.mailbox failed with error -22
[   64.253165] omap-mailbox: probe of 4883e000.mailbox failed with error -22
[   64.253456] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[   64.253557] omap-mailbox: probe of 48842000.mailbox failed with error -22
[   64.253843] Advanced Linux Sound Architecture Driver Initialized.
[   64.262959] clocksource: Switched to clocksource arch_sys_counter
[   64.270554] NET: Registered protocol family 2
[   64.271093] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[   64.271157] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[   64.271284] TCP: Hash tables configured (established 8192 bind 8192)
[   64.271352] UDP hash table entries: 512 (order: 2, 16384 bytes)
[   64.271384] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[   64.271502] NET: Registered protocol family 1
[   64.291856] RPC: Registered named UNIX socket transport module.
[   64.291866] RPC: Registered udp transport module.
[   64.291874] RPC: Registered tcp transport module.
[   64.291881] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   64.292758] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[   64.292888] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[   64.293933] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[   64.298094] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   64.308655] NFS: Registering the id_resolver key type
[   64.308678] Key type id_resolver registered
[   64.308687] Key type id_legacy registered
[   64.308724] ntfs: driver 2.1.32 [Flags: R/O].
[   64.310373] bounce: pool size: 64 pages
[   64.310419] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[   64.310430] io scheduler noop registered
[   64.310439] io scheduler deadline registered
[   64.310531] io scheduler cfq registered (default)
[   64.310540] io scheduler mq-deadline registered
[   64.310549] io scheduler kyber registered
[   64.315018] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[   64.315166] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
[   64.315239] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
[   64.315251] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
[   64.330287] vdd_3v3: supplied by ldo1
[   64.330562] aic_dvdd_fixed: supplied by vdd_3v3
[   64.373107] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[   64.375870] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
[   65.604768] console [ttyS0] enabled
[   65.609188] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 44, base_baud = 3000000) is a 8250
[   65.618815] 48420000.serial: ttyS6 at MMIO 0x48420000 (irq = 45, base_baud = 3000000) is a 8250
[   65.628414] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 46, base_baud = 3000000) is a 8250
[   65.638958] omap_rng 48090000.rng: Random Number Generator ver. 20
[   65.646094] DSS: OMAP DSS rev 6.1
[   65.650523] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[   65.669912] brd: module loaded
[   65.678483] loop: module loaded
[   65.684447] libphy: Fixed MDIO Bus: probed
[   65.742978] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[   65.750672] davinci_mdio 48485000.mdio: detected phy mask fffffdff
[   65.769471] libphy: 48485000.mdio: probed
[   65.773558] davinci_mdio 48485000.mdio: phy[9]: device 48485000.mdio:09, driver NS DP83848C 10/100 Mbps PHY
[   65.784036] cpsw 48484000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
[   65.792361] cpsw 48484000.ethernet: Detected MACID = 5c:f8:21:3d:51:2a
[   65.799040] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[   65.805463] cpsw 48484000.ethernet: ALE Table size 1024
[   65.810721] cpsw 48484000.ethernet: device node lookup for pps timer failed
[   65.817785] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[   65.826211] i2c /dev entries driver
[   65.830401] IR NEC protocol handler initialized
[   65.834978] IR RC5(x/sz) protocol handler initialized
[   65.840050] IR RC6 protocol handler initialized
[   65.844611] IR JVC protocol handler initialized
[   65.849158] IR Sony protocol handler initialized
[   65.853807] IR SANYO protocol handler initialized
[   65.858529] IR Sharp protocol handler initialized
[   65.863478] IR MCE Keyboard/mouse protocol handler initialized
[   65.869335] IR XMP protocol handler initialized
[   65.876006] tmp102 0-0049: initialized
[   65.882229] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
[   65.889902] sdhci: Secure Digital Host Controller Interface driver
[   65.896125] sdhci: Copyright(c) Pierre Ossman
[   65.900975] sdhci-pltfm: SDHCI platform and OF driver helper
[   65.907717] ledtrig-cpu: registered to indicate activity on CPUs
[   65.917547] NET: Registered protocol family 10
[   65.932753] Segment Routing with IPv6
[   65.936558] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   65.942941] NET: Registered protocol family 17
[   65.947648] Key type dns_resolver registered
[   65.952053] omap_voltage_late_init: Voltage driver support not added
[   65.958455] Power Management for TI OMAP4+ devices.
[   65.963608] Registering SWP/SWPB emulation handler
[   65.980833] dmm 4e000000.dmm: workaround for errata i878 in use
[   65.988449] dmm 4e000000.dmm: initialized all PAT entries
[   65.995072] hctosys: unable to open rtc device (rtc0)
[   66.000718] pbias_mmc_omap5: disabling
[   66.004552] ALSA device list:
[   66.007533]   No soundcards found.
[   66.011609] Waiting for root device PARTUUID=23d2adc0-02...
��

  • Hi,

    What modifications have you done on the AM571x IDK?

    Best Regards,
    Yordan
  • Hi,

    Sorry for the delay,

    We have modified below attached files on the am571x idk. Please find it.

    Kindly suggest a solution for this,

    am571x.zip

  • Let me take a look at these. I will updated as soon as I have any feedback.

    Best Regards,
    Yordan
  • Sorry for the delay.
    I am not sure why you've removed the gpio irq in the evm_3v3_sd fixedregulator & the extcon_usb1 id gpio. Then you remove the irq definitions for tps65917. This could be the reason for your kernel panic (look at the lock you're getting irq spinlock).

    You've also removed the mpu, dspeve, gpu, ivahd & votdm_core smps definitions, i don't see why? Even if you don't use these accelerators you need to have their power set up. IMO this is what is causing the kernel not being able to correctly boot your device.

    Best Regards,
    Yordan
  • Hi,

    We have removed irq definitions and now kernal is not crashing.

    We removed the mpu, dspeve, gpu, ivahd & votdm_core smps definitions, why because in latest sdk these are not present.

    Still we struck at Waiting for root device PARTUUID=87a90a9a-02...

    Please find below log.
    Kindly suggest what's wrong.
    U-Boot SPL 2018.01-00558-gca1e85ecb5-dirty (Jan 23 2019 - 19:17:49)
    DRA722-GP ES1.0

    U-Boot SPL 2018.01-00558-gca1e85ecb5-dirty (Jan 23 2019 - 19:17:49)
    DRA722-GP ES1.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 (Jan 23 2019 - 19:17:49 +0530)

    CPU : DRA722-GP ES1.0
    Model: TI AM5718 IDK
    Board: AM571x IDRAM: 1 GiB
    MMC: prop_name: pinctrl-0 mode: default index: 0
    prop_name: pinctrl-6 mode: sdr104 index: 6
    prop_name: pinctrl-4 mode: sdr50 index: 4
    prop_name: pinctrl-5 mode: ddr50 index: 5
    prop_name: pinctrl-3 mode: sdr25 index: 3
    prop_name: pinctrl-2 mode: sdr12 index: 2
    prop_name: pinctrl-1 mode: hs index: 1
    prop_name: pinctrl-0 mode: default index: 0
    prop_name: pinctrl-2 mode: ddr_1_8v index: 2
    prop_name: pinctrl-1 mode: hs index: 1
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Warning: fastboot.board_rev: unknown board revision
    omap_hsmmc_send_cmd : DMA timeout: No status update
    invalid mmc device
    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: Could not get PHY for ethernet@48484000: addr 0
    eth0: ethernet@48484000
    Hit any key to stop autoboot: 0
    WARNING: Could not determine device tree to use
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    1490 bytes read in 3 ms (484.4 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    1 bytes read in 2 ms (0 Bytes/s)
    Already setup.
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4022784 bytes read in 336 ms (11.4 MiB/s)
    92483 bytes read in 74 ms (1.2 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe6000, end 8ffff942 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-gbde58ab01e (medha@medha) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 SMP PREEMPT Wed Ja9
    [ 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 AM5718 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 ES1.0
    [ 0.000000] percpu: Embedded 15 pages/cpu @ef64d000 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=87a90a9a-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: 644600K/848896K available (8192K kernel code, 347K rwdata, 2564K rodata, 2048K init, 282K bss, 24072K reserved, 180)
    [ 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 - 0xc1056e98 ( 348 kB)
    [ 0.000000] .bss : 0xc1058000 - 0xc109ebe0 ( 283 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.000017] Switching to timer-based delay loop, resolution 162ns
    [ 0.000353] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000361] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000777] Console: colour dummy device 80x30
    [ 0.000794] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000801] This ensures that you still see kernel messages. Please
    [ 0.000808] update your kernel commandline.
    [ 0.000828] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.000843] pid_max: default: 32768 minimum: 301
    [ 0.000948] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000961] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001504] CPU: Testing write buffer coherency: ok
    [ 0.001541] CPU0: Spectre v2: using ICIALLU workaround
    [ 0.001737] /cpus/cpu@0 missing clock-frequency property
    [ 0.001750] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.039876] Setting up static identity map for 0x80200000 - 0x80200060
    [ 0.059882] Hierarchical SRCU implementation.
    [ 0.080063] EFI services will not be available.
    [ 0.099937] smp: Bringing up secondary CPUs ...
    [ 0.099947] smp: Brought up 1 node, 1 CPU
    [ 0.099957] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [ 0.099965] CPU: All CPU(s) started in HYP mode.
    [ 0.099972] CPU: Virtualization extensions available.
    [ 0.100396] devtmpfs: initialized
    [ 0.117266] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
    [ 0.120078] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.120282] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.120300] futex hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.124051] pinctrl core: initialized pinctrl subsystem
    [ 0.124557] DMI not present or invalid.
    [ 0.124807] NET: Registered protocol family 16
    [ 0.130840] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.131714] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.234929] omap_hwmod: dcan1: _wait_target_disable failed
    [ 0.241284] omap_hwmod: dcan2: _wait_target_disable failed
    [ 0.335252] cpuidle: using governor ladder
    [ 0.335285] cpuidle: using governor menu
    [ 0.343224] OMAP GPIO hardware version 0.1
    [ 0.369224] No ATAGs?
    [ 0.369273] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.369286] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.369677] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.369688] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.370225] OMAP DMA hardware revision 0.0
    [ 0.402380] edma 43300000.edma: memcpy is disabled
    [ 0.405694] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.412702] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.414241] V3_3D: supplied by VMAIN
    [ 0.416907] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.417116] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.417362] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.417603] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.417912] iommu: Adding device 58820000.ipu to group 1
    [ 0.417998] iommu: Adding device 55020000.ipu to group 2
    [ 0.418152] iommu: Adding device 40800000.dsp to group 0
    [ 0.420629] palmas 0-0058: IRQ missing: skipping irq request
    [ 0.450844] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    [ 0.460789] ldo1: Bringing 3000000uV into 3300000-3300000uV
    [ 0.504017] pcf857x: probe of 0-0021 failed with error -121
    [ 0.504069] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.504235] media: Linux media interface: v0.10
    [ 0.504278] Linux video capture interface: v2.00
    [ 0.504362] pps_core: LinuxPPS API ver. 1 registered
    [ 0.504370] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.504389] PTP clock support registered
    [ 0.504418] EDAC MC: Ver: 3.0.0
    [ 0.510693] dmi: Firmware registration failed.
    [ 0.510909] omap-mailbox: probe of 4883c000.mailbox failed with error -22
    [ 0.510972] omap-mailbox: probe of 4883e000.mailbox failed with error -22
    [ 0.511254] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.511358] omap-mailbox: probe of 48842000.mailbox failed with error -22
    [ 0.511647] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.520757] clocksource: Switched to clocksource arch_sys_counter
    [ 0.528482] NET: Registered protocol family 2
    [ 0.529023] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.529087] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.529213] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.529280] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.529312] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.529427] NET: Registered protocol family 1
    [ 0.549786] RPC: Registered named UNIX socket transport module.
    [ 0.549796] RPC: Registered udp transport module.
    [ 0.549803] RPC: Registered tcp transport module.
    [ 0.549811] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.550704] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 0.550880] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.551890] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.556122] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.566676] NFS: Registering the id_resolver key type
    [ 0.566698] Key type id_resolver registered
    [ 0.566707] Key type id_legacy registered
    [ 0.566743] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.568408] bounce: pool size: 64 pages
    [ 0.568455] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.568466] io scheduler noop registered
    [ 0.568475] io scheduler deadline registered
    [ 0.568568] io scheduler cfq registered (default)
    [ 0.568578] io scheduler mq-deadline registered
    [ 0.568586] io scheduler kyber registered
    [ 0.573173] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 0.573327] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [ 0.573398] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [ 0.573409] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [ 0.635223] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.637994] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a 8250
    [ 1.550334] console [ttyS0] enabled
    [ 1.554756] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 44, base_baud = 3000000) is a 8250
    [ 1.564384] 48420000.serial: ttyS6 at MMIO 0x48420000 (irq = 45, base_baud = 3000000) is a 8250
    [ 1.573992] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 46, base_baud = 3000000) is a 8250
    [ 1.584663] omap_rng 48090000.rng: Random Number Generator ver. 20
    [ 1.603476] brd: module loaded
    [ 1.612098] loop: module loaded
    [ 1.618033] libphy: Fixed MDIO Bus: probed
    [ 1.680781] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.688475] davinci_mdio 48485000.mdio: detected phy mask fffffdff
    [ 1.706836] libphy: 48485000.mdio: probed
    [ 1.710920] davinci_mdio 48485000.mdio: phy[9]: device 48485000.mdio:09, driver NS DP83848C 10/100 Mbps PHY
    [ 1.721412] cpsw 48484000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [ 1.729737] cpsw 48484000.ethernet: Detected MACID = 5c:f8:21:3d:51:2a
    [ 1.736422] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [ 1.742847] cpsw 48484000.ethernet: ALE Table size 1024
    [ 1.748109] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [ 1.755173] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.763585] i2c /dev entries driver
    [ 1.767793] IR NEC protocol handler initialized
    [ 1.772371] IR RC5(x/sz) protocol handler initialized
    [ 1.777442] IR RC6 protocol handler initialized
    [ 1.782004] IR JVC protocol handler initialized
    [ 1.786552] IR Sony protocol handler initialized
    [ 1.791200] IR SANYO protocol handler initialized
    [ 1.795923] IR Sharp protocol handler initialized
    [ 1.800644] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.806649] IR XMP protocol handler initialized
    [ 1.813073] random: fast init done
    [ 1.816790] tmp102 0-0049: initialized
    [ 1.823055] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
    [ 1.830720] sdhci: Secure Digital Host Controller Interface driver
    [ 1.836951] sdhci: Copyright(c) Pierre Ossman
    [ 1.841820] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.848571] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 1.854163] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.864152] NET: Registered protocol family 10
    [ 1.879377] Segment Routing with IPv6
    [ 1.883166] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.889555] NET: Registered protocol family 17
    [ 1.894258] Key type dns_resolver registered
    [ 1.898657] omap_voltage_late_init: Voltage driver support not added
    [ 1.905059] Power Management for TI OMAP4+ devices.
    [ 1.910177] Registering SWP/SWPB emulation handler
    [ 1.927822] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 1.935446] dmm 4e000000.dmm: initialized all PAT entries
    [ 1.942859] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 1.948368] hctosys: unable to open rtc device (rtc0)
    [ 1.954635] vdd_3v3: disabling
    [ 1.957706] aic_dvdd_fixed: disabling
    [ 1.961601] ldo2: disabling
    [ 1.964875] ldo4: disabling
    [ 1.967974] pbias_mmc_omap5: disabling
    [ 1.971763] ALSA device list:
    [ 1.974740] No soundcards found.
    [ 1.978834] Waiting for root device PARTUUID=87a90a9a-02...
  • This is an mmc initialization problem. Check if you setup your card detect pin (or gpio whichever you use) correct in the dts.

    If possible probe the mmc pins that are connected to the sdcard connector to see if they toggle correctly.

    Best Regards,
    Yordan