Qualcomm Interview Question
Country: India
Interview Type: In-Person
In order to remove same code across different board the device trees are used. These are structure that define the available devices on a platform. These are created from a board definationts file to a binary file which is loaded in memory by the bootloader. The kernel populates the device tree structure based on this binary. Thus different boards can be supported without recompiling the kernel
Device tree is a data structure that describes the hardware and is passed to the kernel at boot time.
- tranquil November 26, 2012