要使内核支持开机logo显示需要配置内核

配置如下:

make menuconfig:

Device Drivers  --->
    Graphics support  --->
       [*] Bootup logo  --->
            ........
           [*] Standard 224-color Linux logo

同时还需要配置

Device Drivers  --->
    Graphics support  --->
       [*] Console display driver support  --->
           [*] Framebuffer Console support --->

     [*] Map the console to the primary display device

这样内核就支持开机logo显示了

在项目中LCD显示屏背光芯片输入电源受gpio控制,并且芯片pwm输出使能也受gpio控制,所以要在内核阶段显示logo,必须在pwm的驱动中使能这些gpio

做法如下:设备树配置好gpio资源,在drivers/video/backlight/pwm_bl.c中解析,申请和使用这些gpio资源,就可以了

参考:http://blog.csdn.net/qq_29729577/article/details/50580096

   http://blog.csdn.net/luoshengyang/article/details/7691321/

相关文章:

  • 2022-01-07
  • 2021-06-19
  • 2022-01-20
  • 2021-04-21
  • 2021-11-20
  • 2022-02-22
  • 2022-02-17
  • 2021-06-04
猜你喜欢
  • 2022-12-23
  • 2021-10-16
  • 2021-10-24
  • 2021-05-20
  • 2022-01-07
相关资源
相似解决方案