Hi, You can specify with TARGET_ARCH_VARIANT in build/core/combo/linux- arm.mk. I'm using armv7-a, so I'm not sure about armv6.
Regards, Atsuo On 3月16日, 午後9:59, supermaximus79 <[email protected]> wrote: > Thanks for reply. > I already ported ASHMEM to my kernel. > But what about armv6 optimization in Android? Is there a patch > available somewhere? > Because by default cross compiler uses armv5te optimization, and this > means android will work slow on my cpu, > > Did you change bionic kernel headers for 31 kernel, or just compiled > Android as is, i mean just downloaded from git and compile? > > On Mar 16, 3:44 am, abukustfan <[email protected]> wrote: > > > Yes, my target board work on linux kernel 2.6.31 with android-2.1_r1 > > tag. > > > You can simply get ashmem.c and its header/Makefile ... etc from old > > version kernel, > > then add/modify those file to you new kernel. > > > On Mar 15, 5:52šam, íÁËÓÉÍ áÎÄÒÕÝÅÎËÏ <[email protected]> wrote: > > > > Hello! > > > > Is it possible to use linux kernel 2.6.31 with android 2.1? > > > I have red athttp://pdk.android.com/online-pdk/guide/bring_up.html > > > that linux kernel for android need support only: > > > # > > > # Android > > > # > > > # CONFIG_ANDROID_GADGET is not set > > > # CONFIG_ANDROID_RAM_CONSOLE is not set > > > CONFIG_ANDROID_POWER=y > > > CONFIG_ANDROID_POWER_STAT=y > > > CONFIG_ANDROID_LOGGER=y > > > # CONFIG_ANDROID_TIMED_GPIO is not set > > > CONFIG_ANDROID_BINDER_IPC=y > > > > However in /core/init/init.c i found that it uses ASHMEM device. But > > > there is no support for ASHMEM in 31 kernel. > > > So what about this? > > > > Also i red in some forums regarding CPU TLS hardware register. Some new > > > platforms (for ex. cortex) has it's hardware support, some - doesn't. > > > What about Android? Does it use hardware or software TLS? > > > > Also i didn't find armv6 architecture in Android buid system. Only > > > armv5te and armv7. Will android support armv6 architecture, or is there > > > any patch available to support armv6 architecture in Android? > > > > Thanks! -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
