Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: at91sam9260ek ethernet
PostPosted: Mon Jul 30, 2007 10:14 pm 
Offline

Joined: Mon Jul 30, 2007 5:55 pm
Posts: 2
Location: US
Hello,

I'm having trouble testing the ethernet/networking on my 9260ek. During the linux boot, eth0 is ?detected? (not sure what to call it); but it is not available as /dev/eth0 after the boot process is completed.

I've used the at91 buildroot (buildroot-atmel-2007-06-07.cpio.bz2) and it's make_board_2007-05-21.sh to compile a 2.6.21.1 kernel and a root file system. I'm using the bootstrap and the u-boot included in the linux demo's supplied by Atmel. I'm pretty sure all the necessary flags are set in the linux .config, but maybe I looked at the wrong .config (I looked at target_build_arm_small/at91sam9260dfc/linux-2.6.21.1/.config). Other than that, I'm not really sure what else to modify. I'm very (VERY) new to linux and have no idea what to do to set up devices if they aren't setup automatically (for example, the USB stuff works just fine).

I would appreciate any help anyone can give.
Thanks

These are the parts of the boot process that I think might be related/important:

NET: Registered protocol family 16
:arrow: Generic PHY: Registered new driver


Davicom DM9161E: Registered new driver
Davicom DM9131: Registered new driver
PPP generic driver version 2.4.2
:arrow: macb macb: detected PHY at address 0 (ID 0181:b8a0)
:arrow: eth0: Atmel MACB at 0xfffc4000 irq 21 (00:00:00:00:00:00)


Populating /dev using udev: cannot open /dev/null
done
Initializing random number generator... done.
Starting network...
ip: RTNETLINK answers: File exists
Starting HPA's tftpd:
Welcome to the Erik's uClibc development environment running on the AT91SAM9260
at91sam9260dfc login: root
# ls /dev/e*
:arrow: ls: /dev/e*: No such file or directory
#


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 31, 2007 1:25 am 
Offline

Joined: Mon Jul 30, 2007 5:55 pm
Posts: 2
Location: US
Problem Solved.

Solution:
eth0 not in /dev anymore (linux 2.6)
ifconfig /dev/eth0 <ip address> will fail
ifconfig eth0 <ipaddress> works fine

next problem: mac address was 00.00.00.00.00
needs to be non null with even numbered first entry i.e. 02.xx.xx.xx.xx


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: