Search code examples
androidlinux-kernelds-5streamline

Android kernel configuration menu for ARM DS-5 Streamline


I am trying to use ARM DS-5 streamline for Android and I am having a hard time to figure out the basic settings.

You must enable certain kernel configuration options to run Streamline. In the kernel configuration menu, use the arrow keys to navigate to the desired submenu and press Enter. Each submenu is listed with the action you need to take within it.

The official document says this. And I was trying to see the kernel configuration menu on Android. So I typed something like this

adb shell
cd sys
cd kernel

and I could see this

-r--r--r-- root     root                 4096 1970-01-14 16:54 uevent_seqnum
-rw-r--r-- root     root                 4096 1970-01-14 16:54 uevent_helper
-rw-r--r-- root     root                 4096 1970-01-14 16:54 profiling
drwxr-xr-x root     root                        1970-01-14 16:54 uids
drwxr-xr-x root     root                        1970-01-14 16:54 debug
drwxr-xr-x root     root                        1970-01-01 00:00 ipv4
drwxr-xr-x root     root                        1970-01-14 16:54 mm
drwxr-xr-x root     root                        1970-01-14 16:54 slab
drwxr-xr-x root     root                        1970-01-14 16:54 config

I typed

make menuconfig

and I got his

make: not found

How do I see the menuconfig menu on Android devices ?

Thanks in advance..


Solution

  • This is not something you do on your Android device but on your Android build machine. If you have installed the Android build environment and then checked out a suitable kernel source you would use make gconfig or make menuconfig to configure a kernel.

    However, often devices have a default configuration already. For instance to build the kernel for the Nexus S you use the following:

    export PATH=$PATH:$ANDROID_ROOT/prebuild/linux-x86/toolchain/arm-eabi-4.4.3/bin
    make ARCH=arm clean
    make ARCH=arm herring_defconfig
    make -j4 ARCH=arm CROSS_COMPILE=arm-eabi-
    

    For another device, something similar will likely be available.