]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix example FIT image source files
authorIra W. Snyder <iws@ovro.caltech.edu>
Wed, 4 Nov 2009 21:37:59 +0000 (13:37 -0800)
committerWolfgang Denk <wd@denx.de>
Tue, 24 Nov 2009 22:44:16 +0000 (23:44 +0100)
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>
doc/uImage.FIT/kernel.its
doc/uImage.FIT/kernel_fdt.its
doc/uImage.FIT/multi.its
doc/uImage.FIT/update3.its
doc/uImage.FIT/update_uboot.its

index d1a5939115272a62958f19d21aa23193a7f42089..ef3ab8f726a1326e0e878bd75ae3254e08dd6b26 100644 (file)
@@ -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>;
index fd6dee25713cb68b39ed92824d51adbc06307062..7e940d2af91e2df415081046eff9b75e127f7faa 100644 (file)
@@ -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>;
index 1d8c2dbf90580e095c75a2d56222e4fd201d0ee0..a120da038f5604e6631ebf8eb6f64590d132d7ac 100644 (file)
@@ -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>;
index 285cf73b4df34228a283dbd77dfb98c653abda71..a6eaef691e266b35f5f84125d63b2cce17b5584c 100644 (file)
@@ -1,6 +1,9 @@
 /*
  * Example Automatic software update file.
  */
+
+/dts-v1/;
+
 / {
        description = "Automatic software updates: kernel, ramdisk, FDT";
        #address-cells = <1>;
index e0d27eacc99e931c9aae40ad5bb9d299598b1568..846723e2d6272c365d6bcf7541be7f16e30a9b59 100644 (file)
@@ -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>;