From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4AB34E00B0B; Mon, 2 Jun 2014 14:03:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.160.47 listed in list.dnswl.org] Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 21E38E00985 for ; Mon, 2 Jun 2014 14:03:27 -0700 (PDT) Received: by mail-pb0-f47.google.com with SMTP id rp16so4606384pbb.34 for ; Mon, 02 Jun 2014 14:03:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=VDVhlc746pvqfC0zkI7d/Hhll5c6IfLkJDPlOz0DigM=; b=AQLCCOTbMmXQ7CD2VhHbweFydcyO9hEUImm8ZYG2bz392HcoTmxSWK9E7DunugDf0X lb9ek1bjW2zNk338TtuxWZEQt1pfVlRan8HgwJED3tHKkgeTvVWaMP41p6B/l2C4KmSC AG5yu0CMAyyb/w+N76yb1mZaTH8TGVtLPWDhkuDq2zbAivl8EzFV6FEuKoeWXCUPVlZw Ya0WfrmgZcfkxz3jmNfnQ0juRRWGvDd/MigbeCrFm5ArrYad06FnXklTKeemuR0mMeUu jnFwOwuMQPFl3XumkTISHvF0OoWkZnF0xgi0JiJttrXY25hbFfXsld10yOBFf3oiRglg 89gg== X-Gm-Message-State: ALoCoQmeWIDWw2y2KwLfdlxNpQflGZHzZWVQ8Vjz2AJJOhTxy0qqybrAO6nH+W2pKyOqjaGDjA/z X-Received: by 10.66.164.135 with SMTP id yq7mr43753549pab.126.1401743007631; Mon, 02 Jun 2014 14:03:27 -0700 (PDT) Received: from [192.168.0.124] ([63.226.49.26]) by mx.google.com with ESMTPSA id iv2sm22015328pbc.19.2014.06.02.14.03.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Jun 2014 14:03:26 -0700 (PDT) Message-ID: <538CE69B.1090709@boundarydevices.com> Date: Mon, 02 Jun 2014 14:03:23 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Gary Thomas , "meta-freescale@yoctoproject.org" References: <538CD96B.6070800@mlbassoc.com> In-Reply-To: <538CD96B.6070800@mlbassoc.com> Subject: Re: HDMI on i.MX6 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 21:03:41 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Gary, On 06/02/2014 01:07 PM, Gary Thomas wrote: > I have some questions about HDMI display on i.MX6, the > SabreLite / Nitrogen6x in particular. > > When I boot with my HDMI monitor attached, U-Boot finds it > and tells me: > auto-detected panel HDMI > Display: HDMI (1024x768) > This is done because the display clocking is currently wonky in U-Boot (you can have any frequency as long as it's the same as the Hannstar display). > Then Linux is booted with these arguments: > video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 ;) We chose that resolution just to mess with you. This is currently hard-coded in the boot script here: https://github.com/boundarydevices/u-boot-imx6/blob/production/board/boundary/nitrogen6x/6x_bootscript-yocto.txt#L15 > I know that these parameters come from the boot script, but > they seem to be hard coded. What if I wanted different display > parameters? These values don't seem to work very well for my > monitor - stuff is being cut off on all edges. Perhaps my > monitior isn't the best so I'd like some guidance on how to > tune things. I've attached a picture of the actual screen > so you can see what I mean. > No problem. You can figure out what resolution works well with your display by echo'ing values to /sys/class/graphics/fb0/mode (cat /sys/class/graphics/fb0/modes for the values supported by your monitor). Then you can update the boot script .txt file and convert to binary using this tool: http://git.boundarydevices.com/bootscript.php In order to integrate with a Yocto build, you'll want to generate a patch that overrides things in u-boot-script-boundary: https://github.com/Freescale/meta-fsl-arm-extra/blob/master/recipes-bsp/u-boot/u-boot-script-boundary_git.bb Regards, Eric