Skip to contentSkip to conversation

recipes-bsp: u-boot-ti-mainline: Update to v2021.04 release

PATCH In review Nishanth Menon 2 participants 2 messages Apr 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes-bsp: u-boot-ti-mainline: Update to v2021.04 release

Update u-boot recipe to be on the bleeding upstream tag.

While at it, also update the u-boot source url to point to the new server as per [1].

While it may be redundant, lets document the usage of URI and PROTOCOL for those, who (cough), may get tripped otherwise.

[1] https://source.denx.de/u-boot/u-boot/-/commit/a3bbd0b912f9afff745247fe9641961875322926

---
Changes since V2:
- Things actually builds :)
- Moaar documentation - could be redundant, but better help folks along.. a few bytes dont really matter

V2: https://lists.yoctoproject.org/g/meta-ti/message/13683?p=,,,20,0,0,0::Created,,mainline,20,2,0,82119050
V1: https://lists.yoctoproject.org/g/meta-ti/message/13682?p=,,,20,0,0,0::Created,,mainline,20,2,0,82118299

 recipes-bsp/u-boot/u-boot-ti-mainline_git.bb | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
recipes-bsp/u-boot/u-boot-ti-mainline_git.bb +12 -4
index ee0b17640807..0d3f33ef8ff6 100644
@@ -4,7 +4,15 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
 PR = "r0"
 
-PV = "2020.10"
-UBOOT_GIT_URI = "git://gitlab.denx.de/u-boot/u-boot.git"
-UBOOT_GIT_PROTOCOL = "http"
-SRCREV = "050acee119b3757fee3bd128f55d720fdd9bb890"
+PV = "2021.04"
+
+# For the un-initiated:
+# The actual URL you'd use with a git clone for example would be:
+# https://source.denx.de/u-boot/u-boot.git/
+# However, in the context of OE, we have to explicitly split things up:
+# a) we want it to use git fetcher - hence git:// prefix in GIT_URI (if we
+#  used https here, we'd endup attempting wget instead of git)
+# b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https
+UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
+UBOOT_GIT_PROTOCOL = "https"
+SRCREV = "b46dd116ce03e235f2a7d4843c6278e1da44b5e1"
Signature · 1 line
2.31.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Nishanth Menon

Update u-boot recipe to be on the bleeding upstream tag.

While at it, also update the u-boot source url to point to the new server as per [1].

While it may be redundant, lets document the usage of URI and PROTOCOL for those, who (cough), may get tripped otherwise.

[1] https://source.denx.de/u-boot/u-boot/-/commit/a3bbd0b912f9afff745247fe9641961875322926

Quoted 38 lines

---
Changes since V2:
- Things actually builds :)
- Moaar documentation - could be redundant, but better help folks along.. a few bytes dont really matter

V2: https://lists.yoctoproject.org/g/meta-ti/message/13683?p=,,,20,0,0,0::Created,,mainline,20,2,0,82119050
V1: https://lists.yoctoproject.org/g/meta-ti/message/13682?p=,,,20,0,0,0::Created,,mainline,20,2,0,82118299

 recipes-bsp/u-boot/u-boot-ti-mainline_git.bb | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
recipes-bsp/u-boot/u-boot-ti-mainline_git.bb +12 -4
index ee0b17640807..0d3f33ef8ff6 100644
@@ -4,7 +4,15 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
 PR = "r0"
 
-PV = "2020.10"
-UBOOT_GIT_URI = "git://gitlab.denx.de/u-boot/u-boot.git"
-UBOOT_GIT_PROTOCOL = "http"
-SRCREV = "050acee119b3757fee3bd128f55d720fdd9bb890"
+PV = "2021.04"
+
+# For the un-initiated:
+# The actual URL you'd use with a git clone for example would be:
+# https://source.denx.de/u-boot/u-boot.git/
+# However, in the context of OE, we have to explicitly split things up:
+# a) we want it to use git fetcher - hence git:// prefix in GIT_URI (if we
+#  used https here, we'd endup attempting wget instead of git)
+# b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https
+UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
+UBOOT_GIT_PROTOCOL = "https"
+SRCREV = "b46dd116ce03e235f2a7d4843c6278e1da44b5e1"
Signature · 1 line
2.31.0
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964