Skip to contentSkip to conversation

Update the ARM trusted firmware git URL

PATCH In review Peter Robinson 3 participants 4 messages Oct 2, 2024 – Oct 4, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update the ARM trusted firmware git URL

The primary upstream URL for tf-a has moved, in some cases things like tags are not always pushed to the old URL so update the URLs to the primary upstream project URL.

---
 board/rockchip/evb_rk3399/README       | 2 +-
 board/sunxi/README.sunxi64             | 2 +-
 common/spl/Kconfig                     | 2 +-
 doc/README.rockchip                    | 2 +-
 doc/README.uniphier                    | 2 +-
 doc/board/armltd/juno.rst              | 2 +-
 doc/board/bsh/imx8mn_bsh_smm_s2.rst    | 2 +-
 doc/board/hisilicon/hikey.rst          | 4 ++--
 doc/board/hisilicon/hikey960.rst       | 4 ++--
 doc/board/kontron/pitx-imx8m.rst       | 2 +-
 doc/board/rockchip/rockchip.rst        | 2 +-
 doc/board/variscite/imx8mn_var_som.rst | 2 +-
 include/atf_common.h                   | 2 +-
 tools/binman/entries.rst               | 2 +-
 tools/binman/etype/atf_bl31.py         | 2 +-
 tools/binman/fip_util.py               | 4 ++--
 16 files changed, 19 insertions(+), 19 deletions(-)
board/rockchip/evb_rk3399/README +1 -1
index c6f58203ebe..c7caf1756d6 100644
@@ -31,7 +31,7 @@ Get the Source and prebuild binary
 
   > mkdir ~/evb_rk3399
   > cd ~/evb_rk3399
-  > git clone https://github.com/ARM-software/arm-trusted-firmware.git
+  > git clone https://github.com/TrustedFirmware-A/trusted-firmware-a.git
   > git clone https://github.com/rockchip-linux/rkbin.git
   > git clone https://github.com/rockchip-linux/rkdeveloptool.git
 
board/sunxi/README.sunxi64 +1 -1
index 4803bc9ff2f..1e4fec62b27 100644
@@ -211,6 +211,6 @@ Then write this image to a microSD card, replacing /dev/sdx with the right
 device file (see above):
 $ dd if=firmware.img of=/dev/sdx bs=8k seek=1
 
-[1] https://github.com/ARM-software/arm-trusted-firmware.git
+[1] https://github.com/TrustedFirmware-A/trusted-firmware-a.git
 [2] git://github.com/linux-sunxi/sunxi-tools.git
 [3] https://github.com/apritzel/pine64/
common/spl/Kconfig +1 -1
index c08ff064493..16b0241f770 100644
@@ -1432,7 +1432,7 @@ config SPL_ATF
 	help
 	  ATF(ARM Trusted Firmware) is a component for ARM AArch64 which
 	  is loaded by SPL (which is considered as BL2 in ATF terminology).
-	  More detail at: https://github.com/ARM-software/arm-trusted-firmware
+	  More detail at: https://github.com/TrustedFirmware-A/trusted-firmware-a
 
 config SPL_ATF_LOAD_IMAGE_V2
 	bool "Use the new LOAD_IMAGE_V2 parameter passing"
doc/README.rockchip +1 -1
index 84caff8a24d..5fcbbd1d990 100644
@@ -73,7 +73,7 @@ Building
 
    - Compile ATF
 
-     => git clone https://github.com/ARM-software/arm-trusted-firmware.git
+     => git clone https://github.com/TrustedFirmware-A/trusted-firmware-a.git
      => cd arm-trusted-firmware
 
      (export cross compiler path for Cortex-M0 MCU likely arm-none-eabi-)
doc/README.uniphier +1 -1
index af746f6c316..9f72cfa67b5 100644
@@ -104,7 +104,7 @@ U-Boot serves as a non-secure boot loader loaded by [ARM Trusted Firmware],
 so you need to provide the `u-boot.bin` to the build command of ARM Trusted
 Firmware.
 
-[ARM Trusted Firmware]: https://github.com/ARM-software/arm-trusted-firmware
+[ARM Trusted Firmware]: https://github.com/TrustedFirmware-A/trusted-firmware-a
 
 
 Verified Boot
doc/board/armltd/juno.rst +1 -1
index 761c037f92b..478f826f08a 100644
@@ -110,5 +110,5 @@ to the ``SOFTWARE/`` directory of the SD card.
 
 .. _`Juno development board`: https://developer.arm.com/tools-and-software/development-boards/juno-development-board
 .. _`V2M-Juno TRM`: https://developer.arm.com/documentation/100113/latest
-.. _`fiptool`: https://github.com/ARM-software/arm-trusted-firmware/tree/master/tools/fiptool
+.. _`fiptool`: https://github.com/TrustedFirmware-A/trusted-firmware-a/tree/master/tools/fiptool
 .. _`SCP firmware`: https://github.com/ARM-software/SCP-firmware.git
doc/board/bsh/imx8mn_bsh_smm_s2.rst +1 -1
index 2e85c1a2181..1db1c8299c7 100644
@@ -17,7 +17,7 @@ Get and Build the ARM Trusted firmware
 --------------------------------------
 
 Note: srctree is U-Boot source directory
-Get ATF from: https://github.com/ARM-software/arm-trusted-firmware
+Get ATF from: https://github.com/TrustedFirmware-A/trusted-firmware-a
 tag: v2.5
 
 .. code-block:: bash
doc/board/hisilicon/hikey.rst +2 -2
index 8038a24fe16..19b69707d32 100644
@@ -41,7 +41,7 @@ First get all the sources
   mkdir -p ~/hikey/src ~/hikey/bin
   cd ~/hikey/src
   git clone https://github.com/96boards-hikey/edk2 -b testing/hikey960_v2.5
-  git clone https://github.com/ARM-software/arm-trusted-firmware
+  git clone https://github.com/TrustedFirmware-A/trusted-firmware-a
   git clone https://github.com/96boards-hikey/l-loader -b testing/hikey960_v1.2
   git clone https://github.com/96boards-hikey/OpenPlatformPkg -b testing/hikey960_v1.3.4
   git clone https://github.com/96boards-hikey/atf-fastboot
@@ -114,7 +114,7 @@ Copy the resulting binaries
   cp recovery.bin ~/hikey/bin
 
 These instructions are adapted from
-https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/plat/hikey.rst
+https://github.com/TrustedFirmware-A/trusted-firmware-a/blob/master/docs/plat/hikey.rst
 
 Flashing
 ========
doc/board/hisilicon/hikey960.rst +2 -2
index 93e983b99f1..f726fc75039 100644
@@ -32,7 +32,7 @@ First get all the sources
 
   mkdir -p ~/hikey960/src ~/hikey960/bin
   cd ~/hikey960/src
-  git clone https://github.com/ARM-software/arm-trusted-firmware
+  git clone https://github.com/TrustedFirmware-A/trusted-firmware-a
   git clone https://github.com/96boards-hikey/OpenPlatformPkg -b testing/hikey960_v1.3.4
   git clone https://github.com/96boards-hikey/l-loader -b testing/hikey960_v1.2
   wget http://snapshots.linaro.org/reference-platform/components/uefi-staging/123/hikey960/release/config
@@ -95,7 +95,7 @@ Copy the resulting binaries
   cp l-loader.bin ~/hikey960/bin
 
 These instructions are adapted from
-https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/plat/hikey960.rst
+https://github.com/TrustedFirmware-A/trusted-firmware-a/blob/master/docs/plat/hikey960.rst
 
 Setup console
 =============
doc/board/kontron/pitx-imx8m.rst +1 -1
index 1f64cbd9b2e..1cde5bd3bb1 100644
@@ -25,7 +25,7 @@ Note: builddir is U-Boot build directory (source directory for in-tree builds)
 
 .. code-block:: bash
 
-    $ git clone https://github.com/ARM-software/arm-trusted-firmware.git
+    $ git clone https://github.com/TrustedFirmware-A/trusted-firmware-a.git
     $ git checkout v2.5
     $ make PLAT=imx8mq ARCH=aarch64 CROSS_COMPILE=aarch64-linux-gnu- bl31
     $ cp build/imx8mq/release/bl31.bin $(builddir)
doc/board/rockchip/rockchip.rst +1 -1
index 0f9cb404d93..a275e964c63 100644
@@ -166,7 +166,7 @@ To build TF-A:
 
 .. code-block:: bash
 
-        git clone --depth 1 https://github.com/ARM-software/arm-trusted-firmware.git
+        git clone --depth 1 https://github.com/TrustedFirmware-A/trusted-firmware-a.git
         cd arm-trusted-firmware
         make realclean
         make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399
doc/board/variscite/imx8mn_var_som.rst +1 -1
index aca881ea314..1b656f0be5f 100644
@@ -17,7 +17,7 @@ Get and Build the ARM Trusted firmware
 --------------------------------------
 
 Note: srctree is U-Boot source directory
-Get ATF from: https://github.com/ARM-software/arm-trusted-firmware
+Get ATF from: https://github.com/TrustedFirmware-A/trusted-firmware-a
 tag: v2.5
 
 .. code-block:: bash
include/atf_common.h +1 -1
index 5ae45090252..03cfcc69cd7 100644
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: BSD-3-Clause */
 /*
  * This is from the ARM TF Project,
- * Repository: https://github.com/ARM-software/arm-trusted-firmware.git
+ * Repository: https://github.com/TrustedFirmware-A/trusted-firmware-a.git
  * File: include/common/bl_common.h
  * Portions copyright (c) 2013-2016, ARM Limited and Contributors. All rights
  * reserved.
tools/binman/entries.rst +1 -1
index d82f7b89203..a8c0881aa11 100644
@@ -64,7 +64,7 @@ Properties / Entry arguments:
 
 This entry holds the run-time firmware, typically started by U-Boot SPL.
 See the U-Boot README for your architecture or board for how to use it. See
-https://github.com/ARM-software/arm-trusted-firmware for more information
+https://github.com/TrustedFirmware-A/trusted-firmware-a for more information
 about ATF.
 
 
tools/binman/etype/atf_bl31.py +1 -1
index 2041da416c9..a137f8e0b39 100644
@@ -16,7 +16,7 @@ class Entry_atf_bl31(Entry_blob_named_by_arg):
 
     This entry holds the run-time firmware, typically started by U-Boot SPL.
     See the U-Boot README for your architecture or board for how to use it. See
-    https://github.com/ARM-software/arm-trusted-firmware for more information
+    https://github.com/TrustedFirmware-A/trusted-firmware-a for more information
     about ATF.
     """
     def __init__(self, section, etype, node):
tools/binman/fip_util.py +2 -2
index b5caab2d37a..aca21a42d3a 100755
@@ -17,7 +17,7 @@ If ATF updates, run this program to update the FIT_TYPE_LIST.
 
 ARM Trusted Firmware is available at:
 
-https://github.com/ARM-software/arm-trusted-firmware.git
+https://github.com/TrustedFirmware-A/trusted-firmware-a.git
 """
 
 from argparse import ArgumentParser
@@ -560,7 +560,7 @@ def parse_atf_source(srcdir, dstfile, oldfile):
 
     Args:
         srcdir (str): Path to 'arm-trusted-firmware' directory. Get this from:
-            https://github.com/ARM-software/arm-trusted-firmware.git
+            https://github.com/TrustedFirmware-A/trusted-firmware-a.git
         dstfile (str): File to write new code to, if an update is needed
         oldfile (str): Python source file to compare against
 
Signature · 1 line
2.46.2
#1 lore raw
Quoted 5 lines · Peter Robinson

The primary upstream URL for tf-a has moved, in some cases things like tags are not always pushed to the old URL so update the URLs to the primary upstream project URL.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
#2 lore raw
In reply to Peter Robinson

Hi,

Quoted 29 lines · Peter Robinson

The primary upstream URL for tf-a has moved, in some cases things like tags are not always pushed to the old URL so update the URLs to the primary upstream project URL.

---
 board/rockchip/evb_rk3399/README       | 2 +-
 board/sunxi/README.sunxi64             | 2 +-
 common/spl/Kconfig                     | 2 +-
 doc/README.rockchip                    | 2 +-
 doc/README.uniphier                    | 2 +-
 doc/board/armltd/juno.rst              | 2 +-
 doc/board/bsh/imx8mn_bsh_smm_s2.rst    | 2 +-
 doc/board/hisilicon/hikey.rst          | 4 ++--
 doc/board/hisilicon/hikey960.rst       | 4 ++--
 doc/board/kontron/pitx-imx8m.rst       | 2 +-
 doc/board/rockchip/rockchip.rst        | 2 +-
 doc/board/variscite/imx8mn_var_som.rst | 2 +-
 include/atf_common.h                   | 2 +-
 tools/binman/entries.rst               | 2 +-
 tools/binman/etype/atf_bl31.py         | 2 +-
 tools/binman/fip_util.py               | 4 ++--
 16 files changed, 19 insertions(+), 19 deletions(-)
board/rockchip/evb_rk3399/README +0 -0
index c6f58203ebe..c7caf1756d6 100644

board/rockchip/evb_rk3399/README Get the Source and prebuild binary · line 37

Quoted 8 lines
board/rockchip/evb_rk3399/README +1 -1
@@ -31,7 +31,7 @@ Get the Source and prebuild binary
 
   > mkdir ~/evb_rk3399
   > cd ~/evb_rk3399
-  > git clone https://github.com/ARM-software/arm-trusted-firmware.git
+  > git clone https://github.com/TrustedFirmware-A/trusted-firmware-a.git
   > git clone https://github.com/rockchip-linux/rkbin.git
   > git clone https://github.com/rockchip-linux/rkdeveloptool.git
 

I already mentioned this on IRC, but figured that this may be a better way to communicate it.

This patch seems incomplete as the git repo's name has changed, but not all the instructions which reference it.

So for example in this patch, this is the code that follows:

Quoted 5 lines

Compile ATF
===========

Quoted 2 lines

cd arm-trusted-firmware
make realclean

That ``cd`` command doesn't work as it should be ``cd trusted-firmware-a``.

This is just an example as this issue is present in more files (which were modified by this patch).

Optionally you could consider if in f.e. ``tools/binman/fip_util.py`` ``srcdir (str): 'arm-trusted-firmware' source directory``

should be updated to trusted-firmware-a. Not an error and probably everyone understands what is meant, but for consistency it could be beneficial if they're all updated.

doc/README.rockchip Building · line 79

Quoted 13 lines
doc/README.rockchip +1 -1
index 84caff8a24d..5fcbbd1d990 100644
@@ -73,7 +73,7 @@ Building
 
    - Compile ATF
 
-     => git clone https://github.com/ARM-software/arm-trusted-firmware.git
+     => git clone https://github.com/TrustedFirmware-A/trusted-firmware-a.git
      => cd arm-trusted-firmware
 
      (export cross compiler path for Cortex-M0 MCU likely arm-none-eabi-)

This is one of those others that should be updated (and is directly visible on
https://source.denx.de/u-boot/u-boot/-/commit/0ec0207fe07356bddb10db717e21c261bebfb989

Cheers,
Diederik

#3 lore raw

Hey,

Quoted 30 lines
Quoted 30 lines

The primary upstream URL for tf-a has moved, in some cases things like tags are not always pushed to the old URL so update the URLs to the primary upstream project URL.

---
 board/rockchip/evb_rk3399/README       | 2 +-
 board/sunxi/README.sunxi64             | 2 +-
 common/spl/Kconfig                     | 2 +-
 doc/README.rockchip                    | 2 +-
 doc/README.uniphier                    | 2 +-
 doc/board/armltd/juno.rst              | 2 +-
 doc/board/bsh/imx8mn_bsh_smm_s2.rst    | 2 +-
 doc/board/hisilicon/hikey.rst          | 4 ++--
 doc/board/hisilicon/hikey960.rst       | 4 ++--
 doc/board/kontron/pitx-imx8m.rst       | 2 +-
 doc/board/rockchip/rockchip.rst        | 2 +-
 doc/board/variscite/imx8mn_var_som.rst | 2 +-
 include/atf_common.h                   | 2 +-
 tools/binman/entries.rst               | 2 +-
 tools/binman/etype/atf_bl31.py         | 2 +-
 tools/binman/fip_util.py               | 4 ++--
 16 files changed, 19 insertions(+), 19 deletions(-)
board/rockchip/evb_rk3399/README +0 -0
index c6f58203ebe..c7caf1756d6 100644
@@ -31,7 +31,7 @@ Get the Source and prebuild binary
 
Quoted 10 lines

board/rockchip/evb_rk3399/README Get the Source and prebuild binary · line 37

Quoted 7 lines
board/rockchip/evb_rk3399/README +1 -1
   > mkdir ~/evb_rk3399
   > cd ~/evb_rk3399
-  > git clone https://github.com/ARM-software/arm-trusted-firmware.git
+  > git clone https://github.com/TrustedFirmware-A/trusted-firmware-a.git
   > git clone https://github.com/rockchip-linux/rkbin.git
   > git clone https://github.com/rockchip-linux/rkdeveloptool.git
 

I already mentioned this on IRC, but figured that this may be a better way to communicate it.

Yes, you didn't mention me so I didn't see a ping on the channel :)

Quoted 2 lines

This patch seems incomplete as the git repo's name has changed, but not all the instructions which reference it.

Thanks for catching this, will review and do a follow up.

Quoted 40 lines

So for example in this patch, this is the code that follows:

Quoted 5 lines

Compile ATF
===========

Quoted 2 lines

cd arm-trusted-firmware
make realclean

That ``cd`` command doesn't work as it should be ``cd trusted-firmware-a``.

This is just an example as this issue is present in more files (which were modified by this patch).

Optionally you could consider if in f.e. ``tools/binman/fip_util.py`` ``srcdir (str): 'arm-trusted-firmware' source directory``

should be updated to trusted-firmware-a. Not an error and probably everyone understands what is meant, but for consistency it could be beneficial if they're all updated.

doc/README.rockchip Building · line 79

Quoted 13 lines
doc/README.rockchip +1 -1
index 84caff8a24d..5fcbbd1d990 100644
@@ -73,7 +73,7 @@ Building
 
    - Compile ATF
 
-     => git clone https://github.com/ARM-software/arm-trusted-firmware.git
+     => git clone https://github.com/TrustedFirmware-A/trusted-firmware-a.git
      => cd arm-trusted-firmware
 
      (export cross compiler path for Cortex-M0 MCU likely arm-none-eabi-)

This is one of those others that should be updated (and is directly visible on
https://source.denx.de/u-boot/u-boot/-/commit/0ec0207fe07356bddb10db717e21c261bebfb989

Cheers,
Diederik