- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
********************************************************************************
***************************************************** [root@localhost uClinux-dist]# make vendor_hwselect SYSPTF=~/uclinux/NiosII_stratixII_2s60_standard.ptf make ARCH=nios2 -C vendors vendor_hwselect make[1]: Entering directory `/root/uclinux/nios2-linux/uClinux-dist/vendors' make -C /root/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2/. dir_v=/root/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2/. -f /root/uclinux/nios2-linux/uClinux-dist/vendors/vendors-common.mak vendor_hwselect make[2]: Entering directory `/root/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2' [ -d /root/uclinux/nios2-linux/uClinux-dist/romfs/$i ] || mkdir -p /root/uclinux/nios2-linux/uClinux-dist/romfs make ARCH=nios2 CROSS_COMPILE=nios2-linux-uclibc- hwselect make[3]: Entering directory `/root/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2' make[3]: *** No rule to make target `hwselect'. Stop. make[3]: Leaving directory `/root/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2' make[2]: *** [vendor_hwselect] Error 2 make[2]: Leaving directory `/root/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2' make[1]: *** [vendor_hwselect] Error 2 make[1]: Leaving directory `/root/uclinux/nios2-linux/uClinux-dist/vendors' make: *** [vendor_hwselect] Error 2 ******************************************************************************** *****************************************88 I'm encountering the above error when I run the vendor_hwselect command caN ANYONE PLEASE LET ME KNOW IF ANYONE HAD THE SAME PROBLEM OR IF YOU THINK I MIGHT HAVE MADE FEW MISTAKES IN THE CONFIGURATION THANK YOULink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, a few tips that might help: 1) Did the project compile correctly? 2) Have you tried putting the full path to the ptf file? 3) I don't know about how you installed your software, but I make the hw select as a user and not as root, and in the nios2-linux/uclinux-dist directory 4) Is the name for the PTF file correct? Do not mistake it for the project's name. Hope it helps Regards, Francisco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5) Have you tryed to run "make menuconfig" first of vendor_hwselect ?
6) Did you have write permission in PTF dir ? Regards- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've re tried it with changes mentioned by you
and still it is the same error one thing i'm not sure is ..are these errors occurring coz I have not updated the uclinux_dist patches???- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<div class='quotetop'>QUOTE (dilip @ Jul 7 2009, 01:30 PM) <{post_snapback}> (index.php?act=findpost&pid=23033)</div>
--- Quote Start --- I've re tried it with changes mentioned by you and still it is the same error one thing i'm not sure is ..are these errors occurring coz I have not updated the uclinux_dist patches???[/b] --- Quote End --- which kernel version r u using? Make sure that your linux distribution is correctly extracted and tool chain is working fine. Good Luck...!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
same error here in NEEK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I revd following errors while compiling. I am unable to figure out what is problem. My design compiled correctly. make vendor_hwselect SYSPTF=/media/96A00F1FA00F0609/altera/temp/try1.ptf make ARCH=nios2 -C vendors vendor_hwselect make[1]: Entering directory `/home/elysium/uclinux/nios2-linux/uClinux-dist/vendors' make -C /home/elysium/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2/. dir_v=/home/elysium/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2/. -f /home/elysium/uclinux/nios2-linux/uClinux-dist/vendors/vendors-common.mak vendor_hwselect make[2]: Entering directory `/home/elysium/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2' [ -d /home/elysium/uclinux/nios2-linux/uClinux-dist/romfs/$i ] || mkdir -p /home/elysium/uclinux/nios2-linux/uClinux-dist/romfs make ARCH=nios2 CROSS_COMPILE=nios2-linux-uclibc- -C /home/elysium/uclinux/nios2-linux/uClinux-dist/../linux-2.6 O=/home/elysium/uclinux/nios2-linux/uClinux-dist/linux-2.6.x hwselect make[3]: Entering directory `/home/elysium/uclinux/nios2-linux/linux-2.6' GEN /home/elysium/uclinux/nios2-linux/uClinux-dist/linux-2.6.x/Makefile scripts/kconfig/conf -s arch/nios2/Kconfig# # configuration written to .config# make[4]: *** No rule to make target `hwselect'. Stop. make[3]: *** [sub-make] Error 2 make[3]: Leaving directory `/home/elysium/uclinux/nios2-linux/linux-2.6' make[2]: *** [vendor_hwselect] Error 2 make[2]: Leaving directory `/home/elysium/uclinux/nios2-linux/uClinux-dist/vendors/Altera/nios2' make[1]: *** [vendor_hwselect] Error 2 make[1]: Leaving directory `/home/elysium/uclinux/nios2-linux/uClinux-dist/vendors' make: *** [vendor_hwselect] Error 2 I think CROSS COMPILER is not nios2-linux-uclibc- hwselect. Any help?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to change your branch for NO MMU which is test-nios2. Default branch is now for MMU version and hwselect is working only for NO MMU version. You have to:
In nios2-linux/linux-2.6 run command: git checkout test-nios2 and the same command in nios2-linux/uClinux-dist Then you can use hwselect method.
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