参考:http://2836917.blog.51cto.com/2826917/511555
1.修改drivers/video/fbmen.c
471 472 473 474 |
// image.dx = 0; // image.dy = y; image.dx = (info->var.xres/2) - (logo->width/2); image.dy = (info->var.yres/2) - (logo->height/2); |
2.修改drivers/video/console/fbcon.c
增加
583 |
logo_height += (info->var.yres/2) - (logo->height/2); |
OK
转载请注明:爱开源 » linux开机logo居中显示