AnsweredAssumed Answered

How to display Text on " Lcd "

Question asked by Arjun k on Feb 28, 2018
Latest reply on Feb 28, 2018 by Victor Linnik

Hi all,

   am using IMX6q_sabrelite board ,I have a 640x480 LCD and I am not able to display text on lcd ..

my Uboot commands:

U-Boot 2016.03 (Dec 06 2016 - 16:41:34 +0530)

CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: WDOG
Board: SABRE Lite
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB
auto-detected panel CLAA-WVGA
Display: lcd:CLAA-WVGA (800x480)
In: serial
Out: serial
Err: serial
Net: Micrel ksz9021 at 7
FEC [PRIME], usb_ether
Hit any key to stop autoboot: 0

=>printenv

baudrate=115200
board=sabrelite
bootargs=console=ttymxc1,115200 rw root=/dev/mmcblk1p2 rootwait consoleblank=0 video=mxcfb1:dev=lcd,640x480,if=RGB565
bootcmd=for dtype in ${bootdevs}; do if itest.s "xusb" == "x${dtype}" ; then usb start ;fi; for disk in 0 1 ; do ${dtype} dev ${disk} ;load ${dtype} ${disk}:1 10008000 /6x_bootscript&& source 10008000 ; done ; done; setenv stdout serial,vga ; echo ; echo 6x_bootscript not found ; echo ; echo serial console at 115200, 8N1 ; echo ; echo details at http://boundarydevices.com/6q_bootscript ; setenv stdout serial;setenv stdin serial,usbkbd;for dtype in ${umsdevs} ; do if itest.s sata == ${dtype}; then initcmd='sata init' ;else initcmd='mmc rescan' ;fi; for disk in 0 1 ; do if $initcmd && $dtype dev $disk ; then setenv stdout serial,vga; echo expose ${dtype} ${disk} over USB; ums 0 $dtype $disk ;fi; done; done ;setenv stdout serial,vga; echo no block devices found;
bootdelay=3
bootdevs=sata mmc usb
clearenv=if sf probe || sf probe || sf probe 1 ; then sf erase 0xc0000 0x2000 && echo restored environment to factory default ; fi
cmd_hdmi=fdt set fb_hdmi status disabled
cmd_lcd=fdt set fb_lcd status okay;fdt set fb_lcd interface_pix_fmt RGB666;fdt set lcd default_ifmt RGB666;fdt set fb_lcd mode_str CLAA-WVGA;
cmd_lvds=fdt set fb_lvds status disabled;fdt set ldb/lvds-channel@0 status disabled
console=ttymxc1
cpu=6Q
dfu_alt_info=u-boot raw 0x0 0xc0000
dtbname=imx6q-sabrelite.dtb
eth1addr=00:19:b8:00:00:02
ethact=FEC
ethaddr=00:19:b8:02:ca:76
ethprime=FEC
fb_hdmi=off
fb_lvds=off
fdt_addr=0x13000000
fdt_high=0xffffffff
initrd_high=0xffffffff
ipaddr=10.0.0.2
loadaddr=0x12000000
loadsplash=if sf probe ; then sf read ${splashimage} c2000 ${splashsize} ; fi
reset_cause=10
rundfu=dfu 0 sf 0:0:25000000:0
serverip=10.0.0.1
sfname=SST25VF016B
stdin=serial,usbkbd
stdout=serial
uboot_defconfig=nitrogen6q
umsdevs=sata mmc
upgradeu=for dtype in ${bootdevs}; do for disk in 0 1 ; do ${dtype} dev ${disk} ;load ${dtype} ${disk}:1 10008000 /6x_upgrade && source 10008000 ; done ; done
usbnet_devaddr=00:19:b8:00:00:02
usbnet_hostaddr=00:19:b8:00:00:01
usbrecover=setenv ethact usb_ether; setenv ipaddr 10.0.0.2; setenv netmask 255.255.255.0; setenv serverip 10.0.0.1; setenv bootargs console=ttymxc1,115200; tftpboot 10800000 10.0.0.1:uImage-${board}-recovery&& tftpboot 12800000 10.0.0.1:uramdisk-${board}-recovery.img && bootm 10800000 12800000
wlmac=00:19:b8:82:ca:76

after booting with this configuration

"U-Boot 2016.03 (Dec 06 2016 - 16:41:34 +0530)"

this got printed on lcd 

And   i tried 

#echo "hello lcd" > /dev/fb0

 but didn't work,!!!!!

am using AA057V12--T1 lcd 

How to display Text on " Lcd "

Can anyone help me? 

 

 

 

Outcomes