要使内核支持开机logo显示须要配置内核ide
配置以下:spa
make menuconfig:.net
Device Drivers --->
Graphics support --->
[*] Bootup logo --->
........
[*] Standard 224-color Linux logo
blog
同时还须要配置资源
Device Drivers --->
Graphics support --->
[*] Console display driver support --->
[*] Framebuffer Console support --->
io
[*] Map the console to the primary display deviceconsole
这样内核就支持开机logo显示了配置
在项目中LCD显示屏背光芯片输入电源受gpio控制,而且芯片pwm输出使能也受gpio控制,因此要在内核阶段显示logo,必须在pwm的驱动中使能这些gpioim
作法以下:设备树配置好gpio资源,在drivers/video/backlight/pwm_bl.c中解析,申请和使用这些gpio资源,就能够了qq
参考:http://blog.csdn.net/qq_29729577/article/details/50580096
http://blog.csdn.net/luoshengyang/article/details/7691321/