Bare metal toolchain for A15
wmills at ti.com
Fri Mar 9 21:49:03 UTC 2012
On 03/08/2012 04:07 PM, William Mills wrote:
> On 03/08/2012 03:51 PM, Michael Hope wrote:
>> On Fri, Mar 9, 2012 at 5:51 AM, William Mills<wmills at ti.com> wrote:
>>> I need to supply a Linaro toolchain "aligned" (same source code)
>>> compiler to a group doing benchmarking on A15.
>> Hi William. I recommend using the exact same tools we use for
>> building the binary toolchains but reconfiguring for a baremetal
>> build. That way you can get the Cortex-A15 improvements that we've
>> been doing in a simple to make binary toolchain.
>> I wrote some brief instructions on this yesterday at:
>> Also see the building from source section in the README:
> Thanks for the recommendation Michael. I will do it this way.
As a first step I tried to rebuild the same linaro-arm-linux-gnueabi
version you guys publish following a flow similar to the wiki page you
show above. I used the 2012.02 tarballs from the
https://launchpad.net/linaro-toolchain-binaries for src and crosstool-NG.
I followed the host setup instructions in the README.txt but then
followed the wiki build instructions using a config of
My machine is Ubuntu 10.04 32 bit as suggested in README.txt and /bin/sh
The build errored out in PPL with some errors deep in the c++ STL
templates of the lsbcc.
I next cleaned and reran you config again but then ran ct-ng menuconfig
to deselect using the lsbcc compiler and just use the host gcc. The
build finished OK this way.
Do you guys still use 10.04 32 bit as the reference OS or have you moved on?
>> The extra steps are to tune for the Cortex-A15 by default and use a
>> baremetal instead of prebuilt sysroot.
I have not tried adjusting the target config yet.
More information about the linaro-toolchain