Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've installed ubuntu 12.04 LTS with the kernel 3.13 on my ARM Samsung / Google Chromebook,using this tutorial :

http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/

I have to say that ubuntu works really good. Now I would like to add the Android kernel options inside the .config file of the kernel.

Can you explain to me,please,why when I add the options listed below to the kernel they disappear after the recompilation ? If I look inside the .config file after the kernel is re-compiled,I don't see them anymore !! These are the options that I need to enable :

CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ASHMEM=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ANDROID_PERSISTENT_RAM=y
CONFIG_ANDROID_RAM_CONSOLE=y
CONFIG_ANDROID_TIMED_OUTPUT=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y

maybe because this kernel is not compatible with Android ? What should I do to make it what I want ? Thanks.

share|improve this question

1 Answer 1

This will happens, Kindly keep android source and navigate to the directory

/android-kernel/arch/arm/config/ copy the android configuration your are required to use.

if your using x86 architecture as host machine then,

copy and paste say msm_defconfig to /andorid-kernel/arch/arm/x86/

now compile your android kernel you will get all your settings.

CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ASHMEM=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ANDROID_PERSISTENT_RAM=y
CONFIG_ANDROID_RAM_CONSOLE=y
CONFIG_ANDROID_TIMED_OUTPUT=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.