[meta-freescale] Activate HDMI with a boot.scr

Otavio Salvador otavio at ossystems.com.br
Mon Mar 30 05:26:47 PDT 2015


On Mon, Mar 30, 2015 at 8:37 AM, Shanx <shanx at legtux.org> wrote:
> Hello,
> I am using an i.mx6 sabresd, on which I have to manually activate the HDMI.
> To do so, I use the following command on u-boot prompt :
>
> =>setenv mmcargs 'setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk2p2
> rootwait rw video=mxcfb0:dev=hdmi, 1920x1080M at 60, if=RGB24'

You shouldn't use spaces for video arguments.

> The trick is that I have to unplug the HDMi before the kernel starts, and
> plug it after, but this is not the point.
> I'd like to automatize this by using a boot.scr (to help deployment on other
> i.mx). Si I have created a boot.txt :
>
> setenv mmcargs 'setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk2p2
> rootwait rw video=mxcfb0:dev=hdmi, 1920x1080M at 60, if=RGB24'
> boot
>
>
> And I create the boot.scr using mkimage -A arm -T script -O linux -d
> boot.txt boot.scr. But, when booting, it makes a loop (boot make uboot
> reload the configuration, where it reads boot so it begin again). Without
> boot... no boot. I've tried a lot of possibilities : boot 0x120000000,
> bootm, bootz, with a lot of options, nothing works.
>
> What am I doing wrong ?

I personally didn't use boot.scr with SabreSD but for easier
deployment I would make a custom machine and apply a patch for U-Boot
customizing it so you get the image ready for use.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list