BeagleTouch on TI_Android_Froyo_DevKit-V2.2

Liquidware’s BeagleTouch provides a nice display device for BeagleBoard developer. They provide non android linux kernel source code to jump in right away to use it. BeagleTouch blog post by will on antipastohw. Here is some crude patches to get started with it on rowboat / TI DevKit. I have my patches located on google docs:

BeagleTouch.TI_Android_Froyo_DevKit-V2.2.config

BeagleTouch.TI_Android_Froyo_DevKit-V2.2.patch

Apply the patch accordingly and copy over the config into the kernel source tree.


One issue that was noticeable from a direct patch of code was the y-axis being inverted. I corrected it with a hard coded reference value for now.



This patch doesn’t help when offset loss happens in the touch screen. Looking info using tslib to capture better data settings and a linear formula for pointer calculations. Some good instructions for compiling tslib on android can be found on wenes1′s blog. A different direction to fix this issue would be to use Y_AXIS_MAX constant.

It was hard for me to find any direct documentation on how touch screen drivers should be designed and configured in Android. If you know of any please ping me.

About these ads

About financecoding
I enjoy coding in dart.

19 Responses to BeagleTouch on TI_Android_Froyo_DevKit-V2.2

  1. Hi, I am running gingerbread on the beagletouch, but for the inverted axis I used this, i think it is closer. Greetings
    }

    /**** Alex QD Ini ****/
    tc.y=MAX_12BIT-tc.y;
    /**** Alex QD End ****/

    input_report_abs(input, ABS_X, tc.x);
    input_report_abs(input, ABS_Y, tc.y);

  2. Cool, will try this out when I get a chance.

  3. Rob says:

    Hi, Just read your post and gave it a go but when my Beagleboard boots the tuoch screen just shows a pinky purple colour did you experience this at all when working on your patch?

    • No, but does sound like connections might not be totally secured?

      • Rob says:

        Checked all the connection last night and ran the original linux kernel and display works. I’m wondering if it’s a slightly different controller to one in your beagletouch only got the dislpay a few weeks ago.

      • Rob says:

        Sorry to keep bothering you but I’m wondering if I need to make any changes to the mk-bootscr script to account for wanting to use the lcd as the display?

      • rob says:

        Completely my mistake I hadn’t copied the .config file to the correct location. Success Andriod has booted can it take some time to get from the Andriod logo screen to running normally?

  4. Sounds like you might need the correct boot arguments, add these to your ‘bootargs’ variable in u-boot

    omapfb.debug=y omapdss.def_disp=lcd omapdss.debug=y omapfb.rotate=0 omapfb.mode=lcd:480x272MR-16@60 vram=10M

    Hopefully that works :)

  5. frank says:

    Could you please give me all the setenv bootargs in mkbootscr file for my reference?
    like
    setenv bootargs ‘console=……..’

    What is your beagleboard’s version?
    Thanks.

  6. Thanks for the patches financecoding.
    But i can’t set to backlight. No increase or decrease.
    Have you got same problem ?

  7. Thanks.
    Your patches and codings was very helpful for this job.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: