[U-Boot-Users] how to add 'bmp' command
Carlos Ojea
nuudoo at gmail.com
Tue Oct 24 14:25:04 CEST 2006
Hello Wolfgang and all the list !
Many thanks, Wolfgang, for your fast response.
> And you expect that everybody knows exactly what a "davinci board" is?
Well, not really ;)
I though I should tell wich board I am using
> Also, why are you doing any work in the context of such an old
> release? Please use 1.1.5 for any current work!
I have uboot 1.1.3 modified for my board (davinci) and uboot 1.1.5
does not have any 'davinci' configuration... maybe I should try to
port it to 1.1.5
> No, since you omitted exactly the lines which contained the actual
> error message.
Ups! Sorry. I found that I must also define CONFIG_LCD or CONFIG_VIDEO
when using CFG_CMD_BMP. So I added this lines to my config file:
#define CONFIG_LCD 1
#define CONFIG_NEC_NL6448BC20 1
My compiler error is this one (I had to translate it into english, my
apologies as I probably made several translation mistakes) :
lcd.c:98: error: decode error before "panel_info"
lcd.c:98: warning: default data type is `int' in `panel_info' declaration
lcd.c:98: warning: data definition does not have storage type or class
lcd.c: In function `console_scrollup':
lcd.c:114: error: member request `vl_row' in not a struct or union
lcd.c:117: error: member request 'vl_row' in not a struct or union
lcd.c: In function `console_back':
lcd.c:145: error: member request `vl_col' in not a struct or union
lcd.c: In function `console_newline':
lcd.c:164: error: member request `vl_row' in not a struct or union
lcd.c: In function `lcd_putc':
lcd.c:191: error: member request `vl_col' in not a struct or union
lcd.c:202: error: member request `vl_col' in not a struct or union
lcd.c: In function `drv_lcd_init':
lcd.c:349: error: member request `vl_col' in not a struct or union
lcd.c:349: error: member request `vl_bpix' in not a struct or union
lcd.c: In function `lcd_clear':
lcd.c:401: error: member request `vl_row' in not a struct or union
lcd.c: In function `lcd_setmem':
lcd.c:456: error: member request `vl_col' in not a struct or union
lcd.c:456: error: member request `vl_bpix' in not a struct or union
lcd.c:461: error: member request `vl_row' in not a struct or union
lcd.c: In function `lcd_display_bitmap':
lcd.c:609: error: member request `vl_bpix' in not a struct or union
lcd.c:633:3: #error "Don't know location of color map"
lcd.c:658: error: member request `vl_col' in not a struct or union
lcd.c:659: error: member request `vl_col' in not a struct or union
lcd.c:660: error: member request `vl_row' in not a struct or union
lcd.c:661: error: member request `vl_row' in not a struct 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