Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFor ethernet, run "ifconfig -a" to see the other adapters you are looking for "eth0 and eth1". If you do not see them, you have to enable ethernet in "make menuconfig" option. If you do see them there, just configure them using something like "ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up" etcetera. You can find lots of info on this. You will also need to settup a default gateway and such.
For SD Card, similar story. Go on "make menuconfig" and ensure that you have enabled MMC/SD support but do NOT set it as a module "[M]". i am having a particular problem where if i enable the mmc/sd card support as a module it does not work but if i just set it directly with [*] then it works.... does anybody reading this know why this is? By the way, you can automate the way SD card gets mounted by creating and editing "fstab" file, inserting this "fstab" file in your ROMFS by modifying the Makefile inside ..Altera/nios2/, and editing your RC script to run the modules and such.