Regarding error applying patch to kernel 3.12.9

Hi,

I was trying to get the linux kernel ready for the BBB.

Download the 3.12.9 kernel and apply the patch existing in the sysplay repo(bbb-master/Images/ELPImages/epid_dts.patch). I tried this patch but getting errors(could not apply the patch and asking what files to be patched), i am not getting exactly which patch do i need to apply and for what files into the 3.12.9 kernel this patch is required.

Best Regards,
Vinay Chikkadi

It took a little bit to find this repo:

https://github.com/sysplay/bbb

You might want to contact the author..

Why 3.12.x? are you following some book/text?

Regards,

Hi Robert,

sorry for not mentioning the URL.

Basically was trying to prepare the 3.12.9 kernel for BBB.
i am actually following some author here.

As i had few driver codes for 3.12.9 kernel, which i wanted to experiment for understanding driver frameworks.

Regards,
Vinay

Seems to apply cleanly:

voodoo@hestia:~/linux-src$ git checkout v3.12.9 -b tmp
Updating files: 100% (79755/79755), done.
Switched to a new branch 'tmp'
voodoo@hestia:~/linux-src$ wget
https://raw.githubusercontent.com/sysplay/bbb/master/Kernel/patches/epid.patch
--2020-03-31 11:12:07--
https://raw.githubusercontent.com/sysplay/bbb/master/Kernel/patches/epid.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)...
151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com
(raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2964 (2.9K) [text/plain]
Saving to: ‘epid.patch’

epid.patch
100%[=========================================================>]
2.89K --.-KB/s in 0s

2020-03-31 11:12:07 (6.60 MB/s) - ‘epid.patch’ saved [2964/2964]

voodoo@hestia:~/linux-src$ patch -p1 < epid.patch
patching file arch/arm/mach-omap2/Kconfig
patching file arch/arm/mach-omap2/omap_hwmod_33xx_data.c
voodoo@hestia:~/linux-src$

Regards,

Thanks Robert.
Hope this should help.