PATCH LAN9221

Dear Sirs/Madame,

Does anybody use Beagle Board XM with LAN9221? I crosscompile the TI SDK , there is the drivers for SMC but the chip is is not recognized .
The schematic is correct but works only the lan9514…

Must i apply some patch for GPMC support? Any suggestion is welcome!

Br,
Andrea

There is no access to the GPMC signals on the -xM, so I cannot see how it could be used with a LAN9221.

Gerald

I made a custom board the schematic is compatible with: https://groups.google.com/forum/?fromgroups=#!category-topic/beagleboard/beagleboard-xm/XbYWa9PwcNE

First you need to fix pinmux for all gpmc signals. You can do in u-boot. I will send you necessary code for it and how to initialize lan9221 in u-boot. Linux kernel will also need some modification

Thank you Lisarden I am waiting for your news.

Hi Andrea,

here are instructions for a SOM BlueShark with OMAP3 and LAN9221. These instructions refer to rather old SW sources but the things did not change significantly for the hardware

  1. how to compile u-boot
git clone git://[www.denx.de/git/u-boot.git](http://www.denx.de/git/u-boot.git) u-boot-2010.03
cd u-boot-2010.03
git checkout ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55
wget **[http://mentorel.ru/downloads/blueshark/bs_uboot2010.patches.tgz](http://mentorel.ru/downloads/blueshark/bs_uboot2010.patches.tgz)**
tar xzf bs_uboot2010.patches.tgz

quilt push -a
make omap3_blueshark_config
make CROSS_COMPILE=/opt/arm-2008q1/bin/arm-none-linux-gnueabi-

  1. patches for the kernel 2.6.32
    http://mentorel.com/downloads/blueshark/blueshark3-2.6.32-r78.patches.tgz

you will have to copy and paste lines for lan9221 from a file arch/arm/mach-omap2/board-blueshark.c

ask any questions

Thank you but my u-boot, hw and kernel is quite different. Could you send me a step by step procedure for a custom solution.
Andrea

All you need is copy and paste necessary lines of code. There is not much and I believe it’s quite intuitive and simple