原创
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位色的数据
文章评论(0条评论)
登录后参与讨论