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

Shanx shanx at legtux.org
Mon Mar 30 04:37:19 PDT 2015


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'

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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150330/ec712d1f/attachment.html>


More information about the meta-freescale mailing list