[11:44] <hvn2> Hi, I've cross-compiled a vanilla kernel on Ubuntu 12.04 using make-kpkg for armhf and omap3. However, the installer on the target says the kernel is not omap architecture. How can I make sure the kernel is built for omap3, apart from configuring the kernel as such ? I already used --subarch=armhf and tried  --subarch=omap
[14:53] <zacthespack> Hello, is there anyone about that could help me with an issue?
[14:54] <zacthespack> this is the issue I am having http://askubuntu.com/questions/418991/arm-chroot-installing-xfce-fails-packages-named-different
[15:04] <ogra_> zacthespack, that smells like you're mixing debian with ubuntu
[15:05] <ogra_> (are you sure this is an ubuntu chroot at all ?)
[15:05] <zacthespack> yes I built the rootfs myself
[15:06] <ogra_> and your package db us up to date (i.e. you ran apt-get update before trying to install anything)
[15:06] <zacthespack> indeed
[15:07] <zacthespack> my sources.list has
[15:07] <zacthespack> deb http://ports.ubuntu.com saucy main restricted universe
[15:07] <zacthespack> deb-src http://ports.ubuntu.com saucy main restricted universe
[15:07] <ogra_> try making http://ports.ubuntu.com to actually be http://ports.ubuntu.com/ubuntu-ports
[15:08] <ogra_> and run apt-get update again
[15:10] <hvn2> Hi ogra_, can you tell me if this is the right place about cross-compiling for armhf and omap ?
[15:11] <ogra_> sure
[15:11] <hvn2> OK ty
[15:13] <hvn2> my problem is that I take a vanilla kernel, which I patched for xenomai...this goes fine. Then I configure the kernel for omap3 and cross-compile for armhf.
[15:13] <hvn2> Then I install the kernel on the target, but the target says that the kernel is not an omap kernel
[15:14] <zacthespack> oagr_ thanks it worked!
[15:14] <zacthespack> ogra_ thanks it worked!
[15:15] <hvn2> ogra_: do you have any clue what might be the cause of this ?
[15:15] <ogra_> no, why dont you just follow the kernel cross building wiki ?
[15:16] <ogra_> https://wiki.ubuntu.com/KernelTeam/ARMKernelCrossCompile ...
[15:16] <hvn2> I did follow any kernel cross building wiki and info I could find
[15:16] <ogra_> the kernel team has vanilla trees on kernel.ubuntu.com i belive ... and there are debs and source debs for these kernels too
[15:16] <ogra_> #ubuntu-kernel should be able to help you further in that direction
[15:18] <hvn2> ok, so you say that I should not take a kernel from kernel.org but from kernel.ubuntu.org...because of ?
[15:19] <ogra_> oh, feel free to take any kernel you want ... it is just easier with a proper package dir
[15:19] <ogra_> anyway, thats more #ubuntu-kernel than arm
[15:20] <ogra_> the above wiki definitely works for cross building kernels out of the different trees and source packages i have used before
[15:20] <hvn2> ah ok
[15:20] <hvn2> does that work for omap specifics as well ?
[15:22] <ogra_> the current trusty images use the ubuntu -generic kernel for omap (which should be something like 3.13 without any omap specific patches) ... so i would assume yes
[15:28] <hvn2> do you know about precise images as well ?
[15:33] <ogra_> precise didnt use generic kernels ... it had hacked up BSP ones iirc
[15:33] <ogra_> but ask the kernel team
[15:33] <hvn2> ok, ty
[15:35] <ogra_> as for your initial question, i'm pretty sure the kernel version gets overridden during package build (thats a debian thing that ubuntu inherits from there)
[15:36] <ogra_> i doubt make-kpkg uses that mechanism
[15:37] <hvn2> does that mean I should or shouldn't use make-kpkg ?
[15:39] <hvn2> I used make when I started, but I prefer to end up with a .deb package instead of just a uImage without uInitrd