mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
arm: ti: Remove ARCH= references from documentation
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
358b6f72c2
commit
897135809a
4 changed files with 9 additions and 10 deletions
|
@ -133,12 +133,12 @@ $ make PLATFORM=k3-am65x CFG_ARM64_core=y
|
||||||
4. U-Boot:
|
4. U-Boot:
|
||||||
|
|
||||||
4.1. R5:
|
4.1. R5:
|
||||||
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am65x_evm_r5_defconfig O=/tmp/r5
|
$ make CROSS_COMPILE=arm-linux-gnueabihf- am65x_evm_r5_defconfig O=/tmp/r5
|
||||||
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
|
$ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
|
||||||
|
|
||||||
4.2. A53:
|
4.2. A53:
|
||||||
$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- am65x_evm_a53_defconfig O=/tmp/a53
|
$ make CROSS_COMPILE=aarch64-linux-gnu- am65x_evm_a53_defconfig O=/tmp/a53
|
||||||
$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin O=/tmp/a53
|
$ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin O=/tmp/a53
|
||||||
|
|
||||||
Target Images
|
Target Images
|
||||||
--------------
|
--------------
|
||||||
|
|
|
@ -149,12 +149,12 @@ $ make PLATFORM=k3-j721e CFG_ARM64_core=y
|
||||||
4. U-Boot:
|
4. U-Boot:
|
||||||
|
|
||||||
4.1. R5:
|
4.1. R5:
|
||||||
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
|
$ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
|
||||||
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
|
$ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
|
||||||
|
|
||||||
4.2. A72:
|
4.2. A72:
|
||||||
$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
|
$ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
|
||||||
$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin O=/tmp/a72
|
$ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin O=/tmp/a72
|
||||||
|
|
||||||
Target Images
|
Target Images
|
||||||
--------------
|
--------------
|
||||||
|
|
|
@ -74,7 +74,7 @@ Supported image formats:
|
||||||
Build instructions:
|
Build instructions:
|
||||||
===================
|
===================
|
||||||
Examples for k2hk, for k2e, k2l and k2g just replace k2hk prefix accordingly.
|
Examples for k2hk, for k2e, k2l and k2g just replace k2hk prefix accordingly.
|
||||||
Don't forget to add ARCH=arm and CROSS_COMPILE.
|
Don't forget to add CROSS_COMPILE.
|
||||||
|
|
||||||
To build u-boot.bin, u-boot-spi.gph, MLO:
|
To build u-boot.bin, u-boot-spi.gph, MLO:
|
||||||
>make k2hk_evm_defconfig
|
>make k2hk_evm_defconfig
|
||||||
|
|
|
@ -67,7 +67,6 @@ or if you just installed gcc-arm-linux-gnueabi then it might be
|
||||||
|
|
||||||
b. Configure and build U-Boot with verified boot enabled:
|
b. Configure and build U-Boot with verified boot enabled:
|
||||||
|
|
||||||
export ARCH=arm
|
|
||||||
export UBOOT=/path/to/u-boot
|
export UBOOT=/path/to/u-boot
|
||||||
cd $UBOOT
|
cd $UBOOT
|
||||||
# You can add -j10 if you have 10 CPUs to make it faster
|
# You can add -j10 if you have 10 CPUs to make it faster
|
||||||
|
|
Loading…
Reference in a new issue