Beagle Board xM & Angstrom - Network problem

Hello,
I’m running a kernel Angstrom on Beagle xM. I can’t work with the network.
I tried with Nautilus and the network worked fine but I need the kernel source to enable the spi and so I’m running Angstrom now.
I can set Ip, netmask, … on usb0 but I get always this error message:
#ifconfig usb0 up
[ 45.825958] ADDRCONF (NETDEV_UP): usb0: link is not ready

The leds of the nework interface are turned off. I can’t ping external hosts.

uname -a
Linux beagleboard 2.6.32 #15 PREEMPT Fri Apr 13 13:01:23 CEST 2012 armv7l GNU/Linux

Any help?

I forgot to tell you that I’m using an ethernet cable linked to “eth0” and not an usb cable.

le 13/04/2012 14:49, SimoneBO nous a dit:

Hello,
I'm running a kernel Angstrom on Beagle xM. I can't work with the network.
I tried with Nautilus and the network worked fine but I need the kernel source to enable the spi and so I'm running Angstrom now.
I can set Ip, netmask, ... on usb0 but I get always this error message:
#ifconfig usb0 up
[ 45.825958] ADDRCONF (NETDEV_UP): usb0: link is not ready

Have you modified the file /etc/network/interfaces

You should have
auto usb0
then the usual stuff to configure your interface

I tried with dhcp and static IP.
It works and I can set the IP to usb0. But the network is still dead.
Maybe I can solve my problem with the new kernel?! Do you know where I can found the angstrom kernel’s source for beagle board xm?
I try with an image of Ubuntu and the network works, but not the SPI :frowning:
I’m getting crazy…

The eth adapter should work with any kernel…

You don’t need the source of a newer kernel.
Visit http://www.angstrom-distribution.org/demo/beagleboard/

Then, download uImage (this is a 3.0.17 kernel) and
copy this file in the /boot directory of your root partition
copy again the file in the boot partition of your mmc card

Then download modules.tgz and untar in the root parition

You will have a fully angstrom distro with 3.x kernel

I need the spi on this board. The only way I found is to patch the “board init file” board-omap3beagle.c.
Do you know other way to enable the spidev?

I don’t know spidev, but if you really need to build a kernel you have to use openembedded, then configure and build your custom kernel

http://www.angstrom-distribution.org/building-angstrom

before bitbake virtual/kernel
you could

I compiled the angstrom kernel using the follow istructions:
http://linuxdeveloper.blogspot.it/2011/10/enabling-spi-on-beagleboard-xm.html

The image run but I have the network problem…

Ok, I found the solution to all my problems here:
http://www.brianhensley.net/2012/02/spi-working-on-beagleboard-xm-rev-c.html

Thanks Chris for your patience :slight_smile:
Bye