June 2017
Intermediate to advanced
478 pages
13h 14m
English
The first thing to do is create a device tree for the board and modify it to describe the additional or changed hardware of the Nova board. In this simple case, we will just copy am335x-boneblack.dts to nova.dts and change the board name in nova.dts, as shown highlighted here:
/dts-v1/;#include "am33xx.dtsi"#include "am335x-bone-common.dtsi"#include <dt-bindings/display/tda998x.h>/ { model = "Nova"; compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";};[...]
We can build the Nova device tree binary explicitly like this:
$ make ARCH=arm nova.dtb
If we want the device tree for Nova to be compiled by make ARCH=arm dtbs whenever an AM33xx target is selected, we could add a dependency in arch/arm/boot/dts/Makefile ...
Read now
Unlock full access