DENX . U-Boot . DriverModel

Driver Model Conversion

This page includes a few notes on the status of the conversion of U-Boot to driver model.


U-Boot originally had a pretty ad-hoc device driver system. While some subsystems have their own framework (e.g. mmc, block devices, stdio), others are implemented as bare function calls to be provided by whichever driver shows up. This limits us to one driver of a particular type (e.g. you cannot have USB2 and USB3 ports at the same time as they use different drivers).

Driver model aims to provide a consistent model for drivers and the platform data / device tree information needed by drivers to instantiate devices. In particular:


Driver model started as a university project in 2012. After some simplifications and adjustments, patches were developed from mid 2013 and it was committed to mainline U-Boot in early 2014.

Marek Vasut's original email in 2010

Marek Vasut's Presentation in 2012

Project Overview of original work 2012

Simon Glass's Presentation in 2013

README describing how it works from early 2014 mainline implementation

U-Boot Mini Summit talk on driver model at ELCE 2014

Embedded Linux Conference 2015 talk on driver model (PDF and video). Also see link to paper

Status Early April 2019

Migration plan:

Mainline status:

Patches posted (in brackets is the branch at u-boot-dm.git):

Other things in the works

Suggestions for uclasses that people could do:

See here for the original documentation discussing each subsystem.

-- SimonGlass - 9th March 2020

----- Revision r1.19 - 09 Mar 2020 - 21:35 - SimonGlass
Copyright © 2002-2022 by DENX Software Engineering