Debian 3.14 Kernel Complication Walkthrough

Hi Guys,

I need to recompile the debian 3.14 kernel but all the step by step guides I get all refer to 3.8.

Does anyone know of a proper guide to get the latests beaglebone supported kernel running on my beaglebone black?

Pieter

git clone https://github.com/beagleboard/linux
cd linux

Look at the tag's: https://github.com/beagleboard/linux/tags

git checkout 3.14.34-ti-r53 -b tmp

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bb.org_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig (to make changes)

make ARCH=arm KBUILD_DEBARCH=armhf LOCALVERSION=-ti-r53
CROSS_COMPILE=arm-linux-gnueabihf- KDEB_PKGVERSION=1cross deb-pkg

Copy *.deb to bbb, run: "sudo dpkg -i linux-image* ; sudo reboot"

Regards,

Hi Robert.

Thanks for the guid. I have everything working up to the point where we compile the deb.

sudo make ARCH=arm KBUILD_DEBARCH=armhf LOCALVERSION=-ti-r53 CROSS_COMPILE=arm-linux-gnueabihf- KDEB_PKGVERSION=1cross deb-pkg

make: *** No rule to make target `deb-pkg’. Stop.

Any advice on whats missing in my configuration?

Pieter

Hi Robert.

Thanks for the guid. I have everything working up to the point where we
compile the deb.

sudo make ARCH=arm KBUILD_DEBARCH=armhf LOCALVERSION=-ti-r53
CROSS_COMPILE=arm-linux-gnueabihf- KDEB_PKGVERSION=1cross deb-pkg

don't use sudo..

use "fakeroot" if you must..

make: *** No rule to make target `deb-pkg'. Stop.

Any advice on whats missing in my configuration?

Your probably in the wrong directory...

Reread my previous email.. If you've done every as specified,
pastebin.com your terminal log.

Regards,

Hi Robert.

I followed your instructions and got to the point where I run “sudo dpkg -i linux-image*”.

Under /boot I see these files successfully unpacked:

root@beaglebone:/boot# ls
System.map-3.14.35ti-r55
initrd.img-3.14.35ti-r55
vmlinuz-3.14.35ti-r55
config-3.14.35ti-r55
initrd.img-3.8.13-bone47
dtbs
uboot

I run “cp /boot/initrd.img-3.14.35ti-r55 /boot/uboot/initrd.img-3.14.35ti-r55”

I edit /boot/uboot/uEnv.txt and set

initrd_file=initrd.img-3.14.35ti-r55

and reboot.

When I log in and run cat “/etc/dogtag” and “uname -r” I get:

root@beaglebone:/# cat /etc/dogtag
BeagleBoard.org BeagleBone Debian Image 2014-04-23
root@beaglebone:/# uname -r
3.8.13-bone47

I’t does seem like the kernel did not update to 3.14.

when I run : “update-initramfs -c -k $(uname -r)” it builds initrd.img-3.8.13-bone47

when I run : “update-initramfs -u” it builds initrd.img-3.14.35ti-r55

Is there anything else I need to do that I might be missing?

Pieter

If your going to use v3.14.x just upgrade first:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-03-01

Then lots of things will just work..

Regards,