summaryrefslogtreecommitdiff
path: root/doc/uImage.FIT/kernel_fdts_compressed.its
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-07-29 11:51:17 -0400
committerTom Rini <trini@konsulko.com>2019-07-29 11:51:17 -0400
commit2d64a0f7e952f54375702fb2b854461e402ded9d (patch)
tree591a1592b29de743bb52895ebb098ebc8b00f57a /doc/uImage.FIT/kernel_fdts_compressed.its
parent92430b8fc8aac3b4ab92e9ca8a09d83c4788c609 (diff)
parentf043dc28e3cce115089fb9ab86bc6f4bc4a8a882 (diff)
Merge branch '2019-07-29-master-imports'
- Assorted bug fixes
Diffstat (limited to 'doc/uImage.FIT/kernel_fdts_compressed.its')
-rw-r--r--doc/uImage.FIT/kernel_fdts_compressed.its73
1 files changed, 73 insertions, 0 deletions
diff --git a/doc/uImage.FIT/kernel_fdts_compressed.its b/doc/uImage.FIT/kernel_fdts_compressed.its
new file mode 100644
index 0000000000..8f81106efc
--- /dev/null
+++ b/doc/uImage.FIT/kernel_fdts_compressed.its
@@ -0,0 +1,73 @@
+/*
+ * U-Boot uImage source file with a kernel and multiple compressed FDT blobs.
+ * Since the FDTs are compressed, configurations must provide a compatible
+ * string to match directly.
+ */
+
+/dts-v1/;
+
+/ {
+ description = "Image with single Linux kernel and compressed FDT blobs";
+ #address-cells = <1>;
+
+ images {
+ kernel {
+ description = "Vanilla Linux kernel";
+ data = /incbin/("./vmlinux.bin.gz");
+ type = "kernel";
+ arch = "ppc";
+ os = "linux";
+ compression = "gzip";
+ load = <00000000>;
+ entry = <00000000>;
+ hash-1 {
+ algo = "crc32";
+ };
+ hash-2 {
+ algo = "sha1";
+ };
+ };
+ fdt@1 {
+ description = "Flattened Device Tree blob 1";
+ data = /incbin/("./myboard-var1.dtb");
+ type = "flat_dt";
+ arch = "ppc";
+ compression = "gzip";
+ hash-1 {
+ algo = "crc32";
+ };
+ hash-2 {
+ algo = "sha1";
+ };
+ };
+ fdt@2 {
+ description = "Flattened Device Tree blob 2";
+ data = /incbin/("./myboard-var2.dtb");
+ type = "flat_dt";
+ arch = "ppc";
+ compression = "lzma";
+ hash-1 {
+ algo = "crc32";
+ };
+ hash-2 {
+ algo = "sha1";
+ };
+ };
+ };
+
+ configurations {
+ default = "conf@1";
+ conf@1 {
+ description = "Boot Linux kernel with FDT blob 1";
+ kernel = "kernel";
+ fdt = "fdt@1";
+ compatible = "myvendor,myboard-variant1";
+ };
+ conf@2 {
+ description = "Boot Linux kernel with FDT blob 2";
+ kernel = "kernel";
+ fdt = "fdt@2";
+ compatible = "myvendor,myboard-variant2";
+ };
+ };
+};