AnsweredAssumed Answered

changing U-boot environment variables for HDMI

Question asked by srinivasaporam on Jun 16, 2015
Latest reply on Jun 16, 2015 by igorpadykov


we are working on i.mx6 custom designed board. We have power it up for the first time and want port OS to the board. We are working on a host system with Ubuntu 14.04 and i.mx6 board is connected to host system through USB. We are bringing up the board (Os porting) by using Yocto training material as given below:


Yocto Training - HOME (


In conf/local.conf file,I have stated my machine as sabresd and run all commands as per the training document. and deployed sdcard image to sd card. When iam booting the board with the sd card connected, then display is not coming (which is conncted through HDMI cable).


in task #4 , we are doing the following steps:





Deploy the sdcard image:


$ sudo dd if=fsl-image-gui-imx6qsabresd.sdcard of=/dev/sdX bs=1M



Or, deploy the ext3 rootfs


$ sudo dd if=fsl-image-gui-imx6qsabresd.ext3 of=/dev/sdX2 bs=1M


Or deploy only the rootfs


$ sudo mount /dev/sdX2 /mnt/card

$ sudo tar xf imagename-imx53qsb.tar.bz2 -C /mnt/card


In order to deploy only kernel


$ sudo cp uImage-3.0.35-r32.10-imx6qsabresd-20130505174618.bin /media/Boot


In order to  deploy only u-boot


$ sudo dd if=u-boot-imx6qsabresd-v2012.10-r3.imx of=/dev/sdX bs=512 seek=2



We have deployed sdcard image.


If using HDMI please, modify u-boot environment arguments:

setenv mmcargs "setenv bootargs console=${console},${baudrate} root=${mmcroot} rootwait rw video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24"


how can i set environment variables in u-boot. which file i should work on and do i need to use some tools to set environment variables in u-boot???