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>
This commit is contained in:
parent
fd66066ee3
commit
824d82997f
@ -1,6 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* Simple U-boot uImage source file containing a single kernel
|
* Simple U-boot uImage source file containing a single kernel
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
description = "Simple image with single Linux kernel";
|
description = "Simple image with single Linux kernel";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* Simple U-boot uImage source file containing a single kernel and FDT blob
|
* 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";
|
description = "Simple image with single Linux kernel and FDT blob";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* U-boot uImage source file with multiple kernels, ramdisks and FDT blobs
|
* U-boot uImage source file with multiple kernels, ramdisks and FDT blobs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
description = "Various kernels, ramdisks and FDT blobs";
|
description = "Various kernels, ramdisks and FDT blobs";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* Example Automatic software update file.
|
* Example Automatic software update file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
description = "Automatic software updates: kernel, ramdisk, FDT";
|
description = "Automatic software updates: kernel, ramdisk, FDT";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
* Automatic software update for U-Boot
|
* Automatic software update for U-Boot
|
||||||
* Make sure the flashing addresses ('load' prop) is correct for your board!
|
* Make sure the flashing addresses ('load' prop) is correct for your board!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
description = "Automatic U-Boot update";
|
description = "Automatic U-Boot update";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
Loading…
Reference in New Issue
Block a user