Cross compile trusty for Jetson TX2

Hi,

I am trying to build the trusty software as mentioned in the atf_and_trusty_README.txt file for the Jetson TX2. For this build I require an armhf compiler.

In the post Cross compile trusty from x86 linux host, a compiler is mentioned, which I downloaded and installed.

Unfortunately using this compiler, the build fails:

mnt/build/Linux_for_Tegra/source/src_out/trusty_src_build /mnt/build/Linux_for_Tegra/source/public
 path /opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc does not exist

The compiler I have has the prefix arm-none-linux-gnueabihf, not the expected arm-linux-gnueabihf.

Does somebody know which exact compiler is required for the build.
I am using Trusty sources from JetPack 3.4, L4T version 32.3.1.

I was able to find a compiler with the arm-linux-gnueabihf prefix. Using this compiler I am able to build trusty.

Can somebody verify that this compiler version, Linaro GCC 7.3-2018.05) 7.3.1 20180425, is the correct version to build trusty.

Hi @olaf.heemskerk

I have used a recent version to build trusty.

You get arm-linux-gnueabihf here and aarch64-linux-gnu here

It works fine for me.

Note: I’m using Jetson TX2.

Ilies