Re: [U-Boot-Users] Uboot (AT91 tree) macb in MII mode

2008-04-14 Thread Sander Vermin
Stelian Pop schreef: > Le lundi 14 avril 2008 à 11:19 +0200, Sander Vermin a écrit : > > >>> Do you have a working Linux kernel with a working network interface ? >>> The Linux and U-Boot macb driver and PIO configuration is very close, >>> and if you manag

Re: [U-Boot-Users] Uboot (AT91 tree) macb in MII mode

2008-04-14 Thread Sander Vermin
Stelian Pop schreef: > Le lundi 14 avril 2008 à 10:10 +0200, Sander Vermin a écrit : > >> Hi All, >> >> I have been struggling the last week to get the macb Ethernet driver in >> MII mode. >> >> [in short] >> I have communication over the M

[U-Boot-Users] Uboot (AT91 tree) macb in MII mode

2008-04-14 Thread Sander Vermin
Hi All, I have been struggling the last week to get the macb Ethernet driver in MII mode. [in short] I have communication over the MDIO interface, my activity led blinks but no ehternet. [the long story] I have a custom board build out of the schematics of the AT91SAM9260EK board. On my boar

Re: [U-Boot-Users] AT91SAM9260EK with KS8721 PHY

2008-04-08 Thread Sander Vermin
Eric BENARD schreef: > Sander Vermin a écrit : >> I did a new build with: >> >> macb_eth_initialize(0, (void *)AT91_BASE_EMAC, 1<<5); >> >> in stead of: >> >> macb_eth_initialize(0, (void *)AT91_BASE_EMAC, 0x00); >> >> But still no

Re: [U-Boot-Users] AT91SAM9260EK with KS8721 PHY

2008-04-08 Thread Sander Vermin
Eric BENARD schreef: > Stelian Pop a écrit : >> Hmm, if I sed: >> s/KS8721/DM9161/g >> and >> s/ks8721/dm9161/g >> >> on your files I find almost no change with regard to the original >> version, except: >> >> #define PHY_ADDRESS (1<<5) >> >> and a #if 0 commenting out a bit of the initiali

Re: [U-Boot-Users] AT91SAM9260EK with KS8721 PHY

2008-04-07 Thread Sander Vermin
Stelian Pop schreef: > Le lundi 07 avril 2008 à 15:16 +0200, Sander Vermin a écrit : > >> Hello, >> >> I'm trying to build a U-Boot from your git tree with the AT91 patches. >> My board is a custom board with a KS8721 instead of the DM9161 network >>

[U-Boot-Users] AT91SAM9260EK with KS8721 PHY

2008-04-07 Thread Sander Vermin
more clean) Kind regards, Sander Vermin [1] static unsigned int dm9161a_IsPhyConnected (AT91PS_EMAC p_mac) { unsigned short Id1, Id2; at91_EmacEnableMDIO (p_mac); at91_EmacReadPhy (p_mac, SAM9260EK_PHY_ADDRESS, DM9161_PHYID1, &Id1); at91_EmacReadPhy (p_mac, SAM9260EK_PH