Yaghmour: Extending Android's HAL

Karim Yaghmour has posted a brief
tutorial
on how to add new device support to Android. "Contrary
to standard 'vanilla Linux', Android requires more than just proper device
drivers to function on hardware. It in fact defines a new Hardware
Abstraction Layer (HAL) which defines an API for each type of hardware
supported by Android's core. In order for an ODM's hardware to properly
interface with Android, it must provide a hardware 'module' (unrelated to
kernel modules) which conforms to the API specified for that type of
hardware. This blog shows you how to extend Android's HAL by adding your
own new type hardware to the Android stack."