Hi,

Recently I ported Android to OMAP3EVM. I know I'd better write tips on
my blog, but I'm kind busy for now. Followings are basic tips how I
ported.

1) Kernel
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=summary

2) Android Patch
diff -urN vanilla-2.6.27/ cupcake/kernel/ > android.patch

lowmemkiller.c needs to be patched manually.
-  rem = global_page_state(NR_ACTIVE) + global_page_state
(NR_INACTIVE);
+ rem = global_lru_pages();

3) TLS
Apply TLS patches to both bionic and gl_wrapper.
http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board

4) red tint
If your LCD gets red tint issue, apply following patch.
http://www.mail-archive.com/linux-o...@vger.kernel.org/msg06389.html

5) touchscreen
Somehow touchscreen was rotated 180 degree. I modified the code like
this;
  input_report_abs(input, ABS_X, pdata->x_max - x + pdata->x_min);
  input_report_abs(input, ABS_Y, pdata->y_max - y + pdata->y_min);

6) Userland
Before running Android system, I installed Debian ARM to USB stick
by using debootstrap. Thanks to Debian team, it works beautifully.
My Android on OMAP3 is booted by chroot-ing from Debian.

Good luck,



On 3月5ζ—₯, 午後5:11, abhri <abhri.da...@gmail.com> wrote:
> hi all
> Thanks for the info. Ill try the same and get back to you
>
> On Mar 5, 12:55 pm, Nimit Manglick <nimitandr...@gmail.com> wrote:
>
> > Hi,
>
> > Ya i did porting on 3530 EVM. So to get started there are lot of documents
> > available on net.
>
> > 1. Basically what you need a working kernel with that board support.
>
> > 2. On top of it you need  to apply a android patch.
>
> > 3. You need to build a RFS , for that follow this link :-
>
> >http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board
>
> > Regards
> > Nimit
>
> > On Thu, Mar 5, 2009 at 1:05 PM, vishal bhoj <vishalb...@gmail.com> wrote:
> > > use the kernel on embinux site. modify the config file enable android 
> > > stuff
> > > in it. this is enough to get it running u myt run into touchscreen driver
> > > problem.
>
> > > On Thu, Mar 5, 2009 at 2:06 AM, pavan savoy <pavan.sa...@gmail.com> wrote:
>
> > >> I remember Nimit working on OMAP3530 EVM.
>
> > >> On Thu, Mar 5, 2009 at 12:31 PM, abhri <abhri.da...@gmail.com> wrote:
>
> > >>> Hi,
> > >>> I am new to Android porting. I have to port ANdroid to OMAP 3530 EVM
> > >>> board. Can someone give me some pointers on where to start. Also, a
> > >>> step by step approach would indeed be helpful.
>
> > >>> Thanks
> > >>> Abhri
>
> > > --
> > > with regards vishal- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to