Forum Discussion
Altera_Forum
Honored Contributor
21 years agoThe problem concerning uClinux uploading to UP3
Hello everyone!I need your help now... The problem is concerning uClinux uploading to UP3 board. Here is my developing enviornment: target board: UP3 Education Kit Cyclone EP...
Altera_Forum
Honored Contributor
21 years agoHi~Anybody here?
The first problem above has been solved today. I have convert the kernel into a raw binary image--linux.bin(2.4MB), and compress the binary image to linux.bin.gz(1.1MB) Then package linux.bin.gz for U-Boot, but when i build the U-Boot in this final step:# make
make: Entering directory `/usr/Setup_Nios/u-boot-1.1.2/tools'
make: `.depend' is up to date.
make: Leaving directory `/usr/Setup_Nios/u-boot-1.1.2/tools'
make: Entering directory `/usr/Setup_Nios/u-boot-1.1.2/examples'
make: `.depend' is up to date.
make: Leaving directory `/usr/Setup_Nios/u-boot-1.1.2/examples'
make: Entering directory `/usr/Setup_Nios/u-boot-1.1.2/post'
make: `.depend' is up to date.
make: Leaving directory `/usr/Setup_Nios/u-boot-1.1.2/post'
make: Entering directory `/usr/Setup_Nios/u-boot-1.1.2/post/cpu'
make: `.depend' is up to date.
make: Leaving directory `/usr/Setup_Nios/u-boot-1.1.2/post/cpu'
make -C tools all
make: Entering directory `/usr/Setup_Nios/u-boot-1.1.2/tools'
make: Leaving directory `/usr/Setup_Nios/u-boot-1.1.2/tools'
make -C examples all
make: Entering directory `/usr/Setup_Nios/u-boot-1.1.2/examples'
nios-elf-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=0x018c0000 -I/usr/Setup_Nios/u-boot-1.1.2/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/nios-elf/lib/gcc-lib/nios-elf/2.9-nios-010801-20030923/include -pipe -m32 -DCONFIG_NIOS -D__NIOS__ -ffixed-g7 -gstabs -Wall -Wno-trigraphs -g -Os -D__KERNEL__ -DTEXT_BASE=0x018c0000 -I/usr/Setup_Nios/u-boot-1.1.2/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/nios-elf/lib/gcc-lib/nios-elf/2.9-nios-010801-20030923/include -pipe -m32 -DCONFIG_NIOS -D__NIOS__ -ffixed-g7 -gstabs -I.. -Bstatic -T /usr/Setup_Nios/u-boot-1.1.2/board/altera/dk1c20/u-boot.lds -Ttext 0x018c0000 hello_world.c -o hello_world
/usr/local/nios-elf/lib/gcc-lib/nios-elf/2.9-nios-010801-20030923/../../../../nios-elf/bin/ld: cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status
nios-elf-gcc: file path prefix `static' never used
make: *** Error 1
make: Leaving directory `/usr/Setup_Nios/u-boot-1.1.2/examples'
make: *** Error 2 This time, I really don't know how to fix this error. Can anyone tell me how to solve this problem? Thank you very much!!! Best regards! Justin