linux内核开机企鹅反了180度

来源:互联网 发布:报纸版面编辑软件 编辑:程序博客网 时间:2024/04/30 22:51

(备忘)

 linux内核开机企鹅反了180度的解决办法:

   (1)  Make menuconfig 中选中framebuffer rotation

    (2) /driver/video/console/fbcon.c 中将fbcon_set_rotation中的 ops  = ops->p->ops修改为ops = 2

    (3)在lcd驱动中的logo显示的函数中有一个rotation参数

rotation = 0; 0  

rotation = 1; 90

rotation = 2; 180

rotation = 3; 270

不过听说可以在启动参数中指定参数来反转。本人没有研究过。还请知道的指教一下了,谢谢

原创粉丝点击