- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I followed the instructions (http://nioswiki.jot.com/wikihome/operatingsystems/ethernet) on NiosWiki on setting up Ethernet on uClinux. It compiled ok and even printed out the following during boot:smc_probe: 50000 Khz Nios
SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6)
eth0: SMC91C11xFD(rev:1) at 0x82110300 IRQ:6 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07:ed:0d:b1:91
smc_probe: 50000 Khz Nios
However, I can't find eth0 under /dev, nor does the board seem to recognize the Ethernet port, as the lights aren't on. The board is Stratix II 2s60ES. Any ideas?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
what SOPC system did u use ? the SOPC system must include eth driver to support eth connectivity ! for example : standard or fullfeature. best regards- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by sdhnain@Jun 20 2006, 02:40 PM hi,
what sopc system did u use ?
the sopc system must include eth driver to support eth connectivity !
for example : standard or fullfeature.
best regards
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16284)
--- quote end ---
--- Quote End --- Hi there, I'm using the system provided by Microtronix for their Ethernet - USB extension. I need the USB from it. Yes, both SMC and DM9000 are set since the Stratix has SMC and the Microtronix kit has DM9000, and it didn't help setting one of them off. Neither of the ports work. One thing I'm suspecting now is that a previous image that I made using Nios II IDE is somehow reserving the ethernet ports for itself. I use the uClinux dist according to the NiosWiki now and it seems the images created this way load to different parts in the memory, even though the hw selections are the same. I haven't been able to erase the old image that I made with IDE. Is there some way to do it? Pressing "Factory config" on the board or using the factory_recovery images didn't do it. A little explanation: If I load the new, linux-made image with "nios2-download -g zImage", I am able to start on this new image. However, once I switch the power off and back on again, nios2-terminal starts the old kernel. This thing is starting to bug me big time...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<div class='quotetop'>QUOTE </div>
--- Quote Start --- A little explanation: If I load the new, linux-made image with "nios2-download -g zImage", I am able to start on this new image. However, once I switch the power off and back on again, nios2-terminal starts the old kernel. This thing is starting to bug me big time...[/b] --- Quote End --- nios2-download did not program the flash, so when you restart , it will start from old image in flash. You need to program the flash with new sof and kernel image. http://nioswiki.jot.com/wikihome/operating...flashprogrammer (http://nioswiki.jot.com/wikihome/operatingsystems/flashprogrammer) You should build your system step by step. 1. bare nios2 dev kit, without eth+usb extander. copy the hardware project from altera/kits/nios2/examples/verilog/niosII_stratix_2s60/standard/ run sopc builder, regenerate sof. in uClinux-dist-test, make clean, then start from make linux_hwselect to build zImage . make sure uclinux and smc91111 work properly. you may try out flash programmer with the new sof and kernel at this time. 2. nios2 dev kit, wtih eth+usb extander . add usb component to sopc builder, but do not add dm9000 , assign pins, and generate sof. in uClinux-dist-test, make clean, then start from make linux_hwselect to build zImage . make sure uclinux, isp1161and smc91111 work properly. you may try out flash programmer again. 3. nios2 dev kit, wtih eth+usb extander . add dm9000 in sopc builder. but check the generated include/nios2_system.h carefully. it may not support two eth well, you may have to edit the driver code.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page