mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 11:24:42 +00:00
opos6uldev: make the LCD work again
Commit5d7a95f499
("imx6ul/imx6ull: synchronise device trees with linux") removed the display timings from the board device tree whereas they are still needed by the mxsfb driver. Add the timings back (the correct ones) in the imx6ul-opos6uldev-u-boot.dtsi file and remove them from the opos6uldev.env file. Update the opos6uldev_defconfig file so that the LCD turns on at boot. Fixes:5d7a95f499
("imx6ul/imx6ull: synchronise device trees with linux") Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
This commit is contained in:
parent
71e2082010
commit
64ca8db96e
3 changed files with 22 additions and 10 deletions
|
@ -7,12 +7,6 @@
|
||||||
|
|
||||||
#include "imx6ul-opos6ul-u-boot.dtsi"
|
#include "imx6ul-opos6ul-u-boot.dtsi"
|
||||||
|
|
||||||
/ {
|
|
||||||
aliases {
|
|
||||||
display0 = &lcdif;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&aips1 {
|
&aips1 {
|
||||||
bootph-pre-ram;
|
bootph-pre-ram;
|
||||||
|
|
||||||
|
@ -22,7 +16,29 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
&lcdif {
|
&lcdif {
|
||||||
|
display = <&display0>;
|
||||||
bootph-some-ram;
|
bootph-some-ram;
|
||||||
|
|
||||||
|
display0: display0 {
|
||||||
|
bits-per-pixel = <18>;
|
||||||
|
bus-width = <18>;
|
||||||
|
|
||||||
|
display-timings {
|
||||||
|
timing0 {
|
||||||
|
clock-frequency = <33300000>;
|
||||||
|
hactive = <800>;
|
||||||
|
vactive = <480>;
|
||||||
|
hback-porch = <36>;
|
||||||
|
hfront-porch = <210>;
|
||||||
|
vback-porch = <13>;
|
||||||
|
vfront-porch = <22>;
|
||||||
|
hsync-len = <10>;
|
||||||
|
vsync-len = <10>;
|
||||||
|
de-active = <1>;
|
||||||
|
pixelclk-active = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&pinctrl_uart1 {
|
&pinctrl_uart1 {
|
||||||
|
|
|
@ -24,7 +24,6 @@ mmcrootfstype=ext4 rootwait
|
||||||
kernelimg=opos6ul-linux.bin
|
kernelimg=opos6ul-linux.bin
|
||||||
splashpos=0,0
|
splashpos=0,0
|
||||||
splashimage=CONFIG_SYS_LOAD_ADDR
|
splashimage=CONFIG_SYS_LOAD_ADDR
|
||||||
videomode=video=ctfb:x:800,y:480,depth:18,pclk:33033,le:96,ri:96,up:20,lo:21,hs:64,vs:4,sync:0,vmode:0
|
|
||||||
check_env=if test -n ${flash_env_version};
|
check_env=if test -n ${flash_env_version};
|
||||||
then env default env_version;
|
then env default env_version;
|
||||||
else env set flash_env_version ${env_version}; env save;
|
else env set flash_env_version ${env_version}; env save;
|
||||||
|
|
|
@ -115,13 +115,10 @@ CONFIG_CI_UDC=y
|
||||||
CONFIG_USB_GADGET_DOWNLOAD=y
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
||||||
CONFIG_VIDEO=y
|
CONFIG_VIDEO=y
|
||||||
CONFIG_VIDEO_LOGO=y
|
CONFIG_VIDEO_LOGO=y
|
||||||
# CONFIG_VIDEO_BPP8 is not set
|
|
||||||
# CONFIG_VIDEO_BPP32 is not set
|
|
||||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||||
CONFIG_VIDEO_MXS=y
|
CONFIG_VIDEO_MXS=y
|
||||||
CONFIG_SPLASH_SCREEN=y
|
CONFIG_SPLASH_SCREEN=y
|
||||||
CONFIG_SPLASH_SCREEN_ALIGN=y
|
CONFIG_SPLASH_SCREEN_ALIGN=y
|
||||||
CONFIG_SPLASH_SOURCE=y
|
|
||||||
CONFIG_BMP_16BPP=y
|
CONFIG_BMP_16BPP=y
|
||||||
CONFIG_BMP_24BPP=y
|
CONFIG_BMP_24BPP=y
|
||||||
CONFIG_BMP_32BPP=y
|
CONFIG_BMP_32BPP=y
|
||||||
|
|
Loading…
Add table
Reference in a new issue