[U-Boot] Toolchain for 0map35xx

Hello to everyone,
Few weeks ago, I've followed a thread on this list regarding the toolchain should be used to compile code for omap 35xx. Surfing on the net, I've also found a msg of Koen Kooi where he described a patch to be applied on /arch/arm/Makefile in order to let gcc 4.3.x work.
Now I am not an expert of toolchain and I didn't understand what is the actual status, thus my question is: may I use the toolchain coming with the ELDK 4.2 to compile for omap35xx or do I have to apply some patches?
Best Regards
Gianfranco Morandi

Hi Gianfranco,
Ing.G.Morandi (Portatile) wrote:
Hello to everyone,
Few weeks ago, I've followed a thread on this list regarding the toolchain should be used to compile code for omap 35xx. Surfing on the net, I've also found a msg of Koen Kooi where he described a patch to be applied on /arch/arm/Makefile in order to let gcc 4.3.x work.
Now I am not an expert of toolchain and I didn't understand what is the actual status, thus my question is: may I use the toolchain coming with the ELDK 4.2 to compile for omap35xx or do I have to apply some patches?
I don't know toolchain coming with ELDK 4.2, but for U-Boot for OMAP 35x you don't need a special compiler. A non-broken arm-linux-gcc or similar will work. While bringing OMAP U-Boot support to mainline, we explicitly switched to a more conservative toolchain configuration (-march=armv5 instead of v7a) to enable more toolchains to work.
Try the toolchain you have and ask or report errors if it doesn't work.
Best regards
Dirk
Btw.: For other code, e.g. Linux user space programs which need special optimizations, other toolchain might be necessary, though.

Hi Dirk, Hi Wolfgang,
many thanks for Your suggestions. They have been very useful.
Have a nice Eastern holidays
Gianfranco Morandi
----- Original Message ----- From: "Dirk Behme" dirk.behme@googlemail.com To: "Ing.G.Morandi (Portatile)" gianfranco.morandi@euro-studio.it Cc: "u-boot users" u-boot@lists.denx.de Sent: Thursday, April 09, 2009 6:02 PM Subject: Re: [U-Boot] Toolchain for 0map35xx
Hi Gianfranco,
Ing.G.Morandi (Portatile) wrote:
Hello to everyone,
Few weeks ago, I've followed a thread on this list regarding the toolchain should be used to compile code for omap 35xx. Surfing on the net, I've also found a msg of Koen Kooi where he described a patch to be applied on /arch/arm/Makefile in order to let gcc 4.3.x work.
Now I am not an expert of toolchain and I didn't understand what is the actual status, thus my question is: may I use the toolchain coming with the ELDK 4.2 to compile for omap35xx or do I have to apply some patches?
I don't know toolchain coming with ELDK 4.2, but for U-Boot for OMAP 35x you don't need a special compiler. A non-broken arm-linux-gcc or similar will work. While bringing OMAP U-Boot support to mainline, we explicitly switched to a more conservative toolchain configuration (-march=armv5 instead of v7a) to enable more toolchains to work.
Try the toolchain you have and ask or report errors if it doesn't work.
Best regards
Dirk
Btw.: For other code, e.g. Linux user space programs which need special optimizations, other toolchain might be necessary, though.

Dear "Ing.G.Morandi (Portatile)",
In message B4BBC786F9164F6BB1C778A5F3223A67@Thinkpad01 you wrote:
Few weeks ago, I've followed a thread on this list regarding the toolchain should be used to compile code for omap 35xx. Surfing on the net, I've also found a msg of Koen Kooi where he described a patch to be applied on /arch/arm/Makefile in order to let gcc 4.3.x work.
Now I am not an expert of toolchain and I didn't understand what is the actual status, thus my question is: may I use the toolchain coming with the ELDK 4.2 to compile for omap35xx or do I have to apply some patches?
I am not aware of any problems when using the ELDK to build code for the OMAP processors. There may be benchmarks where other toolchains give some percent betterperformance, but as far as U-Boot or Linux is concerned that should not be a problem (if you are even able to measure the difference).
Best regards,
Wolfgang Denk
participants (3)
-
Dirk Behme
-
Ing.G.Morandi (Portatile)
-
Wolfgang Denk