Skip to contentSkip to conversation

branding-ltsprep: LTS migration brand

PATCH Superseded Ryan Eatmon 4 participants 4 messages Mar 17, 2023

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 branding-ltsprep: LTS migration brand

Add a new brand to control picking the next LTS version of kernel and u-boot while they are under development.

---
v2: Make the versions wildcarded so that they actually match...

 .../conf/distro/include/branding-ltsprep.inc          | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-ltsprep.inc
meta-arago-distro/conf/distro/include/branding-ltsprep.inc new file +11 -0
new file mode 100644
index 00000000..0238327c
@@ -0,0 +1,11 @@
+
+PREFERRED_VERSION_linux-ti-staging = "6.1%"
+PREFERRED_VERSION_linux-ti-staging-rt = "6.1%"
+PREFERRED_VERSION_linux-ti-staging-systest = "6.1%"
+PREFERRED_VERSION_u-boot-ti-staging = "2023.01%"
+
+# GPU support requires out-of-tree SGX and RGX drivers not available in until
+# LTS prep is complete.  fall back to software rendering
+MACHINE_FEATURES:remove = "gpu"
+PREFERRED_PROVIDER_virtual/gpudriver = ""
+
Signature · 1 line
2.17.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 4 lines · Ryan Eatmon

Add a new brand to control picking the next LTS version of kernel and u-boot while they are under development.

Quoted 24 lines

---
v2: Make the versions wildcarded so that they actually match...

  .../conf/distro/include/branding-ltsprep.inc          | 11 +++++++++++
  1 file changed, 11 insertions(+)

create mode 100644 meta-arago-distro/conf/distro/include/branding-ltsprep.inc

meta-arago-distro/conf/distro/include/branding-ltsprep.inc new file +11 -0
new file mode 100644
index 00000000..0238327c
@@ -0,0 +1,11 @@
+
+PREFERRED_VERSION_linux-ti-staging = "6.1%"
+PREFERRED_VERSION_linux-ti-staging-rt = "6.1%"
+PREFERRED_VERSION_linux-ti-staging-systest = "6.1%"
+PREFERRED_VERSION_u-boot-ti-staging = "2023.01%"
+
+# GPU support requires out-of-tree SGX and RGX drivers not available in until
+# LTS prep is complete.  fall back to software rendering
+MACHINE_FEATURES:remove = "gpu"
+PREFERRED_PROVIDER_virtual/gpudriver = ""
+
Acked-by on v2 1/1
#2 lore raw
In reply to Ryan Eatmon
Quoted 17 lines · Ryan Eatmon via lists.yoctoproject.org

Add a new brand to control picking the next LTS version of kernel and u-boot while they are under development.

---
v2: Make the versions wildcarded so that they actually match...

  .../conf/distro/include/branding-ltsprep.inc          | 11 +++++++++++
  1 file changed, 11 insertions(+)

create mode 100644 meta-arago-distro/conf/distro/include/branding-ltsprep.inc

meta-arago-distro/conf/distro/include/branding-ltsprep.inc new file +0 -0
new file mode 100644
index 00000000..0238327c

meta-arago-distro/conf/distro/include/branding-ltsprep.inc line 9

Quoted 9 lines
meta-arago-distro/conf/distro/include/branding-ltsprep.inc new file +9 -0
@@ -0,0 +1,11 @@
+
+PREFERRED_VERSION_linux-ti-staging = "6.1%"
+PREFERRED_VERSION_linux-ti-staging-rt = "6.1%"
+PREFERRED_VERSION_linux-ti-staging-systest = "6.1%"
+PREFERRED_VERSION_u-boot-ti-staging = "2023.01%"
+
+# GPU support requires out-of-tree SGX and RGX drivers not available in until
+# LTS prep is complete.  fall back to software rendering
+MACHINE_FEATURES:remove = "gpu"

We can leave the MACHINE_FEATURES as is, that way we still build the GUI bits, only the below line is needed to switch to software rendering.

Otherwise, I would have preferred this patch the other way, have a new branding to use the old unsupported kernel. Either way this seems reasonable for now.

Quoted 2 lines
meta-arago-distro/conf/distro/include/branding-ltsprep.inc new file +2 -0
+PREFERRED_PROVIDER_virtual/gpudriver = ""
+
#3 lore raw
Quoted 22 lines · Andrew Davis via lists.yoctoproject.org
Quoted 21 lines · Ryan Eatmon via lists.yoctoproject.org

Add a new brand to control picking the next LTS version of kernel and u-boot while they are under development.

---
v2: Make the versions wildcarded so that they actually match...

 .../conf/distro/include/branding-ltsprep.inc          | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-ltsprep.inc
meta-arago-distro/conf/distro/include/branding-ltsprep.inc new file +4 -0
new file mode 100644
index 00000000..0238327c
@@ -0,0 +1,11 @@
+
+PREFERRED_VERSION_linux-ti-staging = "6.1%"
+PREFERRED_VERSION_linux-ti-staging-rt = "6.1%"
+PREFERRED_VERSION_linux-ti-staging-systest = "6.1%"
Quoted 8 lines

meta-arago-distro/conf/distro/include/branding-ltsprep.inc line 9

Quoted 5 lines
meta-arago-distro/conf/distro/include/branding-ltsprep.inc new file +5 -0
+PREFERRED_VERSION_u-boot-ti-staging = "2023.01%"
+
+# GPU support requires out-of-tree SGX and RGX drivers not available in until
+# LTS prep is complete.  fall back to software rendering
+MACHINE_FEATURES:remove = "gpu"

We can leave the MACHINE_FEATURES as is, that way we still build the GUI bits, only the below line is needed to switch to software rendering.

There's at least one demo in Arago that requires HW accelerated graphics and doesn't make sense with software rendering, hence it still checks for "gpu" machine feature.

Quoted 2 lines

Otherwise, I would have preferred this patch the other way, have a new branding to use the old unsupported kernel. Either way this seems reasonable for now.

I guess we could switch Arago to default to 6.1, as long as we keep meta-ti on 5.10 for the migration phase.

Quoted 3 lines
Quoted 1 line
meta-arago-distro/conf/distro/include/branding-ltsprep.inc new file +1 -0
+PREFERRED_PROVIDER_virtual/gpudriver = ""