diff options
author | Ira W. Snyder <iws@ovro.caltech.edu> | 2009-11-05 00:37:59 +0300 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-11-25 01:44:16 +0300 |
commit | 824d82997fbcf28e49081d36fdd5d3be1b92b03d (patch) | |
tree | 3b730696a5d94522b7223309e0d6bd9d9d48c82f | |
parent | fd66066ee3ce15c2966feb9b2be0f0d51a95db48 (diff) | |
download | u-boot-824d82997fbcf28e49081d36fdd5d3be1b92b03d.tar.xz |
Fix example FIT image source files
The example FIT image source files do not compile with the latest dtc and
mkimage. The following error message is produced:
DTC: dts->dtb on file "kernel.its"
Error: kernel.its 7:0 - 1:0 syntax error
FATAL ERROR: Unable to parse input tree
./mkimage: Can't read kernel.itb.tmp: Invalid argument
The FIT image source files are missing the "/dts-v1/;" directive at the
beginning of the file. Add the directive to the examples.
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
-rw-r--r-- | doc/uImage.FIT/kernel.its | 3 | ||||
-rw-r--r-- | doc/uImage.FIT/kernel_fdt.its | 3 | ||||
-rw-r--r-- | doc/uImage.FIT/multi.its | 3 | ||||
-rw-r--r-- | doc/uImage.FIT/update3.its | 3 | ||||
-rw-r--r-- | doc/uImage.FIT/update_uboot.its | 3 |
5 files changed, 15 insertions, 0 deletions
diff --git a/doc/uImage.FIT/kernel.its b/doc/uImage.FIT/kernel.its index d1a5939115..ef3ab8f726 100644 --- a/doc/uImage.FIT/kernel.its +++ b/doc/uImage.FIT/kernel.its @@ -1,6 +1,9 @@ /* * Simple U-boot uImage source file containing a single kernel */ + +/dts-v1/; + / { description = "Simple image with single Linux kernel"; #address-cells = <1>; diff --git a/doc/uImage.FIT/kernel_fdt.its b/doc/uImage.FIT/kernel_fdt.its index fd6dee2571..7e940d2af9 100644 --- a/doc/uImage.FIT/kernel_fdt.its +++ b/doc/uImage.FIT/kernel_fdt.its @@ -1,6 +1,9 @@ /* * Simple U-boot uImage source file containing a single kernel and FDT blob */ + +/dts-v1/; + / { description = "Simple image with single Linux kernel and FDT blob"; #address-cells = <1>; diff --git a/doc/uImage.FIT/multi.its b/doc/uImage.FIT/multi.its index 1d8c2dbf90..a120da038f 100644 --- a/doc/uImage.FIT/multi.its +++ b/doc/uImage.FIT/multi.its @@ -1,6 +1,9 @@ /* * U-boot uImage source file with multiple kernels, ramdisks and FDT blobs */ + +/dts-v1/; + / { description = "Various kernels, ramdisks and FDT blobs"; #address-cells = <1>; diff --git a/doc/uImage.FIT/update3.its b/doc/uImage.FIT/update3.its index 285cf73b4d..a6eaef691e 100644 --- a/doc/uImage.FIT/update3.its +++ b/doc/uImage.FIT/update3.its @@ -1,6 +1,9 @@ /* * Example Automatic software update file. */ + +/dts-v1/; + / { description = "Automatic software updates: kernel, ramdisk, FDT"; #address-cells = <1>; diff --git a/doc/uImage.FIT/update_uboot.its b/doc/uImage.FIT/update_uboot.its index e0d27eacc9..846723e2d6 100644 --- a/doc/uImage.FIT/update_uboot.its +++ b/doc/uImage.FIT/update_uboot.its @@ -2,6 +2,9 @@ * Automatic software update for U-Boot * Make sure the flashing addresses ('load' prop) is correct for your board! */ + +/dts-v1/; + / { description = "Automatic U-Boot update"; #address-cells = <1>; |