Hi,
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 (https://community.freescale.com/docs/DOC-94849)
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 tar.bz 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???
Hi Srinivasa
reason for display is not coming, may be:
Bug 6703 - Kernel hangs on boot when HDMI cable is plugged
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6703
also one can refer to short tutorial
Linux on the i.MX6 sabre sd platform in a few commands
for setting environment variables in u-boot one can look
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------