Forum Discussion
Altera_Forum
Honored Contributor
20 years agoOk, here's what I did:
buildroot: followed the instructions on Marcs page, no problems here, it build the nios2 toolchain in the staging directory along with some sort of root filesystem. I copied this file system to a separate place busybox: I used the config file off his home page, modified the patch file to point to my staging directory instead, and compiled - created the busybox executable with no problems. Ran make install and it copied it to my new root fs directory... I then did the cp -a on all the /dev entries you listed, so those are now in my root directory, and I created the symlink to /sbin/init I haven't modified inittab at all since buildroot created this <--- should I do this??? Kernel: Built the kernel using the new toolchain this time, not the Nios 2 linux CD one... And it worked!!! I added the ::askfirst::.. line to inittab, and I got the busybox shell. I'm not sure how others got all of this working in windows, but I'm glad I finally got it in linux... thanks for all your help, I think this thread is definitely big enough! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif