-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
beaglebone: USB-to-Ethernet interface not working #1
Comments
Hi Rino, In testing in the lab, most of the usb problems seem to be fixed now.. Care to give this kernel a try? On the beaglebone: Regards, |
kernel hangs ( doesn't boot) on beaglebone: [ 1.825452] i2c /dev entries driver |
Hi Rino, [ 8.097619] CPSW phy found : id is : 0x7c0f1 After seeing ^^, how long did you wait (longer then 2mins is a problem)? As long as the D2 led (next to the usb/eth connectors) the board is still running. With ubuntu oneiric, it's setup by default to wait at least 2mins when an "eth0" setting exists in /etc/network/interfaces.. which i've done with the demo image. I've also patched out about 1 min 40 seconds of the 2 minute wait.. So with no Ethernet plugged into the jack, it should only look frozen for about 20 seconds or so... I haven't found a way to print "attempting network connection" so that it doesn't look frozen.. Is d2 still blinking? try commenting out: auto eth0 in: /etc/network/interfaces Try, another todays updated kernel. (couple beaglebone i2c tweaks..) sudp cp X.uImage /media/boot/uImage Regards, |
Hi Robert, you are right, maybe the boot slowness was when I tried beaglebone with an Then following your instructions I tried all the following kernel in my Linux omap 3.1.0-psp3 #1 SMP Fri Dec 23 10:44:55 UTC 2011 armv7l armv7l They boot in about 40 sec without ethernet cable. With the second and third ones the led blinks during use.Sometimes I found myself in a 'U-Boot#' prompt environment. What is it? And when is it supposed to appear?U-Boot# version U-Boot#Also with the third kernel no eth2 interface appears
I did that and I did: so I wonder: Regards Rino |
Hi Robert, Linux omap 3.2.0-psp1 #1 Fri Feb 3 15:15:23 UTC 2012 armv7l armv7l armv7l GNU/Linux An usb0 network interface appears both on beaglebord and on the host Ubuntu PC PC: sudo ifconfig usb0 192.168.7.1 but ping dosn't work Maybe can be a usbnet module problem because: but on Beaglebone: really no module appears to be loaded in the kernel because lsmod give an empty set: I tried modprobe but without success. With Angstrom and USB-to-Ethernet in working state: I hope this information can be useful for you. |
patches/defconfig: add CONFIG_HIDRAW=y
Ubuntu on Beaglebone: how to have USB-to-Ethernet interface working?
I am using Beaglebone booted with Ubuntu following the direction from:
http://elinux.org/BeagleBoardUbuntu#Demo_Image
I also use Ubuntu on my host PC connected to the Beaglebone by a USB
cable only (no LAN cable).
In this configuration USB-to-serial works and I have the very useful
Beaglebone console.
If I boot with Angstrom USB-to-Ethernet works. That is done via an
eth2 interface that appears on my PC and I give it the address
192.168.7.1 (the Beaglebone answer from 192.168.7.2). The USB-to-
Ethernet functionality starts disconnecting the Beaglebone-Angstom USB
mass storage (as I red from the related Beaglebone README.htm). But
when the Beaglebone boots with Ubuntu I have no USB mass storage to
disconnect and no eth2, or similar, interface appears.
So please give me some advice in order to solve my problem.
Thanks
Rino
dmesg+ifconfig on beaglebone:
[ 1.927672] Linux media interface: v0.10
[ 1.932041] lirc_dev: IR Remote Control driver registered, major 250
[ 1.938818] Driver for 1-wire Dallas network protocol.
[ 1.945216] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.952682] device-mapper: uevent: version 1.0.3
[ 1.958336] device-mapper: ioctl: 4.21.0-ioctl (2011-07-06) initialised: dm-devel@redhat.com
[ 1.967778] device-mapper: multipath: version 1.3.0 loaded
[ 1.973623] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 1.983699] usbcore: registered new interface driver snd-usb-6fire
[ 1.991067] ALSA device list:
[ 1.994193] No soundcards found.
[ 1.997768] oprofile: hardware counters not available
[ 2.003176] oprofile: using timer interrupt.
[ 2.009686] TCP cubic registered
[ 2.014510] NET: Registered protocol family 10
[ 2.024324] NET: Registered protocol family 17
[ 2.029370] Registering the dns_resolver key type
[ 2.034380] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.042513] ThumbEE CPU extension supported.
[ 2.047037] Registering SWP/SWPB emulation handler
[ 2.053539] omap2_set_init_voltage: unable to get clk dpll1_ck
[ 2.059740] omap2_set_init_voltage: unable to set vdd_mpu_iva
[ 2.065797] omap2_set_init_voltage: unable to get clk l3_ick
[ 2.071779] omap2_set_init_voltage: unable to set vdd_core
[ 2.085394] registered taskstats version 1
[ 2.090218] Detected MACID=d4:94:a1:37:bb:52
[ 2.098657] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 2.108628] Freeing init memory: 324K
[ 2.177925] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 2.193314] mmc0: new SD card at address ffee
[ 2.204998] mmcblk0: mmc0:ffee SU02G 1.89 GiB
[ 2.218768] mmcblk0: p1 p2
[ 2.323506] udevd[69]: starting version 173
[ 3.428783] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.146497] init: ureadahead main process (166) terminated with status 5
[ 4.928837] udevd[207]: starting version 173
[ 5.312243] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 6.981551]
[ 6.981561] CPSW phy found : id is : 0x7c0f1
[ 6.988371] PHY 0:01 not found
[ 6.994387] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.300668] init: udev-fallback-graphics main process (374) terminated with status 1
ubuntu@omap:~$ ifconfig
eth0 Link encap:Ethernet HWaddr d4:94:a1:37:bb:52
UP BROADCAST ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:40
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
dmesg+ifconfig on Ubuntu host PC
844.157992] scsi7 : usb-storage 1-6.2:1.0
[ 845.157681] scsi 7:0:0:0: Direct-Access Linux File-CD Gadget 0316 PQ: 0 ANSI: 2
[ 845.196843] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 845.201288] sd 7:0:0:0: [sdb] 144522 512-byte logical blocks: (73.9 MB/70.5 MiB)
[ 845.202538] sd 7:0:0:0: [sdb] Write Protect is off
[ 845.202544] sd 7:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[ 845.203818] sd 7:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 845.209747] sdb:
[ 845.213531] sd 7:0:0:0: [sdb] Attached SCSI removable disk
[ 925.514650] usb 1-6.2: USB disconnect, device number 6
[ 925.539737] sd 7:0:0:0: [sdb] Synchronizing SCSI cache
[ 925.540810] sd 7:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 938.824550] usb 1-6: USB disconnect, device number 3
[ 938.824556] usb 1-6.1: USB disconnect, device number 4
[ 938.824781] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 938.824804] ftdi_sio 1-6.1:1.0: device disconnected
[ 938.827028] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[ 938.827047] ftdi_sio 1-6.1:1.1: device disconnected
[ 1000.256044] usb 1-6: new high speed USB device number 7 using ehci_hcd
[ 1000.389560] hub 1-6:1.0: USB hub found
[ 1000.390363] hub 1-6:1.0: 2 ports detected
[ 1000.664656] usb 1-6.1: new high speed USB device number 8 using ehci_hcd
[ 1000.776987] ftdi_sio 1-6.1:1.0: FTDI USB Serial Device converter detected
[ 1000.777018] usb 1-6.1: Detected FT2232H
[ 1000.777020] usb 1-6.1: Number of endpoints 2
[ 1000.777021] usb 1-6.1: Endpoint 1 MaxPacketSize 512
[ 1000.777023] usb 1-6.1: Endpoint 2 MaxPacketSize 512
[ 1000.777025] usb 1-6.1: Setting MaxPacketSize 512
[ 1000.777345] usb 1-6.1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 1000.778736] ftdi_sio 1-6.1:1.1: FTDI USB Serial Device converter detected
[ 1000.778766] usb 1-6.1: Detected FT2232H
[ 1000.778767] usb 1-6.1: Number of endpoints 2
[ 1000.778769] usb 1-6.1: Endpoint 1 MaxPacketSize 512
[ 1000.778771] usb 1-6.1: Endpoint 2 MaxPacketSize 512
[ 1000.778772] usb 1-6.1: Setting MaxPacketSize 512
[ 1000.779073] usb 1-6.1: FTDI USB Serial Device converter now attached to ttyUSB1
[ 1008.776653] usb 1-6.2: new high speed USB device number 9 using ehci_hcd
[ 1008.886651] usb 1-6.2: unable to read config index 0 descriptor/start: -32
[ 1008.886655] usb 1-6.2: chopping to 0 config(s)
[ 1008.886787] usb 1-6.2: no configuration chosen from 0 choices
rino@MCP7A:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:2e:27:de:94
indirizzo inet:192.168.178.66 Bcast:192.168.178.255 Maschera:255.255.255.0
indirizzo inet6: fe80::201:2eff:fe27:de94/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83265 errors:0 dropped:0 overruns:0 frame:0
TX packets:47508 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:122674569 (122.6 MB) Byte TX:4058402 (4.0 MB)
Interrupt:22 Indirizzo base:0x2000
lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:9370 (9.3 KB) Byte TX:9370 (9.3 KB)
The text was updated successfully, but these errors were encountered: