I am compiling a build for a WNDR3700v1 and am trying to apply a CPU overclock patch - my understanding was that I had to place the patch file in the correct directory so that it would apply during compile.
I placed it in following location: target/linux/ar71xx/patches-4.4/overclock.patch
Is there any way to confirm if this patch has indeed been applied?
I'm thinking that it may not have been, as the router still seems quite slow- certainly not as snappy as the build I was using previously of OpenWRT which someone had compiled with this patch applied.
Also my load numbers are much higher than when I had the overclock on OpenWRT (even though I have less packages on LEDE) and the unit doesn't get as warm... all things indicate to me it's not applied.
You can look at the patched code in build_dir (and its subdirs...)
ls build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.4.47/
You can also experiment editing the patch and seeing if the kernel source gets patched. The command make target/linux/{clean,prepare} will clean/remove the kernel sources from build_dir and then unpack the original sources plus apply the kernel patches including yours:
Thanks for the pointers. I had searched quite a bit to try find where the clock speed would be printed and couldnt find anything for MIPS based devices. But your one liner definitely worked thank you, and it appears that the patch is indeed applying.
I see this;