I am working on a custom board with an LCD on it. Kernel uses the LCD successfully, however u-boot doesn't show anything. I want to display at least some text on the LCD during u-boot.
I have done below defines and made the LCD pin additions to the dts file, however it didn't work, I see no backlight, when I override the backlight manually, I see no image on the LCD:
#define CONFIG_DM_VIDEO
#define CONFIG_VIDEO_PCI_DEFAULT_FB_SIZE 0
Here is what my printenv looks like:
baudrate=115200
board_name=EVK
board_rev=14X14
boot_fdt=try
bootcmd=run findfdt;mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if
run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot
; else run netboot; fi; fi; else run netboot; fi
bootdelay=2
bootscript=echo Running bootscript from mmc ...; source
console=ttymxc0
ethprime=eth1
fdt_addr=0x83000000
fdt_file=undefined
fdt_high=0xffffffff
fdtcontroladdr=9ef95f50
findfdt=if test $fdt_file = undefined; then if test $board_name = ULZ-EVK && tes
t $board_rev = 14X14; then setenv fdt_file imx6ulz-14x14-evk.dtb; fi; if test $b
oard_name = EVK && test $board_rev = 14X14; then setenv fdt_file imx6ull-14x14-e
vk.dtb; fi; if test $fdt_file = undefined; then echo WARNING: Could not determin
e dtb to use; fi; fi;
image=zImage
initrd_high=0xffffffff
ip_dyn=yes
loadaddr=0x82000000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
mmcautodetect=yes
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || tes
t ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr};
else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT;
fi; fi; else bootz; fi;
mmcdev=0
mmcpart=1
mmcroot=/dev/mmcblk0p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfs
root=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then se
tenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${
boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_
file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; the
n bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
panel=TFT43AB
script=boot.scr
stderr=serial
stdin=serial
stdout=serial
videomode=video=ctfb:x:480,y:272,depth:24,pclk:108695,le:8,ri:4,up:2,lo:4,hs:41,
vs:10,sync:0,vmode:0
Environment size: 2143/8188 bytes
My u-boot-fslc version is: v2020.10+gitAUTOINC+80c23498b4-r0
What should I do more? Is LCD driver for u-boot not supported?
Hi Abdullah
one can look at below dts example and enable lcdif
Best regards
igor