Let's look in greater detail into the hardware initialization of devices that cannot be detected by the kernel automatically, and the initialization of Android-x86 HAL, in this section. One of the peripherals that haven't been initialized is the frame buffer for the graphic user interface in Android. We will use it as an example to explain how hardware is initialized by the init process in Android's ramdisk.img.
If we recall the analysis of the init process in Chapter 6, Debugging the Boot Up Process Using a Customized ramdisk, the init process will execute the init.rc script, which is general for all Android devices. In the init.rc script, it will import a device-specific script init.${ro.hardware}.rc ...