[PATCH 1/7] amlogic: 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: Beniamino Galvani b.galvani@gmail.com Cc: Neil Armstrong narmstrong@baylibre.com Cc: u-boot-amlogic@groups.io Signed-off-by: Tom Rini trini@konsulko.com --- As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks! --- board/amlogic/p200/README.nanopi-k2 | 1 - board/amlogic/p200/README.odroid-c2 | 1 - board/amlogic/p200/README.p200 | 1 - board/amlogic/p201/README.p201 | 1 - board/amlogic/p212/README.khadas-vim | 1 - board/amlogic/p212/README.libretech-ac | 1 - board/amlogic/p212/README.libretech-cc | 1 - board/amlogic/p212/README.p212 | 1 - board/amlogic/q200/README.khadas-vim2 | 1 - board/amlogic/q200/README.q200 | 1 - board/amlogic/s400/README | 1 - board/amlogic/sei510/README | 1 - board/amlogic/sei610/README | 1 - board/amlogic/u200/README | 1 - board/amlogic/w400/README.khadas-vim3 | 1 - board/amlogic/w400/README.khadas-vim3l | 1 - board/amlogic/w400/README.odroid-n2 | 1 - board/amlogic/w400/README.w400 | 1 - 18 files changed, 18 deletions(-)
diff --git a/board/amlogic/p200/README.nanopi-k2 b/board/amlogic/p200/README.nanopi-k2 index d450d3c2b2af..c8dec3569b4d 100644 --- a/board/amlogic/p200/README.nanopi-k2 +++ b/board/amlogic/p200/README.nanopi-k2 @@ -24,7 +24,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make nanopi-k2_defconfig make
diff --git a/board/amlogic/p200/README.odroid-c2 b/board/amlogic/p200/README.odroid-c2 index bed48c5728ba..3b9f80df29d8 100644 --- a/board/amlogic/p200/README.odroid-c2 +++ b/board/amlogic/p200/README.odroid-c2 @@ -29,7 +29,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make odroid-c2_defconfig make
diff --git a/board/amlogic/p200/README.p200 b/board/amlogic/p200/README.p200 index 01d82d1e79e3..84d5ca535691 100644 --- a/board/amlogic/p200/README.p200 +++ b/board/amlogic/p200/README.p200 @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make p200_defconfig make
diff --git a/board/amlogic/p201/README.p201 b/board/amlogic/p201/README.p201 index c251096ce142..4bb5e9590532 100644 --- a/board/amlogic/p201/README.p201 +++ b/board/amlogic/p201/README.p201 @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make p201_defconfig make
diff --git a/board/amlogic/p212/README.khadas-vim b/board/amlogic/p212/README.khadas-vim index a2c7606454f8..ccf933861b79 100644 --- a/board/amlogic/p212/README.khadas-vim +++ b/board/amlogic/p212/README.khadas-vim @@ -30,7 +30,6 @@ Currently the u-boot port supports the following devices: U-Boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make khadas-vim_defconfig make
diff --git a/board/amlogic/p212/README.libretech-ac b/board/amlogic/p212/README.libretech-ac index 538604261b84..3f713ec32634 100644 --- a/board/amlogic/p212/README.libretech-ac +++ b/board/amlogic/p212/README.libretech-ac @@ -25,7 +25,6 @@ Currently the U-Boot port supports the following devices: U-Boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make libretech-ac_defconfig make
diff --git a/board/amlogic/p212/README.libretech-cc b/board/amlogic/p212/README.libretech-cc index 6af7de3cfa79..74434d4435ec 100644 --- a/board/amlogic/p212/README.libretech-cc +++ b/board/amlogic/p212/README.libretech-cc @@ -30,7 +30,6 @@ Currently the U-Boot port supports the following devices: U-Boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make libretech-cc_defconfig make
diff --git a/board/amlogic/p212/README.p212 b/board/amlogic/p212/README.p212 index ef5370c763c4..3776f2449391 100644 --- a/board/amlogic/p212/README.p212 +++ b/board/amlogic/p212/README.p212 @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make p212_defconfig make
diff --git a/board/amlogic/q200/README.khadas-vim2 b/board/amlogic/q200/README.khadas-vim2 index 8bcfc296f3e0..595998c4fabb 100644 --- a/board/amlogic/q200/README.khadas-vim2 +++ b/board/amlogic/q200/README.khadas-vim2 @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: U-Boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make khadas-vim2_defconfig make
diff --git a/board/amlogic/q200/README.q200 b/board/amlogic/q200/README.q200 index 55d730a0d200..d4142c88bd42 100644 --- a/board/amlogic/q200/README.q200 +++ b/board/amlogic/q200/README.q200 @@ -30,7 +30,6 @@ Currently the u-boot port supports the following devices: U-Boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make khadas-vim2_defconfig make
diff --git a/board/amlogic/s400/README b/board/amlogic/s400/README index ab21998dc836..a48db22a4282 100644 --- a/board/amlogic/s400/README +++ b/board/amlogic/s400/README @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make s400_defconfig make
diff --git a/board/amlogic/sei510/README b/board/amlogic/sei510/README index e47ebc7b3a5a..d9358aa50183 100644 --- a/board/amlogic/sei510/README +++ b/board/amlogic/sei510/README @@ -22,7 +22,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make sei510_defconfig make
diff --git a/board/amlogic/sei610/README b/board/amlogic/sei610/README index 1cc2b3c2a4e9..d96a94b5e970 100644 --- a/board/amlogic/sei610/README +++ b/board/amlogic/sei610/README @@ -18,7 +18,6 @@ specifications: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make sei610_defconfig make
diff --git a/board/amlogic/u200/README b/board/amlogic/u200/README index bffac5e7ae0a..a4080eb299c4 100644 --- a/board/amlogic/u200/README +++ b/board/amlogic/u200/README @@ -27,7 +27,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make u200_defconfig make
diff --git a/board/amlogic/w400/README.khadas-vim3 b/board/amlogic/w400/README.khadas-vim3 index 45ef90c1b0a9..399bf49295f6 100644 --- a/board/amlogic/w400/README.khadas-vim3 +++ b/board/amlogic/w400/README.khadas-vim3 @@ -29,7 +29,6 @@ Currently the U-Boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make khadas-vim3_defconfig make
diff --git a/board/amlogic/w400/README.khadas-vim3l b/board/amlogic/w400/README.khadas-vim3l index 0afff16c0c26..b2d9abbfd9b2 100644 --- a/board/amlogic/w400/README.khadas-vim3l +++ b/board/amlogic/w400/README.khadas-vim3l @@ -29,7 +29,6 @@ Currently the U-Boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make khadas-vim3l_defconfig make
diff --git a/board/amlogic/w400/README.odroid-n2 b/board/amlogic/w400/README.odroid-n2 index a8f2c3d7daa6..8142eebea007 100644 --- a/board/amlogic/w400/README.odroid-n2 +++ b/board/amlogic/w400/README.odroid-n2 @@ -28,7 +28,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make odroid-n2_defconfig make
diff --git a/board/amlogic/w400/README.w400 b/board/amlogic/w400/README.w400 index 25b786d817c4..c129717a1189 100644 --- a/board/amlogic/w400/README.w400 +++ b/board/amlogic/w400/README.w400 @@ -27,7 +27,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
- > export ARCH=arm
export CROSS_COMPILE=aarch64-none-elf- make w400_defconfig make

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
Cc: Adam Ford aford173@gmail.com Cc: Vanessa Maegima vanessa.maegima@nxp.com Cc: Otavio Salvador otavio@ossystems.com.br Cc: Igor Opaniuk igor.opaniuk@toradex.com Cc: Amit Singh Tomar amittomer25@gmail.com Cc: Manivannan Sadhasivam manivannan.sadhasivam@linaro.org Signed-off-by: Tom Rini trini@konsulko.com --- As an aside, the README files that haven't already been converted to rST should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks! --- board/beacon/imx8mm/README | 2 +- board/logicpd/imx6/README | 2 +- board/technexion/pico-imx7d/README.pico-imx7d_BL33 | 2 +- doc/board/actions/cubieboard7.rst | 2 +- doc/board/toradex/colibri_imx7.rst | 1 - 5 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/board/beacon/imx8mm/README b/board/beacon/imx8mm/README index 4223fbd15dd6..dce176fa0b23 100644 --- a/board/beacon/imx8mm/README +++ b/board/beacon/imx8mm/README @@ -26,7 +26,7 @@ $ cp firmware-imx-8.5/firmware/ddr/synopsys/lpddr4*.bin $(srctree) Build U-Boot ============ $ make imx8mm_beacon_defconfig -$ make flash.bin ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x920000 +$ make flash.bin CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x920000
Burn U-Boot to microSD Card =========================== diff --git a/board/logicpd/imx6/README b/board/logicpd/imx6/README index 26d053a32c3b..19f79c5734bc 100644 --- a/board/logicpd/imx6/README +++ b/board/logicpd/imx6/README @@ -17,7 +17,7 @@ Building U-Boot for Logic PD Development Kit To build U-Boot for the Dual and Quad variants:
make imx6q_logic_defconfig - make u-boot.imx ARCH=arm CROSS_COMPILE=arm-linux- + make u-boot.imx CROSS_COMPILE=arm-linux-
Flashing U-Boot into the SD card diff --git a/board/technexion/pico-imx7d/README.pico-imx7d_BL33 b/board/technexion/pico-imx7d/README.pico-imx7d_BL33 index 40324ffe5f34..1b346093b88d 100644 --- a/board/technexion/pico-imx7d/README.pico-imx7d_BL33 +++ b/board/technexion/pico-imx7d/README.pico-imx7d_BL33 @@ -4,7 +4,7 @@ The boot sequence is ATF -> OPTEE -> U-Boot -> Linux. U-Boot is in non-secure world in this case.
- Build u-boot - Set environment variable of CROSS_COMPILE for your toolchain and ARCH=arm + Set environment variable of CROSS_COMPILE for your toolchain $ make pico-imx7d_bl33_defconfig $ make all
diff --git a/doc/board/actions/cubieboard7.rst b/doc/board/actions/cubieboard7.rst index e01d2d0370a1..74f2b12e41fe 100644 --- a/doc/board/actions/cubieboard7.rst +++ b/doc/board/actions/cubieboard7.rst @@ -102,7 +102,7 @@ Building U-BOOT proper image
$ make clean $ export CROSS_COMPILE=aarch64-linux-gnu- - $ make ARCH=arm cubieboard7_defconfig + $ make cubieboard7_defconfig $ make u-boot-dtb.img -j16
u-boot-dtb.img can now be flashed to debian image partition mounted on host machine. diff --git a/doc/board/toradex/colibri_imx7.rst b/doc/board/toradex/colibri_imx7.rst index 6fb952666661..a30e721379ee 100644 --- a/doc/board/toradex/colibri_imx7.rst +++ b/doc/board/toradex/colibri_imx7.rst @@ -18,7 +18,6 @@ Build U-Boot .. code-block:: bash
$ export CROSS_COMPILE=arm-linux-gnueabi- - $ export ARCH=arm $ make colibri_imx7_emmc_defconfig # For NAND: colibri_imx7_defconfig $ make

Hi
On Tue, May 19, 2020 at 8:21 PM Tom Rini trini@konsulko.com wrote:
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
Cc: Adam Ford aford173@gmail.com Cc: Vanessa Maegima vanessa.maegima@nxp.com Cc: Otavio Salvador otavio@ossystems.com.br Cc: Igor Opaniuk igor.opaniuk@toradex.com Cc: Amit Singh Tomar amittomer25@gmail.com Cc: Manivannan Sadhasivam manivannan.sadhasivam@linaro.org Signed-off-by: Tom Rini trini@konsulko.com
As an aside, the README files that haven't already been converted to rST should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!
board/beacon/imx8mm/README | 2 +- board/logicpd/imx6/README | 2 +- board/technexion/pico-imx7d/README.pico-imx7d_BL33 | 2 +- doc/board/actions/cubieboard7.rst | 2 +-
It is clubbed with imx platform but cubieboard7.rst is for Actions platform which is completely different from imx.
Thanks -Amit

On Tue, May 19, 2020 at 08:41:45PM +0530, Amit Tomer wrote:
Hi
On Tue, May 19, 2020 at 8:21 PM Tom Rini trini@konsulko.com wrote:
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
Cc: Adam Ford aford173@gmail.com Cc: Vanessa Maegima vanessa.maegima@nxp.com Cc: Otavio Salvador otavio@ossystems.com.br Cc: Igor Opaniuk igor.opaniuk@toradex.com Cc: Amit Singh Tomar amittomer25@gmail.com Cc: Manivannan Sadhasivam manivannan.sadhasivam@linaro.org Signed-off-by: Tom Rini trini@konsulko.com
As an aside, the README files that haven't already been converted to rST should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!
board/beacon/imx8mm/README | 2 +- board/logicpd/imx6/README | 2 +- board/technexion/pico-imx7d/README.pico-imx7d_BL33 | 2 +- doc/board/actions/cubieboard7.rst | 2 +-
It is clubbed with imx platform but cubieboard7.rst is for Actions platform which is completely different from imx.
Whoops, gotta update my mental mapping, sorry.

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
Cc: Po Liu po.liu@nxp.com Cc: Qiang Zhao qiang.zhao@nxp.com Signed-off-by: Tom Rini trini@konsulko.com --- As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks! --- board/freescale/c29xpcie/README | 1 - board/freescale/p1010rdb/README.P1010RDB-PA | 1 - board/freescale/p1010rdb/README.P1010RDB-PB | 1 - 3 files changed, 3 deletions(-)
diff --git a/board/freescale/c29xpcie/README b/board/freescale/c29xpcie/README index 2e249cbb3a2e..a6120f1845d2 100644 --- a/board/freescale/c29xpcie/README +++ b/board/freescale/c29xpcie/README @@ -56,7 +56,6 @@ Note: 1 stands for 'off', 0 stands for 'on' Build and program U-Boot to NOR flash ================================== 1. Build u-boot.bin image example: - export ARCH=powerpc export CROSS_COMPILE=/your_path/powerpc-linux-gnu- make C293PCIE
diff --git a/board/freescale/p1010rdb/README.P1010RDB-PA b/board/freescale/p1010rdb/README.P1010RDB-PA index 105942f7a54f..46c61237c727 100644 --- a/board/freescale/p1010rdb/README.P1010RDB-PA +++ b/board/freescale/p1010rdb/README.P1010RDB-PA @@ -98,7 +98,6 @@ instead of to CAN/UART1. Build and burn U-Boot to NOR flash ================================== 1. Build u-boot.bin image - export ARCH=powerpc export CROSS_COMPILE=/your_path/powerpc-linux-gnu- make P1010RDB_NOR
diff --git a/board/freescale/p1010rdb/README.P1010RDB-PB b/board/freescale/p1010rdb/README.P1010RDB-PB index dc82f0df0984..4a3b389877fc 100644 --- a/board/freescale/p1010rdb/README.P1010RDB-PB +++ b/board/freescale/p1010rdb/README.P1010RDB-PB @@ -128,7 +128,6 @@ To enable IFC in case of SD boot Build images for different boot mode ==================================== First setup cross compile environment on build host - $ export ARCH=powerpc $ export CROSS_COMPILE=<your-compiler-path>/powerpc-linux-gnu-
1. For NOR boot

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
Cc: Kever Yang kever.yang@rock-chips.com Cc: Simon Glass sjg@chromium.org Cc: Philipp Tomsich philipp.tomsich@theobroma-systems.com Cc: Klaus Goger klaus.goger@theobroma-systems.com Cc: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Tom Rini trini@konsulko.com --- As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks! --- board/rockchip/evb_rk3229/README | 1 - board/rockchip/evb_rk3399/README | 1 - board/theobroma-systems/lion_rk3368/README | 4 ++-- board/vamrs/rock960_rk3399/README | 1 - 4 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/board/rockchip/evb_rk3229/README b/board/rockchip/evb_rk3229/README index 93328c75b204..9068225e2721 100644 --- a/board/rockchip/evb_rk3229/README +++ b/board/rockchip/evb_rk3229/README @@ -22,7 +22,6 @@ Compile the U-Boot
cd ../u-boot export CROSS_COMPILE=arm-linux-gnueabihf-
- > export ARCH=arm
make evb-rk3229_defconfig make make u-boot.itb
diff --git a/board/rockchip/evb_rk3399/README b/board/rockchip/evb_rk3399/README index da7ae89ab1e9..c6f58203ebe9 100644 --- a/board/rockchip/evb_rk3399/README +++ b/board/rockchip/evb_rk3399/README @@ -54,7 +54,6 @@ Compile U-Boot ==============
cd ../u-boot
- > export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu- make evb-rk3399_defconfig
for firefly-rk3399, use below instead: diff --git a/board/theobroma-systems/lion_rk3368/README b/board/theobroma-systems/lion_rk3368/README index ad3ac93bd44b..7488b18326b9 100644 --- a/board/theobroma-systems/lion_rk3368/README +++ b/board/theobroma-systems/lion_rk3368/README @@ -17,12 +17,12 @@ Configure U-Boot Build the TPL/SPL stage =======================
- > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm + > make CROSS_COMPILE=aarch64-unknown-elf-
Build the full U-Boot and a FIT image including the ATF =======================================================
- > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm u-boot.itb + > make CROSS_COMPILE=aarch64-unknown-elf- u-boot.itb
Flash the image =============== diff --git a/board/vamrs/rock960_rk3399/README b/board/vamrs/rock960_rk3399/README index c5c675c4ead1..15df027fbcd4 100644 --- a/board/vamrs/rock960_rk3399/README +++ b/board/vamrs/rock960_rk3399/README @@ -57,7 +57,6 @@ Compile the U-Boot
cd ../u-boot cp ../rkbin/rk33/rk3399_bl31_v1.00.elf ./bl31.elf
- > export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu- make rock960-rk3399_defconfig make

On 2020-05-19 16:51, Tom Rini wrote:
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
Cc: Kever Yang kever.yang@rock-chips.com Cc: Simon Glass sjg@chromium.org Cc: Philipp Tomsich philipp.tomsich@theobroma-systems.com Cc: Klaus Goger klaus.goger@theobroma-systems.com Cc: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Tom Rini trini@konsulko.com
As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!
board/rockchip/evb_rk3229/README | 1 - board/rockchip/evb_rk3399/README | 1 - board/theobroma-systems/lion_rk3368/README | 4 ++-- board/vamrs/rock960_rk3399/README | 1 - 4 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/board/rockchip/evb_rk3229/README b/board/rockchip/evb_rk3229/README index 93328c75b204..9068225e2721 100644 --- a/board/rockchip/evb_rk3229/README +++ b/board/rockchip/evb_rk3229/README @@ -22,7 +22,6 @@ Compile the U-Boot
cd ../u-boot export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm make evb-rk3229_defconfig make make u-boot.itbdiff --git a/board/rockchip/evb_rk3399/README b/board/rockchip/evb_rk3399/README index da7ae89ab1e9..c6f58203ebe9 100644 --- a/board/rockchip/evb_rk3399/README +++ b/board/rockchip/evb_rk3399/README @@ -54,7 +54,6 @@ Compile U-Boot ==============
cd ../u-boot
export ARCH=arm64 export CROSS_COMPILE=aarch64-linux-gnu- make evb-rk3399_defconfigfor firefly-rk3399, use below instead:diff --git a/board/theobroma-systems/lion_rk3368/README b/board/theobroma-systems/lion_rk3368/README index ad3ac93bd44b..7488b18326b9 100644 --- a/board/theobroma-systems/lion_rk3368/README +++ b/board/theobroma-systems/lion_rk3368/README @@ -17,12 +17,12 @@ Configure U-Boot Build the TPL/SPL stage =======================
make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm
make CROSS_COMPILE=aarch64-unknown-elf-Build the full U-Boot and a FIT image including the ATF
make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm u-boot.itb
make CROSS_COMPILE=aarch64-unknown-elf- u-boot.itbFlash the image
diff --git a/board/vamrs/rock960_rk3399/README b/board/vamrs/rock960_rk3399/README index c5c675c4ead1..15df027fbcd4 100644 --- a/board/vamrs/rock960_rk3399/README +++ b/board/vamrs/rock960_rk3399/README @@ -57,7 +57,6 @@ Compile the U-Boot
cd ../u-boot cp ../rkbin/rk33/rk3399_bl31_v1.00.elf ./bl31.elf
export ARCH=arm64 export CROSS_COMPILE=aarch64-linux-gnu- make rock960-rk3399_defconfig make
Reviewed-by: Klaus Goger klaus.goger@theobroma-systems.com
Thanks for the hint about converting to rST. Will send patches for at least the boards that list me as maintainer.
Best, Klaus

On 2020/5/19 下午10:51, Tom Rini wrote:
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
Cc: Kever Yang kever.yang@rock-chips.com Cc: Simon Glass sjg@chromium.org Cc: Philipp Tomsich philipp.tomsich@theobroma-systems.com Cc: Klaus Goger klaus.goger@theobroma-systems.com Cc: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Tom Rini trini@konsulko.com
Reviewed-by: Kever Yang kever.yang@rock-chips.com
Thanks, - Kever
As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!
board/rockchip/evb_rk3229/README | 1 - board/rockchip/evb_rk3399/README | 1 - board/theobroma-systems/lion_rk3368/README | 4 ++-- board/vamrs/rock960_rk3399/README | 1 - 4 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/board/rockchip/evb_rk3229/README b/board/rockchip/evb_rk3229/README index 93328c75b204..9068225e2721 100644 --- a/board/rockchip/evb_rk3229/README +++ b/board/rockchip/evb_rk3229/README @@ -22,7 +22,6 @@ Compile the U-Boot
> cd ../u-boot > export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm make evb-rk3229_defconfig make make u-boot.itbdiff --git a/board/rockchip/evb_rk3399/README b/board/rockchip/evb_rk3399/README index da7ae89ab1e9..c6f58203ebe9 100644 --- a/board/rockchip/evb_rk3399/README +++ b/board/rockchip/evb_rk3399/README @@ -54,7 +54,6 @@ Compile U-Boot ==============
> cd ../u-boot
export ARCH=arm64 export CROSS_COMPILE=aarch64-linux-gnu- make evb-rk3399_defconfigfor firefly-rk3399, use below instead:diff --git a/board/theobroma-systems/lion_rk3368/README b/board/theobroma-systems/lion_rk3368/README index ad3ac93bd44b..7488b18326b9 100644 --- a/board/theobroma-systems/lion_rk3368/README +++ b/board/theobroma-systems/lion_rk3368/README @@ -17,12 +17,12 @@ Configure U-Boot Build the TPL/SPL stage =======================
make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm
make CROSS_COMPILE=aarch64-unknown-elf-
Build the full U-Boot and a FIT image including the ATF
make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm u-boot.itb
make CROSS_COMPILE=aarch64-unknown-elf- u-boot.itb
Flash the image
diff --git a/board/vamrs/rock960_rk3399/README b/board/vamrs/rock960_rk3399/README index c5c675c4ead1..15df027fbcd4 100644 --- a/board/vamrs/rock960_rk3399/README +++ b/board/vamrs/rock960_rk3399/README @@ -57,7 +57,6 @@ Compile the U-Boot
> cd ../u-boot > cp ../rkbin/rk33/rk3399_bl31_v1.00.elf ./bl31.elf
export ARCH=arm64 export CROSS_COMPILE=aarch64-linux-gnu- make rock960-rk3399_defconfig make

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 --- As an aside, these README files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks! --- board/ti/am65x/README | 8 ++++---- board/ti/j721e/README | 8 ++++---- board/ti/ks2_evm/README | 2 +- doc/uImage.FIT/beaglebone_vboot.txt | 1 - 4 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/board/ti/am65x/README b/board/ti/am65x/README index 00be1ffe44d6..67081ce349dc 100644 --- a/board/ti/am65x/README +++ b/board/ti/am65x/README @@ -133,12 +133,12 @@ $ make PLATFORM=k3-am65x CFG_ARM64_core=y 4. U-Boot:
4.1. R5: -$ make ARCH=arm 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- am65x_evm_r5_defconfig O=/tmp/r5 +$ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
4.2. A53: -$ make ARCH=arm 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- am65x_evm_a53_defconfig 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 -------------- diff --git a/board/ti/j721e/README b/board/ti/j721e/README index 7dcf33633294..757a59cdb44a 100644 --- a/board/ti/j721e/README +++ b/board/ti/j721e/README @@ -149,12 +149,12 @@ $ make PLATFORM=k3-j721e CFG_ARM64_core=y 4. U-Boot:
4.1. R5: -$ make ARCH=arm 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- j721e_evm_r5_defconfig O=/tmp/r5 +$ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
4.2. A72: -$ make ARCH=arm 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- j721e_evm_a72_defconfig 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 -------------- diff --git a/board/ti/ks2_evm/README b/board/ti/ks2_evm/README index a26b7f813131..ff0ec5a36377 100644 --- a/board/ti/ks2_evm/README +++ b/board/ti/ks2_evm/README @@ -74,7 +74,7 @@ Supported image formats: Build instructions: =================== 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:
make k2hk_evm_defconfig
diff --git a/doc/uImage.FIT/beaglebone_vboot.txt b/doc/uImage.FIT/beaglebone_vboot.txt index 685ec1f46d96..ebd2068ed38d 100644 --- a/doc/uImage.FIT/beaglebone_vboot.txt +++ b/doc/uImage.FIT/beaglebone_vboot.txt @@ -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:
- export ARCH=arm export UBOOT=/path/to/u-boot cd $UBOOT # You can add -j10 if you have 10 CPUs to make it faster

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
While in here, add the doc file to the MAINTAINERS entry for coldfire.
Cc: Huan Wang alison.wang@nxp.com Cc: Angelo Dureghello angelo@sysam.it Signed-off-by: Tom Rini trini@konsulko.com --- MAINTAINERS | 1 + doc/arch/m68k.rst | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS index 8add9d4c2ae9..893cac398f84 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -590,6 +590,7 @@ M: Angelo Dureghello angelo@sysam.it S: Maintained T: git https://gitlab.denx.de/u-boot/custodians/u-boot-coldfire.git F: arch/m68k/ +F: doc/arch/m68k.rst
DFU M: Lukasz Majewski lukma@denx.de diff --git a/doc/arch/m68k.rst b/doc/arch/m68k.rst index 34b2593eb85b..44e1a5dfa384 100644 --- a/doc/arch/m68k.rst +++ b/doc/arch/m68k.rst @@ -35,7 +35,7 @@ development boards. Supported CPU families ----------------------
-Please "make menuconfig" with ARCH=m68k, or check arch/m68k/cpu to see the +Please "make menuconfig" and select "m68k" or check arch/m68k/cpu to see the currently supported processor and families.
@@ -75,8 +75,8 @@ A bash script similar to the one below may be used: board=M5475DFE
make distclean - make ARCH=m68k ${board}_defconfig - make ARCH=m68k KBUILD_VERBOSE=1 + make ${board}_defconfig + make KBUILD_VERBOSE=1
Adopted toolchains

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
While in here, add the doc file to the MAINTAINERS entry for coldfire.
Cc: Paul Walmsley paul.walmsley@sifive.com Cc: Palmer Dabbelt palmer@sifive.com Cc: Anup Patel anup.patel@wdc.com Cc: Atish Patra atish.patra@wdc.com Signed-off-by: Tom Rini trini@konsulko.com --- board/sifive/fu540/MAINTAINERS | 1 + doc/board/sifive/fu540.rst | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/sifive/fu540/MAINTAINERS b/board/sifive/fu540/MAINTAINERS index 702d803ad809..93df97913355 100644 --- a/board/sifive/fu540/MAINTAINERS +++ b/board/sifive/fu540/MAINTAINERS @@ -5,5 +5,6 @@ M: Anup Patel anup.patel@wdc.com M: Atish Patra atish.patra@wdc.com S: Maintained F: board/sifive/fu540/ +F: doc/board/sifive/fu540.rst F: include/configs/sifive-fu540.h F: configs/sifive_fu540_defconfig diff --git a/doc/board/sifive/fu540.rst b/doc/board/sifive/fu540.rst index 610ba87074b4..43402cb2e51e 100644 --- a/doc/board/sifive/fu540.rst +++ b/doc/board/sifive/fu540.rst @@ -39,7 +39,6 @@ Building
.. code-block:: none
- export ARCH=riscv export CROSS_COMPILE=<riscv64 toolchain prefix>
3. make sifive_fu540_defconfig

On Tue, May 19, 2020 at 10:51:11AM -0400, Tom Rini wrote:
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
While in here, add the doc file to the MAINTAINERS entry for coldfire.
I've reworded this locally to just be: While in here, add the doc file to the MAINTAINERS entry.

Hi,
Le 19/05/2020 à 16:51, Tom Rini a écrit :
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.
Cc: Beniamino Galvani b.galvani@gmail.com Cc: Neil Armstrong narmstrong@baylibre.com Cc: u-boot-amlogic@groups.io Signed-off-by: Tom Rini trini@konsulko.com
As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!
Adding this to my TODO list !
Thanks, Neil
board/amlogic/p200/README.nanopi-k2 | 1 - board/amlogic/p200/README.odroid-c2 | 1 - board/amlogic/p200/README.p200 | 1 - board/amlogic/p201/README.p201 | 1 - board/amlogic/p212/README.khadas-vim | 1 - board/amlogic/p212/README.libretech-ac | 1 - board/amlogic/p212/README.libretech-cc | 1 - board/amlogic/p212/README.p212 | 1 - board/amlogic/q200/README.khadas-vim2 | 1 - board/amlogic/q200/README.q200 | 1 - board/amlogic/s400/README | 1 - board/amlogic/sei510/README | 1 - board/amlogic/sei610/README | 1 - board/amlogic/u200/README | 1 - board/amlogic/w400/README.khadas-vim3 | 1 - board/amlogic/w400/README.khadas-vim3l | 1 - board/amlogic/w400/README.odroid-n2 | 1 - board/amlogic/w400/README.w400 | 1 - 18 files changed, 18 deletions(-)
diff --git a/board/amlogic/p200/README.nanopi-k2 b/board/amlogic/p200/README.nanopi-k2 index d450d3c2b2af..c8dec3569b4d 100644 --- a/board/amlogic/p200/README.nanopi-k2 +++ b/board/amlogic/p200/README.nanopi-k2 @@ -24,7 +24,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make nanopi-k2_defconfig makediff --git a/board/amlogic/p200/README.odroid-c2 b/board/amlogic/p200/README.odroid-c2 index bed48c5728ba..3b9f80df29d8 100644 --- a/board/amlogic/p200/README.odroid-c2 +++ b/board/amlogic/p200/README.odroid-c2 @@ -29,7 +29,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make odroid-c2_defconfig makediff --git a/board/amlogic/p200/README.p200 b/board/amlogic/p200/README.p200 index 01d82d1e79e3..84d5ca535691 100644 --- a/board/amlogic/p200/README.p200 +++ b/board/amlogic/p200/README.p200 @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make p200_defconfig makediff --git a/board/amlogic/p201/README.p201 b/board/amlogic/p201/README.p201 index c251096ce142..4bb5e9590532 100644 --- a/board/amlogic/p201/README.p201 +++ b/board/amlogic/p201/README.p201 @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make p201_defconfig makediff --git a/board/amlogic/p212/README.khadas-vim b/board/amlogic/p212/README.khadas-vim index a2c7606454f8..ccf933861b79 100644 --- a/board/amlogic/p212/README.khadas-vim +++ b/board/amlogic/p212/README.khadas-vim @@ -30,7 +30,6 @@ Currently the u-boot port supports the following devices: U-Boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make khadas-vim_defconfig makediff --git a/board/amlogic/p212/README.libretech-ac b/board/amlogic/p212/README.libretech-ac index 538604261b84..3f713ec32634 100644 --- a/board/amlogic/p212/README.libretech-ac +++ b/board/amlogic/p212/README.libretech-ac @@ -25,7 +25,6 @@ Currently the U-Boot port supports the following devices: U-Boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make libretech-ac_defconfig makediff --git a/board/amlogic/p212/README.libretech-cc b/board/amlogic/p212/README.libretech-cc index 6af7de3cfa79..74434d4435ec 100644 --- a/board/amlogic/p212/README.libretech-cc +++ b/board/amlogic/p212/README.libretech-cc @@ -30,7 +30,6 @@ Currently the U-Boot port supports the following devices: U-Boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make libretech-cc_defconfig makediff --git a/board/amlogic/p212/README.p212 b/board/amlogic/p212/README.p212 index ef5370c763c4..3776f2449391 100644 --- a/board/amlogic/p212/README.p212 +++ b/board/amlogic/p212/README.p212 @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make p212_defconfig makediff --git a/board/amlogic/q200/README.khadas-vim2 b/board/amlogic/q200/README.khadas-vim2 index 8bcfc296f3e0..595998c4fabb 100644 --- a/board/amlogic/q200/README.khadas-vim2 +++ b/board/amlogic/q200/README.khadas-vim2 @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: U-Boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make khadas-vim2_defconfig makediff --git a/board/amlogic/q200/README.q200 b/board/amlogic/q200/README.q200 index 55d730a0d200..d4142c88bd42 100644 --- a/board/amlogic/q200/README.q200 +++ b/board/amlogic/q200/README.q200 @@ -30,7 +30,6 @@ Currently the u-boot port supports the following devices: U-Boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make khadas-vim2_defconfig makediff --git a/board/amlogic/s400/README b/board/amlogic/s400/README index ab21998dc836..a48db22a4282 100644 --- a/board/amlogic/s400/README +++ b/board/amlogic/s400/README @@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make s400_defconfig makediff --git a/board/amlogic/sei510/README b/board/amlogic/sei510/README index e47ebc7b3a5a..d9358aa50183 100644 --- a/board/amlogic/sei510/README +++ b/board/amlogic/sei510/README @@ -22,7 +22,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make sei510_defconfig makediff --git a/board/amlogic/sei610/README b/board/amlogic/sei610/README index 1cc2b3c2a4e9..d96a94b5e970 100644 --- a/board/amlogic/sei610/README +++ b/board/amlogic/sei610/README @@ -18,7 +18,6 @@ specifications: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make sei610_defconfig makediff --git a/board/amlogic/u200/README b/board/amlogic/u200/README index bffac5e7ae0a..a4080eb299c4 100644 --- a/board/amlogic/u200/README +++ b/board/amlogic/u200/README @@ -27,7 +27,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make u200_defconfig makediff --git a/board/amlogic/w400/README.khadas-vim3 b/board/amlogic/w400/README.khadas-vim3 index 45ef90c1b0a9..399bf49295f6 100644 --- a/board/amlogic/w400/README.khadas-vim3 +++ b/board/amlogic/w400/README.khadas-vim3 @@ -29,7 +29,6 @@ Currently the U-Boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make khadas-vim3_defconfig makediff --git a/board/amlogic/w400/README.khadas-vim3l b/board/amlogic/w400/README.khadas-vim3l index 0afff16c0c26..b2d9abbfd9b2 100644 --- a/board/amlogic/w400/README.khadas-vim3l +++ b/board/amlogic/w400/README.khadas-vim3l @@ -29,7 +29,6 @@ Currently the U-Boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make khadas-vim3l_defconfig makediff --git a/board/amlogic/w400/README.odroid-n2 b/board/amlogic/w400/README.odroid-n2 index a8f2c3d7daa6..8142eebea007 100644 --- a/board/amlogic/w400/README.odroid-n2 +++ b/board/amlogic/w400/README.odroid-n2 @@ -28,7 +28,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make odroid-n2_defconfig makediff --git a/board/amlogic/w400/README.w400 b/board/amlogic/w400/README.w400 index 25b786d817c4..c129717a1189 100644 --- a/board/amlogic/w400/README.w400 +++ b/board/amlogic/w400/README.w400 @@ -27,7 +27,6 @@ Currently the u-boot port supports the following devices: u-boot compilation ==================
export ARCH=arm export CROSS_COMPILE=aarch64-none-elf- make w400_defconfig make
Acked-by: Neil Armstrong narmstrong@baylibre.com
participants (5)
-
Amit Tomer
-
Kever Yang
-
klaus.goger@theobroma-systems.com
-
Neil Armstrong
-
Tom Rini