Skip to contentSkip to conversation

k3: also inherit kernel-fitimage class for FIT image generation

PATCH In review Denys Dmytriyenko 2 participants 3 messages Dec 13, 2022 – Jan 4, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 k3: also inherit kernel-fitimage class for FIT image generation

From: Denys Dmytriyenko <[email protected]>

In order to support fitImage image type, kernel-fitimage class is needed.

(cherry picked from kirkstone/master commit 48b22e8266ba0358b5b7319faa75ad731a350db7)

---
 conf/machine/include/k3.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/k3.inc +1 -0
index 349f4fda..81139571 100644
@@ -16,6 +16,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "Image"
 KERNEL_IMAGETYPES = "Image fitImage"
+KERNEL_CLASSES += "kernel-fitimage"
 
 UBOOT_ARCH = "arm"
 UBOOT_ENTRYPOINT = "0x80008000"
Signature · 1 line
2.25.1
Tested-by on v1 1/1
#1 lore raw

Hi Denys,

Tested this locally and it fixes the following issue:

| make[1]: *** No rule to make target 'fitImage'. Stop.
| make: *** [/build/tmp/work-shared/am64xx-evm/kernel-source/Makefile:185:
__sub-make] Error 2

| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of

'/build/tmp/work/am64xx_evm-poky-linux/linux-ti-staging/5.10.158+gitAUTOINC+14d010266b-r0b/temp/run.do_compile.2076' failed with exit code 1
ERROR: Task
(/build/../work/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_compile)
failed with exit code '1'

Denys Dmytriyenko <[email protected]> escreveu no dia terça, 13/12/2022 à(s) 21:06:

Quoted 40 lines

From: Denys Dmytriyenko <[email protected]>

In order to support fitImage image type, kernel-fitimage class is needed.

(cherry picked from kirkstone/master commit
48b22e8266ba0358b5b7319faa75ad731a350db7)

---
 conf/machine/include/k3.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/k3.inc +1 -1
index 349f4fda..81139571 100644
@@ -16,6 +16,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "Image"
 KERNEL_IMAGETYPES = "Image fitImage"
+KERNEL_CLASSES += "kernel-fitimage"
 
 UBOOT_ARCH = "arm"
 UBOOT_ENTRYPOINT = "0x80008000"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#15469):
https://lists.yoctoproject.org/g/meta-ti/message/15469
Mute This Topic: https://lists.yoctoproject.org/mt/95653946/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma

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

#3 lore raw

Friendly ping :)

thanks

Jose Quaresma via lists.yoctoproject.org <quaresma.jose= [email protected]> escreveu no dia quarta, 14/12/2022 à(s) 09:32:

Quoted 70 lines

Hi Denys,

Tested this locally and it fixes the following issue:

| make[1]: *** No rule to make target 'fitImage'. Stop.
| make: *** [/build/tmp/work-shared/am64xx-evm/kernel-source/Makefile:185:
__sub-make] Error 2

| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of

'/build/tmp/work/am64xx_evm-poky-linux/linux-ti-staging/5.10.158+gitAUTOINC+14d010266b-r0b/temp/run.do_compile.2076' failed with exit code 1
ERROR: Task
(/build/../work/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_compile)
failed with exit code '1'

Denys Dmytriyenko <[email protected]> escreveu no dia terça, 13/12/2022 à(s) 21:06:

Quoted 26 lines

From: Denys Dmytriyenko <[email protected]>

In order to support fitImage image type, kernel-fitimage class is needed.

(cherry picked from kirkstone/master commit
48b22e8266ba0358b5b7319faa75ad731a350db7)

---
 conf/machine/include/k3.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/k3.inc +1 -1
index 349f4fda..81139571 100644
@@ -16,6 +16,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "Image"
 KERNEL_IMAGETYPES = "Image fitImage"
+KERNEL_CLASSES += "kernel-fitimage"
 
 UBOOT_ARCH = "arm"
 UBOOT_ENTRYPOINT = "0x80008000"
--
Quoted 6 lines

2.25.1

--
Best regards,

José Quaresma

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#15474):
https://lists.yoctoproject.org/g/meta-ti/message/15474
Mute This Topic: https://lists.yoctoproject.org/mt/95653946/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma