This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to display in DM8148 EVM LCD panel on Android 2.3.4

Other Parts Discussed in Thread: TLC59108

Sir

I referred document  below to build Android 2.3.4 image for DM8148 EVM.

http://code.google.com/p/rowboat/wiki/TI81xxWithMultimediaAcceleration

Than I can see android GUI in DM8148 HDMI output.

 

In another document, it teached us to change display from HDMI to LCD panel in DM8148 EVM as below.

http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1.2_UserGuide

Display Support

LCD out

On AM387x/TI814x device HDMI is used as a default output device. To change output to LCD daugther card attached to evm,kindly follow below procedure

  • Plug mmc card into card reader
  • open <mounter rootfs location>/init.rc file

/* open init.rc file */
$ sudo vim /media/rootfs/init.rc
/* comment following line */
//service syslink /system/bin/syslink/rc.syslink start
/* un-comment following line */
service syslink /system/bin/syslink/rc_lcd.syslink start

  • remove sd card and plug in to ti814xevm
  • boot and wait for UI screen

 

But I found default setting didn't build rc_lcd.syslink  up.

Could you teach me to build rc_kcd.syslink up?

Thank you.

  • Hi Matt,

    As we have not done an official release for TI81xx family, it is not provided yet... But you can follow following steps in rc.syslink to make your LCD up for ti814x

    #Load LCD module
        insmod /system/lib/modules/2.6.37+/kernel/drivers/video/backlight/tlc59108.ko

    #change resolution 
     echo 0 > /sys/devices/platform/vpss/graphics0/enabled
     echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
     echo vcompmux:dvo2 > /sys/devices/platform/vpss/video0/nodes
     echo 0 > /sys/devices/platform/vpss/display1/enabled
     echo 33500,800/164/89/10,480/10/23/10,1 > /sys/devices/platform/vpss/display1/timings
     echo triplediscrete,rgb888 > /sys/devices/platform/vpss/display1/output
     echo 1 > /sys/devices/platform/vpss/display1/enabled
     echo 1 > /sys/devices/platform/vpss/graphics0/enabled

     # zero-out the framebuffer before omaplfb.ko is loaded
    # dd if=/dev/zero of=/dev/graphics/fb0 bs=$((1024*1024)) count=16
    #change fb dev entry to lcd resolution
     /system/bin/fbset -xres 800 -yres 480 -vxres 800 -vyres 960
     /system/bin/sgx/rc.pvr start

     

    BR,

    satish

  • Dear Satish

    Some error happen in DM8148 EVM

    # /system/bin/fbset -xres 800 -yres 480 -vxres 800 -vyres 960
    /system/bin/fbset: not found

    # /system/bin/sgx/rc.pvr start
    /dev/mem opened.
    Memory mapped at address 0x4019b000.
    Value at address 0x48180F04 (0x4019bf04): 0x0
    Written 0x0; readback 0x0
    /dev/mem opened.
    Memory mapped at address 0x4016e000.
    Value at address 0x48180900 (0x4016e900): 0x102
    Written 0x2; readback 0x2
    /dev/mem opened.
    Memory mapped at address 0x401a3000.
    Value at address 0x48180920 (0x401a3920): 0x40002
    Written 0x2; readback 0x2
    insmod: init_module '/system/bin/sgx/pvrsrvkm.ko' failed (File exists)
    insmod: init_module '/system/bin/sgx/omaplfb.ko' failed (File exists)
    Loaded PowerVR consumer services.

  • Hi Matt,

    1. You have to cross compile fbset utility for android. As it is compulsory to set required resolution before system logs omapfb(sgx) driver.

    2. As we have not done any official release on this, we have not given fbset yet on public repo.

    Kindly provide your email address, it can send fbset binary for quick evaluation for your effort.

    BR,

    satish

  • Satish

    Thank you for your help.

    My e-mail address is matt_chang@yosungroup.com

    ^^y

  • also, Please send me a copy.  <asciili@hotmail.com>

     I am doing the same thing.

    p.s1.: when use mouse as the input device, it behaves tremble. how to fix it?

    p.s.2: it seems current version is android 2.3. Does android 3.0 or higher is support?

  • Saitsh

    Thank you for your file.

    But I didn't anything in LCD MODULE after put this file into DM8148 EVM.

    Would you give any suggestion to me?

    Thank you

  • I have encountered the problem as well.I compile the TI Android 2.3.4 ,but I just cannot load the Android filesystem.
  • can you attach the file to the forums, so that more people can use it

  • The attached file include 2 files, one is fbset ,another is rc_lcd.syslink

    Put fbset into rootfs  /system/bin
    Rename rc_lcd.syslink to rc.syslink, than replace rootfs   /system/bin/syslink/rc.syslink

    Reboot DM8148EVM, than you can see frame on DM8148 LCD panel.

    4024.fbset.zip

  • The changes above worked, but when I try to play video the screen goes blank.  I get audio but screen is blank.  

    This is what I get on command line:

    t81xx_vidout t81xx_vidout: VIDOUT0: setup failed enable=0 width=1920
    height=1080 color_mode=1
    pix_width = 1920 pix_height=1080 pos=0x0 out_width=800 out_height=480 screen_width=3840
    t81xx_vidout t81xx_vidout: VIDOUT0: apply_changes failed

    Any ideas?

  • Hi Satish,

    Can u please sent me the same fbset binary..we are also facing same problem.Thanks in Advance..

    My email-ID - prashantawarkar16@gmail.com