Hi,
I am having troubles displaying splash screen image in U-boot on custom display connected to LVDS channel A in single channel mode.
I have added below display timings to display array in u-boot/board/toradex/apalis_imx6/apalis_imx6.c:
{
.bus = -1,
.addr = 0,
.pixfmt = IPU_PIX_FMT_LVDS666,
.di = 0,
.detect = detect_default,
.enable = enable_lvds,
.mode = {
.name = "640x240",
.refresh = 60,
.xres = 640,
.yres = 240,
.pixclock = 93457,
.left_margin = 32,
.right_margin = 29,
.upper_margin = 3,
.lower_margin = 8,
.hsync_len = 8,
.vsync_len = 2,
.sync = FB_SYNC_VERT_HIGH_ACT,
.vmode = FB_VMODE_NONINTERLACED
} }
After setting panel=640x240 environment variable in U-boot still nothing gets displayed.
I have above timings in kernel device tree so display and also kernel splash screen is working when linux is booting.
This is debug output in u-boot while starting:
Display: 640x240 (640x240)
ipu_clk = 260000000
ldb_clk = 65000000
read BS_CLKGEN0 div:0, final_rate:4160000000, prate:260000000
read BS_CLKGEN0 div:0, final_rate:4160000000, prate:260000000
IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxcfb_init_fbinfo: 4 640 112 524
Framebuffer structures at: fbi=0x4df24690 mxcfbi=0x4df248a0
allocated fb @ paddr=0x4DF2A600, size=614400.
Channel already disabled 9
Channel already uninitialized 9
setup_disp_channel1 called
bpp_to_pixfmt: 16
init channel = 9
pixclock = 10700000 Hz
panel size = 640 x 240
pixel clk = 10700000Hz
setup_disp_channel2: 95ffcff 640 240 1280 4df2a600 4df75600
bpp_to_pixfmt: 16
initializing idma ch 23 @ 027005c0
ch 23 word 0 - 00000000 00000000 00000000 E0001800 0003BC4F
ch 23 word 1 - 09BEEAC0 0137CA98 20E3C000 F2C13FC0 00082CA0
PFS 0x7, BPP 0x3, NPB 0xf
FW 639, FH 239, Stride 1279
Width0 4+1, Width1 5+1, Width2 4+1, Width3 7+1, Offset0 0, Offset1 5, Offset2 11, Offset3 16
IPU_CONF = 0x000006A0
IDMAC_CONF = 0x0000002F
IDMAC_CHA_EN1 = 0x00800000
IDMAC_CHA_EN2 = 0x00000000
IDMAC_CHA_PRI1 = 0x18800000
IDMAC_CHA_PRI2 = 0x00000000
IPU_CHA_DB_MODE_SEL0 = 0x00800000
IPU_CHA_DB_MODE_SEL1 = 0x00000000
DMFC_WR_CHAN = 0x00000090
DMFC_WR_CHAN_DEF = 0x202020F6
DMFC_DP_CHAN = 0x00009694
DMFC_DP_CHAN_DEF = 0x2020F6F6
DMFC_IC_CTRL = 0x00000002
IPU_FS_PROC_FLOW1 = 0x00000000
IPU_FS_PROC_FLOW2 = 0x00000000
IPU_FS_PROC_FLOW3 = 0x00000000
IPU_FS_DISP_FLOW1 = 0x00000000
Framebuffer at 0x4df2a600
Video: Drawing the logo ...
If I try to display u-boot splash screen on HDMI it works fine, but when I change to LVDS nothing gets displayed.
Regards, Sandi Mlinar