May 2017
Beginner to intermediate
470 pages
10h 49m
English
The initialization of uvesafb in x86vbox is done in the start up script init.sh. If we recall the discussion on HAL initialization in Chapter 8, Creating Your Own Device on VirtualBox, we can see the following code in init.sh. We discussed the initialization of graphics HAL in Chapter 8, Creating Your Own Device on VirtualBox briefly, and we can look into the details now:
function init_uvesafb() { case "$PRODUCT" in ET2002*) UVESA_MODE=${UVESA_MODE:-1600x900} ;; *) ;; esac [ "$HWACCEL" = "0" ] && bpp=16 || bpp=32 modprobe uvesafb mode_option=${UVESA_MODE:-1024x768}-$bpp ${UVESA_OPTION:- mtrr=3 scroll=redraw} } function init_hal_gralloc() { case "$(cat /proc/fb | head -1)" in *virtiodrmfb) # set_property ...Read now
Unlock full access