Skip to contentSkip to conversation

ti-kernel-fitimage: Add ti-secdev

PATCH Superseded Ryan Eatmon 2 participants 3 messages Jul 15, 2025 – Jul 16, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-kernel-fitimage: Add ti-secdev

In order to turn the fitImage signing back on, we need to inherit the ti-secdev class to setup all of the needed signing variables.

---
 meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb +2 -0
index dae76387..a5e6a280 100644
@@ -3,6 +3,8 @@ FIT_CONF_PREFIX ?= "conf-ti_"
 
 require recipes-kernel/linux/linux-yocto-fitimage.bb
 
+inherit ti-secdev
+
 include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
 
 do_compile[depends] += "virtual/kernel:do_shared_workdir"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 2 lines · Ryan Eatmon via lists.yoctoproject.org

In order to turn the fitImage signing back on, we need to inherit the ti-secdev class to setup all of the needed signing variables.

+ Andrew

I don't believe we need ti-secdev in the main kernel recipe any more now that fitImage got split out into its own recipe...

So this patch should rather be "move" ti-secdev instead of "add"?

Quoted 20 lines
---
 meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb +2 -0
index dae76387..a5e6a280 100644
@@ -3,6 +3,8 @@ FIT_CONF_PREFIX ?= "conf-ti_"
 
 require recipes-kernel/linux/linux-yocto-fitimage.bb
 
+inherit ti-secdev
+
 include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
 
 do_compile[depends] += "virtual/kernel:do_shared_workdir"
Signature · 1 line
2.17.1
#2 lore raw
Quoted 10 lines · Denys Dmytriyenko
Quoted 2 lines · Ryan Eatmon via lists.yoctoproject.org

In order to turn the fitImage signing back on, we need to inherit the ti-secdev class to setup all of the needed signing variables.

+ Andrew

I don't believe we need ti-secdev in the main kernel recipe any more now that fitImage got split out into its own recipe...

So this patch should rather be "move" ti-secdev instead of "add"?

Good point. I'll send a v2.

Quoted 21 lines
Quoted 21 lines
---
  meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb | 2 ++
  1 file changed, 2 insertions(+)
meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb +2 -0
index dae76387..a5e6a280 100644
@@ -3,6 +3,8 @@ FIT_CONF_PREFIX ?= "conf-ti_"
 
  require recipes-kernel/linux/linux-yocto-fitimage.bb
 
+inherit ti-secdev
+
  include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
 
  do_compile[depends] += "virtual/kernel:do_shared_workdir"
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS