Hi ash,

Do the following steps.
1)  Do the Board specific changes + custom driver changes to the
Linux2.6.27 kernel. You can do this by referring to your working
Linux-2.6.21.7 kernel. Ethernet driver, LCD driver and Touch Screen
drivers are the basic requirements. Port these drivers to Linux-2.6.27
kernel.

2) Take the diff of your custom modified Linux-2.6.27 kernel and
Android Linux-2.6.27 kernel(Android Version 1.5) and apply that patch
to your custom modified kernel. Make sure that all the Android related
changes has been updated to your custom modified kernel.
Build the kernel and check whether it boots using BUSYBOX.

Better use Linux-2.6.27 kernel, because Android 1.5 source contains
Linux-2.6.27 kernel and it becomes easy for you to add Android related
stuffs to your custom modified Linux-2.6.27 kernel.

Regards,
Vinay


On 6/2/09, Ash09 <[email protected]> wrote:
>
> Hi Vinay,
> I hope you are thru with Android porting on S3C2440 and corresponding
> issues.
>
> Currently i have my custom board (S3C2440) with Arm Linux (Kernel
> version 2.6.21.7) and is working fine. And my Navigation App is also
> working fine.
>
> For different reasons we have decided to shift to Android platform.
>
> Now i Have two options:
>
> Upgrade my existing custom kernel version 2.6.21.7 (that is 2.6.21.7
> original kernel + Board specific changes + custom driver changes) to
> Kernel version 2.6.27 and then patch the android kernel (SDK V1.5):
> which seems to be tough as my current custom kernel is quite old.
>
> or
>
> Upgrade my existing custom kernel version 2.6.21.7 (that is 2.6.21.7
> original kernel + Board specific changes + custom driver changes) to
> Kernel version 2.6.25 and then patch the android kernel (SDK V1.0):
> which is also seems to be tough as my current custom kernel is quite
> old.
>
>
> And the other solution would be adding my board specific changes
> directly to latest android kernel (V.15).
>
> Please suggest.
>
> Thanks for your help.
> #Ash09
>
>
>
>
>
>
>
>
> On May 28, 3:06 pm, Vinay R Rao <[email protected]> wrote:
>> Hi all,
>> Android is up on S3C2440 PLATFORM. Android GUI is comming up. But
>> there are few issues:
>>
>> i sometimes get the following error on my terminal :
>>
>> <3>s3c2410-lcd s3c2410-lcd: invalid bpp 0
>> s3c2410-lcd s3c2410-lcd: invalid bpp 0
>> <3>s3c2410-lcd s3c2410-lcd: invalid bpp 0
>> s3c2410-lcd s3c2410-lcd: invalid bpp 0
>> D/TrackingPatternView( 1637): width=240 textureWidth=120
>> <3>s3c2410-lcd s3c2410-lcd: invalid bpp 0
>> s3c2410-lcd s3c2410-lcd: invalid bpp 0
>> <3>s3c2410-lcd s3c2410-lcd: invalid bpp 0
>> s3c2410-lcd s3c2410-lcd: invalid bpp 0
>> D/TrackingPatternView( 1637): width=240 textureWidth=120
>>
>> After some time the Android GUI fades away.
>>
>> But sometimes i dont get this error, Android GUI is consistent but
>> cannot open any applications on the LCD screen. When ever i tap the
>> LCD screen i get the following messages when "logcat" is executed. :
>>
>> W/InputManagerService( 1617): Window already focused, ignoring focus
>> gain of: com.android.internal.view.IInputMethodClient$Stub
>> $pr...@436e2b8
>> D/TrackingPatternView( 1617): width=240 textureWidth=120
>>
>> Why is this log getting displayed?
>>
>> Also the LCD screen flickers for 2 or 3 seconds when tapped.
>> The touch screen driver is working fine. i can cat /dev/input/event0
>>
>> Please help me to solve the above problems.
>>
>> Thankyou,
>> Vinay R Rao
>>
>> On May 11, 12:17 am, Vinay R Rao <[email protected]> wrote:
>>
>> > Hi jollen and michael,
>>
>> > Thank you very much for your reply.  I will surely go through Koolu
>> > repository and contact you if there are any issues.
>> > I am getting one error while compilingANDROIDSDK:
>>
>> > /tmp/ccZNlGpU.s: Assembler messages:
>> > /tmp/ccZNlGpU.s:1147: Error: selected processor does not support `clz
>> > r3,r2'
>>
>> > I have currently applied patches available at the benno's blog
>> > manually.
>> > The patches were not getting applied using the command "patch", hence
>> > i manually changed the source ofANDROIDSDK looking into the patches.
>> > IS that ok?
>>
>> > On May 8, 3:40 pm, Jollen Chen <[email protected]> wrote:
>>
>> > - Hide quoted text -
>>
>> > - Show quoted text -> Hi,
>>
>> > > You need as3c2440Androidports.
>> > > Koolu has portedAndroidto armv4 platform.
>> > > Please get it from Koolu repository -  git.koolu.org
>>
>> > > -jollen
>>
>> > > > Hi all,
>>
>> > > > I am a newbie inANDROID.
>>
>> > > > My first question is : HAS ANYONE PORTEDANDROIDONS3C2440(armv4
>> > > > Architecture ) PLATFORM SUCCESSFULLY?
>>
>> > > > I am trying to portANDROIDonS3C2440platform which is a arm920T and
>> > > > ARMv4 architecture.
>> > > > Linux version which i am using is 2.6.27. I have done the required
>> > > > changes in my Linux-2.6.27 kernel by looking into the diff of the
>> > > >ANDROIDLinux-2.6.27 kernel which comes along with theANDROIDSDK.
>> > > > The kernel gets compiled successfully without any errors after the
>> > > >ANDROIDsupport is given.
>>
>> > > > I referred the "benno's blog" (Androidon ARMv4 (take 2) section )
>> > > > and applied the patches to theANDROIDSDK given in the benno's blog.
>> > > > I am using the "arm-android-eabi-" toolchain given in the benno's
>> > > > blog.ANDROIDSDK gets compiled successfully but the "init.rc" file is
>> > > > not getting generated in
>> > > > "android-SDK/out/target/product/generic/root"
>> > > > directory.
>>
>> > > > I copied all the required files and folders from the
>> > > > "android-SDK/out/
>> > > > target/product/generic/root" directory to my root file system. when
>> > > > i
>> > > > boot the Linux-2.6.27 kernel (withandroidrelated changes)  on the
>> > > >s3c2440platform the following error occurs :
>>
>> > > > "Kernel panic - not syncing: Attempted to kill init!"
>>
>> > > > I don't know where exactly the problem is. Please help me in solving
>> > > > the problem. Where am i going wrong?
>>
>> > > > Does the patches given in the benno's blog works perfectly fine? Has
>> > > > any one tried to portANDROIDon armv4 architedture?
>>
>> > > > Regards,
>> > > > Vinay R Rao
>
> >
>


-- 
VINAY.R.RAO

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to