Hi,

Basic idea how to create and apply patch;
$ diff -urN vanilla-2.6.27/ cupcake/kernel/ > android.patch
$ cd linux-omap-2.6
$ patch < android.patch

Some hunks and rejs you'll get but those are trivial except
for lowmemkiller.

As far as I know, nobody has uploaded patch set of OMAP
kernel 2.6.28 for Android.

On 3月5日, 午後10:34, abhri <[email protected]> wrote:
> Hi,
>
> I have a clarification regarding point 2)
>
> 2) Android Patch
> diff -urN vanilla-2.6.27/ cupcake/kernel/ > android.patch
>
> Do i need to download the android patch after i compile the kernel.
> Can i download this patch from any link or is it necessary to use
> git .
>
> Thanks
> Abhri.
> On Mar 5, 1:56 pm, Android Zaurus <[email protected]> wrote:
>
> > 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) 
> > Kernelhttp://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a...
>
> > 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/[email protected]/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 <[email protected]> wrote:
>
> > > hi all
> > > Thanks for the info. Ill try the same and get back to you
>
> > > On Mar 5, 12:55 pm, Nimit Manglick <[email protected]> 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 <[email protected]> 
> > > > 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 <[email protected]> 
> > > > > wrote:
>
> > > > >> I remember Nimit working on OMAP3530 EVM.
>
> > > > >> On Thu, Mar 5, 2009 at 12:31 PM, abhri <[email protected]> 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 -- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to