On Mon, Nov 24, 2014 at 6:40 PM, Mithun c mohan <mcmm2...@gmail.com> wrote:

> Hi,
>
> I'm new in this android environment. I would like  to deploy android
> Kitkat to a specific arm board.
> For an apk, network over usb driver is not got enabled in the android
> versions. So I need to do the config in linux kernel and rebuild it.
>
> Can I separately build the kernel and link with the default android Image
> provided already?
>
> or Do I need to download the android source completely and build all
> together?
>
> If any one have any insights please let me know. As I'm a new bi, if any
> docs related to an overview on this andorid & kernal linkage and building ,
> please share.
>
>
>
building kernel is separate from building the users apps, and so you can
always rebuilt kernel thus:

https://source.android.com/source/building-kernels.html

http://www.xda-developers.com/android/step-by-step-tutorial-on-how-to-compile-kernels-from-source/

but then you may want to explore the possibility of building JUST the
kernel module, if the "network over USB" feature can be enabled via a "m"
in the configuration file (kernel's .config file).   In my Fedora 20 the
kernel config are thus:

# USB Network Adapters
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_AX88179_178A=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_CDC_EEM=m
CONFIG_USB_NET_CDC_NCM=m
CONFIG_USB_NET_CDC_MBIM=m
CONFIG_USB_NET_DM9601=m
CONFIG_USB_NET_SMSC75XX=m

and so it is possible to make just the kernel module, without rebuilding
the entire kernel (much faster).

http://developer.sonymobile.com/2011/05/06/how-to-build-a-linux-kernel/

http://tthtlc.wordpress.com/2011/12/29/how-to-write-a-kernel-module-on-android-sony-ericsson-xperia-arc-s/

and there are many others who added functionalities via kernel module as
well:

http://www.xda-developers.com/android/secure-your-device-with-a-knock-code-using-xposed/

http://www.xda-developers.com/android/handle-your-kernel-level-wake-gestures-with-xposed/

http://www.xda-developers.com/android/full-ntfs-readwrite-support-for-android/

http://www.xda-developers.com/android/cpu-governor-kernel-module-io-scheduler-and-dual-core-tweaks-for-your-newly-flashed-device/

and to play around with kernel module see:

http://www.xda-developers.com/android/change-your-ko-files-on-the-fly-with-module-loader/


Thanking you.
>
> --
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Linux Kernel Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-kernel+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Peter Teoh

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to