[fedora-arm] kernel build on fc19 aarch64 model

Sandeepa Prabhu sandeepa.prabhu at linaro.org
Fri Jan 3 10:36:45 UTC 2014


On 3 January 2014 15:18, Gordan Bobic <gordan at bobich.net> wrote:
> On 01/03/2014 09:43 AM, Richard W.M. Jones wrote:
>>
>> On Fri, Jan 03, 2014 at 12:36:21PM +0530, Sandeepa Prabhu wrote:
>>>
>>> On 2 January 2014 17:46, Richard W.M. Jones <rjones at redhat.com> wrote:
>>>>
>>>> On Thu, Jan 02, 2014 at 05:38:49PM +0530, Sandeepa Prabhu wrote:
>>>>>
>>>>> Ok, so cross-compiling would work for me, how do I install the built
>>>>> kernel image (EFI version) on the disk image, is it just copying
>>>>> vmlinux onto /boot/vmlinux-***?
>>>>
>>>>
>>>> I'm bound to say .. libguestfs?  eg. virt-copy-in etc.
>>>
>>> Hi Rich,
>>>
>>> Thanks, can do scp between fc19 and Ubuntu host.  Sorry I did not ask
>>> the precise question, my question was "is it enough just to copy
>>> cross-compiled zImage file as /boot/vmlinuz-*** or the target fs, or
>>> need to do something more(I am not much educated on UEFI so asking).
>>> i.e. If we build kernel on redhat machine do "make install", what
>>> exactly is done there, what images would get copied? My intention is
>>> to run systemtap and run kprobe tests on the newly built kernel(s).
>>
>>
>> You'd want to copy the modules too, ie. /lib/modules/<version>
>>
>> In general copying kernels around is more troublesome than it should
>> be ...  I'd like to see modules compiled into a single file for this
>> reason:
>>
>> http://rwmj.wordpress.com/2013/12/07/half-baked-ideas-kernel-modules-in-a-file/#content
Thanks for the link, I am not building modules (except my own kprobes tests).
>
>
> Because tar is far too complicated for what passes for experts these days...
>
> Gordan
>


More information about the arm mailing list