Forum Discussion
Altera_Forum
Honored Contributor
20 years agohi hippo
Thank you very much.... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif /include/nios2_system.h . define na_DM9000A define na_DM9000A_irq . /drivers/net/dm9000x.c:305: error: `na_dm9000_irq' undeclared here (not in a function) "na_dm9000_irq" update to "na_DM9000A_irq" drivers/net/dm9000x.c:162 # define DM9000_MIN_IO (na_dm9000) "na_dm9000" update to "DM9000A" I can make kernel succeed and ping DE2 board form the PC. Under NIOS II SDK shell# ifconfig eth0 163.26.227.227 # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:07:ED:00:00:00 inet addr:163.26.227.227 Bcast:163.26.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif TX bytes:0 (0.0 http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif Interrupt:8 Under XP C:\Documents and Settings\Administrator>ping 163.26.227.226 Pinging 163.26.227.226 with 32 bytes of data: Reply from 163.26.227.226: bytes=32 time<1ms TTL=128 Reply from 163.26.227.226: bytes=32 time<1ms TTL=128 Reply from 163.26.227.226: bytes=32 time<1ms TTL=128 Reply from 163.26.227.226: bytes=32 time<1ms TTL=128 PS:i can't ping DE2 board,sometimes. Can i ifconfig ip before boot uClinux ? Thx