From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 40F27E0086D; Mon, 1 Jun 2015 12:46:58 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, 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 * [193.201.172.118 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mx2.mail.bg (mx2.mail.bg [193.201.172.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D98E2E0027F for ; Mon, 1 Jun 2015 12:46:54 -0700 (PDT) Received: from [192.168.0.63] (unknown [93.152.143.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx2.mail.bg (Postfix) with ESMTPSA id 9CC5F6001FF5; Mon, 1 Jun 2015 22:46:53 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1433188013; bh=F/iIC3hCPPgoCR+O+lHUUB3debo0uaa8QTwafQhNUL8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=zc9pib3bpQClNHyGDm1ral9u60lK4o52E44JODsDWhsh3nwpG0vNnQpnIFNb6TXKb nMLFFTCZqHLEFmiEKbGAOLVQrpj7WgsmC10savBKCPmD0Ptcs1qSwaOBrv2FVkzqjg qWX7vr1ZcS3LCMyud2tUgKmmtx5LBfXqekg5M3Ec= Message-ID: <556CB6AD.5060807@mail.bg> Date: Mon, 01 Jun 2015 22:46:53 +0300 From: Nikolay Dimitrov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Fabio Estevam References: <1433106098-7683-1-git-send-email-picmaster@mail.bg> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" , Fabio Estevam , Otavio Salvador Subject: Re: [meta-fsl-arm][PATCH] u-boot-fslc: mx6sabresd: Enable HDMI video in bootargs 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, 01 Jun 2015 19:46:58 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Fabio, On 06/01/2015 05:01 PM, Fabio Estevam wrote: > On Sun, May 31, 2015 at 6:01 PM, Nikolay Dimitrov wrote: > >> ++#define VIDEO_ARGS "video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 " \ > > What if the user wants to use LVDS as fb0? > > Not sure if we should really hardcode this kernel command line. What do you think about this: video_args_hdmi=setenv video_args $video_args video=mxcfb${fbid}:dev=hdmi,1280x720M@60,if=RGB24\0 video_args_lvds=setenv video_args $video_args video=mxcfb${fbid}:dev=ldb,LDB-XGA,if=RGB666\0 video_args_lcd=setenv video_args $video_args video=mxcfb${fbid}:dev=lcd,CLAA-WVGA,if=RGB666\0 fb=0\0 video_interfaces=hdmi lvds lcd\0 config_video=for v in ${video_interfaces}; do \ run video_args_${v}; \ setexpr fb $fb + 1; \ done\0 mmcargs=setenv bootargs console=${console},${baudrate} \ root=${mmcroot} \ ${video_args}\0 ... mmcboot=echo Booting from mmc ...; \ run config_video; \ run mmcargs; \ ... Now video interfaces can be selected and reordered at will just by editing video_interfaces env-var. Regards, Nikolay