AnsweredAssumed Answered

u-boot recompile

Question asked by keith zambrano on Jun 15, 2018
Latest reply on Jun 17, 2018 by Pavel Chubakov

I have a need to recompile u-boot. All I can find is a blurb in LS1046_AN5340.pdf in section 4.2, which is exactly what I need, but  is short on details.


4.2 Other Options
Once the board is set-up and configured appropriately, the following sections will step you through alternative deployment
4.2.1 Build U-Boot and RCW without Yocto Project and
Program to QSPI Flash
Execute the commands below to program a new U-Boot and RCW to QSPI boot without using Yocto Project:
1. Compile QSPI boot image (enable QSPI):
$make distclean ARCH=aarch64 CROSS_COMPILE=${toolchain_path}/gcc-linaro-aarch64-linuxgnu-
$make ARCH=aarch64 $ls1046ardb_qspi_defconfig
$make CROSS_COMPILE=${toolchain_path}/gcc-linaro-aarch64-linux-gnu-4.9-2014.07_linux/bin/
aarch64-linux-gnu- -j4


Can someone fill in the blanks, such as, how do I get the U-BOOT source (expect NXP would provide, is it in the SDK?) and where do the steps above take place. I think I  can handle the rest.


Much Gras!