Altera_Forum
Honored Contributor
19 years agoa problem when run uClinux on DE2 Board
When I do the uCLinux running acording to the http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)
I think the tool-chain has been builded,because the test is OK: [giantice@localhost linux-2.6.x]$ nios2-linux-uclibc-gcc -v Reading specs from /home/giantice/buildroot/build_nios2/staging_dir/lib/gcc/nios2-linux-uclibc/3.4.6/specs Configured with: /home/giantice/buildroot/toolchain_build_nios2/gcc-3.4.6/configure --prefix=/home/giantice/buildroot/build_nios2/staging_dir --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=nios2-linux-uclibc --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --disable-threads --disable-multilib --enable-cxx-flags=-static Thread model: single gcc version 3.4.6 [giantice@localhost linux-2.6.x]$ nios2-linux-uclibc-flthdr ~/rootfs/bin/busybox /home/giantice/rootfs/bin/busybox Magic: bFLT Rev: 4 Build Date: Sat Jul 1 09:37:27 2006 Entry: 0x40 Data Start: 0x681b8 Data End: 0x80e40 BSS End: 0x9e19c Stack Size: 0x3e80 Reloc Start: 0x80e40 Reloc Count: 0x35ae Flags: 0x1 ( Load-to-Ram ) [giantice@localhost linux-2.6.x]$ Then I make the confige :# config the kernel make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- menuconfig But when I download the image and run: cd /cygdrive/h/linux-2.6.x/arch/nios2nommu/boot nios2-download -g zImage nios2-terminal the process paused at : Uncompressing Linux... What' the problem? I do need someone help me. Thanks!