Hi,
I am continuing to port from MCSDK to Processor SDK Environment on our custom board with 66AK2E05 and I have a new Problem with USB.
After installing default Image for k2e-evm and NAND u-boot, I started Linux and all seems to be fine but when I insert a USB stick and try to copy the file from it to the board, it is leading to a kernel panic:
[ 97.013444] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command. [ 97.013444] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command. [ 97.021528] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host. [ 97.047856] Unable to handle kernel paging request at virtual address bdde9000
Here is the whole log:
U-Boot 2015.07-00080-g37443f5-dirty (Oct 14 2016 - 11:07:13 +0200) CPU: 66AK2Ex SR1.0 I2C: ready DRAM: DDR3A Speed will be configured for 1600 Operation. Detected SO-DIMM [9965526-017.A00LF ] DDR3 speed 1600 DRAM: 4 GiB Clear entire DDR3 memory to enable ECC 2 GiB NAND: 512 MiB Net: Phy 1 not found Phy 2 not found Phy 3 not found Phy 4 not found Phy 5 not found Phy 6 not found Phy 7 not found K2E_EMAC0, K2E_EMAC1 Error: K2E_EMAC1 address not set. , K2E_EMAC2 Error: K2E_EMAC2 address not set. , K2E_EMAC3 Error: K2E_EMAC3 address not set. , K2E_EMAC4 Error: K2E_EMAC4 address not set. , K2E_EMAC5 Error: K2E_EMAC5 address not set. , K2E_EMAC6 Error: K2E_EMAC6 address not set. , K2E_EMAC7 Error: K2E_EMAC7 address not set. Hit any key to stop autoboot: 1 0 UBI: attaching mtd1 to ubi0 UBI: scanning is finished UBI: attached mtd1 (name "mtd=2", size 510 MiB) to ubi0 UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 UBI: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0 UBI: user volume: 1, internal volumes: 1, max. volumes count: 128 UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1235418586 UBI: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 40 Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000 with size 3231 (0x00000c9f)... Done Loading file '/boot/k2e-evm.dtb' to addr 0x88000000 with size 32009 (0x00007d09)... Done Loading file '/boot/skern-k2e.bin' to addr 0x0c140000 with size 45056 (0x0000b000)... Done Loading file '/boot/zImage' to addr 0x82000000 with size 3691144 (0x00385288)... Done K2_BM_15.07-39-g035329c SoC:k2e built:17:57:33, Jan 8 2016 ## installed monitor, freq [208333333], status 0 Kernel image @ 0x82000000 [ 0x000000 - 0x385288 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Ramdisk to 8ffff000, end 8ffffc9f ... OK Loading Device Tree to 8fff4000, end 8fffed08 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.1.13-g8dc6617 (gtbldadm@ubuntu-12) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 SMP PREEMPT Fri Jan 8 18:22:55 EST 2016 [ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] Machine model: Texas Instruments Keystone 2 Edison EVM [ 0.000000] Switching physical address space to 0x800000000 [ 0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB [ 0.000000] Reserved memory: initialized node dsp_common_cma_pool, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 512 MiB [ 0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool [ 0.000000] cma: Reserved 16 MiB at 0x000000085f000000 [ 0.000000] Forcing write-allocate cache policy for SMP [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] PERCPU: Embedded 11 pages/cpu @dd79f000 s13120 r8192 d23744 u45056 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 784912 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048 [ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes [ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes [ 0.000000] log_buf_len min size: 16384 bytes [ 0.000000] log_buf_len: 32768 bytes [ 0.000000] early log buf free: 14216(86%) [ 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: 3088160K/3145728K available (5099K kernel code, 192K rwdata, 1832K rodata, 248K init, 162K bss, 32992K reserved, 24576K cma-reserved, 2605056K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc06cd094 (6933 kB) [ 0.000000] .init : 0xc06ce000 - 0xc070c000 ( 248 kB) [ 0.000000] .data : 0xc070c000 - 0xc073c308 ( 193 kB) [ 0.000000] .bss : 0xc073f000 - 0xc0767b8c ( 163 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] Architected cp15 timer(s) running at 208.33MHz (virt). [ 0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x300c4cdf1c, max_idle_ns: 440795202901 ns [ 0.000003] sched_clock: 56 bits at 208MHz, resolution 4ns, wraps every 4398046511101ns [ 0.000011] Switching to timer-based delay loop, resolution 4ns [ 0.000140] keystone timer clock @208333333 Hz [ 0.000329] Console: colour dummy device 80x30 [ 0.000346] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333) [ 0.000357] pid_max: default: 4096 minimum: 301 [ 0.000429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000437] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000862] Initializing cgroup subsys blkio [ 0.000875] Initializing cgroup subsys devices [ 0.000887] Initializing cgroup subsys freezer [ 0.000904] CPU: Testing write buffer coherency: ok [ 0.001083] /cpus/cpu@0 missing clock-frequency property [ 0.001105] /cpus/cpu@1 missing clock-frequency property [ 0.001126] /cpus/cpu@2 missing clock-frequency property [ 0.001147] /cpus/cpu@3 missing clock-frequency property [ 0.001156] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001182] Setting up static identity map for 0x800082c0 - 0x800083cc [ 0.064873] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.084895] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.104919] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.105003] Brought up 4 CPUs [ 0.105020] SMP: Total of 4 processors activated (1666.66 BogoMIPS). [ 0.105027] CPU: All CPU(s) started in SVC mode. [ 0.105374] devtmpfs: initialized [ 0.112406] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.112741] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.113402] pinctrl core: initialized pinctrl subsystem [ 0.114136] NET: Registered protocol family 16 [ 0.114885] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.122128] irq: no irq domain found for /soc/keystone_irq@26202a0 ! [ 0.129885] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.129893] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.140088] vgaarb: loaded [ 0.140394] SCSI subsystem initialized [ 0.140836] usbcore: registered new interface driver usbfs [ 0.140932] usbcore: registered new interface driver hub [ 0.141044] usbcore: registered new device driver usb [ 0.142299] pps_core: LinuxPPS API ver. 1 registered [ 0.142306] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.142366] PTP clock support registered [ 0.143496] Switched to clocksource arch_sys_counter [ 0.154593] NET: Registered protocol family 2 [ 0.155104] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.155137] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.155190] TCP: Hash tables configured (established 4096 bind 4096) [ 0.155227] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.155244] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.155368] NET: Registered protocol family 1 [ 0.155536] RPC: Registered named UNIX socket transport module. [ 0.155544] RPC: Registered udp transport module. [ 0.155549] RPC: Registered tcp transport module. [ 0.155554] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.155729] Trying to unpack rootfs image as initramfs... [ 0.156208] Freeing initrd memory: 4K (cffff000 - d0000000) [ 0.156334] CPU PMU: Failed to parse /pmu/interrupt-affinity[0] [ 0.156363] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 0.157200] platform alarmtimer: set dma_pfn_offset00780000 [ 0.157891] futex hash table entries: 16 (order: -2, 1024 bytes) [ 0.167611] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.167701] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.167982] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.169417] NET: Registered protocol family 38 [ 0.169475] bounce: pool size: 64 pages [ 0.169674] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.169687] io scheduler noop registered [ 0.169697] io scheduler deadline registered [ 0.169726] io scheduler cfq registered (default) [ 0.169856] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28 [ 0.172537] keystone-pcie 21021000.pcie: missing *config* reg space [ 0.172557] Requested IO range too big, new size set to 64K [ 0.372597] keystone-pcie 21021000.pcie: phy link never came up [ 0.372815] keystone-pcie 21021000.pcie: PCI host bridge to bus 0000:00 [ 0.372826] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 0.372835] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 0.372844] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.373140] PCI: bus0: Fast back to back transfers disabled [ 0.373285] PCI: bus1: Fast back to back transfers enabled [ 0.373351] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.373600] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt [ 0.374008] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192 [ 0.374132] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0180000, reg_status f014e000, reg_config f0150000, reg_region f0152000, reg_push f01c0000, reg_pop f0200000 [ 0.374272] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP [ 0.375951] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 149 logical channels, flows 128, tx chans: 21, rx chans: 91 [ 0.376064] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16 [ 0.424562] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.424641] platform serial8250: set dma_pfn_offset00780000 [ 0.426069] console [ttyS0] disabled [ 0.426128] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 13020833) is a 16550A [ 1.255003] console [ttyS0] enabled [ 1.259137] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 13020833) is a 16550A [ 1.275047] brd: module loaded [ 1.281966] loop: module loaded [ 1.285271] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write [ 1.293844] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 0, 0 [ 1.300384] spi_davinci 21000400.spi: Controller at 0xf017c400 [ 1.306642] spi_davinci 21000600.spi: Controller at 0xf017e600 [ 1.312868] spi_davinci 21000800.spi: Controller at 0xf01bc800 [ 1.363512] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7 [ 1.369598] libphy: 24200f00.mdio: probed [ 1.374050] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver Marvell 88E1510 [ 1.893500] ti,keystone-serdes 232a000.phy: lane 1 wait rx valid failed: -110 [ 1.900628] ti,keystone-serdes 232a000.phy: serdes lanes enable failed: -110 [ 1.907681] phy phy-232a000.phy.1: phy init failed --> -110 [ 1.913247] netcp-1.0 2620110.netcp: Probe of module(netcp-gbe) failed with -110 [ 1.920650] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device [ 1.927705] 2620738.usb_phy supply vcc not found, using dummy regulator [ 1.934415] 2620750.usb_phy supply vcc not found, using dummy regulator [ 2.342097] platform xhci-hcd.0.auto: set dma_pfn_offset00780000 [ 2.748824] platform xhci-hcd.1.auto: set dma_pfn_offset00780000 [ 2.755523] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.761146] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 2.769102] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010 [ 2.777821] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000 [ 2.783882] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.790662] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.797892] usb usb1: Product: xHCI Host Controller [ 2.802763] usb usb1: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd [ 2.808948] usb usb1: SerialNumber: xhci-hcd.0.auto [ 2.814281] hub 1-0:1.0: USB hub found [ 2.818050] hub 1-0:1.0: 1 port detected [ 2.822239] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.827880] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 2.835602] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.843796] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [ 2.850577] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.857803] usb usb2: Product: xHCI Host Controller [ 2.862673] usb usb2: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd [ 2.868856] usb usb2: SerialNumber: xhci-hcd.0.auto [ 2.874136] hub 2-0:1.0: USB hub found [ 2.877904] hub 2-0:1.0: 1 port detected [ 2.882129] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.887759] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3 [ 2.895622] xhci-hcd xhci-hcd.1.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010 [ 2.904333] xhci-hcd xhci-hcd.1.auto: irq 68, io mem 0x25010000 [ 2.910365] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.917216] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.924443] usb usb3: Product: xHCI Host Controller [ 2.929313] usb usb3: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd [ 2.935494] usb usb3: SerialNumber: xhci-hcd.1.auto [ 2.940753] hub 3-0:1.0: USB hub found [ 2.944531] hub 3-0:1.0: 1 port detected [ 2.948716] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.954338] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4 [ 2.962043] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.970234] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 2.977123] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.984351] usb usb4: Product: xHCI Host Controller [ 2.989222] usb usb4: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd [ 2.995403] usb usb4: SerialNumber: xhci-hcd.1.auto [ 3.000678] hub 4-0:1.0: USB hub found [ 3.004476] hub 4-0:1.0: 1 port detected [ 3.008786] usbcore: registered new interface driver usb-storage [ 3.015226] mousedev: PS/2 mouse device common for all mice [ 3.021001] i2c /dev entries driver [ 3.025342] davinci-wdt 22f0080.wdt: heartbeat 60 sec [ 3.032229] keystone-crypto 24080000.crypto: crypto accelerator enabled [ 3.039096] usbcore: registered new interface driver usbhid [ 3.044753] usbhid: USB HID core driver [ 3.049682] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac [ 3.056043] nand: Micron MT29F4G08ABBDAHC [ 3.060045] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 3.067907] Bad block table found at page 262080, version 0x01 [ 3.074314] Bad block table found at page 262016, version 0x01 [ 3.080457] 3 ofpart partitions found on MTD device 30000000.nand [ 3.086553] Creating 3 MTD partitions on "30000000.nand": [ 3.091945] 0x000000000000-0x000000100000 : "u-boot" [ 3.097656] 0x000000100000-0x000000180000 : "params" [ 3.103318] 0x000000180000-0x000020000000 : "ubifs" [ 3.109397] davinci_nand 30000000.nand: controller rev. 2.5 [ 3.115230] platform oprofile-perf.0: set dma_pfn_offset00780000 [ 3.121409] oprofile: using timer interrupt. [ 3.125824] ipip: IPv4 over IPv4 tunneling driver [ 3.130935] gre: GRE over IPv4 demultiplexor driver [ 3.135832] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 3.142441] Initializing XFRM netlink socket [ 3.146732] NET: Registered protocol family 17 [ 3.151185] NET: Registered protocol family 15 [ 3.155761] Registering SWP/SWPB emulation handler [ 3.161665] ubi0: attaching mtd2 [ 3.293905] usb 1-1: New USB device found, idVendor=0451, idProduct=8142 [ 3.300600] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1 [ 3.307770] usb 1-1: SerialNumber: BD0B00599C0C [ 3.315861] hub 1-1:1.0: USB hub found [ 3.319689] hub 1-1:1.0: 4 ports detected [ 5.274789] ubi0: scanning is finished [ 5.287079] ubi0 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 40, need 76 [ 5.299447] ubi0: attached mtd2 (name "ubifs", size 510 MiB) [ 5.305115] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 5.311981] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 5.318771] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 5.325731] ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0 [ 5.331814] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 5.339036] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1235418586 [ 5.348167] ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 40 [ 5.357483] ubi0: background thread "ubi_bgt0d" started, PID 1234 [ 5.370556] UBIFS: parse sync [ 5.374160] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 1236 [ 5.406155] UBIFS (ubi0:0): recovery needed [ 5.490168] UBIFS (ubi0:0): recovery completed [ 5.494687] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs" [ 5.502075] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 5.511990] UBIFS (ubi0:0): FS size: 488222720 bytes (465 MiB, 3845 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs) [ 5.522681] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB) [ 5.528515] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID C5DFB81E-F521-4D5A-848B-9CB6034DFFBF, small LPT model [ 5.540393] VFS: Mounted root (ubifs filesystem) on device 0:14. [ 5.547747] devtmpfs: mounted [ 5.550834] Freeing unused kernel memory: 248K (c06ce000 - c070c000) INIT: version 2.88 booting Starting udev udev: Not using udev cache because of changes detected in the following files: udev: /proc/version /proc/cmdline /proc/devices udev: lib/udev/rules.d/* etc/udev/rules.d/* udev: The udev cache will be regenerated. To identify the detected changes, udev: compare the cached sysconf at /etc/udev/cache.data udev: against the current sysconf at /dev/shm/udev.cache [ 6.140887] udevd[1265]: starting version 182 [ 6.333304] keystone-rproc 10800000.dsp0: assigned reserved memory node dsp_common_cma_pool [ 6.370334] remoteproc0: 10800000.dsp0 is available [ 6.393515] remoteproc0: Note: remoteproc is still under development and considered experimental. [ 6.402475] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. [ 6.464064] uio_module_drv soc:mpax: registered misc device mpax [ 6.470411] keystone-dsp-mem c000000.dspmem: registered misc device dspmem [ 6.479384] uio_module_drv soc:edma3: registered misc device edma3 [ 6.501954] uio_module_drv soc:secmgr: registered misc device secmgr [ 6.515013] uio_module_drv soc:qmss: registered misc device qmss [ 6.967456] CMEMK module: reference Linux version 4.1.13 [ 6.973100] allocated heap buffer 0xc000000 of size 0x180000 [ 6.978816] cmemk initialized [ 6.998024] cryptodev: driver 1.6 loaded. [ 7.050584] NET: Registered protocol family 41 Starting random number generator daemon. [ 7.164027] random: dd urandom read with 66 bits of entropy available Populating dev cache Sat Jan 9 00:19:01 UTC 2016 INIT: Entering runlevel: 5 Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device done. Starting system message bus: dbus. Starting Dropbear SSH server: [ 7.736499] NET: Registered protocol family 10 dropbear. Starting mpmsrv daemon. platform: k2e-evm Starting softhsm daemon. Starting telnet daemon. Starting tiipclad daemon GateMP is not supported for this device Opened log file: lad.txt numProcessors = 2 id = 0 baseId = 0 Spawned daemon: /usr/bin/lad_66ak2e . Starting rpcbind daemon...done. starting statd: done Starting thttpd. Starting Lighttpd Web Server: lighttpd. 2016-01-09 00:19:02: (/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/log.c.164) server started * starting FTP Server: vsftpd... done. #>>>>> LCD 12 IP Address: Enabling thermal zones... /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf binutils-dev binutils bison-dev bison cpp-symlinks cpp g++-symlinks g++ gawk-dev gawk gcc-symlinks gcc gdb gdbc6x gdbserver libgmp10 libmpc3 libmpfr4 make If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org k2e-evm /dev/ttyS0 Arago 2015.12 k2e-evm /dev/ttyS0 k2e-evm login: root root@k2e-evm:~# uname -r 4.1.13-g8dc6617 root@k2e-evm:~# cp /run/media/sda1/dtb/Processor\ SDK/k2e-evm.dtb ./ [ 97.013444] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command. [ 97.021528] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host. [ 97.047856] Unable to handle kernel paging request at virtual address bdde9000 [ 97.055069] pgd = c0003000 [ 97.057768] [bdde9000] *pgd=80000800006003, *pmd=00000000 [ 97.063170] Internal error: Oops: 2a06 [#1] PREEMPT SMP ARM [ 97.068733] Modules linked in: ipv6 rpmsg_proto virtio_rpmsg_bus hplibmod(O) gdbserverproxy(O) cryptodev(O) cmemk(O) keystone_dsp_mem uio_module_drv(O) keystone_remoteproc uio remoteproc virtio virtio_ring [ 97.087048] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G O 4.1.13-g8dc6617 #1 [ 97.094953] Hardware name: Keystone [ 97.098434] task: c0710c30 ti: c070c000 task.ti: c070c000 [ 97.103829] PC is at v7_dma_inv_range+0x30/0x48 [ 97.108354] LR is at dma_cache_maint_page+0x9c/0x134 [ 97.113311] pc : [<c001f410>] lr : [<c001ad2c>] psr: 40010193 [ 97.113311] sp : c070dc20 ip : c070dc20 fp : c070dc54 [ 97.124776] r10: c070e480 r9 : c0710944 r8 : c074e0c0 [ 97.129992] r7 : c073a0c0 r6 : 00000000 r5 : 00001000 r4 : 007fdde9 [ 97.136511] r3 : 0000003f r2 : 00000040 r1 : bddea000 r0 : bdde9000 [ 97.143029] Flags: nZcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel [ 97.150415] Control: 30c5387d Table: 1cad0800 DAC: fffffffd [ 97.156152] Process swapper/0 (pid: 0, stack limit = 0xc070c210) [ 97.162149] Stack: (0xc070dc20 to 0xc070e000) [ 97.166499] dc20: ffeff000 00000002 c070dc9c 00000000 c0710944 c074e0c0 00001000 dd7b0d20 [ 97.174667] dc40: 00000002 00000002 c070dc84 c070dc58 c001afc0 c001ac9c c001f4a0 00000000 [ 97.182836] dc60: dd7f5000 00000002 00000000 c0712014 00000008 dc972610 c070dc9c c070dc88 [ 97.191004] dc80: c001bd94 c001af40 dbce3410 00000002 c070dcd4 c070dca0 c001bc08 c001bd44 [ 97.199172] dca0: 00000000 ffffff94 dd0f7000 dbdea900 c001bba4 00000000 ffffff98 dd0f7000 [ 97.207339] dcc0: 00000002 dd0f7160 c070dcfc c070dcd8 c03794b8 c001bbb0 00000000 dbe24d80 [ 97.215506] dce0: dbdea900 dd0f7000 00000000 ffffff98 c070dd0c c070dd00 c03795c0 c0379450 [ 97.223673] dd00: c070dd2c c070dd10 c0379604 c03795a4 dd0f7000 dbdea900 dd0f718c ffffff94 [ 97.231841] dd20: c070dd4c c070dd30 c0379728 c03795d0 dbe11d00 dbdea900 dd0f718c ffffff94 [ 97.240009] dd40: c070dd7c c070dd50 c039de20 c03796ec f02b0024 00000587 c071cccc dc39ec80 [ 97.248176] dd60: dc39eca0 dd0f7160 dc1d9104 00000003 c070dd9c c070dd80 c039deb4 c039dd8c [ 97.256343] dd80: dc39ec80 dc1d9000 c039ebdc dc1d90e0 c070ddf4 c070dda0 c039ee78 c039de54 [ 97.264511] dda0: 00000002 00262568 6fe5eb3e 00010113 dd0f718c 00000003 dd0f7248 00000100 [ 97.272678] ddc0: 00000020 dc1d9000 c070de04 dc1d9114 00000101 c039ebdc 00000000 00200200 [ 97.280847] dde0: dc1d90f4 c039ebdc c070de1c c070ddf8 c006f27c c039ebe8 c070de1c c070de08 [ 97.289014] de00: c070e100 dc1d9114 c0745940 c070de28 c070de5c c070de20 c006f714 c006f25c [ 97.297182] de20: 963f2654 c070e100 dd0f71cc dd0f71cc dd79f920 00000020 c070e084 c070c000 [ 97.305350] de40: 00000101 00000001 40000001 c070e080 c070debc c070de60 c0029d28 c006f56c [ 97.313518] de60: dd003d80 c071cf00 00200000 c070e100 ffffb0b7 c05046b4 0000000a c073f9c0 [ 97.321686] de80: c0708348 c070e080 c070de60 c070c020 c0064cb4 c0709098 00000012 00000000 [ 97.329853] dea0: 00000000 dd008000 c073be5d c070e4f4 c070ded4 c070dec0 c002a0f0 c0029bf4 [ 97.338022] dec0: c0709098 00000012 c070defc c070ded8 c0060ea0 c002a07c f000400c c070e7e4 [ 97.346189] dee0: c070df20 f0004000 c070df78 c073be5d c070df1c c070df00 c0009424 c0060e44 [ 97.354357] df00: c001019c 60010013 ffffffff c070df54 c070df74 c070df20 c04ff740 c0009404 [ 97.362525] df20: 00000000 00000000 00000000 c001fbe0 c070c000 c070e4ac c0708384 c0504624 [ 97.370692] df40: c070df78 c073be5d c070e4f4 c070df74 c070df78 c070df68 c0010198 c001019c [ 97.378860] df60: 60010013 ffffffff c070df8c c070df78 c00591e0 c0010168 00000002 00000000 [ 97.387028] df80: c070dfa4 c070df90 c04f6a48 c00590d4 c073f050 00000001 c070dff4 c070dfa8 [ 97.395194] dfa0: c06ced28 c04f69c4 ffffffff ffffffff c06ce6d4 00000000 ffffffff 00000000 [ 97.403362] dfc0: 00000000 c0701350 00000000 c073f294 c070e484 c070134c c0711d68 80007000 [ 97.411529] dfe0: 412fc0f4 00000000 00000000 c070dff8 80008090 c06ce954 00000000 00000000 [ 97.419694] Backtrace: [ 97.422144] [<c001ac90>] (dma_cache_maint_page) from [<c001afc0>] (__dma_page_dev_to_cpu+0x8c/0x10c) [ 97.431264] r10:00000002 r9:00000002 r8:dd7b0d20 r7:00001000 r6:c074e0c0 r5:c0710944 [ 97.439107] r4:00000000 [ 97.441643] [<c001af34>] (__dma_page_dev_to_cpu) from [<c001bd94>] (arm_dma_unmap_page+0x5c/0x60) [ 97.450503] r9:dc972610 r8:00000008 r7:c0712014 r6:00000000 r5:00000002 r4:dd7f5000 [ 97.458266] [<c001bd38>] (arm_dma_unmap_page) from [<c001bc08>] (arm_dma_unmap_sg+0x64/0x8c) [ 97.466691] r5:00000002 r4:dbce3410 [ 97.470273] [<c001bba4>] (arm_dma_unmap_sg) from [<c03794b8>] (usb_hcd_unmap_urb_for_dma+0x74/0x154) [ 97.479393] r10:dd0f7160 r9:00000002 r8:dd0f7000 r7:ffffff98 r6:00000000 r5:c001bba4 [ 97.487236] r4:dbdea900 [ 97.489769] [<c0379444>] (usb_hcd_unmap_urb_for_dma) from [<c03795c0>] (unmap_urb_for_dma+0x28/0x2c) [ 97.498889] r7:ffffff98 r6:00000000 r5:dd0f7000 r4:dbdea900 [ 97.504561] [<c0379598>] (unmap_urb_for_dma) from [<c0379604>] (__usb_hcd_giveback_urb+0x40/0x11c) [ 97.513510] [<c03795c4>] (__usb_hcd_giveback_urb) from [<c0379728>] (usb_hcd_giveback_urb+0x48/0x118) [ 97.522716] r7:ffffff94 r6:dd0f718c r5:dbdea900 r4:dd0f7000 [ 97.528391] [<c03796e0>] (usb_hcd_giveback_urb) from [<c039de20>] (xhci_giveback_urb_in_irq+0xa0/0xc8) [ 97.537685] r7:ffffff94 r6:dd0f718c r5:dbdea900 r4:dbe11d00 [ 97.543357] [<c039dd80>] (xhci_giveback_urb_in_irq) from [<c039deb4>] (xhci_kill_ring_urbs+0x6c/0x7c) [ 97.552563] r8:00000003 r7:dc1d9104 r6:dd0f7160 r5:dc39eca0 r4:dc39ec80 [ 97.559283] [<c039de48>] (xhci_kill_ring_urbs) from [<c039ee78>] (xhci_stop_endpoint_command_watchdog+0x29c/0x304) [ 97.569618] r7:dc1d90e0 r6:c039ebdc r5:dc1d9000 r4:dc39ec80 [ 97.575292] [<c039ebdc>] (xhci_stop_endpoint_command_watchdog) from [<c006f27c>] (call_timer_fn+0x2c/0xa0) [ 97.584934] r10:c039ebdc r9:dc1d90f4 r8:00200200 r7:00000000 r6:c039ebdc r5:00000101 [ 97.592780] r4:dc1d9114 [ 97.595314] [<c006f250>] (call_timer_fn) from [<c006f714>] (run_timer_softirq+0x1b4/0x22c) [ 97.603565] r6:c070de28 r5:c0745940 r4:dc1d9114 [ 97.608191] [<c006f560>] (run_timer_softirq) from [<c0029d28>] (__do_softirq+0x140/0x264) [ 97.616357] r10:c070e080 r9:40000001 r8:00000001 r7:00000101 r6:c070c000 r5:c070e084 [ 97.624197] r4:00000020 [ 97.626730] [<c0029be8>] (__do_softirq) from [<c002a0f0>] (irq_exit+0x80/0xb8) [ 97.633942] r10:c070e4f4 r9:c073be5d r8:dd008000 r7:00000000 r6:00000000 r5:00000012 [ 97.641785] r4:c0709098 [ 97.644317] [<c002a070>] (irq_exit) from [<c0060ea0>] (__handle_domain_irq+0x68/0xbc) [ 97.652136] r5:00000012 r4:c0709098 [ 97.655716] [<c0060e38>] (__handle_domain_irq) from [<c0009424>] (gic_handle_irq+0x2c/0x64) [ 97.664054] r9:c073be5d r8:c070df78 r7:f0004000 r6:c070df20 r5:c070e7e4 r4:f000400c [ 97.671816] [<c00093f8>] (gic_handle_irq) from [<c04ff740>] (__irq_svc+0x40/0x74) [ 97.679288] Exception stack(0xc070df20 to 0xc070df68) [ 97.684331] df20: 00000000 00000000 00000000 c001fbe0 c070c000 c070e4ac c0708384 c0504624 [ 97.692498] df40: c070df78 c073be5d c070e4f4 c070df74 c070df78 c070df68 c0010198 c001019c [ 97.700664] df60: 60010013 ffffffff [ 97.704142] r7:c070df54 r6:ffffffff r5:60010013 r4:c001019c [ 97.709817] [<c001015c>] (arch_cpu_idle) from [<c00591e0>] (cpu_startup_entry+0x118/0x198) [ 97.718076] [<c00590c8>] (cpu_startup_entry) from [<c04f6a48>] (rest_init+0x90/0x94) [ 97.725807] r7:00000000 r4:00000002 [ 97.729390] [<c04f69b8>] (rest_init) from [<c06ced28>] (start_kernel+0x3e0/0x3ec) [ 97.736860] r5:00000001 r4:c073f050 [ 97.740440] [<c06ce948>] (start_kernel) from [<80008090>] (0x80008090) [ 97.746959] Code: 1e070f3e e1110003 e1c11003 1e071f3e (ee070f36) [ 97.753045] ---[ end trace 9204a7d81c3256d9 ]--- [ 97.757654] Kernel panic - not syncing: Fatal exception in interrupt [ 97.764000] CPU2: stopping [ 97.766705] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D O 4.1.13-g8dc6617 #1 [ 97.774611] Hardware name: Keystone [ 97.778090] Backtrace: [ 97.780542] [<c0012bf4>] (dump_backtrace) from [<c0012e18>] (show_stack+0x18/0x1c) [ 97.788100] r7:f0004000 r6:00000002 r5:c071cce4 r4:00000000 [ 97.793777] [<c0012e00>] (show_stack) from [<c04fa488>] (dump_stack+0x9c/0xdc) [ 97.800992] [<c04fa3ec>] (dump_stack) from [<c00150b0>] (handle_IPI+0x150/0x160) [ 97.808377] r5:00000000 r4:c0709098 [ 97.811957] [<c0014f60>] (handle_IPI) from [<c0009458>] (gic_handle_irq+0x60/0x64) [ 97.819515] r7:f0004000 r6:dd08ff70 r5:c070e7e4 r4:f000400c [ 97.825190] [<c00093f8>] (gic_handle_irq) from [<c04ff740>] (__irq_svc+0x40/0x74) [ 97.832661] Exception stack(0xdd08ff70 to 0xdd08ffb8) [ 97.837705] ff60: 00000000 00000000 00000000 c001fbe0 [ 97.845873] ff80: dd08e000 c070e4ac c0708384 c0504624 dd08ffc8 c073be5d c070e4f4 dd08ffc4 [ 97.854040] ffa0: dd08ffc8 dd08ffb8 c0010198 c001019c 600f0013 ffffffff [ 97.860644] r7:dd08ffa4 r6:ffffffff r5:600f0013 r4:c001019c [ 97.866318] [<c001015c>] (arch_cpu_idle) from [<c00591e0>] (cpu_startup_entry+0x118/0x198) [ 97.874574] [<c00590c8>] (cpu_startup_entry) from [<c0014d0c>] (secondary_start_kernel+0x140/0x148) [ 97.883606] r7:c073f300 r4:c07170f0 [ 97.887186] [<c0014bcc>] (secondary_start_kernel) from [<800094ec>] (0x800094ec) [ 97.894571] r5:00000008 r4:1d01ca00 [ 97.898148] CPU3: stopping [ 97.900853] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D O 4.1.13-g8dc6617 #1 [ 97.908761] Hardware name: Keystone [ 97.912240] Backtrace: [ 97.914692] [<c0012bf4>] (dump_backtrace) from [<c0012e18>] (show_stack+0x18/0x1c) [ 97.922251] r7:f0004000 r6:00000003 r5:c071cce4 r4:00000000 [ 97.927925] [<c0012e00>] (show_stack) from [<c04fa488>] (dump_stack+0x9c/0xdc) [ 97.935140] [<c04fa3ec>] (dump_stack) from [<c00150b0>] (handle_IPI+0x150/0x160) [ 97.942525] r5:00000000 r4:c0709098 [ 97.946105] [<c0014f60>] (handle_IPI) from [<c0009458>] (gic_handle_irq+0x60/0x64) [ 97.953663] r7:f0004000 r6:dd091f70 r5:c070e7e4 r4:f000400c [ 97.959336] [<c00093f8>] (gic_handle_irq) from [<c04ff740>] (__irq_svc+0x40/0x74) [ 97.966808] Exception stack(0xdd091f70 to 0xdd091fb8) [ 97.971852] 1f60: 00000000 00000000 00000000 c001fbe0 [ 97.980020] 1f80: dd090000 c070e4ac c0708384 c0504624 dd091fc8 c073be5d c070e4f4 dd091fc4 [ 97.988187] 1fa0: dd091fc8 dd091fb8 c0010198 c001019c 60070013 ffffffff [ 97.994790] r7:dd091fa4 r6:ffffffff r5:60070013 r4:c001019c [ 98.000462] [<c001015c>] (arch_cpu_idle) from [<c00591e0>] (cpu_startup_entry+0x118/0x198) [ 98.008718] [<c00590c8>] (cpu_startup_entry) from [<c0014d0c>] (secondary_start_kernel+0x140/0x148) [ 98.017751] r7:c073f300 r4:c07170f0 [ 98.021329] [<c0014bcc>] (secondary_start_kernel) from [<800094ec>] (0x800094ec) [ 98.028714] r5:00000008 r4:1d01ca00 [ 98.032291] CPU1: stopping [ 98.034995] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D O 4.1.13-g8dc6617 #1 [ 98.042901] Hardware name: Keystone [ 98.046381] Backtrace: [ 98.048832] [<c0012bf4>] (dump_backtrace) from [<c0012e18>] (show_stack+0x18/0x1c) [ 98.056391] r7:f0004000 r6:00000001 r5:c071cce4 r4:00000000 [ 98.062065] [<c0012e00>] (show_stack) from [<c04fa488>] (dump_stack+0x9c/0xdc) [ 98.069281] [<c04fa3ec>] (dump_stack) from [<c00150b0>] (handle_IPI+0x150/0x160) [ 98.076666] r5:00000000 r4:c0709098 [ 98.080244] [<c0014f60>] (handle_IPI) from [<c0009458>] (gic_handle_irq+0x60/0x64) [ 98.087802] r7:f0004000 r6:dd08df70 r5:c070e7e4 r4:f000400c [ 98.093475] [<c00093f8>] (gic_handle_irq) from [<c04ff740>] (__irq_svc+0x40/0x74) [ 98.100946] Exception stack(0xdd08df70 to 0xdd08dfb8) [ 98.105990] df60: 00000000 00000000 00000000 c001fbe0 [ 98.114159] df80: dd08c000 c070e4ac c0708384 c0504624 dd08dfc8 c073be5d c070e4f4 dd08dfc4 [ 98.122327] dfa0: dd08dfc8 dd08dfb8 c0010198 c001019c 60060013 ffffffff [ 98.128929] r7:dd08dfa4 r6:ffffffff r5:60060013 r4:c001019c [ 98.134602] [<c001015c>] (arch_cpu_idle) from [<c00591e0>] (cpu_startup_entry+0x118/0x198) [ 98.142859] [<c00590c8>] (cpu_startup_entry) from [<c0014d0c>] (secondary_start_kernel+0x140/0x148) [ 98.151892] r7:c073f300 r4:c07170f0 [ 98.155471] [<c0014bcc>] (secondary_start_kernel) from [<800094ec>] (0x800094ec) [ 98.162855] r5:00000008 r4:1d01ca00 [ 98.166435] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
On the same hardware but with kernel from MCSDK, it is working without any problem. With MCSDK, I changed device tree to enable the second usb controller USB1 but USB was already working before change. I did not have the possibility with Processor SDK yet since I cannot copy the new device tree with USB stick. I will try to copy with ethernet link.
Has this Change something to do with this issue? Is it a kernel issue?