[meta-ti] [PATCH 1/4] linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it
Maupin, Chase
chase.maupin at ti.com
Tue Sep 24 06:51:15 PDT 2013
From: meta-ti-bounces at yoctoproject.org [mailto:meta-ti-bounces at yoctoproject.org] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, September 24, 2013 8:33 AM
To: Dmytriyenko, Denys; denis at denix.org; meta-ti at yoctoproject.org
Subject: Re: [meta-ti] [PATCH 1/4] linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it
Largely due to DT there is a forced dependency between the two that we can’t avoid.
[CEM] I’m not sure this is true. I think that older u-boot doesn’t understand zImage like new u-boot does. That is the limiting issue here. Not that you can’t boot a 3.2 zImage or uImage with new u-boot.
From: Dmytriyenko, Denys
Sent: Tuesday, September 24, 2013 8:16 AM
To: denis at denix.org<mailto:denis at denix.org>; meta-ti at yoctoproject.org<mailto:meta-ti at yoctoproject.org>; Cooper Jr., Franklin
Subject: RE: [meta-ti] [PATCH 1/4] linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it
But it is rather specific to u-boot, not the kernel...
Denys
-----Original Message-----
From: Cooper Jr., Franklin [fcooper at ti.com]
Received: Tuesday, 24 Sep 2013, 9:02
To: Dmytriyenko, Denys [denys at ti.com]; denis at denix.org<mailto:denis at denix.org> [denis at denix.org]; meta-ti at yoctoproject.org<mailto:meta-ti at yoctoproject.org> [meta-ti at yoctoproject.org]
Subject: RE: [meta-ti] [PATCH 1/4] linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it
But what happens to the 335x 3.2 kernel recipe? I am ok with the machine’s setting the default KERNEL_IMAGE but to unbreak similar recipes the KERNEL_IMAGE would need to be overridden.
From: Dmytriyenko, Denys
Sent: Tuesday, September 24, 2013 7:53 AM
To: denis at denix.org<mailto:denis at denix.org>; meta-ti at yoctoproject.org<mailto:meta-ti at yoctoproject.org>; Cooper Jr., Franklin
Subject: RE: [meta-ti] [PATCH 1/4] linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it
All machines set their kernel image types. The default is uImage. Only those with newer u-boot and 3.12 kernel by default change to zImage. The old ones are still uImage.
Denys
-----Original Message-----
From: Cooper Jr., Franklin [fcooper at ti.com]
Received: Tuesday, 24 Sep 2013, 8:47
To: Denys Dmytriyenko [denis at denix.org]; meta-ti at yoctoproject.org<mailto:meta-ti at yoctoproject.org> [meta-ti at yoctoproject.org]
Subject: Re: [meta-ti] [PATCH 1/4] linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it
Since the uImage -> zImage change is being pushed by U-boot I am assuming this has more to do with the newer U-boot versions. Since a lot of these kernels will not work on a newer u-boot I wouldn't make this change on any <3.8 kernel recipes.
I don't understand the reason for this switch so I could be wrong.
> -----Original Message-----
> From: meta-ti-bounces at yoctoproject.org<mailto:meta-ti-bounces at yoctoproject.org> [mailto:meta-ti-
> bounces at yoctoproject.org<mailto:bounces at yoctoproject.org>] On Behalf Of Denys Dmytriyenko
> Sent: Monday, September 23, 2013 9:27 PM
> To: meta-ti at yoctoproject.org<mailto:meta-ti at yoctoproject.org>
> Subject: [meta-ti] [PATCH 1/4] linux*: don't force KERNEL_IMAGETYPE from
> recipes, let machine config set it
>
> From: Denys Dmytriyenko <denys at ti.com<mailto:denys at ti.com>>
>
> Signed-off-by: Denys Dmytriyenko <denys at ti.com<mailto:denys at ti.com>>
> ---
> recipes-kernel/linux/linux-am335x-psp_3.2.bb | 2 --
> 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-glsdk_3.8.bb | 1 -
> recipes-kernel/linux/linux-ti-staging_3.8.bb | 1 -
> recipes-kernel/linux/linux-ti-staging_git.bb | 1 -
> recipes-kernel/linux/linux-ti33x-psp_3.2.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 --
> 14 files changed, 16 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-am335x-psp_3.2.bb b/recipes-
> kernel/linux/linux-am335x-psp_3.2.bb
> index eaf788f..b5783eb 100644
> --- a/recipes-kernel/linux/linux-am335x-psp_3.2.bb
> +++ b/recipes-kernel/linux/linux-am335x-psp_3.2.bb
> @@ -12,8 +12,6 @@ require setup-defconfig.inc # Stage the power
> management firmware before building the kernel DEPENDS += "am33x-cm3"
>
> -KERNEL_IMAGETYPE = "uImage"
> -
> # The main PR is now using MACHINE_KERNEL_PR, for ti33x see
> conf/machine/include/ti33x.inc MACHINE_KERNEL_PR_append =
> "h+gitr${SRCPV}"
>
> diff --git a/recipes-kernel/linux/linux-davinci_git.bb b/recipes-kernel/linux/linux-
> davinci_git.bb
> index e4b85d6..03eeb46 100644
> --- a/recipes-kernel/linux/linux-davinci_git.bb
> +++ b/recipes-kernel/linux/linux-davinci_git.bb
> @@ -1,7 +1,6 @@
> require multi-kernel.inc
>
> DESCRIPTION = "Linux kernel for DaVinci processors"
> -KERNEL_IMAGETYPE = "uImage"
>
> COMPATIBLE_MACHINE = "hawkboard"
>
> diff --git a/recipes-kernel/linux/linux-mainline_3.2.bb b/recipes-
> kernel/linux/linux-mainline_3.2.bb
> index 7eafdfa..7b4a2a2 100644
> --- a/recipes-kernel/linux/linux-mainline_3.2.bb
> +++ b/recipes-kernel/linux/linux-mainline_3.2.bb
> @@ -1,7 +1,6 @@
> require linux.inc
>
> DESCRIPTION = "Linux kernel for TI processors"
> -KERNEL_IMAGETYPE = "uImage"
>
> COMPATIBLE_MACHINE = "(beagleboard)"
>
> diff --git a/recipes-kernel/linux/linux-omap-psp_2.6.32.bb b/recipes-
> kernel/linux/linux-omap-psp_2.6.32.bb
> index 61fc24f..9f7c472 100644
> --- a/recipes-kernel/linux/linux-omap-psp_2.6.32.bb
> +++ b/recipes-kernel/linux/linux-omap-psp_2.6.32.bb
> @@ -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"
>
> diff --git a/recipes-kernel/linux/linux-omap_2.6.37.bb b/recipes-
> kernel/linux/linux-omap_2.6.37.bb
> index 62076fb..0a14cc8 100644
> --- a/recipes-kernel/linux/linux-omap_2.6.37.bb
> +++ b/recipes-kernel/linux/linux-omap_2.6.37.bb
> @@ -1,7 +1,6 @@
> require multi-kernel.inc
>
> DESCRIPTION = "Linux kernel for OMAP processors"
> -KERNEL_IMAGETYPE = "uImage"
>
> COMPATIBLE_MACHINE = "(beagleboard|overo|omap3evm|omap3-
> touchbook)"
>
> diff --git a/recipes-kernel/linux/linux-omap_2.6.39.bb b/recipes-
> kernel/linux/linux-omap_2.6.39.bb
> index ae90ad2..430fa09 100644
> --- a/recipes-kernel/linux/linux-omap_2.6.39.bb
> +++ b/recipes-kernel/linux/linux-omap_2.6.39.bb
> @@ -1,7 +1,6 @@
> require linux.inc
>
> DESCRIPTION = "Linux kernel for OMAP processors"
> -KERNEL_IMAGETYPE = "uImage"
>
> COMPATIBLE_MACHINE = "(beagleboard)"
>
> diff --git a/recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb b/recipes-
> kernel/linux/linux-omapl138-psp_2.6.37.bb
> index e4a5451..a138fb6 100644
> --- a/recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb
> +++ b/recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb
> @@ -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
> diff --git a/recipes-kernel/linux/linux-ti-glsdk_3.8.bb b/recipes-
> kernel/linux/linux-ti-glsdk_3.8.bb
> index 5fd17f8..09204a6 100644
> --- a/recipes-kernel/linux/linux-ti-glsdk_3.8.bb
> +++ b/recipes-kernel/linux/linux-ti-glsdk_3.8.bb
> @@ -2,7 +2,6 @@ SECTION = "kernel"
> DESCRIPTION = "Linux kernel for TI devices supported by the GLSDK product"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM =
> "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7<file:///\\COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7>"
> -KERNEL_IMAGETYPE = "uImage"
>
> inherit kernel
>
> diff --git a/recipes-kernel/linux/linux-ti-staging_3.8.bb b/recipes-
> kernel/linux/linux-ti-staging_3.8.bb
> index fd7b671..f0659f2 100644
> --- a/recipes-kernel/linux/linux-ti-staging_3.8.bb
> +++ b/recipes-kernel/linux/linux-ti-staging_3.8.bb
> @@ -2,7 +2,6 @@ SECTION = "kernel"
> DESCRIPTION = "Linux kernel for TI devices"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM =
> "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7<file:///\\COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7>"
> -KERNEL_IMAGETYPE = "uImage"
>
> inherit kernel
>
> diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-
> kernel/linux/linux-ti-staging_git.bb
> index 694a164..d3d11d2 100644
> --- a/recipes-kernel/linux/linux-ti-staging_git.bb
> +++ b/recipes-kernel/linux/linux-ti-staging_git.bb
> @@ -2,7 +2,6 @@ SECTION = "kernel"
> DESCRIPTION = "Linux kernel for TI devices"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM =
> "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7<file:///\\COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7>"
> -KERNEL_IMAGETYPE = "uImage"
>
> inherit kernel
>
> diff --git a/recipes-kernel/linux/linux-ti33x-psp_3.2.bb b/recipes-
> kernel/linux/linux-ti33x-psp_3.2.bb
> index 4200d03..a9f7ac2 100644
> --- a/recipes-kernel/linux/linux-ti33x-psp_3.2.bb
> +++ b/recipes-kernel/linux/linux-ti33x-psp_3.2.bb
> @@ -1,7 +1,6 @@
> SECTION = "kernel"
> DESCRIPTION = "Linux kernel for TI33x EVM from PSP, based on am335x-
> kernel"
> LICENSE = "GPLv2"
> -KERNEL_IMAGETYPE = "uImage"
>
> require multi-kernel.inc
> require tipspkernel.inc
> diff --git a/recipes-kernel/linux/linux_3.0.bb b/recipes-kernel/linux/linux_3.0.bb
> index 522a87d..3aae2ca 100644
> --- a/recipes-kernel/linux/linux_3.0.bb
> +++ b/recipes-kernel/linux/linux_3.0.bb
> @@ -1,7 +1,6 @@
> require linux.inc
>
> DESCRIPTION = "Linux kernel for TI processors"
> -KERNEL_IMAGETYPE = "uImage"
>
> COMPATIBLE_MACHINE = "(beagleboard)"
>
> diff --git a/recipes-kernel/linux/linux_3.1.bb b/recipes-kernel/linux/linux_3.1.bb
> index d6ed98c..110d26c 100644
> --- a/recipes-kernel/linux/linux_3.1.bb
> +++ b/recipes-kernel/linux/linux_3.1.bb
> @@ -3,7 +3,6 @@ require linux.inc
> COMPATIBLE_MACHINE = "beagleboard"
>
> DESCRIPTION = "Linux kernel for TI processors"
> -KERNEL_IMAGETYPE = "uImage"
>
> DEFAULT_PREFERENCE = "-99"
>
> diff --git a/recipes-kernel/linux/linux_3.3.7.bb b/recipes-
> kernel/linux/linux_3.3.7.bb
> index e38b6c2..aca5c53 100644
> --- a/recipes-kernel/linux/linux_3.3.7.bb
> +++ b/recipes-kernel/linux/linux_3.3.7.bb
> @@ -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
> meta-ti at yoctoproject.org<mailto:meta-ti at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/meta-ti
_______________________________________________
meta-ti mailing list
meta-ti at yoctoproject.org<mailto:meta-ti at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-ti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20130924/204388e1/attachment.html>
More information about the meta-ti
mailing list