Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by madman23@Nov 3 2006, 01:40 PM hello,
i was going through the ethrnet page and the new config for the dm9000 on de2 is quite different from the one on the wiki. instead of changing the dm9000x.c file i had to change the setup.c file in /kernel.
also could any one please make it clear as to how one needs to add the hw_addr for de2 board as i have to set the mac address once the board is up and running and then go ifconfig up. to get any connection.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19128)
--- quote end ---
--- Quote End --- The Ethernet page on wiki is out of date, and does not apply to uClinux-dist-20060803. I shall update it later. The DM9000A io address hook up for DE2 was fixed in later patches. Please remove old patch and add newer patch to find out if it can work without modify arch/nios2nommu/kernel/setup.c . So, after all, you can set hw addr ? can bring up the DM9000 eth, ? can set static ip ? If you want to add these initialization to rc, so that it will run after boot. then the file is vendors/Altera/nios2nommu/rc . add these commands to it.