Skip to contentSkip to conversation

ti-rtos: Fix J7200 builds by dropping evm

PATCH In review Nishanth Menon 3 participants 10 messages Mar 5, 2021 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-rtos: Fix J7200 builds by dropping evm

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")
---
 recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +2 -2
index ed62b876e4db..dffd51abda66 100644
@@ -31,7 +31,7 @@ DEFAULT_RTOS_VERSION_DOT_am65xx = "07.03.00.10"
 
 DEFAULT_RTOS_SOC = "undefined"
 DEFAULT_RTOS_SOC_j7 = "j721e"
-DEFAULT_RTOS_SOC_j7200-evm = "j7200"
+DEFAULT_RTOS_SOC_j7200 = "j7200"
 DEFAULT_RTOS_SOC_am65xx = "am65xx"
 DEFAULT_RTOS_SOC_am64xx = "am64x"
 
@@ -47,7 +47,7 @@ DEFAULT_FIRMWARE_URL_k3 = "${CORESDK_RTOS_WEBLINK}/${DEFAULT_FIRMWARE_FILE}"
 
 DEFAULT_FIRMWARE_SHA256SUM = "unknown"
 DEFAULT_FIRMWARE_SHA256SUM_j7 = "69cc16c30c895fe813002bd7bdb3d30e6ca622d86b008a6bf6e2a24b86550969"
-DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
+DEFAULT_FIRMWARE_SHA256SUM_j7200 = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
 DEFAULT_FIRMWARE_SHA256SUM_am65xx = "aa121c10d3099dd61ef898717245ecee25b501170607c9a95afd741e05783a5d"
 DEFAULT_FIRMWARE_SHA256SUM_am64xx = "9e9efeef0b1dbb101de97e58cfda8bf052a697f2ea635fdf6ca5158fffdc212b"
 
Signature · 1 line
2.25.1.377.g2d2118b814c1
#1 lore raw
Quoted 5 lines · Nishanth Menon

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

^^ above link should have been:
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_10_firmware.tar.xz

if you need me to send a v2 with fixups, i can.. or if that is the only comment, then might be helpful to get a fixup while applying..

Quoted 32 lines
Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")
---
 recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +2 -2
index ed62b876e4db..dffd51abda66 100644
@@ -31,7 +31,7 @@ DEFAULT_RTOS_VERSION_DOT_am65xx = "07.03.00.10"
 
 DEFAULT_RTOS_SOC = "undefined"
 DEFAULT_RTOS_SOC_j7 = "j721e"
-DEFAULT_RTOS_SOC_j7200-evm = "j7200"
+DEFAULT_RTOS_SOC_j7200 = "j7200"
 DEFAULT_RTOS_SOC_am65xx = "am65xx"
 DEFAULT_RTOS_SOC_am64xx = "am64x"
 
@@ -47,7 +47,7 @@ DEFAULT_FIRMWARE_URL_k3 = "${CORESDK_RTOS_WEBLINK}/${DEFAULT_FIRMWARE_FILE}"
 
 DEFAULT_FIRMWARE_SHA256SUM = "unknown"
 DEFAULT_FIRMWARE_SHA256SUM_j7 = "69cc16c30c895fe813002bd7bdb3d30e6ca622d86b008a6bf6e2a24b86550969"
-DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
+DEFAULT_FIRMWARE_SHA256SUM_j7200 = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
 DEFAULT_FIRMWARE_SHA256SUM_am65xx = "aa121c10d3099dd61ef898717245ecee25b501170607c9a95afd741e05783a5d"
 DEFAULT_FIRMWARE_SHA256SUM_am64xx = "9e9efeef0b1dbb101de97e58cfda8bf052a697f2ea635fdf6ca5158fffdc212b"
 
Signature · 1 line
2.25.1.377.g2d2118b814c1
Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#2 lore raw
Quoted 4 lines · Nishanth Menon
Quoted 3 lines · Nishanth Menon

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

Quoted 8 lines
Quoted 2 lines

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

^^ above link should have been:
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_10_firmware.tar.xz

if you need me to send a v2 with fixups, i can.. or if that is the only comment, then might be helpful to get a fixup while applying..

I'm failing to see the issue here...

Of course, using "_j7200" instead of "_j7200-evm" is more preferred to cover other variants, like potential "j7200-hs-evm", but when building for j7200-evm should result in the same output. I would need to reproduce it - any another pointers?

Quoted 37 lines
Quoted 31 lines
Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")
---
 recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +2 -2
index ed62b876e4db..dffd51abda66 100644
@@ -31,7 +31,7 @@ DEFAULT_RTOS_VERSION_DOT_am65xx = "07.03.00.10"
 
 DEFAULT_RTOS_SOC = "undefined"
 DEFAULT_RTOS_SOC_j7 = "j721e"
-DEFAULT_RTOS_SOC_j7200-evm = "j7200"
+DEFAULT_RTOS_SOC_j7200 = "j7200"
 DEFAULT_RTOS_SOC_am65xx = "am65xx"
 DEFAULT_RTOS_SOC_am64xx = "am64x"
 
@@ -47,7 +47,7 @@ DEFAULT_FIRMWARE_URL_k3 = "${CORESDK_RTOS_WEBLINK}/${DEFAULT_FIRMWARE_FILE}"
 
 DEFAULT_FIRMWARE_SHA256SUM = "unknown"
 DEFAULT_FIRMWARE_SHA256SUM_j7 = "69cc16c30c895fe813002bd7bdb3d30e6ca622d86b008a6bf6e2a24b86550969"
-DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
+DEFAULT_FIRMWARE_SHA256SUM_j7200 = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
 DEFAULT_FIRMWARE_SHA256SUM_am65xx = "aa121c10d3099dd61ef898717245ecee25b501170607c9a95afd741e05783a5d"
 DEFAULT_FIRMWARE_SHA256SUM_am64xx = "9e9efeef0b1dbb101de97e58cfda8bf052a697f2ea635fdf6ca5158fffdc212b"
 
Signature · 1 line
2.25.1.377.g2d2118b814c1
Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 11 lines · Denys Dmytriyenko
Quoted 10 lines · Nishanth Menon
Quoted 5 lines · Nishanth Menon

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

^^ above link should have been:
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_10_firmware.tar.xz

Quoted 6 lines
Quoted 2 lines

if you need me to send a v2 with fixups, i can.. or if that is the only comment, then might be helpful to get a fixup while applying..

I'm failing to see the issue here...

Of course, using "_j7200" instead of "_j7200-evm" is more preferred to cover

Actually, that is wishful thinking - there's NO "j7200" SOC_FAMILY set up at all! So this patch is completely incorrect, as there's no such override as _j7200, only _j7200-evm. Something else is going on...

Quoted 42 lines

other variants, like potential "j7200-hs-evm", but when building for j7200-evm should result in the same output. I would need to reproduce it - any another pointers?

Quoted 37 lines
Quoted 31 lines
Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")
---
 recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +2 -2
index ed62b876e4db..dffd51abda66 100644
@@ -31,7 +31,7 @@ DEFAULT_RTOS_VERSION_DOT_am65xx = "07.03.00.10"
 
 DEFAULT_RTOS_SOC = "undefined"
 DEFAULT_RTOS_SOC_j7 = "j721e"
-DEFAULT_RTOS_SOC_j7200-evm = "j7200"
+DEFAULT_RTOS_SOC_j7200 = "j7200"
 DEFAULT_RTOS_SOC_am65xx = "am65xx"
 DEFAULT_RTOS_SOC_am64xx = "am64x"
 
@@ -47,7 +47,7 @@ DEFAULT_FIRMWARE_URL_k3 = "${CORESDK_RTOS_WEBLINK}/${DEFAULT_FIRMWARE_FILE}"
 
 DEFAULT_FIRMWARE_SHA256SUM = "unknown"
 DEFAULT_FIRMWARE_SHA256SUM_j7 = "69cc16c30c895fe813002bd7bdb3d30e6ca622d86b008a6bf6e2a24b86550969"
-DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
+DEFAULT_FIRMWARE_SHA256SUM_j7200 = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
 DEFAULT_FIRMWARE_SHA256SUM_am65xx = "aa121c10d3099dd61ef898717245ecee25b501170607c9a95afd741e05783a5d"
 DEFAULT_FIRMWARE_SHA256SUM_am64xx = "9e9efeef0b1dbb101de97e58cfda8bf052a697f2ea635fdf6ca5158fffdc212b"
 
Signature · 1 line
2.25.1.377.g2d2118b814c1
Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Tested-by on v1 1/1
#5 lore raw
In reply to Nishanth Menon
Quoted 8 lines · Nishanth Menon via lists.yoctoproject.org

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")

For the sake of completeness can you add default web link for j7200? I still couldn't figure out how the weblink is populated when default is undefined.

DEFAULT_RTOS_WEBLINK_j7200 =
"https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

However, for the patch

Thanks and regards,
Lokesh

Quoted 28 lines

---
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 4 ++--

 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +2 -2
index ed62b876e4db..dffd51abda66 100644
@@ -31,7 +31,7 @@ DEFAULT_RTOS_VERSION_DOT_am65xx = "07.03.00.10"
 
 DEFAULT_RTOS_SOC = "undefined"
 DEFAULT_RTOS_SOC_j7 = "j721e"
-DEFAULT_RTOS_SOC_j7200-evm = "j7200"
+DEFAULT_RTOS_SOC_j7200 = "j7200"
 DEFAULT_RTOS_SOC_am65xx = "am65xx"
 DEFAULT_RTOS_SOC_am64xx = "am64x"
 
@@ -47,7 +47,7 @@ DEFAULT_FIRMWARE_URL_k3 = "${CORESDK_RTOS_WEBLINK}/${DEFAULT_FIRMWARE_FILE}"
 
 DEFAULT_FIRMWARE_SHA256SUM = "unknown"
 DEFAULT_FIRMWARE_SHA256SUM_j7 = "69cc16c30c895fe813002bd7bdb3d30e6ca622d86b008a6bf6e2a24b86550969"
-DEFAULT_FIRMWARE_SHA256SUM_j7200-evm = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
+DEFAULT_FIRMWARE_SHA256SUM_j7200 = "a16865d928b2b00bfca64e0c41b02dcfc0ac8ec1ce125fbfd3581a1c610847f8"
 DEFAULT_FIRMWARE_SHA256SUM_am65xx = "aa121c10d3099dd61ef898717245ecee25b501170607c9a95afd741e05783a5d"
 DEFAULT_FIRMWARE_SHA256SUM_am64xx = "9e9efeef0b1dbb101de97e58cfda8bf052a697f2ea635fdf6ca5158fffdc212b"
 
#6 lore raw
Quoted 9 lines · Lokesh Vutla
Quoted 6 lines · Nishanth Menon via lists.yoctoproject.org

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

Quoted 9 lines
Quoted 2 lines
Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")

For the sake of completeness can you add default web link for j7200? I still couldn't figure out how the weblink is populated when default is undefined.

DEFAULT_RTOS_WEBLINK_j7200 =
"https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

I believe _j7 does matchup j7200, hence it works and adding _j7200 will be redundant..

DEFAULT_RTOS_WEBLINK_j7 = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

I am a noobie on this, so will be interested in folk's feedback.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#7 lore raw
Quoted 16 lines · Nishanth Menon
Quoted 15 lines · Lokesh Vutla
Quoted 8 lines · Nishanth Menon via lists.yoctoproject.org

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")

For the sake of completeness can you add default web link for j7200? I still couldn't figure out how the weblink is populated when default is undefined.

Quoted 8 lines
Quoted 3 lines

DEFAULT_RTOS_WEBLINK_j7200 =
"https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

I believe _j7 does matchup j7200, hence it works and adding _j7200 will be redundant..

DEFAULT_RTOS_WEBLINK_j7 = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

looks like it is...
j7200 machine include conf/machine/include/j7.inc

which has SOC_FAMILY_append = ":j7"

I see URLs for all the SoCs except for j7200. Just trying to be consistent :)

Thanks and regards,
Lokesh

Quoted 3 lines

I am a noobie on this, so will be interested in folk's feedback.

#8 lore raw
In reply to Nishanth Menon
Quoted 16 lines · Nishanth Menon
Quoted 15 lines · Lokesh Vutla
Quoted 8 lines · Nishanth Menon via lists.yoctoproject.org

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")

For the sake of completeness can you add default web link for j7200? I still couldn't figure out how the weblink is populated when default is undefined.

Quoted 6 lines
Quoted 3 lines

DEFAULT_RTOS_WEBLINK_j7200 =
"https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

I believe _j7 does matchup j7200, hence it works and adding _j7200 will be redundant..

From least specific to most specific for j7200-evm machine:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7200-evm"

For comparison, the same for j7-evm:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7-evm"

Or j7-hs-evm:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7-hs-evm"

All of them are in the same "j7" SOC_FAMILY, as that was supposed to be a superset for J7 family, even though ended up being rather specific to j721e...

So, when you use _j7 override, that covers j7-evm, j7-hs-evm, j7200-evm an so on.

Quoted 9 lines

DEFAULT_RTOS_WEBLINK_j7 = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

I am a noobie on this, so will be interested in folk's feedback.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
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
#9 lore raw

Hi Denys,

Quoted 21 lines · Denys Dmytriyenko
Quoted 20 lines · Nishanth Menon
Quoted 18 lines · Lokesh Vutla
Quoted 8 lines · Nishanth Menon via lists.yoctoproject.org

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")

For the sake of completeness can you add default web link for j7200? I still couldn't figure out how the weblink is populated when default is undefined.

DEFAULT_RTOS_WEBLINK_j7200 =
"https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

Quoted 6 lines
Quoted 2 lines

I believe _j7 does matchup j7200, hence it works and adding _j7200 will be redundant..

From least specific to most specific for j7200-evm machine:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7200-evm"

Thanks for the explanation. Where does this variable (MACHINEOVERRIDES) get populated?

Thanks and regards,
Lokesh

Quoted 26 lines

For comparison, the same for j7-evm:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7-evm"

Or j7-hs-evm:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7-hs-evm"

All of them are in the same "j7" SOC_FAMILY, as that was supposed to be a superset for J7 family, even though ended up being rather specific to j721e...

So, when you use _j7 override, that covers j7-evm, j7-hs-evm, j7200-evm an so on.

Quoted 9 lines

DEFAULT_RTOS_WEBLINK_j7 = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

I am a noobie on this, so will be interested in folk's feedback.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#10 lore raw
Quoted 27 lines · Lokesh Vutla

Hi Denys,

Quoted 24 lines · Denys Dmytriyenko
Quoted 22 lines · Nishanth Menon
Quoted 9 lines · Lokesh Vutla
Quoted 6 lines · Nishanth Menon via lists.yoctoproject.org

"evm" prefix messes up the pattern matchup for J7200 and falls back into default, as a result, we attempt to pull [1] instead of [2].

[1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_12/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz
[2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/07_03_00_10/coresdk_rtos_j7200_07_03_00_12_firmware.tar.xz

Quoted 9 lines
Quoted 2 lines
Fixes 77cdfa9f6560 ("ti-rtos: Update metadata and versions for RTOS firmware")

For the sake of completeness can you add default web link for j7200? I still couldn't figure out how the weblink is populated when default is undefined.

DEFAULT_RTOS_WEBLINK_j7200 =
"https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

I believe _j7 does matchup j7200, hence it works and adding _j7200 will be redundant..

Quoted 6 lines
Quoted 3 lines

From least specific to most specific for j7200-evm machine:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7200-evm"

Thanks for the explanation. Where does this variable (MACHINEOVERRIDES) get populated?

It is being composed from different places. It starts with MACHINE on the right. Then SOC_FAMILY list gets built from different .inc files in meta-ti. And finally tune features for arch-arm64 prepend it with "aarch64" on the left. And it would be "armv5", "armv7a" or "armv7ve" for legacy platforms.

So, roughly MACHINEOVERRIDES=${ARCH}:${SOC_FAMILY}:${MACHINE}

Quoted 30 lines

Thanks and regards,
Lokesh

Quoted 26 lines

For comparison, the same for j7-evm:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7-evm"

Or j7-hs-evm:

MACHINEOVERRIDES="aarch64:ti-soc:k3:j7:j7-hs-evm"

All of them are in the same "j7" SOC_FAMILY, as that was supposed to be a superset for J7 family, even though ended up being rather specific to j721e...

So, when you use _j7 override, that covers j7-evm, j7-hs-evm, j7200-evm an so on.

Quoted 9 lines

DEFAULT_RTOS_WEBLINK_j7 = "https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/firmware/${CORESDK_RTOS_VERSION}"

I am a noobie on this, so will be interested in folk's feedback.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
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