[PATCH] As-close-to-stock-as-possible kernel defconfig
Attached is a patch against the E4GT open source release (SPH-D710_Opensource.zip) containing defconfig changes necessary to get a source-built kernel that's as close to stock EG30 as possible. Also attached is a source-built test kernel that attempts to be indistinguishable from EG30 (hopefully same LoS behavior, unrooted, etc.). I've posted this before
, but now that it's been tested (at least by daneurysm
, thanks!) I figured it was worth making a dev thread so it would have better visibility to the folks most interested in it.
The purpose of this patch is to enable folks to build kernels nearly-identical to EG30, so as to serve as a proper starting point for custom kernel development (admittedly, a good deal of which has already happened). Since it's just kernel config changes, I welcome kernel developers to compare this against your own configs and make any changes you feel appropriate.
Compiling a kernel from the E4GT kernel sources with the shipped defconfig yields kernel builds that differ quite significantly from EG30. Among the differences, many folks have reported undesirable effects, such as exacerbation of loss-of-signal and other problems. There already exists efforts (e.g., LoStKernel
) aimed at eliminating problems like loss-of-signal, but it's a common frustration among developers that what Samsung released as "EG30" sources appear bizarre, if nothing else.
A few weeks ago I posted an inconclusive initial analysis
of the source situation, and followed up
more recently with an attempt to eliminate all the defconfig changes in the source release in order to either get a kernel as close to stock as possible, if not prove that the kernel source release is bungled.
At this point, I'm uncetain if the source release is actually EG30 or not, aside from that the kernel configuration is definitely not
EG30's (which this patch attempts to correct), and there may be some additional modifications to the Westbridge driver. As for the kernel config changes, unmodified source-based kernels include a good deal of debugging options (performance events, profiling support, tracepoints, debugging for preemption, mutexes, spinlocks, etc.) that touch enough of core kernel behavior to plausibly account for the problems folks observe in source-based kernels.
I know chris41g has indepenently implemented a fair number of these kernel config changes already, perhaps exactly those that exacerbate loss-of-signal. Still, for anyone interested in development that wants to "start with EG30 and go from there", this patch may well be of use.
EG30 fix_defconfig patch: fix_defconfig.diff
Source-compiled, EG30 kernel: kernel-opensource-1.tar.md5