uboot logo lvds 24bit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

uboot logo lvds 24bit

2,254 次查看
haoxing990
Contributor I

Hellow everybody i have some problems wiht my uboot-imx  i add a uboot logo but it displays uncorrect 

my board is mx6q_sabresd

标签 (1)
0 项奖励
回复
3 回复数

1,865 次查看
joanxie
NXP TechSupport
NXP TechSupport

could you give us more detailed information about your error? and tell us your test steps to check, and pls attach the log file if you could.

0 项奖励
回复

1,865 次查看
haoxing990
Contributor I

i'm so sorry this is the first time i ask question

my board is mx6q_sabresd

in uboo-imx board/freescale/mx6q_sabresd/mx6q_sabresd.c

i have some changed in code

i hope my uboot logo is ldb=dul1 1024x768 rgb=24bit  but  i get the logo on screen  are four pictures, two is my uboot logo  others are  my kernel logo

my bootargs is

setenv screen2 'setenv video video=mxcfb0:dev=ldb,LDB-XGA,if=RGB24,bpp=24  video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2:off fbmem=14M,28M vmalloc=512M ldb=dul1'

  if(strcmp(s, "RGB555") == 0)

  val = IPU_PIX_FMT_RGB555;

  else if(strcmp(s, "RGB565") == 0)

  val = IPU_PIX_FMT_RGB565;

  else if(strcmp(s, "RGB666") == 0)

  val = IPU_PIX_FMT_RGB666;

  else if(strcmp(s, "BGR666") == 0)

  val = IPU_PIX_FMT_BGR666;

  else if(strcmp(s, "BGR24") == 0)

  val = IPU_PIX_FMT_BGR24;

  else if(strcmp(s, "RGB24") == 0)

  val = IPU_PIX_FMT_RGB24;

  else if(strcmp(s, "BGR32") == 0)

  val = IPU_PIX_FMT_BGR32;

  else if(strcmp(s, "RGB32") == 0)

  val = IPU_PIX_FMT_RGB32;

  else if(strcmp(s, "YUYV") == 0)

  val = IPU_PIX_FMT_YUYV;

  else if(strcmp(s, "UYVY") == 0)

  val = IPU_PIX_FMT_UYVY;

  else if(strcmp(s, "YUV444") == 0)

  val = IPU_PIX_FMT_YUV444;

  else

  val = IPU_PIX_FMT_RGB666;

  printf("fixfmt = %s %d\n", s, val);

  ret = ipuv3_fb_init(&lvds_xga, di, val,

  DI_PCLK_LDB, 65000000);

  if (ret)

  puts("LCD cannot be configured\n");

  /*

  * LVDS0 mux to IPU1 DI0.

  * LVDS1 mux to IPU1 DI1.

  */

  reg = readl(IOMUXC_BASE_ADDR + 0xC);

  reg &= ~(0x000003C0);

  reg |= 0x00000100;

  writel(reg, IOMUXC_BASE_ADDR + 0xC);

  if (di == 1)

  writel(0x40C, IOMUXC_BASE_ADDR + 0x8);

  else

  writel(0x201, IOMUXC_BASE_ADDR + 0x8);

}

#endif

0 项奖励
回复

1,865 次查看
haoxing990
Contributor I

The uboot logo displsys like this,at the top picture is the uboot logo ,at the bottom is the kernel logo . I don't know how to solve this problem,please help me

小.jpg

0 项奖励
回复