- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
after make menuconfig i want to map my *.ptf file,i think it will like uclinux ,then i input make vendor_hwselect SYSPTF/... but it report erros as below: [root@localhost uClinux-dist]# make vendor_hwselect SYSPTF=/mnt/hgfs/Download/mycpu.ptf make ARCH=nios2 -C vendors vendor_hwselect make[1]: Entering directory `/mywork/nios2-linux/uClinux-dist/vendors' make -C /mywork/nios2-linux/uClinux-dist/vendors/Altera/nios2/. dir_v=/mywork/nios2-linux/uClinux-dist/vendors/Altera/nios2/. -f /mywork/nios2-linux/uClinux-dist/vendors/vendors-common.mak vendor_hwselect make[2]: Entering directory `/mywork/nios2-linux/uClinux-dist/vendors/Altera/nios2' make hwselect make[3]: Entering directory `/mywork/nios2-linux/uClinux-dist/vendors/Altera/nios2' make[3]: *** NO RULE TO CREATE “hwselect”。 stopped。 make[3]: Leaving directory `/mywork/nios2-linux/uClinux-dist/vendors/Altera/nios2' make[2]: *** [vendor_hwselect] error 2 make[2]: Leaving directory `/mywork/nios2-linux/uClinux-dist/vendors/Altera/nios2' make[1]: *** [vendor_hwselect] error 2 make[1]: Leaving directory `/mywork/nios2-linux/uClinux-dist/vendors' make: *** [vendor_hwselect] error 2 is the nios linux still cant to apply to custom CPU???Link Copied
11 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The new kernel doesn't use hwselect script, it uses sopc generated header instead. Please follow the wiki,
http://www.nioswiki.com/linux (http://www.nioswiki.com/linux) - Hippo- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- The new kernel doesn't use hwselect script, it uses sopc generated header instead. Please follow the wiki, http://www.nioswiki.com/linux - Hippo --- Quote End --- hi,can you tell me that if Linux can porting to niosii with cycloneii FPGA?3q
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes. I have tested it on the 2c35 nios dev board and de2.
- Hippo- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to do the same thing and I am having similar problems. How do I include the SOPC generated header when building the kernel? I am using the Cyclone III board ( EP3C25F). I have a ptf file but not able to use it with the make vendor_hwselect Thanks for all the help, regards, priya- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why don't you read the messages in this thread ???? :mad:
Hippo already wrote: The new kernel doesn't use hwselect script, it uses sopc generated header instead. Please follow the wiki, http://www.nioswiki.com/linux -Michael- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using the NIOS II processor (with MMU) with Linux on a Stratix 1S10 board. Everything is OK. In your case, you don't use "make hwselect" with Linux (just for the µClinux distro) but you have to generate a custom_fpga.h from the .sopc file with the sopc-create-header-files tool. Put it in the nios2-linux/linux-2.6/arch/nios2/include/asm directory. In the same way, modify the nios2-linux/linux-2.6/arch/nios2/include/asm/nios.h for sticking to your board. More infos here: http://nioswiki.com/linux/creating_a_nios_ii_design_with_an_mmu The main difficulty is to define the right SoPC system with MMU enabled for NIOS II... Pat.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for you replies.
I am not able to configure Nois2 for custom fpga (highlighted in red). I don't get that option when I run 'make menuconfig' What am I missing here? How do I make the kernel to look for custom_fpga.h? cd uClinux-dist make menuconfig # select Altera,nios2. kernel config your FPGA. NiosII Configuration --->NiosII FPGA configuration --->(X) CUSTOM_FPGA makeThanks for you patience, regards,priya- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have this menu in the kernel configuration menu (at the top)...
cheers, Pat- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for all the help. I successfully loaded linux on NIOS.
thanks again, regards, priya- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a golden version of the DE2 as described by hippo on this thread?
I am having no problems with the development process (use of custom_fpga.h, etc.), but my finished kernel never boots to completion. It would be nice to see a matched set of sopc/ptf/custom_fpga files, and a default configuration for menuconfig that works with them.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I hope someone can help me, i am trying to build my own kernel. but i have the same problem as described in this thread: can't find Nios2 configuration in the menu: NiosII Configuration --->NiosII FPGA configuration --->(X) CUSTOM_FPGA I followed this tutorial: http://www.mail-archive.com/linuxkernelnewbies@googlegroups.com/msg01853.html
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