Skip to content

Commit fc758c5

Browse files
kwillis01jeevantelukula
authored andcommitted
fix(U-Boot): add output directory when building U-Boot
The commands for building U-Boot on AM62L did not include an output directory. Add the output directory so it is easier to find the output files. Signed-off-by: Kendall Willis <[email protected]>
1 parent ab143a1 commit fc758c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/linux/Foundational_Components/U-Boot/UG-General-Info.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ Build U-Boot
661661

662662
.. code-block:: console
663663
664+
$ export UBOOT_DIR=<path-to-ti-u-boot>
664665
$ export TI_LINUX_FW_DIR=<path-to-ti-linux-firmware>
665666
$ export TFA_DIR=<path-to-arm-trusted-firmware>
666667
@@ -676,8 +677,8 @@ Build U-Boot
676677

677678
.. code-block:: console
678679
679-
$ make CROSS_COMPILE="$CROSS_COMPILE_64" am62lx_evm_defconfig
680-
$ make CROSS_COMPILE="$CROSS_COMPILE_64" \
680+
$ make CROSS_COMPILE="$CROSS_COMPILE_64" am62lx_evm_defconfig O=$UBOOT_DIR/out
681+
$ make CROSS_COMPILE="$CROSS_COMPILE_64" O=$UBOOT_DIR/out \
681682
BL1=$TFA_DIR/build/k3/am62l/release/bl1.bin \
682683
BL31=$TFA_DIR/build/k3/am62l/release/bl31.bin \
683684
BINMAN_INDIRS=$TI_LINUX_FW_DIR

0 commit comments

Comments
 (0)