From: Nikolay Dimitrov <picmaster@mail.bg>
To: meta-freescale@yoctoproject.org,
Fabio Estevam <festevam@gmail.com>,
Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: [meta-fsl-arm][PATCH] u-boot-fslc: mx6sabresd: Enable HDMI video in bootargs
Date: Tue, 02 Jun 2015 19:06:09 +0300 [thread overview]
Message-ID: <556DD471.1000006@mail.bg> (raw)
In-Reply-To: <556CB6AD.5060807@mail.bg>
Hi guys,
On 06/01/2015 10:46 PM, Nikolay Dimitrov wrote:
> Hi Fabio,
>
> On 06/01/2015 05:01 PM, Fabio Estevam wrote:
>> On Sun, May 31, 2015 at 6:01 PM, Nikolay Dimitrov <picmaster@mail.bg>
>> 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.
I've cleaned-up the code and sent a pull-request for you to review:
https://github.com/Freescale/u-boot-fslc/pull/8
Regards,
Nikolay
next prev parent reply other threads:[~2015-06-02 16:06 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-31 21:01 [meta-fsl-arm][PATCH] u-boot-fslc: mx6sabresd: Enable HDMI video in bootargs Nikolay Dimitrov
2015-06-01 13:46 ` Otavio Salvador
2015-06-01 14:57 ` Nikolay Dimitrov
2015-06-01 14:01 ` Fabio Estevam
2015-06-01 14:55 ` Nikolay Dimitrov
2015-06-01 15:04 ` Gary Thomas
2015-06-01 19:46 ` Nikolay Dimitrov
2015-06-02 16:06 ` Nikolay Dimitrov [this message]
2015-06-02 16:09 ` Otavio Salvador
2015-06-03 18:29 ` Nikolay Dimitrov
2015-06-11 12:07 ` Nikolay Dimitrov
2015-06-11 12:47 ` Fabio Estevam
2015-06-11 14:16 ` Nikolay Dimitrov
2015-06-11 17:02 ` Fabio Estevam
2015-06-11 17:04 ` Nikolay Dimitrov
2015-06-11 17:06 ` Nikolay Dimitrov
2015-06-11 17:08 ` Fabio Estevam
2015-06-11 17:14 ` Nikolay Dimitrov
2015-06-24 2:47 ` Nikolay Dimitrov
2015-07-02 21:31 ` Otavio Salvador
2015-07-03 17:43 ` Otavio Salvador
2015-07-03 21:23 ` Nikolay Dimitrov
2015-07-03 21:26 ` Otavio Salvador
2015-07-04 1:57 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=556DD471.1000006@mail.bg \
--to=picmaster@mail.bg \
--cc=festevam@gmail.com \
--cc=meta-freescale@yoctoproject.org \
--cc=otavio@ossystems.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.