u-boot在s3c2410上支持LCD(s3c2410为SKYEYE模拟)
http://blog.csdn.net/zblue78/archive/2009/05/14/4181947.aspx步骤
1修改u-boot 2009.3的makefile
ifeq ($(ARCH),arm)
CROSS_COMPILE = /usr/local/arm/3.3.2/bin/arm-linux-
endif
2运行make
make ARCH=arm smdk2410_config
make
3修改lib_arm/board.c
//#ifdef CONFIG_VFD
/* must do this after the framebuffer is allocated */
drv_vfd_init();
//#endif /* CONFIG_VFD */
4修改board/samsung/smdk2410/Makefile
LIB = $(obj)lib$(BOARD).a
COBJS := smdk2410.o flash.o LCD.o logo.o
SOBJS := lowlevel_init.o
5 复制文件 LCD.c LCD.h logo.c到board/samsung/smdk2410/
logo.c为图片文件 160*120 16位色的数据
需要的文件在附件中
[ 本帖最后由 zbluecn 于 2009-5-14 11:14 编辑 ] 没有人使用啊白发了 :lol:
页:
[1]