Forum Discussion
15 Replies
- Altera_Forum
Honored Contributor
good, so you have the buildroot/gcc/uclibc/busybox successed?
Use the mininal .config copied from the kernel.config or kernel2.config attached. Only change the console (either serial or jtag). DO NOT change any other setting. Change others only after you have a successful boot. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Mar 10 2006, 09:46 AM good, so you have the buildroot/gcc/uclibc/busybox successed?use the mininal .config copied from the kernel.config or kernel2.config attached.
only change the console (either serial or jtag). do not change any other setting. change others only after you have a successful boot.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13306)
--- quote end ---
--- Quote End --- Hi hippo. After I did, It likes follow: ~/buildroot/build_nios2/staging_dir/bin has tools . ~/buildroot/toolchain_build_nios2 has binutils-2.15 ,binutils-2.15-build,uClibc etd dirs. It's hard for me to make vmlinux.On sopc builder,I made a "nios2+jtag+onchipram+cfi+ext_flash" system, and get a ptf file.During config the kernel, I did what you said (oad kernel.config and just change the serial console to jtag). But it still can't succeed. The most errors are like :undefined reference to `__udivsi3' undefined reference to `__modsi3' Please give me some advice. is it because ptf file or config problems? I trid many ways , but failed.
- Altera_Forum
Honored Contributor
The problem should be in library binding. Which Linux distribution did you use?
Do you have sdram on your board? you should run uclinux from it. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Mar 10 2006, 08:59 AM hi mfm,we do it on linux with buildroot tools. jdhar and i had tried to do it on windows/cygwin but failed. that's the beginning of this story. http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13284)
--- quote end ---
--- Quote End --- Hi hippo, after being unable to integrate my custom application in µClinux under windows http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif I decided to take all the stuff under Linux (I can hear someone laughing http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif ) but I was shocked when I didn't found any quartus version for linux in our laboratory http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif and found only a nios II linux version, so now I'm really in a big trouble. That's why I ask you if you can provide me with any little information on how to integrate the application in µClinux under windows I'll be infinitely gratefull. Warm Regards
- Altera_Forum
Honored Contributor
Hi
i have begin to wirte a file how to run the uClinux in NIOS2 in chinese. you can find it in the next website : http://www.icwin.net/showartitle.asp?art_id=8313&cat_id=52 (http://www.icwin.net/showartitle.asp?art_id=8313&cat_id=52)