linux boot disable display/framebuffer update

My query is based on this question. I want a custom splash screen to be displayed during bootloader,kernel-boot and init phases of booting. I am able to add my logo for u-boot. How to show the same logo during kernel boot?

I think I have two options: 1) Disable kernel from updating/reinitializing the framebuffer so that u-boot's splash screen persists during kernel boot. 2)Let the kernel show the same splash so that the user does not observe the transition.

For the first option I tried the kernel command line options "quiet vga=normal nofb nomodeset video=vesafb:off i915.modeset=0" (All together). But this not working. The screen goes black after u-boot. Also I saw this option which says about a kernel configuration parameter (CONFIG_FB_PRE_INIT_FB) which does what I want. But this option is not available in my kernel (3.0) and I am not sure how to implement this or where to start.

For the second alternative I looked at this link which explains a method to hardcode the splash image to the kernel. But this is only compile-time configurable and I want run-time configuration. I think something like this is already implemented in Ubuntu. When ubuntu is booting, kernel messages are hidden by a color screen. How is this implemented?

链接地址: http://www.djcxy.com/p/66796.html

上一篇: 在Bootpimage的情况下,initrd真的会减少内核映像的大小吗?

下一篇: linux启动禁用显示/帧缓冲更新