Downloading Linux Distribution

From Altera Wiki
Jump to: navigation, search

Please refer to http://www.rocketboards.org/foswiki/Documentation/NiosIILinuxUserManual for latest updates on Nios II Linux !

0 / 5 (0 votes cast)
For new users who have not used nios2 git before, download the tarball (2GB) ,as a normal user,
wget http://www.niosftp.com/pub/linux/nios2-linux-20100621.tar 
sha1sum nios2-linux-20100621.tar 
3865fa6662a98e591f5dbff1421506bcb15ffd66 nios2-linux-20100621.ta2 
tar xf nios2-linux-20100621.tar
cd nios2-linux
./checkout

For existing nios2 git users, (with nios2-linux-20080619.tar or nios2-linux-20090730.tar) there is no need to download the tarball. You may add a new branch to track the nios2 mmu kernel and use clone to get the binary toolchain.

cd nios2-linux
git clone git://sopc.et.ntust.edu.tw/git/toolchain-mmu.git
cd linux-2.6
git fetch origin
git branch nios2mmu origin/nios2mmu
git checkout -f unstable-nios2mmu
git clean -f -x -d
cd ..
cd uClinux-dist
git fetch origin
git branch trunk origin/trunk
git checkout -f trunk
git clean -f -x -d

In short, to build with a kernel using the MMU, use the nios2mmu branch on linux-2.6, and the trunk branch on uClinux-dist. To build without an MMU, use the test-nios2 branch on linux-2.6, and the test-nios2 branch on uClinux-dist.

Next step: Linux Quick start

  

Personal tools