June 2017
Intermediate to advanced
478 pages
13h 14m
English
Creating a new device tree means that we can describe the hardware on the Nova board, selecting device drivers and setting properties to match. But, suppose the Nova board needs different early initialization code than the BeagleBone Black; how can we link that in?
The board setup is controlled by the compatible property in the root node. This is what we have for the Nova board at the moment:
/ { model = "Nova"; compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";};
When the kernel parses this node, it will search for a matching machine for each of the values of the compatible property, starting on the left and stopping with the first match found. Each machine is defined in a structure ...
Read now
Unlock full access