Status of Ethernet driver for At91SAM9260?

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Posts: 18
Joined: Wed Jan 10, 2007 8:13 am

Status of Ethernet driver for At91SAM9260?

Wed Jan 10, 2007 8:16 am

Can someone clarify what the status is of a linux ethernet driver for the at91sam9260?

The latest kernel mentions that the macb one may be usable, is there a patch to allow this?

Have i missed something? I notice timesys have one going in their distro.

Location: Sweden
Posts: 134
Joined: Wed Feb 18, 2004 5:53 pm

Wed Jan 10, 2007 6:22 pm

Yes, it was posted on the Linux ARM mailing list some time ago
but you can also find it in my buildroot at
ftp://at91dist:distrib@ -> third party -> linux host-> buildroot
I just put (-RC4) there.

This can create:
* Cross compiler gcc-3.4.6-uclibc, binutils-2.16.1
* AT91 bootstrap for dataflashcard
* U-Boot for dataflashcard
* Linux 2.6.19
* JFFS2/EXT2 root file system

-RC4 can build this for AT91RM9200 running from dataflash,
AT91SAM9260 and AT91SAM9261.
It can also build a cross compiler for AVR32.

You may run into a few problems when building the root file system
due to packages beeing updated with new versions and
old versions are removed, but that is easily fixed.
You then have to edit "packages/<package>/<package>.mk"
to replace "<package>_VER" with the newer version number.

This is not an Atmel official package and is
intended as a start for anyone wanting to get Linux running
on an Atmel development kit.
As such, it has not been extensively tested, but many
have been able to get running with earlier versions of this package.
Best Regards
Ulf Samuelsson
Posts: 18
Joined: Wed Jan 10, 2007 8:13 am

Thu Jan 18, 2007 8:26 am

Thanks Ulf,

I have compiled a kernel using the 2.6.19 patch i found in your buildroot. This includes the MACB ethernet driver. When i boot his kernel i get the follwoing messages:

[42949373.640000] macb macb: failed to get macb_clk
[42949373.640000] macb: probe of macb failed with error -12

Is there something i have missed in the configuration?

Posts: 18
Joined: Wed Jan 10, 2007 8:13 am

Thu Jan 25, 2007 6:35 am

nevermind, using the patch called linux-2.6.19-at91sam9261.patch from Ulf's ftp, it now boots ok with ethernet, nand, i2c, etc.


Return to “LINUX”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests