Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

NEEK Linux Tutorial

Altera_Forum
Honored Contributor II
1,623 Views

Hi All 

 

I'm new to Nios, but have been working with FPGA for some time now. Is there a tutorial or step by step for getting Linux with MMU up and running on NEEK? Including peripheral support (TFT, Ethernet, etc)? 

 

Regards 

Pierre
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
315 Views

Welcome. 

 

Please look at the wiki and there is a user guide. 

http://nioswiki.com/linux 

 

Cheers, 

Thomas
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

I'm using Suse with KDE 4 with many dynamic effects enabled and I'm very pleased :). Looks nice and sometimes even is helpful. 

 

-Michael
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

Hippo 

 

I have downloaded neek_web_server_mmu.zip and took the custum_fpga.h from the archive and placed it in: 

~/nios2-linux/linux-2.6/arch/nios2/include/asm 

with make menuconfig, changed to custom FPGA 

ran make 

 

with the resulting linux.initramfs.gz and  

cycloneIII_embedded_evaluation_kit_web_server.sof (renamed to neek.sof) 

from neek_web_server_mmu.zip I tried the steps below, but the LCD on the NEEK stays blank and nios2-terminal reports nothing 

 

Any ideas? 

 

[NiosII EDS]$ nios2-configure-sof /cygdrive/c/NEEK/neek.sof 

 

Info: ******************************************************************* 

Info: Running Quartus II Programmer 

Info: Command: quartus_pgm --no_banner --mode=jtag -o p;c:/NEEK/neek.sof 

Info: Using programming cable "USB-Blaster [USB-0]" 

Info: Started Programmer operation at Tue Nov 24 15:39:56 2009 

Info: Configuring device index 1 

Info: Device 1 contains JTAG ID code 0x020F30DD 

Info: Configuration succeeded -- 1 device(s) configured 

Info: Successfully performed operation(s) 

Info: Ended Programmer operation at Tue Nov 24 15:39:58 2009 

Info: Quartus II Programmer was successful. 0 errors, 0 warnings 

Info: Peak virtual memory: 64 megabytes 

Info: Processing ended: Tue Nov 24 15:39:58 2009 

Info: Elapsed time: 00:00:07 

Info: Total CPU time (on all processors): 00:00:03 

/cygdrive/c/altera/90/nios2eds/examples 

[NiosII EDS]$ nios2-download -g /cygdrive/c//NEEK/linux.initramfs.gz 

Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 

Pausing target processor: OK 

Initializing CPU cache (if present) 

OK 

Downloaded 3019KB in 52.1s (57.9KB/s) 

Verified OK 

Starting processor at address 0xC0000000 

/cygdrive/c/altera/90/nios2eds/examples 

[NiosII EDS]$ nios2-terminal 

nios2-terminal: connected to hardware target using JTAG UART on cable 

nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 0 

nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

Hey,  

 

I was going to post the same thing, I believe you beat me into it. 

 

Can ALTERA guys update Wiki? It seems outdated and irrelevant, people keep on posting on forum when instead it should be cleared in Wiki. 

 

And, have you found the solution? I used standard from CD and web_server, both are same.  

 

I compiled my kernels with steps exactly mentioned in the Wiki, perhaps there are some implicit steps that we beginners are not aware of. 

 

Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

 

--- Quote Start ---  

Can ALTERA guys update Wiki? I 

--- Quote End ---  

 

Of course they can, and sometimes they in fact do. But essentially the NIOS WIKI and the "uCLinux-NIOS" build system project are community driven. 

 

-Michael
0 Kudos
Reply