On Mon, Mar 30, 2015 at 8:37 AM, Shanx <[email protected]> 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@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@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 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
