• 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 » Embedded Software » Android » Android forum » "OMAPLFBInit failed" when supporting high resolution LCD on DevKit-V1
Share
Android
  • Forum
Options
  • Subscribe via RSS

Forums

"OMAPLFBInit failed" when supporting high resolution LCD on DevKit-V1

This question is answered
Jianjun Liu
Posted by Jianjun Liu
on Aug 29 2010 23:05 PM
Intellectual945 points

Hi,

  As tested on Devkit-V1, on AM3517 EVM board, to support 1440*900 resolution via below command, it will report "omaplfb: OMAPLFB_Init: OMAPLFBInit failed".

setenv bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait init=/init omapfb.rotate=0 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y omapfb.mode=dvi:1440x900MR-16 omapdss.def_disp="dvi"
  There is no problem when resolution is 1280*720, 1280*800. As checked the code, it seems there is 1M pixel resolution limitation. How could we support high resolution, such as: 1440*900? Is there code change needed?
  By the way, as tested on OMAP3530+Rowboat Donut version, 1440*900@58Hz could work.
  Thanks a lot!
Br, Jianjun
 

am3517 large resolution
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vaibhav Hiremath
    Posted by Vaibhav Hiremath
    on Sep 03 2010 03:51 AM
    Expert8160 points

    Hi Liu,

    From DSS driver point of view there should not be any differences which will limit the resolution support. If it is working on OMAP3530, then I don't see any reason why it is not working on AM3517.

    The very first thing is, the resolution 1440x900 is not supported by modedb.c file, you have to add it manually to configure timing params for this resolution. Please make sure that, your kernel running on AM3517 devkit supports this resolution.

    Also I have couple of questions here,

     - Can you provide complete boot log?

     - What makes you think that, code restricts max resolution to 1M pixel?

     - Can you please let me know which PSP release are you using?

     - If you are not based out of PSP release then what is your kernel version?

     

    Thanks,

    Vaibhav

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jianjun Liu
    Posted by Jianjun Liu
    on Sep 06 2010 10:37 AM
    Intellectual945 points
    1400x1050.TXT

    Hi, Vaibhav:

       Please find the log files(1400x900 and 1400x1050) as attachments. And we tested it on Devkit-V1 + am3517 evm. The psp version should be 03.00.01.06.

      As checked code, there is 4MB memory allocation limitation for video frame buffer application, so we guess this should be the reason.

      By the way, we will try to add 1400x900 with timing, and try again. Will udpate you soon.

     

    Br, Jianjun

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jianjun Liu
    Posted by Jianjun Liu
    on Sep 06 2010 10:40 AM
    Intellectual945 points
    1400x900.TXT

    Attached 1400x900 resolution log.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vaibhav Hiremath
    Posted by Vaibhav Hiremath
    on Sep 06 2010 10:52 AM
    Expert8160 points

    Hi Lui,

    Can you please also let me know the PSP Kernel Version? Just do "cat /proc/ti-psp-version"?

    I am bit confused here, the kernel version you are using is 2.6.32, and the boot argument you are trying to set is from 2.6.29. Also the error message clearly mentions about the failure, it is failing because driver could not able to allocate required memory. You have to pass additional boot argument to reserve memory. Please use following boot argument (which I created from your boot log)

     

    setenv bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait init=/init  vram=10M omapfb.vram=0:10M omapfb.vrfb=y omapfb.rotate=0  omap_vout.vid1_static_vrfb_alloc=y omapfb.mode=dvi:1440x900MR-16 omapdss.def_disp="dvi"

     

    Thanks,

    Vaibhav

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jianjun Liu
    Posted by Jianjun Liu
    on Sep 06 2010 18:25 PM
    Intellectual945 points
    32_cmd_1440x900.TXT

    Hi, Vaibhav:

      After the new bootargs, no error message again. And psp version is 03.00.01.06. please find attachment. Since I am on business trip and have no high resolution LCD, we will update you the final result a little bit later.

      Thanks a lot!

     

    Br, Jianjun

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vaibhav Hiremath
    Posted by Vaibhav Hiremath
    on Sep 06 2010 23:35 PM
    Expert8160 points

    Thats great,

    You can check for device nodes on your system, if /dev/fb0 is being created then things are fine and Fbdev has been initialized without any issues.

     

    Thanks,

    Vaibhav

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jianjun Liu
    Posted by Jianjun Liu
    on Sep 07 2010 01:37 AM
    Verified Answer
    Verified by Jianjun Liu
    Intellectual945 points

    Hi, Vaibhav:

      We have tested, and 1440x900@58hz resolution could work on AM3517 EVM+DEVKIT V1 now.

      Thanks a lot for your support.

    Br, Jianjun

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • pradhyum
    Posted by pradhyum
    on Sep 28 2010 00:23 AM
    Intellectual2855 points

    Vaibhav:

    I have a similar request.

    I am running v2 Gnome on AM3517. DVI works fine when I run at omapfb.mode=dvi:1280x720@60

    However, customer is requesting if we can run the demo on 1366x768 resolution screen – So I generated boot.scr   with

    omapfb.mode=dvi:1366x768@50 (as 60 Hz will exceed the 75MHz output clock on AM3517).  When I do this, I get the following error on console

     

    Any ideas on how I can get the display working at this resolution ?. Is this error because my dell monitor cannot support it or is it the display driver ?.

     

    I do appreciate any help on this.

     

     

    omapdss DSS error: Requested pixel clock not possible with the current OMAP2_DSS_MIN_FCK_PER_PCK setting. Turning the constraint off.

    mmc0: new SD card at address bca9

    DSS error: Requested pixel clock not possible with the current OMAP2_DSS_MIN_FCK_PER_PCK setting. Turning the constraint off.

    omapdss DISPC error: SYNC_LOST, disabling LCD

    regulator_init_complete: incomplete constraints, leaving LDO2 on

    regulator_init_complete: incomplete constraints, leaving LDO1 on

    davinci_emac_probe: using random MAC addr: ca:a8:a3:01:5f:0c

    emac-mii: probed

    rtc-s35390a 1-0030: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

    omapdss DPI error: display already enabled

    omap_vout omap_vout: 'dvi' Display already enabled

    omapdss DPI error: display already enabled

    omap_vout omap_vout: 'dvi' Display already enabled

    omap_vout omap_vout: Buffer Size = 3686400

    omap_vout omap_vout: : registered and initialized video device 1

    omap_vout omap_vout: Buffer Size = 3686400

    omap_vout omap_vout: : registered and initialized video device 2

    omapdss DISPC error: SYNC_LOST, disabling LCD

    omapdss DISPC error: SYNC_LOST, disabling LCD

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vaibhav Hiremath
    Posted by Vaibhav Hiremath
    on Sep 30 2010 07:31 AM
    Expert8160 points

    Hi Pradhyum,

     

    Can you please make sure that you have enabled DSI clock as a source clock? You may have to tune the timing parameters here, since the available timing parameters is not working for you.

    i do not have readily available timing params for this resolution which are working on OMAP3, but should be easy to get one. You can update/add timing params in driver/video/modedb.c file or you can also use sysfs interface for changing timing params.

     

    Thanks.

    Vaibhav

     

    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