uboot logo lvds 24bit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

uboot logo lvds 24bit

2,249件の閲覧回数
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,860件の閲覧回数
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,860件の閲覧回数
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,860件の閲覧回数
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 件の賞賛
返信