1. 程式人生 > >Linux 開機logo 全屏失敗

Linux 開機logo 全屏失敗

明明按照螢幕分辯率裁剪的logo圖片,就是不顯示

log顯示如下:

fbcon_init: disable boot-logo (boot-logo bigger than screen)

如下修改解決:

在drivers/video/console/fbcon.c中:



    fbcon_prepare_logo函式中:


       將


       logo_lines = DIV_ROUND_UP(logo_height, vc->vc_font.height);


        修改為:


         logo_lines = DIV_ROUND_UP(logo_height, (vc->vc_font.height+1));

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