I have been using the "test-nios2" branch from the nos2-linux-20100621.tar
after the ./checkout
cd to /nios2-linux/linux-2.6
git checkout test-nios2
cd to /nios2-linux/uClinux-dist
git checkout test-nios2
make menuconfig should show:
Vendors/Product Selection --->
---Select the vendor you wish to target
Vendor (Altera) --->
--- Select the Product you wish to target
Altera Products (nios2) --->
You should first use defaults for kernel:
--- Kernel is linux-2.6.x
Libc Version (None) --->
[*] Default all settings (lose changes)
[ ] Customize Kernel Settings
[ ] Customize Application/Library Settings
[ ] Update Default Vendor Settings
save then
make Vendors_HWSelect SYSPTF= nameofyour.ptf use full path
then
make