Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

erreur compiling Linux on Neek using neek_ocm_spi_mmu.zip

Hi guys,

I have a problem in the compilation of linux with MMU on my NEEK.

I have followed these steps.

1) www.niosftp.com/pub/linux/nios2-linux-20090929.tar

2) extract and checkout

3) setup the good path to toolchain-mmu/x86-linux2/bin

4) make menuconfig with "Default all settings"

5) make and it completly compile until the end and the creation of the image.

Then now i want to compile it for my neek. So

1) www.niosftp.com/pub/boards/neek/neek_ocm_spi_mmu.zip and extract

2) with n2sdk (installed on my Centos5) i ran

sopc-create-header-files --single custom_fpga.h

3) I copy it to the good location in linux-2.6/arch/nios2/include/asm

4) make menuconfig and select "Customize Kernel Settings" in order to select my custom_fpga in the nest screen.

5) I didn't modify anything else in the config

6) make and it makes error.

(it is a translation from french)

...

LD fs/proc/proc.o

LD fs/proc/build-in.o

LD fs/build-in.o

make[2]: *** wait: No child process. Stop

make[1]: *** [sub-make] Erreur 2

make[1]: going out of the directory /home/Adrien/nios2-linux/linux-2.6

make: *** [linux] Erreur 1

Do you have any idea ?

7 Replies