]> xenbits.xensource.com Git - people/julieng/boot-wrapper-aarch64.git/commit
Add FDT perl module
authorMark Rutland <mark.rutland@arm.com>
Tue, 15 Apr 2014 13:38:15 +0000 (14:38 +0100)
committerMark Rutland <mark.rutland@arm.com>
Tue, 15 Apr 2014 14:38:47 +0000 (15:38 +0100)
commit0cb95d9d55b99b4b08f19b2349b2d5d1575b17a8
tree2064f521943d581214fa0f56e054c8af8134cb75
parent2ff0b45423226d3de898a52a81b8e90b20fecd60
Add FDT perl module

There are various models (RTSM VE, FVP Base, Foundation) which the
booterapper is intended to function on, but differences between these
(be they static or configurable) are difficult to handle as the
bootwrapper currently has hard-coded base addresses.

We already have a platform description (the device tree blob) which must
contain the correct addresses for a real OS to function, and it would be
nice if we could extract the values out of the device tree rather than
redundantly describing them in the boot wrapper.

This patch adds a pure perl library for parsing and querying values from
a device tree blob. Scripts may use this library to extract addresses
and other values from the DT.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
FDT.pm [new file with mode: 0755]