Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThe different toolchain from niosWiki : disambiguous
Hi
I am new on this forum. I got a nios2 board last years and i want to set up Linux on it. With the help of nioswiki.com i saw that there exist a distribution for mmu and for nommu (even if nommu becomes outdated). The first thing I want to do is to set up the cross compiler toolchain. I don't understand why on the wiki there is several different toolchain. 1 In CrossGCC 2 In InstrallNios2Linux (about nommu) 3 in Linux quick start (about mmu) (prebuilt on toolchain-mmu/x86-linux/bin) 4 Build the gcc4 toolchain Why are there different toolchains to compile linux for the nios2 architecture ?6 Replies
- Altera_Forum
Honored Contributor
1. crossgcc is not for linux/uclinux.
2. pointer to binary toolchain for nommu uclinux, and build the toolchain. 3. binary toolchain for mmu linux. 4. build the toolchain for mmu linux. You will need the hardware project for you board first. Which nios2 board do you have? - Hippo - Altera_Forum
Honored Contributor
I have the NiosII Embedded Evaluation Kit board.
Yes but I found several sopc project across the wiki for the neek. Why are the mmu and nommu toolchain different ? - Altera_Forum
Honored Contributor
nommu uclinux uses a special object format called "binary flat", and doesn't support dynamic libraries. so the toolchains are different.
I would suggest starting with mmu, as nommu branch will be merged into mmu. You may follow the try out of mmu linux first. http://nioswiki.com/try_out_without_compilation Then you may download the new tarball pointed at, http://nioswiki.com/linux/downloading_linux_distribution (http://alteraforum.com/forum/showpost.php?p=94092&postcount=3) - Hippo - Altera_Forum
Honored Contributor
Hippo,
Did somebody try to convert the NEEK demo in http://nioswiki.com/try_out_without_compilation with the Altera script to make it bootable by the Altera Application Loader so that "killing" the NEEK is not necessary to run it ? -Michael - Altera_Forum
Honored Contributor
Hi Michael,
Dalon did boot mmu linux using a modified eek.sh. Please see, http://sopc.et.ntust.edu.tw/pipermail/nios2-dev/2010-may/003888.html - Hippo - Altera_Forum
Honored Contributor
So IMHO it would be really nice to provide the NEEK MMU-Linux binary demo as an Altera Application Loader project on http://nioswiki.com/try_out_without_compilation, so that NEEK users don't need to uninstall the Application Loader to use uboot to be able to see MMU-Linux running on their NEEK.
-Michael