Skip to contentSkip to conversation

ti43x, omap-a15: switch KERNEL_IMAGETYPE to zImage by default

PATCH In review Denys Dmytriyenko 4 participants 5 messages Sep 25, 2013 – Sep 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 4/4 ti43x, omap-a15: switch KERNEL_IMAGETYPE to zImage by default

From: Denys Dmytriyenko <[email protected]>

* To be used with latest u-boot, that prefers zImage over uImage
* ti33x will follow as soon as u-boot changes its default for that platform

---
v2 - don't change the default for ti33x yet, wait for u-boot

 conf/machine/include/omap-a15.inc | 2 +-
 conf/machine/include/ti43x.inc    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/omap-a15.inc +1 -1
index 623f2df..aba122a 100644
@@ -10,7 +10,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
 PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"
 
 UBOOT_ARCH = "arm"
 UBOOT_ENTRYPOINT = "0x80008000"
conf/machine/include/ti43x.inc +1 -1
index 62da105..adb66e3 100644
@@ -23,7 +23,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
 PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"
 
 UBOOT_ARCH = "arm"
 UBOOT_MACHINE = "am43xx_evm_config"
Signature · 1 line
1.8.3.2
Acked-by on v2 4/4
#1 lore raw
Quoted 61 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, September 25, 2013 2:50 PM
To: [email protected]
Cc: Rini, Tom
Subject: [meta-ti] [PATCHv2 4/4] ti43x, omap-a15: switch KERNEL_IMAGETYPE to zImage by default

From: Denys Dmytriyenko <[email protected]>

* To be used with latest u-boot, that prefers zImage over uImage
* ti33x will follow as soon as u-boot changes its default for that platform

---
v2 - don't change the default for ti33x yet, wait for u-boot

conf/machine/include/omap-a15.inc | 2 +-
conf/machine/include/ti43x.inc | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/omap-a15.inc +0 -0
index 623f2df..aba122a 100644
@@ -10,7 +10,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-

staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"

conf/machine/include/omap-a15.inc +1 -1
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"

UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"

conf/machine/include/ti43x.inc +0 -0
index 62da105..adb66e3 100644
@@ -23,7 +23,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-

staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"

conf/machine/include/ti43x.inc +1 -1
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"
--
1.8.3.2

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#2 lore raw
Quoted 1 line · Chase

Just a question - is it possible to override the KERNEL_IMAGETYPE in a branding.inc file? In general, we want to move to zImage for GLSDK but some customers who might want to stay on uImage as they ramp.

Otherwise, no comments.

Quoted 68 lines
Quoted 59 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, September 25, 2013 2:50 PM
To: [email protected]
Cc: Rini, Tom
Subject: [meta-ti] [PATCHv2 4/4] ti43x, omap-a15: switch KERNEL_IMAGETYPE to zImage by default

From: Denys Dmytriyenko <[email protected]>

* To be used with latest u-boot, that prefers zImage over uImage
* ti33x will follow as soon as u-boot changes its default for that platform

---
v2 - don't change the default for ti33x yet, wait for u-boot

conf/machine/include/omap-a15.inc | 2 +-
conf/machine/include/ti43x.inc | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/omap-a15.inc +0 -0
index 623f2df..aba122a 100644
@@ -10,7 +10,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-

staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"

conf/machine/include/omap-a15.inc +1 -1
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"

UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"

conf/machine/include/ti43x.inc +0 -0
index 62da105..adb66e3 100644
@@ -23,7 +23,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-

staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"

conf/machine/include/ti43x.inc +1 -1
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"
--
1.8.3.2

Quoted 4 lines

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw
Quoted 6 lines · Siddharth Heroor
Quoted 1 line · Chase

Just a question - is it possible to override the KERNEL_IMAGETYPE in a branding.inc file? In general, we want to move to zImage for GLSDK but some customers who might want to stay on uImage as they ramp.

It won't be very easy to do from a branding file. That's why I had to rev the other patch to keep GLSDK 3.8 and AMSDK 3.2 kernel recipes on uImage, but switch other platforms to zImage which already have recent enough u-boot...

When you have a new kernel/u-boot that prefers zImage (like the new linux-ti-staging_git.bb we have for 3.12 integration), you can set the image type to zImage in the kernel recipe, or rather not specify it at all, since it will be picked up from machine config.

In other words, after the setting in the machine config, you have one more option to override it in a specific kernel recipe. That way if your branding selects latest kernel/u-boot combo, you get zImage by default from the machine config. But if branding selects 3.2 kernel with early u-boot, it gets overwritten back to uImage...

Signature · 1 line
Denys
Quoted 77 lines

Otherwise, no comments.

Quoted 59 lines
Quoted 59 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, September 25, 2013 2:50 PM
To: [email protected]
Cc: Rini, Tom
Subject: [meta-ti] [PATCHv2 4/4] ti43x, omap-a15: switch KERNEL_IMAGETYPE to zImage by default

From: Denys Dmytriyenko <[email protected]>

* To be used with latest u-boot, that prefers zImage over uImage
* ti33x will follow as soon as u-boot changes its default for that platform

---
v2 - don't change the default for ti33x yet, wait for u-boot

conf/machine/include/omap-a15.inc | 2 +-
conf/machine/include/ti43x.inc | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/omap-a15.inc +0 -0
index 623f2df..aba122a 100644
@@ -10,7 +10,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-

staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"

conf/machine/include/omap-a15.inc +1 -1
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"

UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"

conf/machine/include/ti43x.inc +0 -0
index 62da105..adb66e3 100644
@@ -23,7 +23,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-

staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"

conf/machine/include/ti43x.inc +1 -1
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"
--
1.8.3.2

Quoted 9 lines
Quoted 4 lines

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#4 lore raw
Quoted 17 lines · Denys Dmytriyenko
Quoted 6 lines · Siddharth Heroor
Quoted 1 line · Chase

Just a question - is it possible to override the KERNEL_IMAGETYPE in a branding.inc file? In general, we want to move to zImage for GLSDK but some customers who might want to stay on uImage as they ramp.

It won't be very easy to do from a branding file. That's why I had to rev the other patch to keep GLSDK 3.8 and AMSDK 3.2 kernel recipes on uImage, but switch other platforms to zImage which already have recent enough u-boot...

When you have a new kernel/u-boot that prefers zImage (like the new linux-ti-staging_git.bb we have for 3.12 integration), you can set the image type to zImage in the kernel recipe, or rather not specify it at all, since it will be picked up from machine config.

Quoted 6 lines

In other words, after the setting in the machine config, you have one more option to override it in a specific kernel recipe. That way if your branding selects latest kernel/u-boot combo, you get zImage by default from the machine config. But if branding selects 3.2 kernel with early u-boot, it gets overwritten back to uImage...

Got it.

Thanks,
Sid