Hello Shamanth Kudaligi Pranesharao,
Please install the Cross compiler provided in SDK 2.0 on your host machine to build LS1046ARDB u-boot, it is not related with the local GCC environment on your host.
Please download Linux SDK image ISO for AARCH64 QorIQ-SDK-V2.0-AARCH64-IMAGE-20160527-yocto.iso from Linux® SDK for QorIQ® Processors | NXP.
Please run the script in folder fsl-toolchain to install Toolchain in folder /opt/fsl-qoriq/2.0/.
Build u-boot with the following commands
$ source /opt/fsl-qoriq/2.0/environment-setup-aarch64-fsl-linux
$ make CROSS_COMPILE=aarch64-fsl-linux- ls1046ardb_emmc_defconfig
$ make -j 4 CROSS_COMPILE=aarch64-fsl-linux- all
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------