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.

AM335X Starter Kit 7" LCD Modification

  • Hi,

    I am trying to modify the AM335X Starter Kit to be able to work with a 7" LCD.

    I have two screens that I am working with:

    ***TFC-A9700RTWV35TR-02A (from FiveThreeCorp), this is the primary screen I would like to get working.

    4D 7.0" LCD Cape (from 4D systems)

    I am aware that the LCD driver IC can be re-configured to allow for higher voltage/current.

    The primary screen has the same VDD voltage as the NHD-4.3-480272MF-ATXI-T-1 (screen that comes with the AM335x starter kit) which is 3.3V.

    The main differences are dealing with the back light current and voltage. (22-23V @ 40mA max vs. 22-24V @ 60mA max). The later being the TFC screen.

    My question is: with using the Android OS that came with this kit, does the image need to be re-compiled to enable the correct driver to be used with a 7" screen?

    Or should the screens be directly interchangeable with the exception of the mods needed for the LCD driver IC?
  • AM335X LCD Driver IC Circuitry:
    This is my configuration for TPS6108DRC, the circuitry allows for multiple configurations using zero ohm resistors as jumpers. The output should be 22-24V and provide as much as 120mA current assuming that R259 is DNI (not populated) and R262 is DNI (not populated) and R63 is DNI (not popluated).

  • Using the AM335X + SK3358 Diagnostic Test v3.3:

    The current configuration is sufficient to power the LCD, however when testing the LCD using the diagnostic tool and option number 9 (LCD), the screen updates and shows the gradient, color spectrum and a few other things.  When I choose option 10 (Touch screen) the test fails.  However the screen does register my touches in the corners.  The issue I am seeing is that the screen is segmented, this tells me that the driver information is not correct.  Can you please confirm this?  Below are a few images of the screen during the LCD test (option number 9).

  • The above post led me to believe there is an issue in the build of Android for the AM335X w.r.t. larger screen sizes. I am trying to get the full source of the build to find and modify the size of the new 7" screen, following the wiki for the SK here:
    software-dl.ti.com/.../index_FDS.html

    The following information is outdated and no longer works:
    1. sudo add-apt-repository "deb-src archive.canonical.com/ubuntu lucid partner"
    2. sudo update-java-alternatives -s java-6-sun
    3. repo init -u git://gitorious.org/rowboat/manifest.git -m TI-Android-ICS-4.0.3-DevKit-EVM-SK-3.0.1.xml

    #3 produces the following error when ran from the command line:
    line 2: syntax error near unexpected token `newline'
    line 2: `<!DOCTYPE html>'

    Please update the information regarding to obtaining the full source for the 4.0.3 ICS build for Android and the AM335X SK.
    If possible please post current steps to obtaining the src.
  • The above process was attempted on Debian Jessie and Ubuntu 15.04, both unsuccessfully.
  • Attempting to follow the build process outlined by TI (see previous post for URL):

    The following files were modified for my custom screen (datasheet provided in original post):

    1. da8xx-fb.c

    2. board-am335xevm.c

    The following was added in da8xx-fb.c

    This was added under the static struct da8xx_panel known_lcd_panels[]

    /* ThreeFive TFC_A9700RTWV35TR_02 */

    [4] = {

    .name = "TFC_A9700RTWV35R_02",

    .width = 800,

    .height = 480,

    .hfp = 40,

    .hbp = 40,

    .hsw = 48,

    .vfp = 13,

    .vbp = 13,

    .vsw = 3,

    .pxl_clk = 30000000

    .invert_pxl_clk = 0,

    };

    The following was modified in board-am335xemv.c

    static const struct display_panel disp_panel = {

    WVGA,

    24,

    24,

    COLOR_ACTIVE,

    };

    Continuing on after the file modification for the compilation process:

    Step 1: make CROSS_COMPILE=arm-eabi- distclean

    Output: awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > .boards.depend

    Step 2: make CROSS_COMPILE=arm-eabi-am335x_evm_config

    Output: awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > .boards.depend

        Configuring for am335x_evm board...

    Step 3: make CROSS_COMPILE=arm-eabi-

    Output: /bin/bash: arm-eabi-gcc: command not found
    /bin/bash: arm-eabi-gcc: command not found
    dirname: missing operand
    Try 'dirname --help' for more information.
    Generating include/autoconf.mk
    /bin/bash: line 3: arm-eabi-gcc: command not found
    /bin/bash: arm-eabi-gcc: command not found
    dirname: missing operand
    Try 'dirname --help' for more information.
    Generating include/autoconf.mk.dep
    /bin/bash: line 3: arm-eabi-gcc: command not found
    /bin/bash: arm-eabi-gcc: command not found
    /bin/bash: arm-eabi-gcc: command not found
    dirname: missing operand
    Try 'dirname --help' for more information.
    /bin/bash: arm-eabi-gcc: command not found
    /bin/bash: arm-eabi-ld: command not found
    /bin/bash: arm-eabi-gcc: command not found
    dirname: missing operand
    Try 'dirname --help' for more information.
    /bin/bash: arm-eabi-gcc: command not found
    dirname: missing operand
    Try 'dirname --help' for more information.
    arm-eabi-gcc -DDO_DEPS_ONLY \
        -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -I/home/nathan/rowboat-android/TI-Android-ICS-4.0.3_AM335x_3.0.1/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__         -march=armv5 -Wall -Wstrict-prototypes      \
        -o lib/asm-offsets.s lib/asm-offsets.c -c -S
    /bin/bash: arm-eabi-gcc: command not found
    Makefile:529: recipe for target 'lib/asm-offsets.s' failed
    make: *** [lib/asm-offsets.s] Error 127


    PROCESS FAILED.

  • For Android-related questions please post on the dedicated forum: e2e.ti.com/.../509