AnsweredAssumed Answered

Dual Display setup on Yocto build

Question asked by Paul lee on Oct 1, 2014
Latest reply on Apr 12, 2017 by vo son

Hi,

 

I am using imx6q SABRE SDP hardware.

I have build fsl-image-gui and i want to display this on dual display.

 

Display 1 = HDMI 720p and Display 2 = LVDS = 1024 x720

 

My bootargs is a follow

 

imx6qsabresd login: printenv

 

baudrate=115200

 

boot_fdt=try

 

bootcmd=mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi

 

bootcmd_mfg=run mfgtool_args;bootm ${loadaddr} ${initrd_addr} ${fdt_addr};

 

bootdelay=1

 

bootscript=echo Running bootscript from mmc ...; source

 

console=ttymxc0

 

ethact=FEC

 

ethaddr=00:04:9f:02:70:e0

 

ethprime=FEC

 

fdt_addr=0x18000000

 

fdt_file=imx6q-sabresd.dtb

 

fdt_high=0xffffffff

 

initrd_addr=0x12C00000

 

initrd_high=0xffffffff

 

ip_dyn=yes

 

loadaddr=0x12000000

 

loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};

 

loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}

 

loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}

 

mfgtool_args=setenv bootargs console=ttymxc0,115200 rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" enable_wait_mode=off

 

mmcargs=setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot} video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 ldb=sin1 

 

mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi;

 

mmcdev=1

 

mmcpart=1

 

mmcroot=/dev/mmcblk0p2 rootwait rw

 

netargs=setenv bootargs console=${console},${baudrate} ${smp} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp

 

But I am only getting display on HDMI...

Did i missed some thing?

What more modification is required to get dual display working?

 

netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${uimage}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi;

 

script=boot.scr

 

uimage=uImage

 

 

Environment size: 2103/8188 bytes

Outcomes