AnsweredAssumed Answered

Using LFS on i.MX6q SabreSD

Question asked by Jeremy Lugagne on Jul 24, 2013
Latest reply on Jul 25, 2013 by Jeremy Lugagne

Hello everyone,


I have the SabreSD board with the touchsreen and I've built the LFS from L3.0.35_4.0.0_130424_source.tar.gz package. I deploy it on the sd card with the MfgTool using the default u-boot and uImage delivered with the tool. After that, I restart the board to boot on the SD card but I have a message saying that the uImage can't be found so I configure manualy the u-boot env with commands found in the linux user guide (Listing 1). Everything is going fine till the "saveenv" command, it doesn't exist. To have this command, I start the board on the android's card, go to the u-boot prompt, change the SD card, rescan the mmc 2, configure the u-boot env and then save it but it doesn't work, i can't boot automaticaly to the LFS. But if I set the environment and then use "bootd" instead of "run bootcmd" I can boot on the SD card and login me in the serial console.


An other problem is I don't have the prompt on the LVDS, I have only in serial console, so I tried to configure the kernel with u-boot like in this thread (No display on SabreSD imx6 with u boot configuration) but it don't work, even with the ldb=dul0. It seems that the LVDS is connected to LVDS1 and not LVDS0.


So my questions is : what u-boot should I use ? (the u-boot built with the L3 package doen't work, and the same for the uImage) and what are the parameters to have the touchscreen as the main screen.


Thank you in advance,


Jérémy L.


Listing 1:

setenv loadaddr 0x10800000

setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'

setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk1p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'

setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 2;mmc read ${loadaddr} 0x800 0x2000;bootm'

setenv bootcmd 'run bootcmd_mmc'


run bootcmd