--- Quote Start ---
originally posted by jjwalk04@Apr 29 2006, 02:34 AM
thanks for your help. i think i am close to running uclinux on my development board successfully. i am no longer having any trouble, which i am aware of doing the buildroot. however, when i try to run uclinux on my development board i see this output.
uncompressing linux... ok, booting the kernel.
linux version 2.6.16 (user@localhost.localdomain) (gcc version 3.4.6)# 1 preempt fri apr 28 13:43:33 est 2006
uclinux/nios ii
altera nios ii support © 2004 microtronix datacom ltd.
built 1 zonelists
kernel command line:
pid hash table entries: 512 (order: 8, 4096 bytes)
dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
inode-cache hash table entries: 8192 (order: 2, 16384 bytes)
memory available: 31256k/31256k ram, 0k/0k rom (714k kernel code, 423k data)
<continues like i would expect until>
init started: busybox v1.2.0-pre0 (2006.04.28-07:53+0000) multi-call binary
<nothing else is printed out to the jtag>
any thoughts on what may be wrong? is my problem probably with busybox or is it something wrong with my kernel?
i just went back and tried to redo "make" for my buildroot, and i recieved this error.
# these are in /lib, so...
rm -rf /home/user/buildroot/build_nios2/root/usr/lib/libgcc_s*.so*
cp -a /home/user/buildroot/build_nios2/staging_dir/nios2-linux-uclibc/lib/libgcc_s* /home/user/buildroot/build_nios2/root/lib/
cp: cannot stat `/home/user/buildroot/build_nios2/staging_dir/nios2-linux-uclibc/lib/libgcc_s*': no such file or directory
make: [/home/user/buildroot/build_nios2/root/lib/libgcc_s.so.1] error 1 (ignored)
touch -c /home/user/buildroot/build_nios2/root/lib/libgcc_s.so.1
touch -c /home/user/buildroot/build_nios2/root/usr/bin/ldd
i check and /home/user/buildroot/build_nios2/root/lib is an empty folder. from the error message, i would expect that there is suppose to be atleast one file in this folder.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14833)
--- quote end ---
--- Quote End ---
The error in building *.so should be ignored, because there isn't so (shared object) support in nios2 uClinux.
The busybox is doing init .
Please try the minimal inittab, rebuild busybox and zImage.
make -C ~/buildroot/build_nios2/busybox clean
make -C ~/buildroot# prepare root fs
rm -rf ~/rootfs
mkdir ~/rootfs
cp -a ~/buildroot/build_nios2/root/* ~/rootfs
cd ~/rootfs# remove include and lib to save space# the dev nodes are generated via ~/download/rootfs_list
rm -rf dev usr/include usr/lib# you may use this instead of the one from buildroot
cp ~/download/inittab etc
rm ~/linux-2.6.x/usr/initramfs_list
make ..... zImage