Hi all, I've a question about passing parameters to the kernel.
First of all: is it possible ?
I tried to add parameters statically while I was recompiling the
kernel with make menuconfig, but it didn't worked,
then I saw the output of cat /proc/cmdline with adb shell
and I tried to add them in
external/qemu/android/main.c
but it didn't worked
I noticed that there are a lot of files related to kernel cmdline,
such as android.checkjni for example.

#build/core/main.mk:  ADDITIONAL_BUILD_PROPERTIES +=
ro.kernel.android.checkjni=1
#dalvik/docs/embedded-vm-control.html:first is
<code>ro.kernel.android.checkjni</code>.
#dalvik/docs/embedded-vm-control.html:of this overrides the value from
<code>ro.kernel.android.checkjni</code>.
development/simulator/app/PropertyServer.cpp:const char*
PropertyServer::kPropCheckJni = "ro.kernel.android.checkjni";
#development/pdk/docs/guide/build_system.jd:
<li><code>ro.kernel.android.checkjni=1</code>
#external/qemu/android/main.c:  p = bufprint(p, end, "
android.checkjni=1");
#frameworks/base/core/jni/AndroidRuntime.cpp:
property_get("ro.kernel.android.checkjni", propBuf, "");
but I don't understad the way I could modify them to add new kernel
parameters.
Sholud I add the command line in a bootloader (such grub)?
Thanks all

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to