This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: arm-linux-gnueabihf-gcc

Part Number: AM5728


Tool/software: Linux

Hi,

The customer needs to add gcc tool and make tool when make rootfs. He added it based on the file system arago-base-tisdk-image-am57xx-evm.tar.xz.

Below are procedures :

1.Unzip the file

2.Unzip gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz under /home/root

3.Add environment under /etc/profile

4.Make SD card

But after enter the system, it said cannot execute binary file: exec format error when use arm-linux-gnueabihf-gcc. Please give some suggestions.

  • Hello Nancy,

    gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz is x86 architecture executable. Please, refer to this thread to add a gcc and make tool to your rootfs.

    Run this command in the last step.
    $ MACHINE=am57xx-evm bitbake gcc make

    Best regards,
    Kemal