• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM814x and AM387x Processors Forum » AM3874 LCD on VOUT1
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

AM3874 LCD on VOUT1

AM3874 LCD on VOUT1

This question is not answered
Jeppe Ledet-Pedersen
Posted by Jeppe Ledet-Pedersen
on Jul 02 2012 06:57 AM
Prodigy180 points

Hi,

I'm trying to get an LCD connected to VOUT1 on our custom AM3874 board running Android 4.0 ICS from the Rowboat project. I have previously verified the display timing on VOUT0 on the 8148 evm. board, with the following rc.syslink:

insmod /system/bin/syslink/syslink.ko
/system/bin/syslink/slaveloader_release startup VPSS-M3 /system/bin/syslink/ti814x_hdvpss_1G.xem3
insmod /system/lib/modules/2.6.37+/kernel/drivers/video/ti81xx/vpss/vpss.ko sbufaddr=0xA0200000 debug=1 timeout=0
insmod /system/lib/modules/2.6.37+/kernel/drivers/video/ti81xx/ti81xxfb/ti81xxfb.ko debug=1
insmod /system/lib/modules/2.6.37+/kernel/drivers/video/ti81xx/ti81xxhdmi/ti81xxhdmi.ko debug=1
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 33260,800/0/256/0,480/0/45/0,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

Our board has 512MB of memory, so I have switched to the ti814x_hdvpss_512M.xem3 firmware, changed sbufaddr to 0x8DE00000, notifyk.vpssm3_sva to 0x8DB00000 and modified the DMM_LISA_MAP values as specified in the VPSS user guide. I have also set up the pinmux for the VOUT1 pins in u-boot.

I have changed the rc.syslink script to the following (ti81xxhdmi.ko is no longer loaded):

insmod /system/bin/syslink/syslink.ko
/system/bin/syslink/slaveloader_release startup VPSS-M3 /system/bin/syslink/ti814x_hdvpss_512M.xem3
insmod /system/lib/modules/2.6.37+/kernel/drivers/video/ti81xx/vpss/vpss.ko sbufaddr=0x8DE00000 timeout=0 debug=1
insmod /system/lib/modules/2.6.37+/kernel/drivers/video/ti81xx/ti81xxfb/ti81xxfb.ko debug=1
echo 0 > /sys/devices/platform/vpss/graphics0/enabled
echo 1:hdmi > /sys/devices/platform/vpss/graphics0/nodes
echo vcompmux:hdmi > /sys/devices/platform/vpss/video0/nodes
echo 0 > /sys/devices/platform/vpss/display0/enabled
echo 33260,800/0/256/0,480/0/45/0,1 > /sys/devices/platform/vpss/display0/timings
echo triplediscrete,rgb888 > /sys/devices/platform/vpss/display0/output
echo 1 > /sys/devices/platform/vpss/display0/enabled
echo 1 > /sys/devices/platform/vpss/graphics0/enabled

The board boots up fine and I can start the rc.syslink service, but nothing happens on neither the VOUT1 data nor clock pins. However, the VOUT0 port is started up, with a 148.5 MHz pixel clock. This is the output when I run /system/bin/syslink/rc.syslink start:

root@android:/ # /system/bin/syslink/rc.syslink start                          
SysLink version : 2.00.00.78
SysLink module created on Date:Jun 27 2012 Time:14:49:29
Attached to slave procId 2.
Loaded file /system/bin/syslink/ti814x_hdvpss_512M.xem3 on slave procId 2.
Started slave procId 2.
VPSS_GRPX : please open fb0 node first.
VPSS_GRPX : please open fb0 node first.
/dev/mem opened.
Memory mapped at address 0x40144000.
Value at address 0x48180F04 (0x40144f04): 0x1
Written 0x0; readback 0x0
/dev/mem opened.
Memory mapped at address 0x400a4000.
Value at address 0x48180900 (0x400a4900): 0x2
Written 0x2; readback 0x2
/dev/mem opened.
Memory mapped at address 0x401d2000.
Value at address 0x48180920 (0x401d2920): 0x70000
Written 0x2; readback 0x2
init: untracked pid 513 exited
request_suspend_state: wakeup (0->0) at 106363748004 (1970-01-01 00:01:46.361242955 UTC)
init: untracked pid 491 exited
init: untracked pid 492 exited
Loaded PowerVR consumer services.

Have I missed something in the rc.syslink script? This question mentions a bug in the M3 firmware which overrules the pinmux settings:

http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/146722/649603.aspx

Do I have to work around this somehow?

Thanks.

-Jeppe

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Jeppe Ledet-Pedersen
    Posted by Jeppe Ledet-Pedersen
    on Jul 03 2012 01:17 AM
    Prodigy180 points

    Hi,

    I have created this module (http://pastebin.com/hm4q6HTG) to re-mux the VOUT1 pins after loading the M3 firmware by inserting an insmod in rc.syslink after running slaveloader. It was necessary to export the omap_mux_init_signal from mux.c and remove the __init section attribute. I now get a 20 MHz clock output on VOUT[1]_CLK (where I expected a 33.26 MHz pixel clock) and nothing happens on the data or AVID pins.

    Is this the right direction, or have I missed a step?

    -Jeppe

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jeppe Ledet-Pedersen
    Posted by Jeppe Ledet-Pedersen
    on Jul 03 2012 03:24 AM
    Prodigy180 points

    Ok, the M3 firmware definitely performs some pinmuxing when it is loaded. I have the backlight control for my display connected to TIM7_IO on AA10 which is also used for VOUT[0]_AVID. As soon as i load the M3 firmware my display lights up.

    Is it possible to get a list of the hardcoded pinmux configuration in the M3 firmware so I can fix it in my module? Or is it possible to swap the ti814x_hdvpss_512M.xem3 file to a newer version without changing the PSP version? I would like to not differ to much from the kernel used in the ti81xx Rowboat version.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • HardikShah
    Posted by HardikShah
    on Jul 03 2012 23:16 PM
    Mastermind20155 points

    Hi,

    I think you are on very old release of HDVPSS thats why you are facing this problem. Its not possible to replace ti814x_hdvpss_512.xem3 to a newer version without moving kernel version.

    Regards,

    Hardik Shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jeppe Ledet-Pedersen
    Posted by Jeppe Ledet-Pedersen
    on Jul 13 2012 06:59 AM
    Prodigy180 points

    Hi Hardik,

    I got it running with notifyk.vpssm3_sva=0x8DB00000, sbufaddr=0x8DE00000 and mem=176M.

    Can I get a memory map for the M3 firmware as used in the Rowboat distribution (I think it's PSP version 04.00.00.12)? Is it possible to get the source code for the firmware to free up additional memory by signing an NDA?

    Thank you.

    -Jeppe

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • HardikShah
    Posted by HardikShah
    on Jul 15 2012 23:16 PM
    Mastermind20155 points

    Hi,

    I dont think it is possible to free any memory used by firmware. Since firmware is designed for using optimum memory. Further memory map is decided by EZSDK and the Rowboat distribution. So you need to refer those documents. Memory map is not decided by PSP itself.

    Regards,

    Hardik Shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jeppe Ledet-Pedersen
    Posted by Jeppe Ledet-Pedersen
    on Jul 30 2012 03:19 AM
    Prodigy180 points

    Hi Hardik,

    Thank you for your reply. Maybe I have misunderstood, but the notify/sharing buffer addresses mentioned in the VPSS user guide (0x8DB00000/0x8DE00000) must be defined by the M3 firmware? I'm basically trying to figure out where the 176MB limit comes from and how the 512MB of RAM are divided between the processors. I can find a memory map for 512MB  for the EZSDK (http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map) but it doesn't seem to match with the values in the VPSS user guide.

    We're having trouble with apps crashing due to low memory because we're limited to only 176MB of RAM, so if possible I would like to extend this if possible.

    Maybe I should repost the question on the rowboat google groups.

    Thanks.

    -Jeppe

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jeppe Ledet-Pedersen
    Posted by Jeppe Ledet-Pedersen
    on Aug 03 2012 01:29 AM
    Prodigy180 points

    I have posted a question to the rowboat mailing-list: https://groups.google.com/forum/?fromgroups#!topic/rowboat/sGkEvTlXbiE

    -Jeppe

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jay
    Posted by jay
    on Aug 26 2012 21:32 PM
    Intellectual835 points

    Hi, Jeppe

     

    I have some questions about am389xEVM, but nobody answer it. And it's hard to find that someone use android with am389x EVM.

    if possible, could you please have a look the following link and give me the answer?

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/209622.aspx

     

    Best Regards.

    Jay

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jeppe Ledet-Pedersen
    Posted by Jeppe Ledet-Pedersen
    on Aug 27 2012 07:46 AM
    Prodigy180 points

    Hi Jay,

    We used the TMDXEVM8148 to evaluate the software before getting our AM3874 boards. We use the ti81xx Android ICS branch from Gitorious. I don't think there's an official ICS download for the TI814x/AM387x.

    Best regards,

    -Jeppe

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jay
    Posted by jay
    on Aug 27 2012 19:12 PM
    Intellectual835 points

    Hi Jeppe.

    I really appriciate your answer.

    Thank you.

    Jay

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use