On Tue, Feb 11, 2014 at 3:38 AM, <[email protected]> wrote:

> Op maandag 10 februari 2014 16:34:51 UTC+1 schreef RobertCNelson:
>
>>
>>
>>
>> On Sun, Feb 9, 2014 at 9:34 AM, <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I patched a vanilla kernel for realtime and configured it for omap3
>>> beagle. However, after building it using make-kpkg with
>>> "DEB_HOST_ARCH=armhf CLEAN_SOURCE=no fakeroot make-kpkg --arch=arm
>>> --subarch=omap3 --cross-compile=arm-linux-gnueabihf- --initrd
>>> --append-to-version -xenomai-2.6.3-omap3 --revision 1.4 kernel_image
>>> kernel_headers", synaptic tells me it's armhf but no omap kernel. Despite
>>> searching, how should I patch this vanilla kernel for omap3 so it runs on
>>> the BBxM ?
>>>
>>
>> Don't use the "subarch" flag with make-kpkg, it's for something else, not
>> related to the "soc" family of arm devices..
>>
>
> I have removed the "subarch" flag, and now I get the error message "Kernel
> <.....> does not match your subarchitecture omap, therefore not writing it
> to flash.".
>

Okay.. "not writing it to flash"  your dealing with ubuntu's flash-kernel
script. So when you install a *.deb, dpkg calls "flash-kernel"...

It's a middle layer script that ubuntu wrote to "generically" install the
boot files to the correct location for a bunch of devices.  Unless you run
ubuntu's kernel, it just gets in the way..

With my images:
http://elinux.org/BeagleBoardUbuntu#Demo_Image

I disable flash-kernel outright, as it always makes the wrong assumptions.

via:
https://github.com/RobertCNelson/omap-image-builder/blob/master/scripts/chroot.sh#L261

The running kernel (Ubuntu 12.04 omap armv7l) is v3.2.0-55-omap from repo.
> I noticed that the latest stable kernel indeed has a different
> configuration for omap. But I wonder, where does that message about
> "subarchitecture omap" really come from? The kernel configuration or the
> cross-compilation?
>

So good luck with dealing with the flash-kernel script..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to