All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel Image name
@ 2014-03-26 11:54 Diego
  2014-03-26 12:40 ` Otavio Salvador
  0 siblings, 1 reply; 8+ messages in thread
From: Diego @ 2014-03-26 11:54 UTC (permalink / raw)
  To: meta-freescale

Hi everybody,

is anybody else getting working but oddly named kernel images with repeated 
"3.10.17"?

In particulare i'm seeing:
$ mkimage -l uImage
Image Name:   Linux-3.10.173.10.17_beta+yocto+

and modules named:
"/lib/modules/3.10.173.10.17_beta+yocto+g..."

I'm using Boundary Nitrogen6x.

Bests,
Diego



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel Image name
  2014-03-26 11:54 Kernel Image name Diego
@ 2014-03-26 12:40 ` Otavio Salvador
  2014-03-26 14:17   ` Eric Nelson
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Otavio Salvador @ 2014-03-26 12:40 UTC (permalink / raw)
  To: Diego, Eric Nelson; +Cc: meta-freescale@yoctoproject.org

On Wed, Mar 26, 2014 at 8:54 AM, Diego <diego.ml@zoho.com> wrote:
> Hi everybody,
>
> is anybody else getting working but oddly named kernel images with repeated
> "3.10.17"?
>
> In particulare i'm seeing:
> $ mkimage -l uImage
> Image Name:   Linux-3.10.173.10.17_beta+yocto+
>
> and modules named:
> "/lib/modules/3.10.173.10.17_beta+yocto+g..."
>
> I'm using Boundary Nitrogen6x.

I didn't test it recently but Eric does quite often. Eric, did you see it?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel Image name
  2014-03-26 12:40 ` Otavio Salvador
@ 2014-03-26 14:17   ` Eric Nelson
  2014-03-26 14:38   ` [PATCH] linux-boundary: remove redundant version tag from 3.10.17 kernel Eric Nelson
  2014-03-26 14:44   ` [meta-fsl-arm-extra][PATCH] linux-boundary: remove version number " Eric Nelson
  2 siblings, 0 replies; 8+ messages in thread
From: Eric Nelson @ 2014-03-26 14:17 UTC (permalink / raw)
  To: Otavio Salvador, Diego; +Cc: meta-freescale@yoctoproject.org

Hi Otavio and Diego,

On 03/26/2014 05:40 AM, Otavio Salvador wrote:
> On Wed, Mar 26, 2014 at 8:54 AM, Diego <diego.ml@zoho.com> wrote:
>> Hi everybody,
>>
>> is anybody else getting working but oddly named kernel images with repeated
>> "3.10.17"?
>>
>> In particulare i'm seeing:
>> $ mkimage -l uImage
>> Image Name:   Linux-3.10.173.10.17_beta+yocto+
>>
>> and modules named:
>> "/lib/modules/3.10.173.10.17_beta+yocto+g..."
>>
>> I'm using Boundary Nitrogen6x.
>
> I didn't test it recently but Eric does quite often. Eric, did you see it?
>

I hadn't noticed it, but I see where it's coming from:

The LOCALVERSION tag here:
	http://github.com/Freescale/meta-fsl-arm-extra/blob/master/recipes-kernel/linux/linux-boundary_3.10.17.bb#L12

Looks like it should start with a separator, and not contain
the kernel version:
	http://github.com/Freescale/meta-fsl-arm-extra/blob/master/recipes-kernel/linux/linux-boundary_3.0.35.bb#L12

I think the proper value for that variable is this:

	LOCALVERSION = "-1.0.0_beta+yocto"

I'll send a patch shortly.

Regards,


Eric


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] linux-boundary: remove redundant version tag from 3.10.17 kernel
  2014-03-26 12:40 ` Otavio Salvador
  2014-03-26 14:17   ` Eric Nelson
@ 2014-03-26 14:38   ` Eric Nelson
  2014-03-26 14:40     ` Eric Nelson
  2014-03-26 14:44   ` [meta-fsl-arm-extra][PATCH] linux-boundary: remove version number " Eric Nelson
  2 siblings, 1 reply; 8+ messages in thread
From: Eric Nelson @ 2014-03-26 14:38 UTC (permalink / raw)
  To: meta-freescale; +Cc: diego.ml, otavio

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 recipes-kernel/linux/linux-boundary_3.10.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-boundary_3.10.17.bb b/recipes-kernel/linux/linux-boundary_3.10.17.bb
index 3f0681a..1fc7901 100644
--- a/recipes-kernel/linux/linux-boundary_3.10.17.bb
+++ b/recipes-kernel/linux/linux-boundary_3.10.17.bb
@@ -9,7 +9,7 @@ DESCRIPTION = "Linux kernel for Boundary Devices boards"
 SRC_URI = "git://github.com/boundarydevices/linux-imx6.git;branch=${SRCBRANCH} \
            file://defconfig"
 
-LOCALVERSION = "3.10.17_beta+yocto"
+LOCALVERSION = "-1.0.0_beta+yocto"
 SRCBRANCH = "boundary-imx_3.10.17_1.0.0_beta"
 SRCREV = "92608435c09eef1b111d6b704d016bcc769c55ca"
 
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] linux-boundary: remove redundant version tag from 3.10.17 kernel
  2014-03-26 14:38   ` [PATCH] linux-boundary: remove redundant version tag from 3.10.17 kernel Eric Nelson
@ 2014-03-26 14:40     ` Eric Nelson
  0 siblings, 0 replies; 8+ messages in thread
From: Eric Nelson @ 2014-03-26 14:40 UTC (permalink / raw)
  To: meta-freescale; +Cc: diego.ml, otavio

This is missing proper headers.

Please ignore.

On 03/26/2014 07:38 AM, Eric Nelson wrote:
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
> ---
>   recipes-kernel/linux/linux-boundary_3.10.17.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-kernel/linux/linux-boundary_3.10.17.bb b/recipes-kernel/linux/linux-boundary_3.10.17.bb
> index 3f0681a..1fc7901 100644
> --- a/recipes-kernel/linux/linux-boundary_3.10.17.bb
> +++ b/recipes-kernel/linux/linux-boundary_3.10.17.bb
> @@ -9,7 +9,7 @@ DESCRIPTION = "Linux kernel for Boundary Devices boards"
>   SRC_URI = "git://github.com/boundarydevices/linux-imx6.git;branch=${SRCBRANCH} \
>              file://defconfig"
>
> -LOCALVERSION = "3.10.17_beta+yocto"
> +LOCALVERSION = "-1.0.0_beta+yocto"
>   SRCBRANCH = "boundary-imx_3.10.17_1.0.0_beta"
>   SRCREV = "92608435c09eef1b111d6b704d016bcc769c55ca"
>
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [meta-fsl-arm-extra][PATCH] linux-boundary: remove version number from 3.10.17 kernel
  2014-03-26 12:40 ` Otavio Salvador
  2014-03-26 14:17   ` Eric Nelson
  2014-03-26 14:38   ` [PATCH] linux-boundary: remove redundant version tag from 3.10.17 kernel Eric Nelson
@ 2014-03-26 14:44   ` Eric Nelson
  2014-03-26 15:01     ` Otavio Salvador
  2 siblings, 1 reply; 8+ messages in thread
From: Eric Nelson @ 2014-03-26 14:44 UTC (permalink / raw)
  To: meta-freescale; +Cc: diego.ml, otavio

The 3.10.17 version is added automatically by the build process,
so it's not needed in LOCALVERSION.

As Diego reported, without this patch, 'uname -r' and kernel modules 
are oddly-named:
        /lib/modules/3.10.173.10.17_beta+yocto

Reported-by: Diego <diego.ml@zoho.com>
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 recipes-kernel/linux/linux-boundary_3.10.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-boundary_3.10.17.bb b/recipes-kernel/linux/linux-boundary_3.10.17.bb
index 3f0681a..1fc7901 100644
--- a/recipes-kernel/linux/linux-boundary_3.10.17.bb
+++ b/recipes-kernel/linux/linux-boundary_3.10.17.bb
@@ -9,7 +9,7 @@ DESCRIPTION = "Linux kernel for Boundary Devices boards"
 SRC_URI = "git://github.com/boundarydevices/linux-imx6.git;branch=${SRCBRANCH} \
            file://defconfig"
 
-LOCALVERSION = "3.10.17_beta+yocto"
+LOCALVERSION = "-1.0.0_beta+yocto"
 SRCBRANCH = "boundary-imx_3.10.17_1.0.0_beta"
 SRCREV = "92608435c09eef1b111d6b704d016bcc769c55ca"
 
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [meta-fsl-arm-extra][PATCH] linux-boundary: remove version number from 3.10.17 kernel
  2014-03-26 14:44   ` [meta-fsl-arm-extra][PATCH] linux-boundary: remove version number " Eric Nelson
@ 2014-03-26 15:01     ` Otavio Salvador
  2014-03-26 15:08       ` Eric Nelson
  0 siblings, 1 reply; 8+ messages in thread
From: Otavio Salvador @ 2014-03-26 15:01 UTC (permalink / raw)
  To: Eric Nelson; +Cc: meta-freescale, Diego

On Wed, Mar 26, 2014 at 11:44 AM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> The 3.10.17 version is added automatically by the build process,
> so it's not needed in LOCALVERSION.
>
> As Diego reported, without this patch, 'uname -r' and kernel modules
> are oddly-named:
>         /lib/modules/3.10.173.10.17_beta+yocto
>
> Reported-by: Diego <diego.ml@zoho.com>
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

I applied it :)

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-fsl-arm-extra][PATCH] linux-boundary: remove version number from 3.10.17 kernel
  2014-03-26 15:01     ` Otavio Salvador
@ 2014-03-26 15:08       ` Eric Nelson
  0 siblings, 0 replies; 8+ messages in thread
From: Eric Nelson @ 2014-03-26 15:08 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Diego

On 03/26/2014 08:01 AM, Otavio Salvador wrote:
> On Wed, Mar 26, 2014 at 11:44 AM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>> The 3.10.17 version is added automatically by the build process,
>> so it's not needed in LOCALVERSION.
>>
>> As Diego reported, without this patch, 'uname -r' and kernel modules
>> are oddly-named:
>>          /lib/modules/3.10.173.10.17_beta+yocto
>>
>> Reported-by: Diego <diego.ml@zoho.com>
>> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

Thanks Otavio (and sorry Diego).

Just another N00b mistake!


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-03-26 15:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 11:54 Kernel Image name Diego
2014-03-26 12:40 ` Otavio Salvador
2014-03-26 14:17   ` Eric Nelson
2014-03-26 14:38   ` [PATCH] linux-boundary: remove redundant version tag from 3.10.17 kernel Eric Nelson
2014-03-26 14:40     ` Eric Nelson
2014-03-26 14:44   ` [meta-fsl-arm-extra][PATCH] linux-boundary: remove version number " Eric Nelson
2014-03-26 15:01     ` Otavio Salvador
2014-03-26 15:08       ` Eric Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.