[U-Boot] Help with LCD setup

Chao You you.chao at gmail.com
Mon Mar 8 20:32:32 CET 2010


First time user. Sorry if you got multiple emails already.

I add the following line at the bottom of my omap3_beagle.h file.

#define CONFIG_LCD                      1
#define CONFIG_CMD_BMP                  1
#define CONFIG_SPLASH_SCREEN            1
#define CONFIG_MPC823                   1
#define CONFIG_LCD_LOGO                 1

The following is the error message. Did I miss anything? gcc version
is listed below. git branch: master

setup at BeagleSetup:~/kernel/uBoot/mainline$
arm-angstrom-linux-gnueabi-gcc --version
arm-angstrom-linux-gnueabi-gcc (GCC) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.






lcd.c: In function ‘bitmap_plot’:
lcd.c:505: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
lcd.c:505: error: ‘immr’ undeclared (first use in this function)
lcd.c:505: error: (Each undeclared identifier is reported only once
lcd.c:505: error: for each function it appears in.)
lcd.c:505: error: ‘immap_t’ undeclared (first use in this function)
lcd.c:505: error: expected expression before ‘)’ token
lcd.c:506: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
lcd.c:506: error: ‘cp’ undeclared (first use in this function)
lcd.c: In function ‘lcd_display_bitmap’:
lcd.c:605: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
lcd.c:605: error: ‘immr’ undeclared (first use in this function)
lcd.c:605: error: ‘immap_t’ undeclared (first use in this function)
lcd.c:605: error: expected expression before ‘)’ token
lcd.c:606: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
lcd.c:606: error: ‘cp’ undeclared (first use in this function)
make[2]: *** [lcd.o] Error 1
make[2]: Leaving directory `/home/setup/kernel/uBoot/mainline/common'
make[1]: *** [common/libcommon.a] Error 2
make[1]: Leaving directory `/home/setup/kernel/uBoot/mainline'
make: *** [omap3_beagle] Error 2


More information about the U-Boot mailing list