Project

General

Profile

RE: Linux USB Gadget is not working on custom board » dmesg.log

dmesg output - Okan Çalış, 01/10/2018 12:33 PM

 
root@mityomapl138:~# dmesg
Linux version 3.2.0+ (okancalis@Mirket-VM) (gcc version 4.5.4 20120305 (prerelea
se) (GCC) ) #1 PREEMPT Fri Jan 5 17:50:03 +03 2018
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: MityDSP-L138/MityARM-1808
Memory policy: ECC disabled, Data cache writethrough
DaVinci da850/omap-l138/am18x variant 0x1
On node 0 totalpages: 24576
free_area_init_node: node 0, pgdat c05bd620, node_mem_map c05eb000
DMA zone: 256 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 24320 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24320
Kernel command line: mem=32M@0xc0000000 mem=64M@0xc4000000 console=ttyS2,115200n
8 root=/dev/nfs nfsroot=10.10.27.45:/export/mirketfs ip=10.10.27.30:10.10.27.45:
10.10.27.45:255.255.255.0:Mirket-VM::off
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 32MB 64MB = 96MB total
Memory: 91336k/91336k available, 6968k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xfea00000 ( 866 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc05348a8 (5299 kB)
.init : 0xc0535000 - 0xc055e000 ( 164 kB)
.data : 0xc055e000 - 0xc05be0a0 ( 385 kB)
.bss : 0xc05be0c4 - 0xc05eaad0 ( 179 kB)
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
DaVinci: 144 gpio irqs
print_constraints: dummy:
NET: Registered protocol family 16
baseboard_pre_init: Entered
mityomapl138_setup_nand: using 16 bit data
baseboard_init [IndustrialIO]...
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
set_machine_constraints: VDCDC1: failed to enable
tps65023 1-0048: failed to register tps65023
tps65023: probe of 1-0048 failed with error -121
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource timer0_1
musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
Waiting for USB PHY clock good...
musb-hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
musb-hdrc: MHDRC RTL version 1.800
musb-hdrc: setup fifo_mode 2
musb-hdrc: 7/9 max ep, 2624/4096 memory
musb-hdrc musb-hdrc: USB OTG mode controller at fee00000 using PIO, IRQ 58
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 178
io scheduler noop registered (default)
start plist test
end plist test
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
console [ttyS2] enabled
brd: module loaded
at24 1-0050: 256 byte 24c02 EEPROM, read-only, 0 bytes/write
MityOMAPL138: Read Factory Config Failed: -110
ahci ahci: forcing PORTS_IMPL to 0x1
ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67
NAND device: Manufacturer ID: 0x01, Chip ID: 0xbc (AMD NAND 512MiB 1,8V 16-bit)
Bad block table not found for chip 0
Bad block table not found for chip 0
Scanning device for bad blocks
ata1: SATA link down (SStatus 0 SControl 300)
Bad block table written to 0x00001ffe0000, version 0x01
Bad block table written to 0x00001ffc0000, version 0x01
Creating 2 MTD partitions on "davinci_nand.1":
0x000000000000-0x000008000000 : "rootfs"
0x000008000000-0x000020000000 : "homefs"
davinci_nand davinci_nand.1: controller rev. 2.5
spi_davinci spi_davinci.1: DMA: supported
spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
spi_davinci spi_davinci.1: registered master spi1
spi spi1.0: setup mode 0, 8 bits/w, 30000000 Hz max --> 0
m25p80 spi1.0: m25p64-nonjedec (8192 Kbytes)
Creating 8 MTD partitions on "m25p80":
0x000000000000-0x000000010000 : "ubl"
0x000000010000-0x000000090000 : "u-boot"
0x000000090000-0x0000000a0000 : "u-boot-env"
0x0000000a0000-0x0000000b0000 : "periph-config"
No LCD configured
MII PHY configured
0x0000000b0000-0x000000100000 : "reserved"
0x000000100000-0x000000400000 : "kernel"
0x000000400000-0x000000600000 : "fpga"
0x000000600000-0x000000800000 : "spare"
spi_davinci spi_davinci.1: registered child spi1.0
spi spi1.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
spi_davinci spi_davinci.1: registered child spi1.1
spi spi1.2: setup mode 0, 8 bits/w, 1000000 Hz max --> 0
spi_davinci spi_davinci.1: registered child spi1.2
spi_davinci spi_davinci.1: Controller at 0xfef0e000
CAN device driver interface
mcp251x spi1.1: setup mode 0, 8 bits/w, 10000000 Hz max --> 0
mcp251x spi1.1: MCP251x didn't enter in conf mode after reset
mcp251x spi1.1: Probe failed
mcp251x spi1.1: probe failed
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
davinci_mdio davinci_mdio.0: detected phy mask fffffffd
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 1
Waiting for USB PHY clock good...
ohci ohci.0: irq 59, io mem 0x01e25000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
gadgetfs: USB Gadget filesystem, version 24 Aug 2004
mousedev: PS/2 mouse device common for all mice
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
dsd1791 spi1.2: Failed to add route LLOUT->Line Out
asoc: dsd1791 <-> davinci-mcasp.0 mapping ok
ALSA device list:
#0: MityDSP-L138 INDIO
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
------------[ cut here ]------------
WARNING: at arch/arm/mach-davinci/da850.c:1109 da850_regulator_init+0x30/0x54()
Unable to obtain voltage regulator for CVDD; voltage scaling unsupported
Modules linked in:
[<c000d518>] (unwind_backtrace+0x0/0xe0) from [<c001cd48>] (warn_slowpath_common
+0x4c/0x64)
[<c001cd48>] (warn_slowpath_common+0x4c/0x64) from [<c001cde0>] (warn_slowpath_f
mt+0x2c/0x3c)
[<c001cde0>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0013c54>] (da850_regulator_in
it+0x30/0x54)
[<c0013c54>] (da850_regulator_init+0x30/0x54) from [<c0014540>] (davinci_cpu_ini
t+0x34/0xbc)
[<c0014540>] (davinci_cpu_init+0x34/0xbc) from [<c02232e4>] (cpufreq_add_dev+0x1
20/0x220)
[<c02232e4>] (cpufreq_add_dev+0x120/0x220) from [<c019466c>] (sysdev_driver_regi
ster+0xb0/0x128)
[<c019466c>] (sysdev_driver_register+0xb0/0x128) from [<c02226ec>] (cpufreq_regi
ster_driver+0xd0/0x17c)
[<c02226ec>] (cpufreq_register_driver+0xd0/0x17c) from [<c0196cfc>] (platform_dr
v_probe+0x14/0x18)
[<c0196cfc>] (platform_drv_probe+0x14/0x18) from [<c0195bec>] (driver_probe_devi
ce+0xd4/0x198)
[<c0195bec>] (driver_probe_device+0xd4/0x198) from [<c0195d10>] (__driver_attach
+0x60/0x84)
[<c0195d10>] (__driver_attach+0x60/0x84) from [<c0194e80>] (bus_for_each_dev+0x4
c/0x78)
[<c0194e80>] (bus_for_each_dev+0x4c/0x78) from [<c01954f8>] (bus_add_driver+0x98
/0x214)
[<c01954f8>] (bus_add_driver+0x98/0x214) from [<c0196274>] (driver_register+0xa0
/0x120)
[<c0196274>] (driver_register+0xa0/0x120) from [<c0197108>] (platform_driver_pro
be+0x18/0x98)
[<c0197108>] (platform_driver_probe+0x18/0x98) from [<c000887c>] (do_one_initcal
l+0x90/0x168)
[<c000887c>] (do_one_initcall+0x90/0x168) from [<c05357e8>] (kernel_init+0x78/0x
11c)
[<c05357e8>] (kernel_init+0x78/0x11c) from [<c0009cb8>] (kernel_thread_exit+0x0/
0x8)
---[ end trace 3dcaa89fe2a14b55 ]---
console [netcon0] enabled
netconsole: network logging started
davinci_emac davinci_emac.1: using random MAC addr: f6:1c:a8:39:33:e5
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=20005ce1)
PHY: 0:01 - Link is Up - 100/Full
IP-Config: Complete:
device=eth0, addr=10.10.27.30, mask=255.255.255.0, gw=10.10.27.45,
host=Mirket-VM, domain=, nis-domain=(none),
bootserver=10.10.27.45, rootserver=10.10.27.45, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:14.
devtmpfs: mounted
Freeing init memory: 164K
NET: Registered protocol family 10
>udevd[1102]: starting version 182
eth0: no IPv6 routers present
Disabling lock debugging due to kernel taint
SysLink version : 2.21.03.11
SysLink module created on Date:Jan 8 2018 Time:08:42:08
nop musb-hdrc: failed to start (null): -120
gadgetfs: bound to musb-hdrc driver
musb-hdrc musb-hdrc: MUSB HDRC host driver
musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc: remove, state 4
usb usb2: USB disconnect, device number 1
musb-hdrc musb-hdrc: USB bus 2 deregistered
    (1-1/1)