Open up a terminal and set the environment path for the cross-compiler
TODO update the sysroot directory
[ export PATH="/home/dawild/ti-processor-sdk-linux-am437x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH" ]
Navigate to the U-Boot source directory in TODO fill in and initialize the build
[ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=build_dir -j6 mrproper ]
[ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=build_dir -j6 interceptor_proto_defconfig ]
Build the u-boot image and SPL MLO
[ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=build_dir -j6 MLO ]
[ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=build_dir -j6 u-boot.img ]
Install the MLO and u-boot image into the boot sector TODO check paths
[ sudo cp -v build_dir/arch/arm/boot/MLO /media/boot/ ]
[ sudo cp -v build_dir/arch/arm/boot/u-boot.img /media/boot/ ]
Eject the media, insert the media into the QuarterMaster, turn on the QuarterMaster, and verify that the boot was successful.
Related Links
sudo apt-get install minicom