Skip to contentSkip to conversation

linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it

PATCH In review Denys Dmytriyenko 2 participants 2 messages Sep 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/4 linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it

From: Denys Dmytriyenko <[email protected]>

Some kernel versions (and corresponding u-boot) may still need to set uImage, as preferred image type, since the machine config changes preference to zImage for newer kernels - keep that for ti33x and omap-a15 stuck on 3.2 and 3.8.

---
v2 - don't change 3.2 and 3.8 kernels for ti33x and omap-a15, still needing uImage

 recipes-kernel/linux/linux-davinci_git.bb         | 1 -
 recipes-kernel/linux/linux-mainline_3.2.bb        | 1 -
 recipes-kernel/linux/linux-omap-psp_2.6.32.bb     | 1 -
 recipes-kernel/linux/linux-omap_2.6.37.bb         | 1 -
 recipes-kernel/linux/linux-omap_2.6.39.bb         | 1 -
 recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb | 1 -
 recipes-kernel/linux/linux-ti-staging_git.bb      | 1 -
 recipes-kernel/linux/linux_3.0.bb                 | 1 -
 recipes-kernel/linux/linux_3.1.bb                 | 1 -
 recipes-kernel/linux/linux_3.3.7.bb               | 2 --
 10 files changed, 11 deletions(-)
recipes-kernel/linux/linux-davinci_git.bb +0 -1
index e4b85d6..03eeb46 100644
@@ -1,7 +1,6 @@
 require multi-kernel.inc
 
 DESCRIPTION = "Linux kernel for DaVinci processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "hawkboard"
 
recipes-kernel/linux/linux-mainline_3.2.bb +0 -1
index 7eafdfa..7b4a2a2 100644
@@ -1,7 +1,6 @@
 require linux.inc
 
 DESCRIPTION = "Linux kernel for TI processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(beagleboard)"
 
recipes-kernel/linux/linux-omap-psp_2.6.32.bb +0 -1
index 61fc24f..9f7c472 100644
@@ -3,7 +3,6 @@ require multi-kernel.inc
 MULTI_CONFIG_BASE_SUFFIX = ""
 
 DESCRIPTION = "Linux kernel for OMAP processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am37x-evm|omap3-touchbook|overo"
 
recipes-kernel/linux/linux-omap_2.6.37.bb +0 -1
index 62076fb..0a14cc8 100644
@@ -1,7 +1,6 @@
 require multi-kernel.inc
 
 DESCRIPTION = "Linux kernel for OMAP processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(beagleboard|overo|omap3evm|omap3-touchbook)"
 
recipes-kernel/linux/linux-omap_2.6.39.bb +0 -1
index ae90ad2..430fa09 100644
@@ -1,7 +1,6 @@
 require linux.inc
 
 DESCRIPTION = "Linux kernel for OMAP processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(beagleboard)"
 
recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb +0 -1
index e4a5451..a138fb6 100644
@@ -1,7 +1,6 @@
 SECTION = "kernel"
 DESCRIPTION = "Linux kernel for OMAPL1 machines from PSP, based on linux-davinci kernel"
 LICENSE = "GPLv2"
-KERNEL_IMAGETYPE = "uImage"
 
 require multi-kernel.inc
 require tipspkernel.inc
recipes-kernel/linux/linux-ti-staging_git.bb +0 -1
index 694a164..d3d11d2 100644
@@ -2,7 +2,6 @@ SECTION = "kernel"
 DESCRIPTION = "Linux kernel for TI devices"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
-KERNEL_IMAGETYPE = "uImage"
 
 inherit kernel
 
recipes-kernel/linux/linux_3.0.bb +0 -1
index 522a87d..3aae2ca 100644
@@ -1,7 +1,6 @@
 require linux.inc
 
 DESCRIPTION = "Linux kernel for TI processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(beagleboard)"
 
recipes-kernel/linux/linux_3.1.bb +0 -1
index d6ed98c..110d26c 100644
@@ -3,7 +3,6 @@ require linux.inc
 COMPATIBLE_MACHINE = "beagleboard"
 
 DESCRIPTION = "Linux kernel for TI processors"
-KERNEL_IMAGETYPE = "uImage"
 
 DEFAULT_PREFERENCE = "-99"
 
recipes-kernel/linux/linux_3.3.7.bb +0 -2
index e38b6c2..aca5c53 100644
@@ -11,8 +11,6 @@ COMPATIBLE_MACHINE = "beagleboard"
 inherit kernel
 require setup-defconfig.inc
 
-KERNEL_IMAGETYPE = "uImage"
-
 # The main PR is now using MACHINE_KERNEL_PR, for beagleboard see
 # conf/machine/include/omap3.inc
 MACHINE_KERNEL_PR_append = "b+gitr${SRCREV}"
Signature · 1 line
1.8.3.2
Acked-by on v2 1/4
#1 lore raw
Quoted 170 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, September 25, 2013 1:20 PM
To: [email protected]
Subject: [meta-ti] [PATCHv2 1/4] linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it

From: Denys Dmytriyenko <[email protected]>

Some kernel versions (and corresponding u-boot) may still need to set uImage, as preferred image type, since the machine config changes preference to zImage for newer kernels - keep that for ti33x and omap-a15 stuck on 3.2 and 3.8.

---
v2 - don't change 3.2 and 3.8 kernels for ti33x and omap-a15, still needing uImage

 recipes-kernel/linux/linux-davinci_git.bb         | 1 -
 recipes-kernel/linux/linux-mainline_3.2.bb        | 1 -
 recipes-kernel/linux/linux-omap-psp_2.6.32.bb     | 1 -
 recipes-kernel/linux/linux-omap_2.6.37.bb         | 1 -
 recipes-kernel/linux/linux-omap_2.6.39.bb         | 1 -
 recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb | 1 -
 recipes-kernel/linux/linux-ti-staging_git.bb      | 1 -
 recipes-kernel/linux/linux_3.0.bb                 | 1 -
 recipes-kernel/linux/linux_3.1.bb                 | 1 -
 recipes-kernel/linux/linux_3.3.7.bb               | 2 --
 10 files changed, 11 deletions(-)
recipes-kernel/linux/linux- renamed from recipes-kernel/linux/linux-davinci_git.bb +0 -0

davinci_git.bb
index e4b85d6..03eeb46 100644

recipes-kernel/linux/linux-davinci_git.bb +0 -1
@@ -1,7 +1,6 @@
 require multi-kernel.inc
 
 DESCRIPTION = "Linux kernel for DaVinci processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "hawkboard"
 
recipes- renamed from recipes-kernel/linux/linux-mainline_3.2.bb +0 -0

kernel/linux/linux-mainline_3.2.bb
index 7eafdfa..7b4a2a2 100644

recipes-kernel/linux/linux-mainline_3.2.bb +0 -1
@@ -1,7 +1,6 @@
 require linux.inc
 
 DESCRIPTION = "Linux kernel for TI processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(beagleboard)"
 
recipes- renamed from recipes-kernel/linux/linux-omap-psp_2.6.32.bb +0 -0

kernel/linux/linux-omap-psp_2.6.32.bb
index 61fc24f..9f7c472 100644

recipes-kernel/linux/linux-omap-psp_2.6.32.bb +0 -1
@@ -3,7 +3,6 @@ require multi-kernel.inc  MULTI_CONFIG_BASE_SUFFIX = ""
 
 DESCRIPTION = "Linux kernel for OMAP processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "am3517-crane|beagleboard|omap3evm|am3517-

evm|dm37x-evm|am37x-evm|omap3-touchbook|overo"

recipes- renamed from recipes-kernel/linux/linux-omap_2.6.37.bb +0 -0

kernel/linux/linux-omap_2.6.37.bb
index 62076fb..0a14cc8 100644

recipes-kernel/linux/linux-omap_2.6.37.bb +0 -1
@@ -1,7 +1,6 @@
 require multi-kernel.inc
 
 DESCRIPTION = "Linux kernel for OMAP processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(beagleboard|overo|omap3evm|omap3-

touchbook)"

recipes- renamed from recipes-kernel/linux/linux-omap_2.6.39.bb +0 -0

kernel/linux/linux-omap_2.6.39.bb
index ae90ad2..430fa09 100644

recipes-kernel/linux/linux-omap_2.6.39.bb +0 -1
@@ -1,7 +1,6 @@
 require linux.inc
 
 DESCRIPTION = "Linux kernel for OMAP processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(beagleboard)"
 
recipes- renamed from recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb +0 -0

kernel/linux/linux-omapl138-psp_2.6.37.bb
index e4a5451..a138fb6 100644

recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb +0 -0
@@ -1,7 +1,6 @@
 SECTION = "kernel"
 DESCRIPTION = "Linux kernel for OMAPL1 machines from PSP, based on linux-

davinci kernel"
LICENSE = "GPLv2"

recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb +0 -1
-KERNEL_IMAGETYPE = "uImage"
 
 require multi-kernel.inc
 require tipspkernel.inc
recipes- renamed from recipes-kernel/linux/linux-ti-staging_git.bb +0 -0

kernel/linux/linux-ti-staging_git.bb
index 694a164..d3d11d2 100644

recipes-kernel/linux/linux-ti-staging_git.bb +0 -0
@@ -2,7 +2,6 @@ SECTION = "kernel"
 DESCRIPTION = "Linux kernel for TI devices"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

recipes-kernel/linux/linux-ti-staging_git.bb +0 -1
-KERNEL_IMAGETYPE = "uImage"
 
 inherit kernel
recipes-kernel/linux/linux_3.0.bb +0 -1
index 522a87d..3aae2ca 100644
@@ -1,7 +1,6 @@
 require linux.inc
 
 DESCRIPTION = "Linux kernel for TI processors"
-KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(beagleboard)"
 
recipes-kernel/linux/linux_3.1.bb +0 -1
index d6ed98c..110d26c 100644
@@ -3,7 +3,6 @@ require linux.inc
 COMPATIBLE_MACHINE = "beagleboard"
 
 DESCRIPTION = "Linux kernel for TI processors"
-KERNEL_IMAGETYPE = "uImage"
 
 DEFAULT_PREFERENCE = "-99"
 
recipes- renamed from recipes-kernel/linux/linux_3.3.7.bb +0 -0

kernel/linux/linux_3.3.7.bb
index e38b6c2..aca5c53 100644

recipes-kernel/linux/linux_3.3.7.bb +0 -2
@@ -11,8 +11,6 @@ COMPATIBLE_MACHINE = "beagleboard"
 inherit kernel
 require setup-defconfig.inc
 
-KERNEL_IMAGETYPE = "uImage"
-
 # The main PR is now using MACHINE_KERNEL_PR, for beagleboard see  #

conf/machine/include/omap3.inc MACHINE_KERNEL_PR_append = "b+gitr${SRCREV}"
--
1.8.3.2

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