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.

AM57x kernel hangs at PCIe init

Other Parts Discussed in Thread: DRA752

Hello,

my linux setup in default configuration does boot without problems. When PCIe is configured in the kernel menu (processors.wiki.ti.com/.../Linux_Core_PCIe_Driver_User's_Guide), it doesn't boot anymore.

uBoot version: U-Boot 2016.05-dirty (Jul 08 2016 - 10:14:11 +0200)

Kernel: Linux version 4.1.25-svn9

DT: I use a modifcated beagle x15 DT, but with no settings related PCIe or clocks.

There are some PLL lock errors in the boot trace:

[ 0.000000] clock: dpll_abe_ck failed transition to 'locked'

I found a other e2e ticket (https://e2e.ti.com/support/omap/f/885/t/365134), there is my last trace message printed and after this the " ### dra7xx_pcie_probe 318".

Thank you

regards

Christian

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.25-svn9 (user@voyager) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1) ) #16 SMP PREEMPT Tue Jun 21 08:41:23 CEST 2016
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: hm,am57xx
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] cma: Reserved 24 MiB at 0x000000009e400000
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 130560
[ 0.000000] free_area_init_node: node 0, pgdat c0732000, node_mem_map ddf80000
[ 0.000000] Normal zone: 1152 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130560 pages, LIFO batch:31
[ 0.000000] DRA752 ES1.1
[ 0.000000] PERCPU: Embedded 11 pages/cpu @dfd9b000 s12608 r8192 d24256 u45056
[ 0.000000] pcpu-alloc: s12608 r8192 d24256 u45056 alloc=11*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408
[ 0.000000] Kernel command line: earlyprintk=serial,uart3,9600 console=ttyS2,9600 debug root=/dev/ram0 rw rdinit=/sbin/init
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 484608K/522240K available (4407K kernel code, 207K rwdata, 1560K rodata, 1168K init, 216K bss, 13056K reserved, 24576K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05dbfd4 (5968 kB)
[ 0.000000] .init : 0xc05dc000 - 0xc0700000 (1168 kB)
[ 0.000000] .data : 0xc0700000 - 0xc0733d70 ( 208 kB)
[ 0.000000] .bss : 0xc0736000 - 0xc076c0a4 ( 217 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] clock: dpll_abe_ck failed transition to 'locked'
[ 0.000000] OMAP clockevent source: timer1 at 32768 Hz
[ 0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000030] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[ 0.008666] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.014312] Architected cp15 timer(s) running at 6.14MHz (virt).
[ 0.020568] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.031651] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.039953] Switching to timer-based delay loop, resolution 162ns
[ 0.046728] Console: colour dummy device 80x30
[ 0.051385] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.062019] pid_max: default: 32768 minimum: 301
[ 0.066909] Security Framework initialized
[ 0.071238] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.078114] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085970] Initializing cgroup subsys blkio
[ 0.090441] Initializing cgroup subsys memory
[ 0.095016] Initializing cgroup subsys devices
[ 0.099679] Initializing cgroup subsys freezer
[ 0.104329] Initializing cgroup subsys perf_event
[ 0.109256] CPU: Testing write buffer coherency: ok
[ 0.114593] /cpus/cpu@0 missing clock-frequency property
[ 0.120134] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.126072] Setting up static identity map for 0x80008300 - 0x80008358
[ 0.166467] Brought up 1 CPUs
[ 0.169599] SMP: Total of 1 processors activated (12.29 BogoMIPS).
[ 0.176025] CPU: All CPU(s) started in SVC mode.
[ 0.181218] devtmpfs: initialized
[ 0.203035] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.211071] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.307475] omap_hwmod: dss_core: _wait_target_disable failed
[ 0.313470] omap_hwmod: dss_core: _wait_target_ready failed: -16
[ 0.319722] omap_hwmod: dss_core: cannot be enabled for reset (3)
[ 0.328646] omap_hwmod: dss_dispc: _wait_target_ready failed: -16
[ 0.334986] omap_hwmod: dss_dispc: cannot be enabled for reset (3)
[ 0.343999] omap_hwmod: dss_hdmi: _wait_target_ready failed: -16
[ 0.350251] omap_hwmod: dss_hdmi: cannot be enabled for reset (3)
[ 0.423491] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.434362] pinctrl core: initialized pinctrl subsystem
[ 0.441231] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.478438] cpuidle: using governor ladder
[ 0.508460] cpuidle: using governor menu
[ 0.517788] OMAP GPIO hardware version 0.1
[ 0.526162] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.537104] platform 4e000000.dmm: Cannot lookup hwmod 'dmm'
[ 0.547311] No ATAGs?
[ 0.549472] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.558054] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.565018] OMAP DMA hardware revision 0.0
[ 0.611291] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[ 0.619488] vgaarb: loaded
[ 0.622658] pps_core: LinuxPPS API ver. 1 registered
[ 0.627837] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.637789] Switched to clocksource arch_sys_counter
[ 0.652435] PCI: CLS 0 bytes, default 64
[ 0.707867] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.719227] VFS: Disk quotas dquot_6.6.0
[ 0.723486] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.732193] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.741721] io scheduler noop registered
[ 0.745837] io scheduler deadline registered
[ 0.750406] io scheduler cfq registered (default)
[ 0.758519] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124