ci_hdrc ci_hdrc.0: doesn't support gadget

Started by Lukas Mistr, January 07, 2015, 04:08:47 PM

Previous topic - Next topic

Lukas Mistr

good day
I decided to update the kernel 2.6.35-8-ARCH to 3.12.0-rc3-dirty. I have problem with the USB hub and Ethernet connectivity after updating .
when i booting, appeared this issue:

ci_hdrc ci_hdrc.0: doesn't support gadget

Could you give me some advice

mbergmann

Hi Lukas

I think this message is not related to your problem.

How did you build the kernel?

Have you built the kernel modules as loadable modules?

There are some log lines like 'usbcore: registered new interface driver XXXXX' listing the available interface modules.
Is you LAN/WLAN adapter in this list?

Regards

Mike


Lukas Mistr

I downloaded the new kernel
sourceforge.net/projects/janncc/files/olinuxino/kernel
and from the pages www.jann.cc/2013/02/04/a_new_image_for_the_imx233_olinuxino.html
I used a part: my kernel
md5sum -c md5sum.txt
sudo dd if = sd_mmc_bootstream.raw of = / dev / sdb1
(I would also use the latest img for olinuxono but I can not get it.)


There is a list of of the boot


HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFC
PowerPrep start initialize power...
Battery Voltage = 0.88V
No battery or bad battery                                       detected!!!.Disabling battery                                   voltage measurements./r/nLLCOct  6 201318:00:49
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
LLLLLLLFCLJ[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.12.0-rc3-dirty (chris@thinkpad) (gcc version 4.7.4 20130913 (release) [ARM/embedded-4_7-branch revision 202601] (GNU Tools for ARM Embedded Processors) ) #1 Sun Oct 6 17:59:54 CEST 2013
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Freescale MXS (Device Tree), model: i.MX23 Olinuxino Low Cost Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 50340K/65536K available (5946K kernel code, 372K rwdata, 2408K rodata, 291K init, 5506K bss, 15196K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0830c80   (8356 kB)
[    0.000000]       .init : 0xc0831000 - 0xc0879fdc   ( 292 kB)
[    0.000000]       .data : 0xc087a000 - 0xc08d70e0   ( 373 kB)
[    0.000000]        .bss : 0xc08d70e0 - 0xc0e37be4   (5507 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] of_irq_init: children remain, but no parents
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000000] ... CHAINHASH_SIZE:          16384
[    0.000000]  memory used by lock dependency info: 3695 kB
[    0.000000]  per task-struct memory footprint: 1152 bytes
[    0.060000] Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] CPU: Testing write buffer coherency: ok
[    0.080000] Setting up static identity map for 0xc05a66e8 - 0xc05a6740
[    0.090000] devtmpfs: initialized
[    0.110000] pinctrl core: initialized pinctrl subsystem
[    0.120000] regulator-dummy: no parameters
[    0.120000] NET: Registered protocol family 16
[    0.120000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.180000] Serial: AMBA PL011 UART driver
[    0.180000] 80070000.serial: ttyAMA0 at MMIO 0x80070000 (irq = 17, base_baud = 0) is a PL011 rev2
[    0.370000] console [ttyAMA0] enabled
[    0.410000] bio: create slab <bio-0> at 0
[    0.430000] mxs-dma 80004000.dma-apbh: initialized
[    0.440000] mxs-dma 80024000.dma-apbx: initialized
[    0.450000] usb0_vbus: 5000 mV
[    0.450000] SCSI subsystem initialized
[    0.460000] usbcore: registered new interface driver usbfs
[    0.460000] usbcore: registered new interface driver hub
[    0.470000] usbcore: registered new device driver usb
[    0.480000] Linux video capture interface: v2.00
[    0.480000] pps_core: LinuxPPS API ver. 1 registered
[    0.490000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.490000] PTP clock support registered
[    0.500000] Advanced Linux Sound Architecture Driver Initialized.
[    0.520000] cfg80211: Calling CRDA to update world regulatory domain
[    0.530000] Switched to clocksource mxs_timer
[    0.880000] FS-Cache: Loaded
[    0.880000] CacheFiles: Loaded
[    0.960000] NET: Registered protocol family 2
[    0.970000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.970000] TCP bind hash table entries: 512 (order: 2, 18432 bytes)
[    0.980000] TCP: Hash tables configured (established 512 bind 512)
[    0.990000] TCP: reno registered
[    0.990000] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    1.000000] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    1.010000] NET: Registered protocol family 1
[    1.020000] RPC: Registered named UNIX socket transport module.
[    1.020000] RPC: Registered udp transport module.
[    1.030000] RPC: Registered tcp transport module.
[    1.030000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.040000] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.130000] NFS: Registering the id_resolver key type
[    1.130000] Key type id_resolver registered
[    1.140000] Key type id_legacy registered
[    1.140000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.150000] msgmni has been set to 98
[    1.170000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.180000] io scheduler noop registered (default)
[    1.190000] of_dma_request_slave_channel: dma-names property of node '/apb@80000000/apbx@80040000/serial@80070000' missing or empty
[    1.200000] uart-pl011 80070000.serial: no DMA platform data
[    1.210000] 8006c000.serial: ttyAPP0 at MMIO 0x8006c000 (irq = 145, base_baud = 1500000) is a 8006c000.serial
[    1.220000] mxs-auart 8006c000.serial: Found APPUART 3.0.0
[    1.260000] CAN device driver interface
[    1.260000] PPP generic driver version 2.4.2
[    1.270000] PPP BSD Compression module registered
[    1.280000] PPP Deflate Compression module registered
[    1.280000] PPP MPPE Compression module registered
[    1.290000] usbcore: registered new interface driver rtl8192cu
[    1.290000] usbcore: registered new interface driver rt2500usb
[    1.300000] usbcore: registered new interface driver rt73usb
[    1.300000] usbcore: registered new interface driver rt2800usb
[    1.310000] usbcore: registered new interface driver ath9k_htc
[    1.320000] usbcore: registered new interface driver ar5523
[    1.320000] usbcore: registered new interface driver asix
[    1.330000] usbcore: registered new interface driver ax88179_178a
[    1.340000] usbcore: registered new interface driver cdc_ether
[    1.340000] usbcore: registered new interface driver r815x
[    1.350000] usbcore: registered new interface driver smsc95xx
[    1.350000] usbcore: registered new interface driver net1080
[    1.360000] usbcore: registered new interface driver cdc_subset
[    1.370000] usbcore: registered new interface driver zaurus
[    1.370000] usbcore: registered new interface driver cdc_ncm
[    1.380000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.390000] usbcore: registered new interface driver cdc_acm
[    1.390000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.400000] usbcore: registered new interface driver usb-storage
[    1.410000] usbcore: registered new interface driver usbserial
[    1.410000] usbcore: registered new interface driver usbserial_generic
[    1.420000] usbserial: USB Serial support registered for generic
[    1.430000] usbcore: registered new interface driver option
[    1.430000] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.450000] ci_hdrc ci_hdrc.0: doesn't support gadget
[    1.450000] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.460000] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.490000] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.500000] hub 1-0:1.0: USB hub found
[    1.510000] hub 1-0:1.0: 1 port detected
[    1.520000] mousedev: PS/2 mouse device common for all mice
[    1.530000] stmp3xxx-rtc 8005c000.rtc: rtc core: registered 8005c000.rtc as rtc0
[    1.540000] i2c /dev entries driver
[    1.550000] usbcore: registered new interface driver uvcvideo
[    1.560000] USB Video Class driver (1.1.1)
[    1.560000] gspca_main: v2.14.0 registered
[    1.570000] usbcore: registered new interface driver gspca_zc3xx
[    1.580000] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with heartbeat 19s
[    1.590000] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    1.640000] mxs-mmc 80010000.ssp: initialized
[    1.650000] ledtrig-cpu: registered to indicate activity on CPUs
[    1.670000] usbcore: registered new interface driver usbhid
[    1.670000] usbhid: USB HID core driver
[    1.680000] mxs-lradc 80050000.lradc: Touchscreen not enabled.
[    1.700000] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.710000] mmc0: new high speed SDHC card at address 0007
[    1.730000] mmcblk0: mmc0:0007 SD8GB 7.42 GiB
[    1.740000] TCP: cubic registered
[    1.740000] NET: Registered protocol family 17
[    1.750000] can: controller area network core (rev 20120528 abi 9)
[    1.760000]  mmcblk0: p1 p2
[    1.770000] NET: Registered protocol family 29
[    1.770000] can: raw protocol (rev 20120528)
[    1.780000] can: broadcast manager protocol (rev 20120528 t)
[    1.790000] can: netlink gateway (rev 20130117) max_hops=1
[    1.800000] Key type dns_resolver registered
[    1.800000] registered taskstats version 1
[    1.820000] stmp3xxx-rtc 8005c000.rtc: setting system clock to 1970-01-01 03:55:42 UTC (14142)
[    1.840000] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    1.860000] ALSA device list:
[    1.860000]   No soundcards found.
[    1.990000] hub 1-1:1.0: USB hub found
[    2.000000] hub 1-1:1.0: 3 ports detected
[    2.280000] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
[    2.410000] smsc95xx v1.0.4
[    2.510000] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-ci_hdrc.0-1.1, smsc95xx USB 2.0 Ethernet, ca:1f:5a:8a:c9:c6
[    2.610000] usb 1-1.2: new full-speed USB device number 4 using ci_hdrc
[    2.830000] usb 1-1.3: new high-speed USB device number 5 using ci_hdrc
[    4.980000] kjournald starting.  Commit interval 5 seconds
[    4.990000] EXT3-fs (mmcblk0p2): using internal journal
[    5.010000] EXT3-fs (mmcblk0p2): recovery complete
[    5.010000] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    5.020000] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    5.040000] devtmpfs: mounted
[    5.040000] Freeing unused kernel memory: 288K (c0831000 - c0879000)
INIT: version 2.88 booting▒

> Arch Linux ARM

> http://www.archlinuxarm.org

   ------------------------------
:: Mounting Root Read-Only                                               [FAIL]
:: Adjusting system time and setting kernel timezone                     [DONE]
:: Starting UDev Daemon                                                  [BUSY] [   10.390000] systemd-udevd[65]: starting version 186
                                                                         [DONE]
:: Triggering UDev uevents                                               [DONE]
:: Loading User-specified Modules                                        [DONE]
:: Waiting for UDev uevents to be processed                              [DONE]
:: Configuring Virtual Consoles                                          [DONE]
:: Bringing up loopback interface                                        [DONE]
:: Unlocking encrypted volumes                                           [DONE]
:: Checking Filesystems                                                  [DONE]
:: Remounting Root and API filesystems                                   [DONE]
:: Mounting Local Filesystems                                            [DONE]
:: Activating Swap                                                       [DONE]
:: Configuring Time Zone                                                 [DONE]
:: Initializing Random Seed                                              [DONE]
:: Removing Leftover Files                                               [DONE]
:: Setting Hostname: alarm                                               [DONE]
:: Saving dmesg Log                                                      [DONE]
INIT: Entering runlevel: 3
mount: mount point /proc/sys/fs/binfmt_misc does not exist
:: Starting Syslog-NG                                                    [DONE]
:: Starting crond daemon                                                 [DONE]
:: Starting Secure Shell Daemon                                          [DONE]
:: Starting netcfg auto-wireless mode for interface wlan0                [FAIL]
:: Starting netcfg auto-wired mode for interface usb0                    [DONE]

Arch Linux 3.12.0-rc3-dirty (ttyAMA0)

mbergmann

What exactly is your current problem with your adapter?

I'm using 3.12.0-00006 (build myself) and my Asix based USB-to-LAN adapter is working as expected.

Regards

Mike

Lukas Mistr

Now I partially ethernet works. The new kernel caused the Ethernet connection appoints lo instead USB0. Now occurred problém.olinuxino uses ping well, but the computer does not and can not use SSH access. I also wanted to ask what is the difference between FSL-EHCI and ci_hdrc? I discovered another problem. Now I do not see two UARTs (tty / usb0 and tty / USB1)in the list of devices  that I had via FTDI chip attached to a single USB port.

Lukas Mistr

I am now up and running ethernet. I do not know why but when using IP 192.168.1.xxx on the computer reported Match IP addresses. After disconnecting the cable, I tried in olinuxinu ping all the addresses and I got the answer. When I connect via IP address 192.168.0.xxx everything works well.
Could you help me more with the UART someone?

mbergmann

#6
Hi Lukas,

you're mixing questions. I think it would be much easier to make separate threads for the UART and SSH topics.

Regarding your USB question:

ci_hdrc: Chip Idea Highspeed Dual Role Controller. Chip Idea provided the silicon IP for the USB Controller within the i.MX233. This driver currently provides the peripheral mode and is based on USB_EHCI_HCD. The source is located in './drivers/usb/chipidea/'

FSL-EHCI: Freescale Semiconductor, Ltd. Enhanced Host Controller Interface. This is USB_EHCI_HCD, the USB 2.0 "high speed" host controller driver. Most low-level and host functionality is implemented within this part. The source is located in './drivers/usb/host/'

Regards

Mike


Lukas Mistr

#7
hi Mike

I tried to find the path (/ drivers / usb /), but without success. I talked about UART, because I thought that ci_hdrc related to connected devices. Otherwise, I will compare the version 2.6.35-8-ARCH with 3.12.0-rc3-dirty using ls / dev and it turned out as follows

2.6.35-8-ARCH
autofs loop1 ram0 tty14 tty31 tty49 tty9
bus Loop2 RAM1 tty15 tty32 tty5 ttyAMA0
char Loop3 RAM2 tty16 tty33 tty50 ttySP1
console loop4 ram3 tty17 tty34 tty51 ttyUSB0
core loop5 random tty18 tty35 tty52 ttyUSB1
cpu_dma_latency loop6 rtc tty19 tty36 tty53 urandom
crypto loop7 rtc0 tty2 tty37 tty54 usbdev1.1
dcpboot mem shm tty20 tty38 tty55 usbdev1.2
fb0 mmcblk0 snd tty21 tty39 tty56 usbdev1.3
fd mmcblk0p1 stderr tty22 tty57 tty4 usbdev1.4
full mmcblk0p2 stdin tty23 tty40 tty58 usbdev1.5
fuse mmcblk0p3 stdout tty24 tty41 tty59 vcs
i2c-0 mxs_viim tty tty25 tty42 tty6 VC B1
initctl network_latency tty0 tty26 tty43 tty60 vcs2
input network_throughput tty1 tty27 tty44 tty61 vcsa
kmem null tty10 tty28 tty45 tty62 vcsa1
kmsg psaux tty11 tty29 tty46 tty63 vcsa2
log ptmx tty12 tty47 tty3 tty7 watchdog
loop0 pts tty13 tty30 tty48 tty8 zero

3.12.0-rc3-dirty
block mmcblk0 stdout tty22 tty38 tty53 ubi_ctrl
bus mmcblk0p1 tty tty23 tty39 tty54 urandom
cachefiles mmcblk0p2 tty0 tty24 tty55 tty4 vcs
char network_latency tty1 tty25 tty40 tty56 VC B1
console network_throughput tty10 tty26 tty41 tty57 vcs2
core null tty11 tty27 tty42 tty58 vcsa
cpu_dma_latency ppp tty12 tty28 tty43 tty59 vcsa1
disk ptmx tty13 tty29 tty44 tty6 vcsa2
fd pts tty3 tty14 tty45 tty60 watchdog
full random tty15 tty30 tty46 tty61 watchdog0
i2c-0 rtc tty16 tty31 tty47 tty62 watchdog1
io: Device0 rtc0 tty17 tty32 tty48 tty63 zero
initctl shm tty18 tty33 tty49 tty7
input snd tty19 tty34 tty5 tty8
kmsg spidev1.1 tty2 tty35 tty50 tty9
stderr log tty20 tty36 tty51 ttyAMA0
mem stdin tty21 tty37 tty52 ttyAPP0


Could you explain to me why they are such a big difference?


I also have this report, but I do not know if it is needed on this topic.

Waiting for UDev uevents to be processed                              [BUSY]
[   14.970000] usbserial: disagrees about version of symbol module_layout
[   14.980000] usbserial: disagrees about version of symbol module_layout
[   15.530000] 8188eu: disagrees about version of symbol module_layout