Altera_Forum
Honored Contributor
14 years agoGetting started with Linux
Hello folks,
i currently try to get Linux run on a niosII processor within a cyclone III fpga. Unfortunately i have wheater a 3c120 or a nekk board available. So i had to start from the scratch with an custom board. I followed the instructions on alterawiki.com, but i'am not able to make the kernel boot on my system. Here is what i have done so far: 1. Running OpenSuse 11.4 on a virtual machine 2. Installed Quartus 11.0 IDE 3. Installed nios2gcc 4. Downloaded, checkedout and updated nios2-linux-20100621.tar 5. Installed java-tool "sopc2dts" My toolchain runs perfectly --> I am able to configure and compile the kernel. So I created a simple SOPC-Builder Design witch contains only Flash Memory, SDRAM, Jtag_Uart, a timer-device and of course a niosII processor with mmu. So here some basic questions: 1. Is "unstable-nios2mmu" still the recomended branch to use for an mmu based design? 2. I'm a little confused about using device-tree! Is the dts-file the only location where the kernel will be configured for the corresponding board. Still need to edit some header-files?!? 3. Wich image should be downloaded to the ram after compiling the kernel? Thank's a lot...