doc: imx95_evk: Update Arm GNU toolchain version to 14.2
Fabio Estevam
reviewerPATCH 1/2 doc: imx95_evk: Update Arm GNU toolchain version to 14.2
From: Fabio Estevam <[email protected]>
The imx-oei and imx-sm build systems defaults to:
TC_VERSION ?= 14.2.rel1
but the documentation still instructs users to download the 13.3 toolchain. This causes the build to fail because the expected directory name does not exist.
Update the documentation to reference the 14.2 toolchain to match the build system default.
--- doc/board/nxp/imx95_evk.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
doc/board/nxp/imx95_evk.rst +4 -4
@@ -60,8 +60,8 @@ branch: master .. code-block:: bash $ sudo apt -y install make gcc g++-multilib srecord - $ wget https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz - $ tar xvf arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz + $ wget https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz + $ tar xvf arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz $ export TOOLS=$PWD $ git clone -b master https://github.com/nxp-imx/imx-oei.git $ cd imx-oei
@@ -100,8 +100,8 @@ branch: master .. code-block:: bash $ sudo apt -y install make gcc g++-multilib srecord - $ wget https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz - $ tar xvf arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz + $ wget https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz + $ tar xvf arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz $ export TOOLS=$PWD $ git clone -b master https://github.com/nxp-imx/imx-sm.git $ cd imx-sm
Signature · 1 line
2.43.0
Fabio Estevam
reviewerPATCH 2/2 doc: imx95_evk: Fix the binary name
From: Fabio Estevam <[email protected]>
U-Boot produces flash.bin as the final boot image when building for the i.MX95 EVK, but the documentation refers to imx-boot-imx95.bin.
Update the instructions to use flash.bin when copying the image to the SD card.
--- doc/board/nxp/imx95_evk.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/board/nxp/imx95_evk.rst +1 -1
@@ -152,7 +152,7 @@ i.MX95 B0 silicon version on 15x15 LPDDR4X EVK $ make imx95_15x15_evk_defconfig $ make -Copy imx-boot-imx95.bin to the MicroSD card: +Copy flash.bin to the MicroSD card: .. code-block:: bash
Signature · 1 line
2.43.0
Quoted 34 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The imx-oei and imx-sm build systems defaults to:
TC_VERSION?= 14.2.rel1but the documentation still instructs users to download the 13.3 toolchain. This causes the build to fail because the expected directory name does not exist.
Update the documentation to reference the 14.2 toolchain to match the build system default.
Signed-off-by Fabio Estevam <[email protected]>--- doc/board/nxp/imx95_evk.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)doc/board/nxp/imx95_evk.rst +2
-2@@ -60,8 +60,8 @@ branch: master .. code-block:: bash $ sudo apt -y install make gcc g++-multilib srecord - $ wget https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz - $ tar xvf arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz + $ wget https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz + $ tar xvf arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz $ export TOOLS=$PWD $ git clone -b master https://github.com/nxp-imx/imx-oei.git $ cd imx-oei
doc/board/nxp/imx95_evk.rst branch: master · line 107
Quoted 10 lines
doc/board/nxp/imx95_evk.rst +2
-2@@ -100,8 +100,8 @@ branch: master .. code-block:: bash $ sudo apt -y install make gcc g++-multilib srecord - $ wget https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz - $ tar xvf arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz + $ wget https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz + $ tar xvf arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz $ export TOOLS=$PWD $ git clone -b master https://github.com/nxp-imx/imx-sm.git $ cd imx-sm
As this is no worse than before, OK. But we should really be globally consistent about toolchain wording and that CI runs with the kernel.org community toolchains.
Signature · 1 line
Tom
Fabio Estevam
reviewerQuoted 3 lines · Tom Rini
As this is no worse than before, OK. But we should really be globally consistent about toolchain wording and that CI runs with the kernel.org community toolchains.
These specific Arm toolchains are required to build imx-oei and imx-sm binaries only.
The U-Boot binary is still built by a standard toolchain.
Quoted 10 lines · Fabio Estevam
Quoted 3 lines · Tom Rini
As this is no worse than before, OK. But we should really be globally consistent about toolchain wording and that CI runs with the kernel.org community toolchains.
These specific Arm toolchains are required to build imx-oei and imx-sm binaries only.
The U-Boot binary is still built by a standard toolchain.
Right, but we generally tell people to just use the same toolchains they have access to, instead of relying on specific ones. I'm sure NXP qualified their binaries on something specific there but it would be a bit shocking these days if regular old gcc 13.x / 14.x didn't Just Work. But it's not just NXP with links to specific toolchains, I see it for other vendors right now in tree too. It just caught my eye as something that we should be better and more consistent about.
Signature · 1 line
Tom
Quoted 5 lines
Subject: [PATCH 1/2] doc:
imx95_evk: Update Arm GNU toolchain version to 14.2From: Fabio Estevam <[email protected]>
Quoted 8 lines
The imx-oei and imx-sm build systems defaults to:
TC_VERSION?= 14.2.rel1but the documentation still instructs users to download the 13.3 toolchain.
This causes the build to fail because the expected directory name does not exist.
I am still using 12.3.1 at my local, a bit sad that 13.3 would cause issue.
But anyway it is good to have doc updated.
Quoted 5 lines
Update the documentation to reference the 14.2 toolchain to match the build system default.
Signed-off-by Fabio Estevam <[email protected]>