Build Failing at


I had downloaded the ti-linux-kernel-dev/ tree two years ago and built/flashed it successfully.
Today I try to run the script and I get an error at (see error output pasted-in below). What’s happening here? (I just want a plain vanilla kernel; I don’t want CONFIG_PREEMPT_RT for anything I’m doing; this is for BEAGLEBONE BLACK). Please advise. Thank you.

dir: rt
Applying: merge: CONFIG_PREEMPT_RT Patch Set
error: patch failed: localversion-rt:1
error: localversion-rt: patch does not apply
Patch failed at 0001 merge: CONFIG_PREEMPT_RT Patch Set
The copy of the patch that failed is found in:
When you have resolved this problem, run “git am --continue”.
If you prefer to skip this patch, run “git am --skip” instead.
To restore the original branch and stop patching, run “git am --abort”.


Hi @patrick_here,

Two years ago, the “ti-linux-kernel-dev” script couldn’t rebuild older tags. This was eventually fixed, but not till after some time.

To successfully “rebuild” your old kernel version, use my yakbuild script:

Follow the readme:



Thanks Robert …that worked. I suggest that you add to your readme a line explaining from which directory the initial ‘git clone’ should be executed …something like:

cd ti-linux-kernel-dev/ git clone
$ cd ./yakbuild/

Also, quick question …I’m wondering how the root filesystems (debian/ubuntu) were originally created/obtained?
(ie: the ones onyour page)


Hi @patrick_here, the yakbuild repo is self contained, you can clone it anywhere on a standard linux machine.

The ubuntu/debian root file system’s where created in my omap-image-builder repo:

git clone
cd ./omap-image-builder/

./ -c configs/eewiki_minfs_ubuntu_xenial_armhf.conf

./ -c configs/eewiki_minfs_debian_stretch_armhf.conf