原创 u-boot在s3c2410上支持LCD(s3c2410为SKYEYE模拟)

2009-6-2 08:49 3111 6 3 分类: MCU/ 嵌入式
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位色的数据


PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
6
关闭 站长推荐上一条 /3 下一条