ti43x, omap-a15: switch KERNEL_IMAGETYPE to zImage by default
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
@@ -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
@@ -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
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: switchKERNEL_IMAGETYPEto zImage by defaultFrom: 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 platformSigned-off-by Denys Dmytriyenko <[email protected]>Cc Tom Rini <[email protected]>---
v2 - don't change the default for ti33x yet, wait for u-bootconf/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@@ -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@@ -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
Siddharth Heroor
Acked-byQuoted 1 line · Chase
Acked-by Chase Maupin <[email protected]>
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: switchKERNEL_IMAGETYPEto zImage by defaultFrom: 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 platformSigned-off-by Denys Dmytriyenko <[email protected]>Cc Tom Rini <[email protected]>---
v2 - don't change the default for ti33x yet, wait for u-bootconf/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@@ -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@@ -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.2Quoted 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
Quoted 6 lines · Siddharth Heroor
Quoted 1 line · Chase
Acked-by Chase Maupin <[email protected]>Just a question - is it possible to override the
KERNEL_IMAGETYPEin 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.
Acked-by Siddharth Heroor <[email protected]>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: switchKERNEL_IMAGETYPEto zImage by defaultFrom: 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 platformSigned-off-by Denys Dmytriyenko <[email protected]>Cc Tom Rini <[email protected]>---
v2 - don't change the default for ti33x yet, wait for u-bootconf/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@@ -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@@ -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.2Quoted 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
Quoted 17 lines · Denys Dmytriyenko
Quoted 6 lines · Siddharth Heroor
Quoted 1 line · Chase
Acked-by Chase Maupin <[email protected]>Just a question - is it possible to override the
KERNEL_IMAGETYPEin 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-bootthat 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-bootcombo, 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