View Single Post
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#54
Originally Posted by lexik View Post
alex@aexbook:~/NeoDroid/maemo-kernel$ fgrep -x -f droid.config .config
CONFIG_SUSPEND=y
Your grep is matching the whole line (-x). Based on your output, I'm assuming that your droid.config file contains entries that only check what is enabled. Options that may be available but aren't enabled by default won't be included.

This is what I get when grepping the 3.x N900 kernel config:

Code:
$ for i in CONFIG_{PM,HAS_EARLYSUSPEND,SUSPEND,HAS_WAKELOCK,WAKELOCK,EARLYSUSPEND,USER_WAKELOCK,FB_EARLYSUSPEND,ASHMEM,ANDROID_PMEM,SWITCH,STAGING,ANDROID,ANDROID_BINDER_IPC,ANDROID_LOGGER,ANDROID_RAM_CONSOLE,USB_GADGET,USB_ANDROID,USB_ANDROID_ACM,USB_ANDROID_ADB,USB_ANDROID_MASS_STORAGE,USB_ANDROID_MTP,POWER_SUPPLY,PDA_POWER}; do grep -E "$i\W" .config > /dev/null && echo +$i || echo -$i; done
+CONFIG_PM
-CONFIG_HAS_EARLYSUSPEND
+CONFIG_SUSPEND
-CONFIG_HAS_WAKELOCK
-CONFIG_WAKELOCK
-CONFIG_EARLYSUSPEND
-CONFIG_USER_WAKELOCK
-CONFIG_FB_EARLYSUSPEND
-CONFIG_ASHMEM
-CONFIG_ANDROID_PMEM
-CONFIG_SWITCH
+CONFIG_STAGING
+CONFIG_ANDROID
-CONFIG_ANDROID_BINDER_IPC
-CONFIG_ANDROID_LOGGER
-CONFIG_ANDROID_RAM_CONSOLE
+CONFIG_USB_GADGET
-CONFIG_USB_ANDROID
-CONFIG_USB_ANDROID_ACM
-CONFIG_USB_ANDROID_ADB
-CONFIG_USB_ANDROID_MASS_STORAGE
-CONFIG_USB_ANDROID_MTP
+CONFIG_POWER_SUPPLY
+CONFIG_PDA_POWER
'+' indicates that the option can be enabled in the kernel.
'-' indicates that the option is not available and would need patching in the kernel. Note that not all of these may be required for running under a chroot/container.

[EDIT]
This list isn't entirely accurate. Some of those options which I have marked as unavailable are actually available but are not present in the default .config file. They get added automatically when you enable a dependent option. Sorry about that.
[/EDIT]

You may find these links useful:
http://community.arm.com/groups/andr...r-arm-platform
http://www.elinux.org/Android_on_OMAP
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer

Last edited by wicket; 2014-04-21 at 03:28.
 

The Following 4 Users Say Thank You to wicket For This Useful Post: