I had downloaded the ti-linux-kernel-dev/ tree two years ago and built/flashed it successfully.
Today I try to run the build_kernel.sh script and I get an error at patch.sh:rt() (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:
/src/ti-linux-kernel-dev/KERNEL/.git/rebase-apply/patch
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:
Regards,
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 https://github.com/RobertCNelson/yakbuild
$ cd ./yakbuild/
…etc…
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 https://github.com/RobertCNelson/omap-image-builder
cd ./omap-image-builder/
#ubuntu:
./RootStock-NG.sh -c configs/eewiki_minfs_ubuntu_xenial_armhf.conf
#debian:
./RootStock-NG.sh -c configs/eewiki_minfs_debian_stretch_armhf.conf
Regards,