zoukankan      html  css  js  c++  java
  • linux内核开机logo显示调试

    要使内核支持开机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/

  • 相关阅读:
    重构该何时登场
    重构
    中国剩余定理
    连分数的应用
    连分数的性质
    有限连分数与欧几里德除法的联系
    连分数
    费马大定理
    P4178 Tree 点分治
    LOJ 6029. 「雅礼集训 2017 Day1」市场
  • 原文地址:https://www.cnblogs.com/fah936861121/p/7461673.html
Copyright © 2011-2022 走看看