Installing 3.0.35 kernel headers

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Installing 3.0.35 kernel headers

1,934件の閲覧回数
frankmiller
Contributor IV

I have some code for a USB Ethernet that is delivered to be built as a kernel module.  I'd like to compile this code natively on our i.MX6Q platform running Ubuntu 11.10.  The root file system does not appear to have the kernel headers installed for the 3.0.35 kernel.  How can I install these headers in the root file system so I can have the available natively?

Thanks,

FM

ラベル(3)
4 返答(返信)

420件の閲覧回数
LeonardoSandova
Specialist I

Frank,

are you tied to Ubuntu? Using Yocto, it is a matter of adding some IMAGE_FEATURES so packages installed on rootfs included dev and dgb ones.

In the other hand, why don't you install the necessary packages using apt-get?

Leo

0 件の賞賛

420件の閲覧回数
frankmiller
Contributor IV

Hi Leo,

As Eric alluded to, they are not available as a native apt-get install from the running rfs on the i.MX6 target.

FM

420件の閲覧回数
EricNelson
Senior Contributor II

Hi Leo,

I presume that Frank's using Freescale's image from one of the L3.0.35 release packages, and as far as I know, these don't point at an apt repository containing kernel sources and headers for i.MX6.

We installed our headers manually from a git tree when compiling imx-lib and friends in this post.

     http://boundarydevices.com/mx6-video-acceleration/

Frank, you're going to need the sources anyway, so you can (and probably need to) use 'make headers_install' from the kernel source tree to install the headers.

420件の閲覧回数
frankmiller
Contributor IV

Hi Eric,

Thanks for the reply.  I'm using ltib with the 4.0.0 tree.  I ran a make headers_install in the rpm/BUILD/linux subtree of the ltib suite so I think they are available.  What I need then is to figure out which of them need to be copied where in my rfs?

Thanks,

FM

0 件の賞賛