[U-Boot-Users] how to add 'bmp' command

Carlos Ojea nuudoo at gmail.com
Wed Oct 25 09:06:45 CEST 2006


Davinci has an ARM926EJ-S and it also has his own graphics controller.

After adding the following lines to my board config:
#define CONFIG_SPLASH_SCREEN	1
#define CONFIG_LCD 		1
#define CONFIG_NEC_NL6448BC20	1

I get the following errors:
lcd.c: In function `bitmap_plot':
lcd.c:98: error: parse error before "panel_info"
lcd.c:98: warning: type defaults to `int' in declaration of `panel_info'
lcd.c:98: warning: data definition has no type or storage class
lcd.c: In function `console_scrollup':
lcd.c:114: error: request for member `vl_row' in something not a
structure or union
lcd.c:117: error: request for member `vl_row' in something not a
structure or union
lcd.c: In function `console_back':
lcd.c:145: error: request for member `vl_col' in something not a
structure or union
lcd.c: In function `console_newline':
lcd.c:164: error: request for member `vl_row' in something not a
structure or union
lcd.c: In function `lcd_putc':
lcd.c:191: error: request for member `vl_col' in something not a
structure or union
lcd.c:202: error: request for member `vl_col' in something not a
structure or union
lcd.c: In function `drv_lcd_init':
lcd.c:349: error: request for member `vl_col' in something not a
structure or union
lcd.c:349: error: request for member `vl_bpix' in something not a
structure or union
lcd.c: In function `lcd_clear':
lcd.c:401: error: request for member `vl_row' in something not a
structure or union
lcd.c: In function `lcd_setmem':
lcd.c:456: error: request for member `vl_col' in something not a
structure or union
lcd.c:456: error: request for member `vl_bpix' in something not a
structure or union
lcd.c:461: error: request for member `vl_row' in something not a
structure or union
lcd.c: In function `lcd_display_bitmap':
lcd.c:611: error: request for member `vl_bpix' in something not a
structure or union
lcd.c:635:3: #error "Don't know location of color map"
lcd.c:660: error: request for member `vl_col' in something not a
structure or union
lcd.c:661: error: request for member `vl_col' in something not a
structure or union
lcd.c:662: error: request for member `vl_row' in something not a
structure or union
lcd.c:663: error: request for member `vl_row' in something not a
structure or union
make[1]: *** [lcd.o] Error 1
make[1]: Leaving directory
`/home/caroje/davinci/UBL/uboot_nand/u-boot-1.1.3_02/common'
make: *** [common/libcommon.a] Error 2

Many thanks and regards,
Carlos




More information about the U-Boot mailing list