Skip to contentSkip to conversation

mx21ads patch

U-Boot-Users Livio Tenze 2 participants 2 messages Sep 19, 2005 – Sep 21, 2005

lore
Share & tools
lore
#0 lore raw

Hi all!!
I am trying to use the mx21ads patch for the u-boot-1.1.3 but I have some problems in configuring the ethernet adapter cs8900: when I properly set the related definitions
/*
* CS8900 Ethernet drivers
*/
#define CONFIG_DRIVER_CS8900 1 /* we don't have a CS8900 on-board */
#define CS8900_BASE 0x15000300
#define CS8900_BUS16 1 /* the Linux driver does accesses as
shorts */

an error occurs at the compile-time (unreferenced cs8900_get_enetaddr or something similar).
How can I correctly set the ethernet adapter?
May you help me?

Thanks in advance!
Livio

#1 lore raw

Hi Livio,

I did not port cs8900 in the patch , so i should have comment the statment with
"//#define CONFIG_DRIVER_CS8900 1" in mx21ads.h .
if you uncomment this , the compiler will compile the function cs8900_get_enetaddr in lib_arm/board.c
which will result in error as i did not implement this fucntion in mx21ads .

Regards,
TOM

Quoted 32 lines · Livio Tenze

Hi all!!
I am trying to use the mx21ads patch for the u-boot-1.1.3 but I have some problems in configuring the ethernet adapter cs8900: when I properly set the related definitions
/*
* CS8900 Ethernet drivers
*/
#define CONFIG_DRIVER_CS8900 1 /* we don't have a CS8900
on-board */
#define CS8900_BASE 0x15000300
#define CS8900_BUS16 1 /* the Linux driver does accesses as
shorts */

an error occurs at the compile-time (unreferenced cs8900_get_enetaddr or something similar).
How can I correctly set the ethernet adapter?
May you help me?

Thanks in advance!
Livio

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users