Hi,
Does any distro support usbnet (Ethernet using USB for the PHY layer)? The Linux kernel does support it, I know. I ran the Android build today but it doesn't seem to use usbnet. Curious if Angstrom supports it.
Regards,
Sri
Hi,
Does any distro support usbnet (Ethernet using USB for the PHY layer)? The Linux kernel does support it, I know. I ran the Android build today but it doesn't seem to use usbnet. Curious if Angstrom supports it.
Regards,
Sri
Hi,
Does any distro support usbnet \(Ethernet using USB for the PHY
layer)? The Linux kernel does support it, I know. I ran the Android
build today but it doesn't seem to use usbnet. Curious if Angstrom
supports it.
Angstrom has usbnet supported. You can enable by configuring the
kernel with following options
Device Driver
* USB Support [y]
* Inventra Highspeed Dual Role Controller (TI, ADI, ...) [y]
* Driver Mode (Both host and peripheral: USB OTG (On The Go)
Device
* USB Gadget Support [y]
* USB Gadget Drivers (Ethernet Gadget (With CDC Ethernet
Support)) [y]
* RNDIS Support [y]
Regards,
-Hieu
Hieu,
I have setup the OE environment following Koens write-up and also created the images successfully, but I am unable to locate where I need to make these changes. The defconfig file inside OE/openembedded/recipes/linux/linux-2.6.29/tosa (which I believe is the config file for the kernel since the boot messages show 2.6.29 as the kernel in use), already seems to enable USBNet and RNDIS as evident from the following lines. Also, I could not find any entry related to Inventra. Please help me locate the exact file that needs to be changed.
#USB Network Adapters
CONFIG_USB_USBNET=m
Regards,
Sri.
Sri,
Hieu,
I have setup the OE environment following Koens write-up and also
created the images successfully, but I am unable to locate where I need
to make these changes. The defconfig file inside
OE/openembedded/recipes/linux/linux-2.6.29/tosa (which I believe is the
config file for the kernel since the boot messages show 2.6.29 as the
kernel in use), already seems to enable USBNet and RNDIS as evident from
the following lines. Also, I could not find any entry related to
Inventra. Please help me locate the exact file that needs to be changed.#USB Network Adapters
CONFIG_USB_USBNET=m
You can change the .config file located at
OE/openembedded/recipes/linux/linux-2.6.29/
I have two USB Ethernet adapters and that not accepting dhcp… if I use fixed IP that works, both have DAVICOM chipset
2010/3/3 Hieu Le Trung <hieuletrung@gmail.com>
Marcus,
Did you try running dhclient (with sudo)?
And, are you sure your DHCP server works?
Regards,
Sri
Marcus Fazzi (Anunakin) escreveu:
I have two USB Ethernet adapters and that not accepting dhcp.. if I use
fixed IP that works, both have DAVICOM chipset
I also have 2 of them and check it out:
eth1: register 'dm9601' at usb-0000:00:1d.1-1, Davicom DM9601 USB Ethernet
I just run dhclient and works fine.
[]s
Adilson.
Not working on PC too, I’m using ubuntu 9.10 ob BB and PC
2010/3/3 Adilson Oliveira <adilson@linuxembarcado.com.br>
Marcus Fazzi (Anunakin) escreveu:
Not working on PC too, I'm using ubuntu 9.10
Maybe there's something wrong with them because they work fine on my
desktop running Ubuntu 9.10.
Are they even detected at all?
[]s
Adilson.
Ok, if they are not working on PC, then maybe I’d first suspect the DHCP server. Is it really enabled to give out dynamic IPs? If that is set correctly, I’d suspect my hardware.
Regards,
Sri
Tried looking there, but couldn't find the .config file (infact, I couldn't find it anywhere in the ${OETREE}and its subdirectories) . The only thing under the linux-2.6.29/ folder is the tosa folder which contains two patch files and one defconfig file.
Anywhere else?
Regards,
Sri.
Tried looking there, but couldn't find the .config file (infact, I couldn't find it anywhere in the ${OETREE}and its subdirectories) . The only thing under the linux-2.6.29/ folder
is the tosa folder which contains two patch files and one defconfig file.
defconfig is what you're looking for. The recipe installs it as '.config'
before building.
I thought as much. Thank you for the clarification.
Now, inside this defconfig, I see that USBNet is configured to be a module rather than a built-in driver. Is that why USBNet does not come up by default, in which case I have two questions:
1. How do I load the module (the command 'ifconfig usb0 up' does not seem to load it)
2. I am assuming bitbake will recompile only the kernel (to include the module) and leave the others untouched (so my compile time is small). Please confirm.
Regards,
Sri.
CONFIG_USB_USBNET=m
Today, I modified the defconfig file inside my openembedded/recipe/linux/linux-2.6.29/tosa/ folder and issued the commands:
bitbake base-image
bitbake console-image x11-image
The process took just about 5-10 minutes and I'm sure the kernel did not get re-compiled. How do I get this going?
Regards,
Sri.
I’m sorry man, but I just want to know you compile Angstrom for Beagleboard or Tosa? Because it is absolutely different!
If you want to compile kernel for Beagleboard you issue the command:
bitbake linux-omap
recompile:
bitbake -c rebuild linux-omap
delete kernel:
bitbake -c clean linux-omap
no Tosa at all!
2010/3/4 SVedurumudi <svedurumudi@gmail.com>
I'm sorry man, but I just want to know you compile Angstrom for Beagleboard or Tosa? Because it is absolutely different!
If you want to compile kernel for Beagleboard you issue the command:
bitbake linux-omaprecompile:
bitbake -c rebuild linux-omap
not linux-omap, but virtual/kernel
delete kernel:
bitbake -c clean linux-omap
not linux-omap, but virtual/kernel
vritual/kernel will always point to the correct kernel. And if you build it it will say at the start which files it's going to use so you can use that to find the defconfig.
regards,
Koen
Koen,
What is incorrect with linux-omap? All files are listed in the respective bb file, including the defconfig. Aren’t both these methods produce the same result?
2010/3/4 Koen Kooi <koen@beagleboard.org>
They might, but the new 2.6.32 kernel in the feeds and on the website isn't built from linux-omap, so your instructions are wrong for that. If you build a kernel, use virtual/kernel then you can never go wrong.
Hieu,
Here is the defconfig file being used http://pastebin.com/P1mCsZ3t
But, I dont see the Inventra Highspeed Dual Role Controller in it.
Also, USBNet and RNDIS are enabled.
Still, I don't seen to get the USBNet functionality when I connect my host to the BB. Any help here?
Regards,
Sri.