Installing 3.0.35 kernel headers

取消
显示结果 
搜索替代 
您的意思是: 

Installing 3.0.35 kernel headers

1,932 次查看
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 回复数

418 次查看
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 项奖励

418 次查看
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

418 次查看
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.

418 次查看
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 项奖励