Forum Discussion
Altera_Forum
Honored Contributor
20 years agoUpdate to buildroot toolchain for nios2
UPDATE : This post is out of date. Please follow the new one,
http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174) Vapier has kindly incorporated patches from marc into the buildroot. Try out the lastest update of buildroot/uClibc/busybox with svn now or daily snapshot (tommorow).svn co svn://uclibc.org/trunk/buildroot36 Replies
- Altera_Forum
Honored Contributor
Great help from Vapier. Now the elf2flt is in the buildroot svn.
You don't need to add patch by hand. Just select elf2flt in buildroot menuconfig -> toolchain option.cd buildroot svn update - Altera_Forum
Honored Contributor
TO_BE_DONE
- Altera_Forum
Honored Contributor
TO_BE_DONE
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by alex824@Jan 10 2006, 09:26 AM 我在我的/buildroot/toolchain/ 的目录下没有找到elf2flt 这个文件夹.我觉的我有可能安装toolchain有问题. --- Quote End --- You should never use any language but English on an international forum; most of the users are non native speakers and if everyone started using their own language, the forum would become completely useless. The idea behind a forum like this is that we learn from each others problems and help where we can. If you decide to use Chinese, you limit your target audience and the usability for ppl to reply. If you wanted to send a personal message to another user, you should have used that functionality instead of the forum.
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jan 4 2006, 09:51 AM vapier has kindly incorporated patches from marc into the buildroot.try out the lastest update of buildroot/uclibc/busybox with svn now or daily snapshot (tommorow).
svn co svn://uclibc.org/trunk/buildroot<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11924)</div> --- Quote End --- I haven't been able to test the new SVN release, but does it include the changes from Thomas Chou too (I don't know if he submitted this in parallel or if those patches still should be sent to buildroot)? Thomas did a great job on this forum and with upgrading the buildroot patches to the latest busybox/uclibc releases.
- Altera_Forum
Honored Contributor
marc, I am so sorry.
Because my english very poor. I send a chinese mail to hippo.But hippo's pc not support chinese type. So I use chinese in BBS. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by alex824@Jan 10 2006, 10:15 AM because my english very poor. i send a chinese mail to hippo.but hippo'spc not support chinese type. so i use chinese in bbs. --- Quote End --- You shouldn't worry that your english is not perfect, from what I've read from your posts and mails, you always manage to get your point across, no problem there. Judging by the poor quality of posts on /. and other forums, the english from native english speakers isn't perfect either, so we're in good company http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
- Altera_Forum
Honored Contributor
Thank for the reminding from marc. We shall keep it.
I would like to give my best thanks to marc and vapier. I reminded vapier of the prior post from marc, bug# 273. I did patch some of the *.S code to nios2 for the new abi in uClibc 0.9.28/29, bug# 616-618. Most of the works came from marc, I just learn and follow him. Vapier has been always helpful to sync up the patches. psm gives some helpful hints, too. These are works in progress. And still need a lot of tests and fixs, which all you can help. - Altera_Forum
Honored Contributor
Alex,
The update of elf2flt should be in tommorow's snapshot. But it seems to have "segment fault", I shall find out and fix it. Use the older one, and patch to add elf2flt by hand. What browser do you use for downloading? The naming .tar.tar is strange. you should update the file buildroot/dl/uClibc-0.9.28/libc/misc/internals/__uClibc_main.c as in the previous post# 6, remove "weak_function" from main(). you should update the uClibc-0.9.28.tar.bz2 in the buildroot/dl dir, without using "remove file", ie "rm" is not needed, just overwrite it,
buildroot/package/busybox/busybox.config we need static obj, add CONFIG_STATIC=y as in post#6,cd buildroot/dl tar jcf uClibc-0.9.28.tar.bz2 uClibc-0.9.28
other steps are correct. then you should proceed to step 6 of my previous post# 2, to make menuconfig, make. good luck, and let me know if you have any questions.## Build Options# CONFIG_STATIC=y CONFIG_LFS=y# USING_CROSS_COMPILER is not set EXTRA_CFLAGS_OPTIONS="-D__uClinux__ -Dfork=vfork" - Altera_Forum
Honored Contributor
Frist I download toolschain use IE 6.0 in windows XP.Then I copied these files to my another PC of red hat linux OS.
I will try again . Thanks hippo.