- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I installed the Nios II Linux v1.4 released. System : XP, quartus v51, nios v51. Board : DE2 with 2C35. I do exactly what is say in the microtronix “Quick Start Quide.pdf” but I’ve got some errors when i build my linux kernel./cygdrive/c/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c: In function `init_hwif_default':
/cygdrive/c/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: `na_ide_ide' undeclared (first use in this function)
/cygdrive/c/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: (Each undeclared identifier is reported only once
/cygdrive/c/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: for each function it appears in.)
/cygdrive/c/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c: In function `init_ide_data':
/cygdrive/c/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:313: error: `na_ide_ide_irq' undeclared (first use in this function)
make: *** Error 1
make: *** Error 2
make: *** Error 2
make: *** Error 2
make: Leaving directory `/cygdrive/c/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'
Does Nios II Linux v1.4 support DE2_Board ? I think that my kernel configuration is good. Maybe one problem with the *.ptf but i don’t know exactly. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif Could u help me, Thanks!
Link Copied
12 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
whiche .ptf do u use ? the hardware configuration of your kernel must match the content of the .ptf used, if not problem with drivers will occur. see also : http://forum.niosforum.com/forum/index.php...ic=3667&hl=2c35 (http://forum.niosforum.com/forum/index.php?showtopic=3667&hl=2c35) http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used diferent PTF, for exemple:
The Altera exemple "std_2C35.ptf" or the "nios_0.ptf" provide in the DE2 demonstration. Finally I tried with a personal ptf and each time it's the same error. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif For the other section of this forum, i 've already see it. But the iriver problem's come when he want run linux. Me, i've a problem for build it.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
back to kernel configuration : did u "Turn off: Device Drivers -> ATA/ATAPI/MFM/RLL support" as indicated in the quick start guide when configuring kernel ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi pairin20,
please check this topic out: http://forum.niosforum.com/forum/index.php?showtopic=3871 (http://forum.niosforum.com/forum/index.php?showtopic=3871)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi pairin20,
I think you need to remove IDE support from your kernel configuration. It can be found at: Device Drivers ---> ATA/ATAPI/MFM/RLL support ---> < > ATA/ATAPI/MFM/RLL support- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sdhnain and MFM, u are brilliant !!! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif
Thanks!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I 'd like build my system with a DE2 exemple ptf, i use the one named "nios_0.ptf" of DE2_NET application. And i've again some driver error when i build my kernel.
make: *** Error 1
make: *** Error 2
make: *** Error 2
make: *** Error 2
make: Leaving directory
What can i do ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by pairin20@May 14 2006, 10:20 PM i 'd like build my system with a de2 exemple ptf, i use the one named "nios_0.ptf" of de2_net application. and i've again some driver error when i build my kernel.
make: *** error 1
make: *** error 2
make: *** error 2
make: *** error 2
make: leaving directory
what can i do ? http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/sad.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15356)</div> --- Quote End --- DE2 has different hardware from the Altera's Nios II 2C35 dev board. For Eithernet DE2 uses DM9000, while Altera's Nios II dev board use SMC91111. You have to check only what is available to your board in kernel config. Another advice, work on Linux and follow the buildroot guide, http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
make: *** Error 1
make: *** Error 2
make: *** Error 2
make: *** Error 2
make: Leaving directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by pairin20@May 14 2006, 10:07 AM
make: *** error 1
make: *** error 2
make: *** error 2
make: *** error 2
make: leaving directory
http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/unsure.gif http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/blink.gif http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/mad.gif http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/sad.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15359)</div> --- Quote End --- hi parinin20 Do you have to modify two places in dm9000x.c ? if not , you should be modified its ,as such following: 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" Hope to help you ! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In fact, for the moment i don't need the network fonctions. So I've disable all in my config. Then I've build my kernel perfectly.
I've download it in RAM and when i launch the terminal it says this log: nios2-terminal: log (http://c.beyls.free.fr/log-error.jpg) http://c.beyls.free.fr/log-error.JPG What do u think about it ? For the moment, I'haven't load my filesystem. Do u think that my kernel is ok ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by pairin20@May 15 2006, 05:19 AM in fact, for the moment i don't need the network fonctions. so i've disable all in my config. then i've build my kernel perfectly.
i've download it in ram and when i launch the terminal it says this log:
nios2-terminal: log (http://c.beyls.free.fr/log-error.jpg)
http://c.beyls.free.fr/log-error.jpg
what do u think about it ?
for the moment, i'haven't load my filesystem. do u think that my kernel is ok ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15362)
--- quote end ---
--- Quote End --- You must have root file system to run Linux. If you want to use romfs on CFI for rootfs , you must modify the altera.c map file for mtd. Last advice, follow buildroot guide. There is a kernel image which you can try without compiling anything.
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