Skip to content
Rick edited this page Oct 2, 2015 · 6 revisions

This is the home of the official BeagleBoard and BeagleBone kernels. Priority is given to getting things in the Linux kernel mainline, but we ship with these kernels with additional features and testing. The goal is to minimize the deltas over time.

To Build for Beaglebone Black

Check out the branch or tag you want to build:

$ git checkout 4.1.4-ti-r9

Then issue the following two commands:

$ make ARCH=arm bb.org_defconfig
$ make ARCH=arm CROSS_COMPILE="bin/arm-" KBUILD_DEBARCH=armhf KDEB_SOURCENAME=linux-upstream KDEB_CHANGELOG_DIST=unstable LOCALVERSION=-cross KDEB_PKGVERSION=1cross deb-pkg

Note that if you've been using Robert Nelson’s build_deb.sh script, it installs the cross compiler under bb-kernel/dl/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-, you might want to use this command instead (be sure to update the path to match your specific installation):

$ make ARCH=arm CROSS_COMPILE="/path/to/bb-kernel/dl/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-" KBUILD_DEBARCH=armhf KDEB_SOURCENAME=linux-upstream KDEB_CHANGELOG_DIST=unstable LOCALVERSION=-cross KDEB_PKGVERSION=1cross deb-pkg
Clone this wiki locally