I am stuck already and I havent even started !!! I have downloaded binutils-2.19.tar.gz gcc-4.4.1.tar.gz
then I get stuck, do I need glibc or uclibc, I would like to build uboot with the same tool chain so which one do I need to use ? If I use glibs-2.10.1 (the newest) do I need to use linuxthreads as this is no longer supported ? or do I need to use NPTL (its replacement)? Finally which version of elf2flt do I need to use ? elf2flt-20060708.tar.gz was used to create arm-linux-tools-20070808 should I use that one ? is there a newer version ? should I use that ? sorry for all the newbie toolchain questions ;-( --- On Tue, 11/24/09, steven taffs <steventa...@yahoo.com> wrote: > From: steven taffs <steventa...@yahoo.com> > Subject: Re: [uClinux-dev] ARM support > To: "uClinux development list" <uclinux-dev@uclinux.org> > Date: Tuesday, November 24, 2009, 12:36 PM > ok if I go to the codesourcery web > site and choose the following toolchain > > ARM uClinux and then choose cortex-m1 or cortex-m3 the > versions within their tool chain (currently) are > > GNU Binary utilities 2.19.51-sg++ > GNU C & C++ Compilers 4.4.1-sg++ > GNU Debugger > 6.8.50-sg++ > uClibc C Library > 0.9.30-sg++ > > They use gcc 4.4.1 because it fully supports the latest and > greatest ARMv7 cores (ie cortex). Will try to use buildroot > / manual build with the versions above to and get a working > tool chain going. > > > --- On Tue, 11/24/09, steven taffs <steventa...@yahoo.com> > wrote: > > > From: steven taffs <steventa...@yahoo.com> > > Subject: Re: [uClinux-dev] ARM support > > To: "uClinux development list" <uclinux-dev@uclinux.org> > > Date: Tuesday, November 24, 2009, 9:52 AM > > Hi > > > > thanks for the info, I will try and download the > source > > code from the codesourcery website so I can see which > > version of gcc / bin / libc they are using and then > > use your instructions in the text file to hopefully > build a > > new toolchain. > > > > I think its important to update the ARM toolchain as > ARM > > are moving to the newer cortex devices, and I for one > would > > like to see uClinux up and running on these new > devices. > > > > I will email my progress. > > > > regards > > > > steve > > > > --- On Tue, 11/24/09, Greg Ungerer <g...@snapgear.com> > > wrote: > > > > > From: Greg Ungerer <g...@snapgear.com> > > > Subject: Re: [uClinux-dev] ARM support > > > To: "uClinux development list" <uclinux-dev@uclinux.org> > > > Date: Tuesday, November 24, 2009, 7:22 AM > > > > > > Hi Steven, > > > > > > steven taffs wrote: > > > > arm-linux-tools-20070808 looks like it was > built > > with > > > glibc-2.3.6 does that mean uClibc cant be > selected / > > used > > > within uClinux make menuconfig when using this > tool > > chain ? > > > > > > The libc in the toolchain does't matter when > compiling > > the > > > uClinux-dist. > > > It is completely self contained. you can (and > should) > > > select uClibc when > > > compiling for non-MMU targets. (With no uClibc > built > > into > > > the toolchain > > > though it does mean you can't build uClinux apps > > stand > > > alone outside of > > > a build framework like the uClinux-dist). > > > > > > Regards > > > Greg > > > > > > > > > > > > > --- On Tue, 11/24/09, Greg Ungerer <g...@snapgear.com> > > > wrote: > > > > > > > >> From: Greg Ungerer <g...@snapgear.com> > > > >> Subject: Re: [uClinux-dev] ARM support > > > >> To: "uClinux development list" <uclinux-dev@uclinux.org> > > > >> Date: Tuesday, November 24, 2009, 12:49 > AM > > > >> > > > >> Hi Steven, > > > >> > > > >> steven taffs wrote: > > > >>>> I guess I don't follow that > logic. > > Why > > > would > > > >> someone > > > >>>> unfamiliar with > > > >>>> uClinux not choose a toolchain > from > > the > > > links on > > > >> that > > > >>>> page? > > > >>> If you go to the arm website and > look > > for > > > uclinux you > > > >> find the following page > > > >>> http://www.arm.com/products/os/linux_download.html > > > >>> > > > >>> Which references codesourcery > 'Source > > > and binary versions of the GNU GCC compiler > > > >> are available from > www.codesourcery.com' > > > >>> so I guess people download the > uclinux > > source > > > from you > > > >> and then try and compile with > codesourcery, I > > was > > > thinking > > > >> about doing the same thing. > > > >>> I would like to try and port uclinux > to > > a > > > Actel > > > >> cortex-M1 FPGA to make a start on this I > need > > a > > > gcc compiler > > > >> with the -mcpu=cortex-m1 target switch > (ie > > gcc > > > 4.4.2). > > > >>> Anyone how needs / wants to run > uclinux > > on > > > Arms new > > > >> cortex chips needs to use a newer > compile > > (minimum > > > 4.3.0). > > > >> How much work would it be to upgrade > the > > uClinux > > > Arm tool > > > >> chain to use a newer version of gcc? > > > >> Its not overly difficult. The > arm-linux- > > > toolchains linked > > > >> from > > > >> uclinux.org are reasonably basic > builds. > > (There is > > > a text > > > >> file in > > > >> the download directory with instructions > on > > how > > > that one > > > >> was built). > > > >> > > > >> Regards > > > >> Greg > > > >> > > > >> > > > >> > > > >>> (sorry if this question is a bit > basic > > never > > > really > > > >> played around with tool chains before) > > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> --- On Mon, 11/23/09, Greg Ungerer > <g...@snapgear.com> > > > >> wrote: > > > >>>> From: Greg Ungerer <g...@snapgear.com> > > > >>>> Subject: Re: [uClinux-dev] ARM > > support > > > >>>> To: "uClinux development list" > <uclinux-dev@uclinux.org> > > > >>>> Date: Monday, November 23, 2009, > 5:36 > > AM > > > >>>> > > > >>>> Hi, > > > >>>> > > > >>>> ucli...@browserseal.com > > > >>>> wrote: > > > >>>>> On 11/18/2009, "Greg > Ungerer" > > <g...@snapgear.com> > > > >>>> wrote: > > > >>>>>> ucli...@browserseal.com > > > >>>> wrote: > > > >>>>>>> I'm trying to > compile > > the > > > latest > > > >> version of > > > >>>> uClinux on ARM and the > > > >>>>>>> multitude of errors > that > > I'm > > > getting > > > >> leads me > > > >>>> to believe that this > > > >>>>>>> architecture simply > is > > not > > > supported > > > >> anymore, > > > >>>> hence the first question - > > > >>>>>>> what happened to > ARM > > support > > > and > > > >> uClinux in > > > >>>> general ? Last time I > > > >>>>>>> checked, i.e. about > two > > years > > > ago, it > > > >> was > > > >>>> probably the most popular > > > >>>>>>> embedded distro, at > least > > for > > > ARM - > > > >> and now it > > > >>>> does not even compile ! > > > >>>>>> You are wrong, it does > > compile. I > > > have an > > > >>>> automated build system that > > > >>>>>> builds approximately > 150 > > > board/kernel/lib > > > >>>> combinations(*) each night. > > > >>>>>> Every release is run > through > > this. > > > It > > > >> compiles > > > >>>> GDB/ARMulator with > > > >>>>>> linux-2.4.x and > linux-2.6.x > > > kernels and > > > >> both > > > >>>> little and big endian > > > >>>>>> and the GDB/Skyeye > target > > with > > > 2.4.x and > > > >> 2.6.x > > > >>>> kernels (using my > > > >>>>>> arm-linux- toolchains). > > > >>>>>> > > > >>>>>> (* of course the whole > > > uClinux-dist tree > > > >> has way > > > >>>> more than 150 possible > > > >>>>>> combinations of > > board/kernel/lib. > > > With > > > >> the > > > >>>> resources I have that is > > > >>>>>> about as much as I can > cover > > in a > > > single > > > >> day. I > > > >>>> have just chosen a > > > >>>>>> variety of interesting > > targets on > > > a > > > >> variety of CPU > > > >>>> types to test > > > >>>>>> compile for). > > > >>>>>> > > > >>>>>> > > > >>>>>>> I will send a > separate > > email > > > with > > > >> compilation > > > >>>> errors, I just think that > > > >>>>>>> it would be better > to > > have a > > > separate > > > >> thread > > > >>>> for this general > > > >>>>>>> discussion. > Provided > > there is > > > anybody > > > >> out > > > >>>> there interested in discussing > > > >>>>>>> ARM, which I > seriously > > doubt. > > > >>>>>> Are you serious? > > > >>>>>> > > > >>>>>> The only conclusion I > can > > draw > > > from your > > > >> problems > > > >>>> is that people who > > > >>>>>> choose to use various > other > > > toolchains > > > >> with the > > > >>>> uClinux-dist don't > > > >>>>>> choose to send patches > back > > to > > > make them > > > >> work > > > >>>> properly with the > > > >>>>>> dist. > > > >>>>> I believe I did provide a > > complete > > > list of the > > > >> changes > > > >>>> required to > > > >>>>> compile uClinux with this > other, > > i.e. > > > >> Codesourcery, > > > >>>> toolchain and you > > > >>>>> did say that you think it is > the > > > toolchain > > > >> that has to > > > >>>> be changed. What > > > >>>>> did I miss ? > > > >>>> Patches please. > > > >>>> > > > >>>> > > > >>>>> Please note that people new > to > > uClinux > > > are > > > >> most likely > > > >>>> to use > > > >>>>> Codesourcery toolchain, > rather > > than > > > 2007 one > > > >> from > > > >>>> uClinux web site. > > > >>>> > > > >>>> I guess I don't follow that > logic. > > Why > > > would > > > >> someone > > > >>>> unfamiliar with > > > >>>> uClinux not choose a toolchain > from > > the > > > links on > > > >> that > > > >>>> page? > > > >>>> > > > >>>> Sure I would like to see the > dist > > code > > > work with > > > >> lots of > > > >>>> toolchains. > > > >>>> And I don't want to put a > warning > > like > > > "you must > > > >> use these > > > >>>> toolchains" > > > >>>> on the download pages. > > > >>>> > > > >>>> Regards > > > >>>> Greg > > > >>>> > > > >>>> > > > >>>> > > > >>>>> P.S. I'm not here to blame > > anybody, > > > but rather > > > >> try to > > > >>>> make uClinux > > > >>>>> better. It did take me some > time, > > a > > > few days > > > >> to be > > > >>>> exact, to find and > > > >>>>> summarize the solutions to > all > > the > > > >> issues with > > > >>>> these other toolchain. > > > >>>>>> Regards > > > >>>>>> Greg > > > >>>>>> > > > >>>>>> > > > >>>>>> > > > >> > > > > > > ------------------------------------------------------------------------ > > > >>>>>> Greg Ungerer -- > > > Principal > > > >>>> Engineer EMAIL: > > > > > > >> g...@snapgear.com > > > >>>>>> SnapGear Group, > > > McAfee > > > >> > > > >>>> > > > > > > >> PHONE: +61 7 3435 > > > 2888 > > > >>>>>> 825 Stanley St, > > > > > > >> > > > >>>> > > > > > > >> FAX: > > > +61 > > > >> 7 3891 3630 > > > >>>>>> Woolloongabba, QLD, > 4102, > > > >> Australia > > > >>>> WEB: http://www.SnapGear.com > > > >> > > _______________________________________________ > > > >>>>>> uClinux-dev mailing > list > > > >>>>>> uClinux-dev@uclinux.org > > > >>>>>> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > > >>>>>> This message was resent > by uclinux-dev@uclinux.org > > > >>>>>> To unsubscribe see: > > > >>>>>> http://mailman.uclinux.org/mailman/options/uclinux-dev > > > >> > > _______________________________________________ > > > >>>>> uClinux-dev mailing list > > > >>>>> uClinux-dev@uclinux.org > > > >>>>> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > > >>>>> This message was resent by > uclinux-dev@uclinux.org > > > >>>>> To unsubscribe see: > > > >>>>> http://mailman.uclinux.org/mailman/options/uclinux-dev > > > >>>>> > > > >>>> -- > > > >> > > > > > > ------------------------------------------------------------------------ > > > >>>> Greg Ungerer -- Principal > > > >> Engineer > > > EMAIL: g...@snapgear.com > > > >>>> SnapGear Group, McAfee > > > > > > >> > > > PHONE: +61 7 3435 > > > >> 2888 > > > >>>> 8 Gardner Close > > > > > > >> > > > FAX: +61 7 > > > 3217 > > > >> 5323 > > > >>>> Milton, QLD, 4064, Australia > > > > > > >> WEB: http://www.SnapGear.com > > > >>>> > > > _______________________________________________ > > > >>>> uClinux-dev mailing list > > > >>>> uClinux-dev@uclinux.org > > > >>>> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > > >>>> This message was resent by uclinux-dev@uclinux.org > > > >>>> To unsubscribe see: > > > >>>> http://mailman.uclinux.org/mailman/options/uclinux-dev > > > >>>> > > > >>> > > > >>> > > > >> > > > _______________________________________________ > > > >>> uClinux-dev mailing list > > > >>> uClinux-dev@uclinux.org > > > >>> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > > >>> This message was resent by uclinux-dev@uclinux.org > > > >>> To unsubscribe see: > > > >>> http://mailman.uclinux.org/mailman/options/uclinux-dev > > > >>> > > > >> > > > >> -- > > > >> > > > > > > ------------------------------------------------------------------------ > > > >> Greg Ungerer -- Principal > > > Engineer EMAIL: > > > g...@snapgear.com > > > >> SnapGear Group, McAfee > > > > > > PHONE: +61 7 3435 > > > 2888 > > > >> 8 Gardner Close > > > > > > FAX: +61 7 3217 > > > 5323 > > > >> Milton, QLD, 4064, Australia > > > WEB: http://www.SnapGear.com > > > >> > > _______________________________________________ > > > >> uClinux-dev mailing list > > > >> uClinux-dev@uclinux.org > > > >> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > > >> This message was resent by uclinux-dev@uclinux.org > > > >> To unsubscribe see: > > > >> http://mailman.uclinux.org/mailman/options/uclinux-dev > > > >> > > > > > > > > > > > > > > > > _______________________________________________ > > > > uClinux-dev mailing list > > > > uClinux-dev@uclinux.org > > > > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > > > This message was resent by uclinux-dev@uclinux.org > > > > To unsubscribe see: > > > > http://mailman.uclinux.org/mailman/options/uclinux-dev > > > > > > > > > > > > > -- > > > > > > ------------------------------------------------------------------------ > > > Greg Ungerer -- Principal Engineer > > > EMAIL: g...@snapgear.com > > > SnapGear Group, McAfee > > > PHONE: > > > +61 7 3435 2888 > > > 8 Gardner Close > > > > > > FAX: > > > +61 7 3217 5323 > > > Milton, QLD, 4064, Australia > > > WEB: http://www.SnapGear.com > > > _______________________________________________ > > > uClinux-dev mailing list > > > uClinux-dev@uclinux.org > > > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > > This message was resent by uclinux-dev@uclinux.org > > > To unsubscribe see: > > > http://mailman.uclinux.org/mailman/options/uclinux-dev > > > > > > > > > > > _______________________________________________ > > uClinux-dev mailing list > > uClinux-dev@uclinux.org > > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > This message was resent by uclinux-dev@uclinux.org > > To unsubscribe see: > > http://mailman.uclinux.org/mailman/options/uclinux-dev > > > > > > > _______________________________________________ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev