All of lore.kernel.org
 help / color / mirror / Atom feed
* build the Kernel Module on the target
@ 2014-01-31 11:01 Hans-Peter.Rosinger
  2014-01-31 12:25 ` Daiane Angolini
  0 siblings, 1 reply; 6+ messages in thread
From: Hans-Peter.Rosinger @ 2014-01-31 11:01 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

Hi,

I am trying to build a Kernel Module on the target i.MX6Quad, 3.10.17) with a sdk image

But I am missing a build directory in /lib/modules/3.10.17-1.0.0_beta+gec1af9f

Why isn't it included? Or is it somewhere different?

Generally /lib/modules/$(shell uname -r)/build is where kernel
module goes to look for kernel headers to build against.

Thanks,
Hans-Peter



[-- Attachment #2: Type: text/html, Size: 3551 bytes --]

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

* Re: build the Kernel Module on the target
  2014-01-31 11:01 build the Kernel Module on the target Hans-Peter.Rosinger
@ 2014-01-31 12:25 ` Daiane Angolini
  2014-01-31 14:40   ` Hans-Peter.Rosinger
  0 siblings, 1 reply; 6+ messages in thread
From: Daiane Angolini @ 2014-01-31 12:25 UTC (permalink / raw)
  To: Hans-Peter.Rosinger; +Cc: meta-freescale

On Fri, Jan 31, 2014 at 9:01 AM, Hans-Peter.Rosinger@freescale.com
<Hans-Peter.Rosinger@freescale.com> wrote:
> Hi,
>
>
>
> I am trying to build a Kernel Module on the target i.MX6Quad, 3.10.17) with
> a sdk image
>
How did you create your sdk image?

The development packages are included via IMAGE_FEATURES [1]


So, include on your image file:

IMAGE_FEATURES += "dev-pkgs"

and any other value you think you may need.

[1] http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-features-image


Daiane
>
>
> But I am missing a build directory in
> /lib/modules/3.10.17-1.0.0_beta+gec1af9f
>
>
>
> Why isn't it included? Or is it somewhere different?
>
>
>
> Generally /lib/modules/$(shell uname -r)/build is where kernel
>
> module goes to look for kernel headers to build against.
>
>
>
> Thanks,
>
> Hans-Peter
>
>
>
>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


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

* Re: build the Kernel Module on the target
  2014-01-31 12:25 ` Daiane Angolini
@ 2014-01-31 14:40   ` Hans-Peter.Rosinger
  2014-01-31 14:45     ` Daiane Angolini
  0 siblings, 1 reply; 6+ messages in thread
From: Hans-Peter.Rosinger @ 2014-01-31 14:40 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale

Hi Daiane,

Thanks for the documentation link... I included "dev-pkgs" but still no headers on the target I can build against.
The build directory should be at /lib/modules/3.10.17-1.0.0_beta+gec1af9f/build right? 

HP


-----Original Message-----
From: Daiane Angolini [mailto:daiane.list@gmail.com] 
Sent: Friday, January 31, 2014 1:25 PM
To: Rosinger Hans-Peter-B38781
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] build the Kernel Module on the target

On Fri, Jan 31, 2014 at 9:01 AM, Hans-Peter.Rosinger@freescale.com <Hans-Peter.Rosinger@freescale.com> wrote:
> Hi,
>
>
>
> I am trying to build a Kernel Module on the target i.MX6Quad, 3.10.17) 
> with a sdk image
>
How did you create your sdk image?

The development packages are included via IMAGE_FEATURES [1]


So, include on your image file:

IMAGE_FEATURES += "dev-pkgs"

and any other value you think you may need.

[1] http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-features-image


Daiane
>
>
> But I am missing a build directory in
> /lib/modules/3.10.17-1.0.0_beta+gec1af9f
>
>
>
> Why isn't it included? Or is it somewhere different?
>
>
>
> Generally /lib/modules/$(shell uname -r)/build is where kernel
>
> module goes to look for kernel headers to build against.
>
>
>
> Thanks,
>
> Hans-Peter
>
>
>
>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>




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

* Re: build the Kernel Module on the target
  2014-01-31 14:40   ` Hans-Peter.Rosinger
@ 2014-01-31 14:45     ` Daiane Angolini
  2014-01-31 21:44       ` Jacob Kroon
  0 siblings, 1 reply; 6+ messages in thread
From: Daiane Angolini @ 2014-01-31 14:45 UTC (permalink / raw)
  To: Hans-Peter.Rosinger, Daiane Angolini; +Cc: meta-freescale

On 31-01-2014 12:40, Hans-Peter.Rosinger@freescale.com wrote:
> Hi Daiane,
>
> Thanks for the documentation link... I included "dev-pkgs" but still no headers on the target I can build against.
> The build directory should be at /lib/modules/3.10.17-1.0.0_beta+gec1af9f/build right?

I think kernel modules is always deployed to sdcard because of this line 
[1], but I have never tried myself the dev packages of 3.10.17, and this 
kernel is still under test.

What's your error message? (or what's the missing file?)
If you find for the file into your rootfs, are you able to find it?


I'm sorry, but I'm trying to figure out your environment.


[1] 
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc?h=master-next#n30


Daiane
>
> HP
>
>
> -----Original Message-----
> From: Daiane Angolini [mailto:daiane.list@gmail.com]
> Sent: Friday, January 31, 2014 1:25 PM
> To: Rosinger Hans-Peter-B38781
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] build the Kernel Module on the target
>
> On Fri, Jan 31, 2014 at 9:01 AM, Hans-Peter.Rosinger@freescale.com <Hans-Peter.Rosinger@freescale.com> wrote:
>> Hi,
>>
>>
>>
>> I am trying to build a Kernel Module on the target i.MX6Quad, 3.10.17)
>> with a sdk image
>>
> How did you create your sdk image?
>
> The development packages are included via IMAGE_FEATURES [1]
>
>
> So, include on your image file:
>
> IMAGE_FEATURES += "dev-pkgs"
>
> and any other value you think you may need.
>
> [1] http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-features-image
>
>
> Daiane
>>
>>
>> But I am missing a build directory in
>> /lib/modules/3.10.17-1.0.0_beta+gec1af9f
>>
>>
>>
>> Why isn't it included? Or is it somewhere different?
>>
>>
>>
>> Generally /lib/modules/$(shell uname -r)/build is where kernel
>>
>> module goes to look for kernel headers to build against.
>>
>>
>>
>> Thanks,
>>
>> Hans-Peter
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>


-- 
Daiane



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

* Re: build the Kernel Module on the target
  2014-01-31 14:45     ` Daiane Angolini
@ 2014-01-31 21:44       ` Jacob Kroon
  2014-02-05 10:38         ` Hans-Peter.Rosinger
  0 siblings, 1 reply; 6+ messages in thread
From: Jacob Kroon @ 2014-01-31 21:44 UTC (permalink / raw)
  To: Daiane.Angolini@freescale.com; +Cc: meta-freescale, Hans-Peter.Rosinger

[-- Attachment #1: Type: text/plain, Size: 2664 bytes --]

Tried adding the "kernel-dev" package ?
On 31-01-2014 12:40, Hans-Peter.Rosinger@freescale.com wrote:

> Hi Daiane,
>
> Thanks for the documentation link... I included "dev-pkgs" but still no
> headers on the target I can build against.
> The build directory should be at /lib/modules/3.10.17-1.0.0_beta+gec1af9f/build
> right?
>

I think kernel modules is always deployed to sdcard because of this line
[1], but I have never tried myself the dev packages of 3.10.17, and this
kernel is still under test.

What's your error message? (or what's the missing file?)
If you find for the file into your rootfs, are you able to find it?


I'm sorry, but I'm trying to figure out your environment.


[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/
tree/conf/machine/include/imx-base.inc?h=master-next#n30


Daiane

>
> HP
>
>
> -----Original Message-----
> From: Daiane Angolini [mailto:daiane.list@gmail.com]
> Sent: Friday, January 31, 2014 1:25 PM
> To: Rosinger Hans-Peter-B38781
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] build the Kernel Module on the target
>
> On Fri, Jan 31, 2014 at 9:01 AM, Hans-Peter.Rosinger@freescale.com <
> Hans-Peter.Rosinger@freescale.com> wrote:
>
>> Hi,
>>
>>
>>
>> I am trying to build a Kernel Module on the target i.MX6Quad, 3.10.17)
>> with a sdk image
>>
>>  How did you create your sdk image?
>
> The development packages are included via IMAGE_FEATURES [1]
>
>
> So, include on your image file:
>
> IMAGE_FEATURES += "dev-pkgs"
>
> and any other value you think you may need.
>
> [1] http://www.yoctoproject.org/docs/current/ref-manual/ref-
> manual.html#ref-features-image
>
>
> Daiane
>
>>
>>
>> But I am missing a build directory in
>> /lib/modules/3.10.17-1.0.0_beta+gec1af9f
>>
>>
>>
>> Why isn't it included? Or is it somewhere different?
>>
>>
>>
>> Generally /lib/modules/$(shell uname -r)/build is where kernel
>>
>> module goes to look for kernel headers to build against.
>>
>>
>>
>> Thanks,
>>
>> Hans-Peter
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
>

-- 
Daiane

_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

[-- Attachment #2: Type: text/html, Size: 4754 bytes --]

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

* Re: build the Kernel Module on the target
  2014-01-31 21:44       ` Jacob Kroon
@ 2014-02-05 10:38         ` Hans-Peter.Rosinger
  0 siblings, 0 replies; 6+ messages in thread
From: Hans-Peter.Rosinger @ 2014-02-05 10:38 UTC (permalink / raw)
  To: Jacob Kroon, Daiane.Angolini; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 3163 bytes --]

Thanks for the hint, I installed kernel-dev-3.10.17-r0.imx6qsabresd.rpm on my target and see /usr/src/kernel
H-P


From: Jacob Kroon [mailto:jacob.kroon@gmail.com]
Sent: Friday, January 31, 2014 10:44 PM
To: Angolini Daiane-B19406
Cc: meta-freescale; Rosinger Hans-Peter-B38781; Daiane Angolini
Subject: Re: [meta-freescale] build the Kernel Module on the target


Tried adding the "kernel-dev" package ?
On 31-01-2014 12:40, Hans-Peter.Rosinger@freescale.com<mailto:Hans-Peter.Rosinger@freescale.com> wrote:
Hi Daiane,

Thanks for the documentation link... I included "dev-pkgs" but still no headers on the target I can build against.
The build directory should be at /lib/modules/3.10.17-1.0.0_beta+gec1af9f/build right?

I think kernel modules is always deployed to sdcard because of this line [1], but I have never tried myself the dev packages of 3.10.17, and this kernel is still under test.

What's your error message? (or what's the missing file?)
If you find for the file into your rootfs, are you able to find it?


I'm sorry, but I'm trying to figure out your environment.


[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc?h=master-next#n30


Daiane

HP


-----Original Message-----
From: Daiane Angolini [mailto:daiane.list@gmail.com<mailto:daiane.list@gmail.com>]
Sent: Friday, January 31, 2014 1:25 PM
To: Rosinger Hans-Peter-B38781
Cc: meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>
Subject: Re: [meta-freescale] build the Kernel Module on the target

On Fri, Jan 31, 2014 at 9:01 AM, Hans-Peter.Rosinger@freescale.com<mailto:Hans-Peter.Rosinger@freescale.com> <Hans-Peter.Rosinger@freescale.com<mailto:Hans-Peter.Rosinger@freescale.com>> wrote:
Hi,



I am trying to build a Kernel Module on the target i.MX6Quad, 3.10.17)
with a sdk image
How did you create your sdk image?

The development packages are included via IMAGE_FEATURES [1]


So, include on your image file:

IMAGE_FEATURES += "dev-pkgs"

and any other value you think you may need.

[1] http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-features-image


Daiane


But I am missing a build directory in
/lib/modules/3.10.17-1.0.0_beta+gec1af9f



Why isn't it included? Or is it somewhere different?



Generally /lib/modules/$(shell uname -r)/build is where kernel

module goes to look for kernel headers to build against.



Thanks,

Hans-Peter






_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale


_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale



--
Daiane

_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale

[-- Attachment #2: Type: text/html, Size: 8119 bytes --]

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

end of thread, other threads:[~2014-02-05 10:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-31 11:01 build the Kernel Module on the target Hans-Peter.Rosinger
2014-01-31 12:25 ` Daiane Angolini
2014-01-31 14:40   ` Hans-Peter.Rosinger
2014-01-31 14:45     ` Daiane Angolini
2014-01-31 21:44       ` Jacob Kroon
2014-02-05 10:38         ` Hans-Peter.Rosinger

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.