Hi Team,
With reference to changes suggested on the Ticket #994123, we were able to get both the PCIe units up and enumerated properly after multiple attempts. Very rarely it is succeeding but generally we see the below issue.
Issue is, one of the PCIe links is not coming up (logs below). As a result, none of the devices attached to that particular PCIe interface except the SOC itself is enumerated.
Can you please advise on how this issue can be resolved ?
Issue logs :
DRAGON:~# lspci -n
0000:00:00.0 0604: 104c:8888 (rev 01)
0001:00:00.0 0604: 104c:8888 (rev 01)
0001:01:00.0 0200: 14e4:b340 (rev 01)
0001:01:00.1 0200: 14e4:b340 (rev 01)
DRAGON:~#
DRAGON login: root
DRAGON:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.115-rt59 (abinayavijip@BS-CHN-226.embedur.local) (gcc version 6.4.1 20170707 (Linaro GCC 6.4-2017.08)) #8 SMP Fri Jul 9 11:37:26 IST 2021
[ 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: Hirschmann Dragon Switch
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 24 MiB at 0x00000000be400000
[ 0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
[ 0.000000] On node 0 totalpages: 261376
[ 0.000000] free_area_init_node: node 0, pgdat c104a800, node_mem_map ef6f2000
[ 0.000000] DMA zone: 1728 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 196608 pages, LIFO batch:31
[ 0.000000] HighMem zone: 64768 pages, LIFO batch:15
[ 0.000000] DRA722 ES2.0
[ 0.000000] percpu: Embedded 16 pages/cpu s35980 r8192 d21364 u65536
[ 0.000000] pcpu-alloc: s35980 r8192 d21364 u65536 alloc=16*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 259648
[ 0.000000] Kernel command line: console=ttyO2,9600 root=/dev/ram0 rw rdinit=/sbin/init loglevel=3
[ 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: 970164K/1045504K available (8192K kernel code, 310K rwdata, 2208K rodata, 2048K init, 237K bss, 50764K reserved, 24576K cma-reserved, 234496K highmem)
[ 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 - 0xc104d810 ( 311 kB)
[ 0.000000] .bss : 0xc10556e4 - 0xc1090cd8 ( 238 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 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, preallocated irqs: 16
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (virt).
[ 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.000014] Switching to timer-based delay loop, resolution 162ns
[ 0.000327] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000332] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000671] Console: colour dummy device 80x30
[ 0.000686] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[ 0.000691] This ensures that you still see kernel messages. Please
[ 0.000695] update your kernel commandline.
[ 0.000713] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000726] pid_max: default: 32768 minimum: 301
[ 0.000814] Security Framework initialized
[ 0.000853] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000863] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001383] CPU: Testing write buffer coherency: ok
[ 0.001416] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.001621] /cpus/cpu@0 missing clock-frequency property
[ 0.001632] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001916] Setting up static identity map for 0x80200000 - 0x80200060
[ 0.002007] Hierarchical SRCU implementation.
[ 0.002796] smp: Bringing up secondary CPUs ...
[ 0.002804] smp: Brought up 1 node, 1 CPU
[ 0.002811] SMP: Total of 1 processors activated (12.29 BogoMIPS).
[ 0.002816] CPU: All CPU(s) started in SVC mode.
[ 0.003231] devtmpfs: initialized
[ 0.018573] random: get_random_u32 called from bucket_table_alloc+0x100/0x250 with crng_init=0
[ 0.018806] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.018971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.018984] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.019571] pinctrl core: initialized pinctrl subsystem
[ 0.020260] NET: Registered protocol family 16
[ 0.021357] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.022210] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.041875] omap_hwmod: dss_core: no dt node
[ 0.041880] ------------[ cut here ]------------
[ 0.041899] WARNING: CPU: 0 PID: 1 at /data/abinayavijip/Merge/linux-kernel/kernel/linux-4.14/arch/arm/mach-omap2/omap_hwmod.c:2468 _init.constprop.17+0x1fc/0x4c0
[ 0.041904] omap_hwmod: dss_core: doesn't have mpu register target base
[ 0.041909] Modules linked in:
[ 0.041923] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.115-rt59 #8
[ 0.041928] Hardware name: Generic DRA72X (Flattened Device Tree)
[ 0.041932] Backtrace:
[ 0.041948] [<c020b538>] (dump_backtrace) from [<c020b808>] (show_stack+0x18/0x1c)
[ 0.041958] r7:00000009 r6:60000053 r5:00000000 r4:c104a76c
[ 0.041970] [<c020b7f0>] (show_stack) from [<c0869918>] (dump_stack+0x8c/0xa0)
[ 0.041981] [<c086988c>] (dump_stack) from [<c022be04>] (__warn+0xec/0x104)
[ 0.041988] r7:00000009 r6:c0b5d038 r5:00000000 r4:ef077e20
[ 0.041997] [<c022bd18>] (__warn) from [<c022be5c>] (warn_slowpath_fmt+0x40/0x48)
[ 0.042005] r9:c0e00608 r8:000000a5 r7:00000000 r6:c1011078 r5:00000000 r4:c0b5d41c
[ 0.042015] [<c022be20>] (warn_slowpath_fmt) from [<c0e0c130>] (_init.constprop.17+0x1fc/0x4c0)
[ 0.042021] r3:c0b5fb68 r2:c0b5d41c
[ 0.042026] r4:c1011034
[ 0.042037] [<c0e0bf34>] (_init.constprop.17) from [<c0e0c928>] (__omap_hwmod_setup_all+0x48/0x100)
[ 0.042045] r10:00000003 r9:c0e00608 r8:000000a5 r7:c0e3b824 r6:00000000 r5:c1009408
[ 0.042050] r4:c1011034
[ 0.042060] [<c0e0c8e0>] (__omap_hwmod_setup_all) from [<c0201ab4>] (do_one_initcall+0x4c/0x170)
[ 0.042066] r5:c0e0c8e0 r4:ffffe000
[ 0.042077] [<c0201a68>] (do_one_initcall) from [<c0e00f60>] (kernel_init_freeable+0x1d0/0x264)
[ 0.042085] r9:c0e00608 r8:000000a5 r6:c0e4b5ac r5:c1055700 r4:c1055700
[ 0.042097] [<c0e00d90>] (kernel_init_freeable) from [<c087dc58>] (kernel_init+0x10/0x114)
[ 0.042105] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c087dc48
[ 0.042110] r4:00000000
[ 0.042121] [<c087dc48>] (kernel_init) from [<c0207ce0>] (ret_from_fork+0x14/0x34)
[ 0.042126] r5:c087dc48 r4:00000000
[ 0.042136] ---[ end trace 74adce919d90e257 ]---
[ 0.042942] omap_hwmod: dss_dispc: no dt node
[ 0.042946] ------------[ cut here ]------------
[ 0.042957] WARNING: CPU: 0 PID: 1 at /data/abinayavijip/Merge/linux-kernel/kernel/linux-4.14/arch/arm/mach-omap2/omap_hwmod.c:2468 _init.constprop.17+0x1fc/0x4c0
[ 0.042961] omap_hwmod: dss_dispc: doesn't have mpu register target base
[ 0.042965] Modules linked in:
[ 0.042977] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.14.115-rt59 #8
[ 0.042981] Hardware name: Generic DRA72X (Flattened Device Tree)
[ 0.042985] Backtrace:
[ 0.042998] [<c020b538>] (dump_backtrace) from [<c020b808>] (show_stack+0x18/0x1c)
[ 0.043005] r7:00000009 r6:60000053 r5:00000000 r4:c104a76c
[ 0.043015] [<c020b7f0>] (show_stack) from [<c0869918>] (dump_stack+0x8c/0xa0)
[ 0.043024] [<c086988c>] (dump_stack) from [<c022be04>] (__warn+0xec/0x104)
[ 0.043031] r7:00000009 r6:c0b5d038 r5:00000000 r4:ef077e20
[ 0.043039] [<c022bd18>] (__warn) from [<c022be5c>] (warn_slowpath_fmt+0x40/0x48)
[ 0.043047] r9:c0e00608 r8:000000a5 r7:00000000 r6:c1010fbc r5:00000000 r4:c0b5d41c
[ 0.043057] [<c022be20>] (warn_slowpath_fmt) from [<c0e0c130>] (_init.constprop.17+0x1fc/0x4c0)
[ 0.043062] r3:c0ba6078 r2:c0b5d41c
[ 0.043067] r4:c1010f78
[ 0.043078] [<c0e0bf34>] (_init.constprop.17) from [<c0e0c928>] (__omap_hwmod_setup_all+0x48/0x100)
[ 0.043085] r10:00000003 r9:c0e00608 r8:000000a5 r7:c0e3b824 r6:00000000 r5:c1009408
[ 0.043090] r4:c1010f78
[ 0.043099] [<c0e0c8e0>] (__omap_hwmod_setup_all) from [<c0201ab4>] (do_one_initcall+0x4c/0x170)
[ 0.043105] r5:c0e0c8e0 r4:ffffe000
[ 0.043115] [<c0201a68>] (do_one_initcall) from [<c0e00f60>] (kernel_init_freeable+0x1d0/0x264)
[ 0.043122] r9:c0e00608 r8:000000a5 r6:c0e4b5ac r5:c1055700 r4:c1055700
[ 0.043134] [<c0e00d90>] (kernel_init_freeable) from [<c087dc58>] (kernel_init+0x10/0x114)
[ 0.043141] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c087dc48
[ 0.043145] r4:00000000
[ 0.043156] [<c087dc48>] (kernel_init) from [<c0207ce0>] (ret_from_fork+0x14/0x34)
[ 0.043161] r5:c087dc48 r4:00000000
[ 0.043166] ---[ end trace 74adce919d90e258 ]---
[ 0.043955] omap_hwmod: dss_hdmi: no dt node
[ 0.043960] ------------[ cut here ]------------
[ 0.043970] WARNING: CPU: 0 PID: 1 at /data/abinayavijip/Merge/linux-kernel/kernel/linux-4.14/arch/arm/mach-omap2/omap_hwmod.c:2468 _init.constprop.17+0x1fc/0x4c0
[ 0.043975] omap_hwmod: dss_hdmi: doesn't have mpu register target base
[ 0.043978] Modules linked in:
[ 0.043989] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.14.115-rt59 #8
[ 0.043994] Hardware name: Generic DRA72X (Flattened Device Tree)
[ 0.043998] Backtrace:
[ 0.044010] [<c020b538>] (dump_backtrace) from [<c020b808>] (show_stack+0x18/0x1c)
[ 0.044017] r7:00000009 r6:60000053 r5:00000000 r4:c104a76c
[ 0.044026] [<c020b7f0>] (show_stack) from [<c0869918>] (dump_stack+0x8c/0xa0)
[ 0.044035] [<c086988c>] (dump_stack) from [<c022be04>] (__warn+0xec/0x104)
[ 0.044042] r7:00000009 r6:c0b5d038 r5:00000000 r4:ef077e20
[ 0.044050] [<c022bd18>] (__warn) from [<c022be5c>] (warn_slowpath_fmt+0x40/0x48)
[ 0.044058] r9:c0e00608 r8:000000a5 r7:00000000 r6:c1010ef8 r5:00000000 r4:c0b5d41c
[ 0.044067] [<c022be20>] (warn_slowpath_fmt) from [<c0e0c130>] (_init.constprop.17+0x1fc/0x4c0)
[ 0.044073] r3:c0ba85a8 r2:c0b5d41c
[ 0.044077] r4:c1010eb4
[ 0.044088] [<c0e0bf34>] (_init.constprop.17) from [<c0e0c928>] (__omap_hwmod_setup_all+0x48/0x100)
[ 0.044095] r10:00000003 r9:c0e00608 r8:000000a5 r7:c0e3b824 r6:00000000 r5:c1009408
[ 0.044100] r4:c1010eb4
[ 0.044109] [<c0e0c8e0>] (__omap_hwmod_setup_all) from [<c0201ab4>] (do_one_initcall+0x4c/0x170)
[ 0.044115] r5:c0e0c8e0 r4:ffffe000
[ 0.044125] [<c0201a68>] (do_one_initcall) from [<c0e00f60>] (kernel_init_freeable+0x1d0/0x264)
[ 0.044132] r9:c0e00608 r8:000000a5 r6:c0e4b5ac r5:c1055700 r4:c1055700
[ 0.044143] [<c0e00d90>] (kernel_init_freeable) from [<c087dc58>] (kernel_init+0x10/0x114)
[ 0.044151] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c087dc48
[ 0.044155] r4:00000000
[ 0.044166] [<c087dc48>] (kernel_init) from [<c0207ce0>] (ret_from_fork+0x14/0x34)
[ 0.044171] r5:c087dc48 r4:00000000
[ 0.044176] ---[ end trace 74adce919d90e259 ]---
[ 0.200990] omap_hwmod: usb_otg_ss1: _wait_target_disable failed
[ 0.202833] cpuidle: using governor ladder
[ 0.202840] cpuidle: using governor menu
[ 0.211087] OMAP GPIO hardware version 0.1
[ 0.214868] omap_gpio 48051000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/pwr_intr_pin, deferring probe
[ 0.225558] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/nand_pins, deferring probe
[ 0.228882] No ATAGs?
[ 0.228964] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.228970] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.229306] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.229313] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.229831] OMAP DMA hardware revision 0.0
[ 0.242834] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.243760] edma 43300000.edma: memcpy is disabled
[ 0.246905] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.249458] vgaarb: loaded
[ 0.249712] SCSI subsystem initialized
[ 0.249869] usbcore: registered new interface driver usbfs
[ 0.249908] usbcore: registered new interface driver hub
[ 0.249950] usbcore: registered new device driver usb
[ 0.250330] omap_i2c 48070000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/i2c_pmic_pins, deferring probe
[ 0.250368] omap_i2c 48072000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/i2c_logic_pins, deferring probe
[ 0.250466] pps_core: LinuxPPS API ver. 1 registered
[ 0.250472] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.251348] clocksource: Switched to clocksource arch_sys_counter
[ 0.251447] VFS: Disk quotas dquot_6.6.0
[ 0.251499] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.258795] NET: Registered protocol family 2
[ 0.259231] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.259291] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.259413] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.259484] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.259513] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.259631] NET: Registered protocol family 1
[ 0.259656] PCI: CLS 0 bytes, default 64
[ 0.259977] Trying to unpack rootfs image as initramfs...
[ 0.651332] Freeing initrd memory: 25352K
[ 0.654717] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.658828] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.660913] bounce: pool size: 64 pages
[ 0.660926] io scheduler noop registered
[ 0.660932] io scheduler deadline registered
[ 0.661083] io scheduler cfq registered (default)
[ 0.661089] io scheduler mq-deadline registered
[ 0.661095] io scheduler kyber registered
[ 0.665213] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.666500] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3
[ 0.666652] dra7-pcie 51000000.pcie: WA for Errata i870 not applied
[ 0.666750] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
[ 0.666784] OF: PCI: IO 0x20003000..0x20012fff -> 0x00000000
[ 0.666802] OF: PCI: MEM 0x20013000..0x2fffffff -> 0x20013000
[ 1.661560] dra7-pcie 51000000.pcie: phy link never came up
[ 1.661698] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 1.661708] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.661717] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 1.661725] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 1.661759] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
[ 1.661790] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 1.661847] pci 0000:00:00.0: supports D1
[ 1.661854] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.662030] PCI: bus0: Fast back to back transfers disabled
[ 1.662117] PCI: bus1: Fast back to back transfers enabled
[ 1.662152] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
[ 1.662168] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 1.662457] pcieport 0000:00:00.0: Signaling PME with IRQ 148
[ 1.662578] pcieport 0000:00:00.0: AER enabled with IRQ 148
[ 1.662872] dra7-pcie 51800000.pcie: Linked as a consumer to phy-4a084400.phy.4
[ 1.663075] dra7-pcie 51800000.pcie: WA for Errata i870 not applied
[ 1.663176] OF: PCI: host bridge /ocp/axi@1/pcie@51800000 ranges:
[ 1.663209] OF: PCI: IO 0x30003000..0x30012fff -> 0x00000000
[ 1.663227] OF: PCI: MEM 0x30013000..0x3fffffff -> 0x30013000
[ 1.764023] dra7-pcie 51800000.pcie: link up
[ 1.764135] dra7-pcie 51800000.pcie: PCI host bridge to bus 0001:00
[ 1.764144] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 1.764154] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff])
[ 1.764161] pci_bus 0001:00: root bus resource [mem 0x30013000-0x3fffffff]
[ 1.764189] pci 0001:00:00.0: [104c:8888] type 01 class 0x060400
[ 1.764218] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 1.764269] pci 0001:00:00.0: supports D1
[ 1.764275] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 1.764443] PCI: bus0: Fast back to back transfers disabled
[ 1.764600] pci 0001:01:00.0: [14e4:b340] type 00 class 0x020000
[ 1.764748] pci 0001:01:00.0: reg 0x10: [mem 0x30000000-0x30007fff 64bit pref]
[ 1.764803] pci 0001:01:00.0: reg 0x18: [mem 0x30040000-0x3007ffff 64bit pref]
[ 1.764858] pci 0001:01:00.0: reg 0x20: [mem 0x31000000-0x31ffffff 64bit pref]
[ 1.765260] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[ 1.765519] pci 0001:01:00.1: [14e4:b340] type 00 class 0x020000
[ 1.765661] pci 0001:01:00.1: reg 0x10: [mem 0x32000000-0x32007fff 64bit pref]
[ 1.765767] pci 0001:01:00.1: reg 0x20: [mem 0x33000000-0x33ffffff 64bit pref]
[ 1.766156] pci 0001:01:00.1: PME# supported from D0 D3hot D3cold
[ 1.766416] PCI: bus1: Fast back to back transfers disabled
[ 1.766449] pci 0001:00:00.0: BAR 9: assigned [mem 0x30800000-0x32ffffff pref]
[ 1.766459] pci 0001:00:00.0: BAR 0: assigned [mem 0x30100000-0x301fffff 64bit]
[ 1.766478] pci 0001:01:00.0: BAR 4: assigned [mem 0x31000000-0x31ffffff 64bit pref]
[ 1.766525] pci 0001:01:00.1: BAR 4: assigned [mem 0x32000000-0x32ffffff 64bit pref]
[ 1.766571] pci 0001:01:00.0: BAR 2: assigned [mem 0x30800000-0x3083ffff 64bit pref]
[ 1.766615] pci 0001:01:00.0: BAR 0: assigned [mem 0x30840000-0x30847fff 64bit pref]
[ 1.766660] pci 0001:01:00.1: BAR 0: assigned [mem 0x30848000-0x3084ffff 64bit pref]
[ 1.766705] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 1.766717] pci 0001:00:00.0: bridge window [mem 0x30800000-0x32ffffff pref]
[ 1.766974] pcieport 0001:00:00.0: Signaling PME with IRQ 181
[ 1.767095] pcieport 0001:00:00.0: AER enabled with IRQ 181
[ 1.809814] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 1.812547] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 47, base_baud = 3000000) is a 8250
[ 1.812621] console [ttyS2] enabled
[ 1.813500] I2C device entries driver
[ 1.821937] brd: module loaded
[ 1.827269] loop: module loaded
[ 1.827500] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.829063] cplddev: load driver
[ 1.829187] cplddev: start device cplddev status 0
[ 1.829199] cplddev: sysfs group created!
[ 1.829291] spi spi1.1: not using DMA for McSPI (-19)
[ 1.830631] m25p80 spi0.0: found w25q256, expected s25fl256s1
[ 1.839359] m25p80 spi0.0: w25q256 (32768 Kbytes)
[ 1.839447] 11 ofpart partitions found on MTD device spi0.0
[ 1.839453] Creating 11 MTD partitions on "spi0.0":
[ 1.839462] 0x000000000000-0x000000200000 : "BOOTROM"
[ 1.840193] 0x000000200000-0x000000210000 : "PARAMETER"
[ 1.840824] 0x000000210000-0x000000220000 : "BOOTPARAM"
[ 1.841447] 0x000000220000-0x000000230000 : "COUNTER"
[ 1.842077] 0x000000260000-0x000000300000 : "AUDITTRAIL"
[ 1.842694] 0x000000300000-0x000000340000 : "CUSTOMCFG"
[ 1.843287] 0x000000340000-0x000000360000 : "MODULEPARAMETER"
[ 1.843872] 0x000000360000-0x000000400000 : "RESERVEDNOR"
[ 1.844457] 0x000000400000-0x000001400000 : "FSFLASH"
[ 1.845056] 0x000001400000-0x000001800000 : "FSSAFE"
[ 1.845655] 0x000001800000-0x000001a00000 : "DHCPBIND"
[ 1.846592] libphy: Fixed MDIO Bus: probed
[ 1.846851] tun: Universal TUN/TAP device driver, 1.6
[ 1.901367] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.901376] davinci_mdio 48485000.mdio: no live phy, scanning all
[ 1.902766] davinci_mdio: probe of 48485000.mdio failed with error -5
[ 1.903310] cpsw 48484000.ethernet: Detected MACID = 98:5d:ad:99:36:2e
[ 1.904065] cpsw 48484000.ethernet: cpsw: Detected MACID = 98:5d:ad:99:36:2f
[ 1.904954] usbcore: registered new interface driver asix
[ 1.904991] usbcore: registered new interface driver ax88179_178a
[ 1.905021] usbcore: registered new interface driver cdc_ether
[ 1.905050] usbcore: registered new interface driver net1080
[ 1.905084] usbcore: registered new interface driver cdc_subset
[ 1.905111] usbcore: registered new interface driver zaurus
[ 1.905156] usbcore: registered new interface driver cdc_ncm
[ 1.911945] omap_hwmod: usb_otg_ss1: _wait_target_disable failed
[ 1.912588] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.912594] ehci-pci: EHCI PCI platform driver
[ 1.912637] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.913285] usbcore: registered new interface driver usb-storage
[ 1.913555] i2c /dev entries driver
[ 1.913633] IR NEC protocol handler initialized
[ 1.913638] IR RC5(x/sz) protocol handler initialized
[ 1.913643] IR RC6 protocol handler initialized
[ 1.913647] IR JVC protocol handler initialized
[ 1.913652] IR Sony protocol handler initialized
[ 1.913656] IR SANYO protocol handler initialized
[ 1.913661] IR Sharp protocol handler initialized
[ 1.913665] IR MCE Keyboard/mouse protocol handler initialized
[ 1.913670] IR XMP protocol handler initialized
[ 1.916680] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.972257] oprofile: no performance counters
[ 1.972367] oprofile: using timer interrupt.
[ 1.972406] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 1.990907] tcp_probe: probe registered (port=0/fwmark=0) bufsize=4096
[ 1.991319] NET: Registered protocol family 10
[ 1.993258] Segment Routing with IPv6
[ 1.993314] NET: Registered protocol family 17
[ 1.993384] omap_voltage_late_init: Voltage driver support not added
[ 1.993389] Power Management for TI OMAP4+ devices.
[ 1.993632] ThumbEE CPU extension supported.
[ 1.993643] Registering SWP/SWPB emulation handler
[ 2.009479] dmm 4e000000.dmm: initialized all PAT entries
[ 2.010648] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 2.010659] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 2.011918] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1
[ 2.011924] nand: Micron MT29F1G08ABADAH4
[ 2.011931] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 2.011936] using OMAP_ECC_ON_DIE ECC scheme
[ 2.011972] nand: micron: on die ecc: 1 unsup(0)|sup(1)|mand(2)
[ 2.011977] nand: NAND_ECC_ON_DIE selected
[ 2.012045] 7 ofpart partitions found on MTD device omap2-nand.0
[ 2.012050] Creating 7 MTD partitions on "omap2-nand.0":
[ 2.012062] 0x000000000000-0x000000200000 : "BOOTROM2"
[ 2.014833] 0x000000200000-0x000001000000 : "RESERVED"
[ 2.022056] 0x000001000000-0x000001800000 : "LOGGINGHIGH"
[ 2.026363] 0x000001800000-0x000002000000 : "LOGGINGNORMAL"
[ 2.030680] 0x000002000000-0x000003000000 : "LOGGINGDEV"
[ 2.038706] 0x000003000000-0x000005800000 : "IMAGE1"
[ 2.057989] 0x000005800000-0x000008000000 : "IMAGE2"
[ 2.078017] i2c i2c-0: of_i2c: modalias failure on /ocp/i2c@48070000/tps@58
[ 2.078027] i2c i2c-0: Failed to create I2C device for /ocp/i2c@48070000/tps@58
[ 2.078043] omap_i2c 48070000.i2c: bus 0 rev0.12 at 100 kHz
[ 2.131496] lm75: probe of 1-004f failed with error -121
[ 2.191455] rtc-ds1307: probe of 1-0068 failed with error -121
[ 2.191493] omap_i2c 48072000.i2c: bus 1 rev0.12 at 20 kHz
[ 2.198864] omap_hwmod: usb_otg_ss1: _wait_target_disable failed
[ 2.199798] omap_gpio 48051000.gpio: Could not set line 25 debounce to 20000 microseconds (-22)
[ 2.200839] hctosys: unable to open rtc device (rtc0)
[ 2.203330] Freeing unused kernel memory: 2048K
[ 2.558138] ubi0: attaching mtd8
[ 2.568868] ubi0: scanning is finished
[ 2.568893] ubi0 error: ubi_read_volume_table: the layout volume was not found
[ 2.568994] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd8, error -22
[ 2.571365] ubiattach flash failed
[ 52.718083] ubi0: attaching mtd8
[ 52.737476] ubi0: scanning is finished
[ 52.740797] ubi0: attached mtd8 (name "FSFLASH", size 16 MiB)
[ 52.740806] ubi0: PEB size: 65536 bytes (64 KiB), LEB size: 65408 bytes
[ 52.740812] ubi0: min./max. I/O unit sizes: 1/256, sub-page size 1
[ 52.740818] ubi0: VID header offset: 64 (aligned 64), data offset: 128
[ 52.740824] ubi0: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[ 52.740830] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 52.740836] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 383799145
[ 52.740842] ubi0: available PEBs: 252, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0
[ 52.742203] ubi0: background thread "ubi_bgt0d" started, PID 80
[ 53.746585] ubi1: attaching mtd9
[ 53.749399] ubi1: scanning is finished
[ 53.749422] ubi1 error: ubi_read_volume_table: the layout volume was not found
[ 53.749446] ubi1 error: ubi_attach_mtd_dev: failed to attach mtd9, error -22
[ 53.751429] ubiattach safe failed
[ 63.247605] ubi1: attaching mtd9
[ 63.252549] ubi1: scanning is finished
[ 63.257019] ubi1: attached mtd9 (name "FSSAFE", size 4 MiB)
[ 63.257028] ubi1: PEB size: 65536 bytes (64 KiB), LEB size: 65408 bytes
[ 63.257034] ubi1: min./max. I/O unit sizes: 1/256, sub-page size 1
[ 63.257040] ubi1: VID header offset: 64 (aligned 64), data offset: 128
[ 63.257046] ubi1: good PEBs: 64, bad PEBs: 0, corrupted PEBs: 0
[ 63.257052] ubi1: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 63.257058] ubi1: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 883367211
[ 63.257064] ubi1: available PEBs: 60, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0
[ 63.258236] ubi1: background thread "ubi_bgt1d" started, PID 90
[ 65.143209] UBIFS (ubi0:0): default file-system created
[ 65.143581] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 98
[ 65.157541] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "flash"
[ 65.157549] UBIFS (ubi0:0): LEB size: 65408 bytes (63 KiB), min./max. I/O unit sizes: 8 bytes/256 bytes
[ 65.157558] UBIFS (ubi0:0): FS size: 15828736 bytes (15 MiB, 242 LEBs), journal size 784896 bytes (0 MiB, 12 LEBs)
[ 65.157564] UBIFS (ubi0:0): reserved for root: 747629 bytes (730 KiB)
[ 65.157573] UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID AA65B65E-0824-4BB9-8590-F505E33DBA5C, small LPT model
[ 65.174596] UBIFS (ubi1:0): default file-system created
[ 65.174967] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 102
[ 65.187751] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "safe"
[ 65.187760] UBIFS (ubi1:0): LEB size: 65408 bytes (63 KiB), min./max. I/O unit sizes: 8 bytes/256 bytes
[ 65.187768] UBIFS (ubi1:0): FS size: 3270400 bytes (3 MiB, 50 LEBs), journal size 523265 bytes (0 MiB, 6 LEBs)
[ 65.187774] UBIFS (ubi1:0): reserved for root: 154469 bytes (150 KiB)
[ 65.187783] UBIFS (ubi1:0): media format: w5/r0 (latest is w5/r0), UUID 41CD826B-1504-4B96-87D1-94C780545D5C, small LPT model
[ 65.646171] IPv6: ADDRCONF(NETDEV_UP): lo: link is not ready
[ 65.695337] random: dropbear: uninitialized urandom read (32 bytes read)
DRAGON:~#
Working logs:
+++++++++++
DRAGON:~# lspci -n
0000:00:00.0 0604: 104c:8888 (rev 01)
0000:01:00.0 0200: 14e4:b340 (rev 01)
0000:01:00.1 0200: 14e4:b340 (rev 01)
0001:00:00.0 0604: 104c:8888 (rev 01)
0001:01:00.0 0200: 14e4:b340 (rev 01)
0001:01:00.1 0200: 14e4:b340 (rev 01)