简单记一下,免得以后翻。1. 做好224色的ppm文件logo_mylogo_clut224.ppm,放到drivers/video/logo下2. 在include/linux/linux_logo.h中添加
1
|
extern const struct linux_logo logo_mylogo_clut224; |
3. 在drivers/video/logo/Makefile中添加
1
|
obj-$(CONFIG_LOGO_MYLOGO_CLUT224) += logo_mylogo_clut224.o |
4. 修改drivers/video/logo/Kconfig
1
2
3
4
|
config LOGO_MYLOGO_CLUT224
bool "224-color logo"
depends on LOGO
default y |
5. 修改drivers/video/logo/logo.c
1
2
3
4
|
#ifdef CONFIG_LOGO_MYLOGO_CLUT224
/* M32R Linux logo */
logo = &logo_mylogo_clut224;
#endif |
至于logo的居中显示,可以参考
tags:
阅读(1338) | 评论(0) | 转发(0) |