要使內核支持開機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/