Forum Discussion
Nios II uClinux boot
great thanks sir actually i am following this tutorial : https://rocketboards.org/foswiki/Documentation/NiosIILinuxUserManual
I m just near the destination, but generating the vmImage gives me this error,
aashish@aashish:~/linux-socfpga$ make
CC kernel/bounds.s
nios2-linux-gnu-gcc: error: unrecognized command line option '-march=r1'
nios2-linux-gnu-gcc: error: unrecognized command line option '-mno-bmx'
nios2-linux-gnu-gcc: error: unrecognized command line option '-mno-cdx'
Kbuild:21: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:1105: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
aashish@aashish:~/linux-socfpga$
I am stuck now, please help me, please
thanks in advance
Hi all,
I fixed that problem : I installed openssl and it gone, but now make vmImage gives another error,
make[1]: *** No rule to make target 'arch/nios2/boot/dts//home/aashish/nios.dtb', needed by 'arch/nios2/boot/dts//home/aashish/nios.dtb.S'. Stop.
Makefile:1055: recipe for target 'arch/nios2/boot/dts' failed
make: *** [arch/nios2/boot/dts] Error 2
I made the dtb file and keep both files (dts and dtb) at both places : arch/nios2/boot/dts and home/aashish/
but still the same error : i again stuck
please help me sir