How to build u-boot for K2G? from the package "PROCESSOR-SDK-LINUX-K2G".
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.
Pre-requisite:
Steps:
sudo apt-get install diffstat texi2html texinfo subversion chrpath build-essential subversion ccache sed wget cvs coreutils unzip texinfo docbook-utils gawk help2man file g++ bison flex htmldoc chrpath libxext-dev xserver-xorg-dev doxygen socat u-boot-tools git
wget https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz tar -Jxvf gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz -C $HOME cd ~/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin
vi ~/.bashrc export PATH=$HOME/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin:$PATH
make distclean ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make k2g_evm_config ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -j8 all ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make u-boot-spi.gph ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
Screenshots are attached for the above commands -
For Step 4:
Refer to this link for more info: https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Overview_Building_the_SDK.html#prerequisites-one-time-setup
Thanks,
Ranjeet Kumar