Well,
I found out how to port the ip stack to this board, and recently a user from this forum asked me how to do it so i figured it would be helpful information if I post it here.
here is the email i sent him. He was able to configured it, and made it worked.
Hi,
I’ve been searching for the stuff i did but I couldn’t find the
sourcecode to use the uip stack.
I could only find the changes i made to support iwip stack. I think
the changes would be the
same to support uip stack.
Here is the changes i made to support the olimex same board with ethernet.
the following changes are made to the original freertos target for the sam7x256:
in the file EMAC/mii.h, i changed the PHY ID to the following,
/* PHY ID */
#define MII_DM9161_ID 0x00221610 //0x0181b8a0
#define MII_AM79C875_ID 0x00221610 //0x00225540 /* 0x00225541 */
#define MII_KS8721_ID 0x00221610
#define AT91C_PHY_ADDR 1
note, all MII id are the same, and that PHY ADDRESS is changed to 1 from 31.
also, remember to change the ip address in EMAC/SAM7_EMAC.h, right now
it is configed to 10.234.61.114
once loaded the .bin file to the hardware, simply open the webpage
using that ip, see if it works.