View Single Post
Posts: 58 | Thanked: 197 times | Joined on Apr 2012
#124
I tried another method to build a kernel package with make-kpkg.

While cross-compiling it did show some x86-arch warnings but the packages seem to be arm allright but not sure it is really ok.

Newer Upload: http://talk.maemo.org/showpost.php?p...&postcount=151

Package:
http://depositfiles.com/files/hsfcaxaro
(md5sum: 6ab2dd7751cc4355a738e5f35de25939 n900-kernel-with-dto14-patch-v2.tar.gz)

I included a uImage and the kernel-config I used and of course the dto=14 patch was applied on source.

Modified source according to this Patch: http://www.mail-archive.com/linux-om.../msg64033.html

Booted Kernel on n900 no problem. If package doesn't install you can unpack the .deb and still get the modules. In that case you might find "depmod -a" usefull to load modules.

Code:
make-kpkg --rootcmd=fakeroot --revision=0 \
   --append-to-version=-custom --arch=armel \
   --cross-compile=/usr/bin/arm-linux-gnueabihf- kernel-image kernel_headers modules --initrd
(--arch=armel seems to be wrong or did someone manage to install it? it probably should be --arch=armhf but that didn't work for me. If I use new ubuntu or something from linaro maybe?)

Have fun!

Last edited by unknown.obvious; 2012-04-22 at 07:14. Reason: "armel" seems to be wrong.
 

The Following 6 Users Say Thank You to unknown.obvious For This Useful Post: