Patrick Delaunay | 01bcfc2 | 2019-08-02 15:07:21 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Compilation: |
| 3 | * mkimage -f fit_copro_kernel_dtb.its fit_copro_kernel_dtb.itb |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | / { |
| 8 | description = "U-Boot fitImage for stm32mp157"; |
| 9 | #address-cells = <1>; |
| 10 | |
| 11 | images { |
| 12 | |
| 13 | copro { |
| 14 | description = "M4 copro"; |
| 15 | data = /incbin/("rproc-m4-fw.elf"); |
| 16 | type = "copro"; |
| 17 | arch = "arm"; |
| 18 | compression = "none"; |
| 19 | load = <0xC0800000>; |
| 20 | hash-1 { |
| 21 | algo = "sha1"; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | kernel { |
| 26 | description = "Linux kernel"; |
| 27 | data = /incbin/("zImage"); |
| 28 | type = "kernel"; |
| 29 | arch = "arm"; |
| 30 | os = "linux"; |
| 31 | compression = "none"; |
| 32 | load = <0xC0008000>; |
| 33 | entry = <0xC0008000>; |
| 34 | hash-1 { |
| 35 | algo = "sha1"; |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | fdt-dk2 { |
| 40 | description = "FDT dk2"; |
| 41 | data = /incbin/("stm32mp157c-dk2.dtb"); |
| 42 | type = "flat_dt"; |
| 43 | arch = "arm"; |
| 44 | compression = "none"; |
| 45 | hash-1 { |
| 46 | algo = "sha1"; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | fdt-ev1 { |
| 51 | description = "FDT ev1"; |
| 52 | data = /incbin/("stm32mp157c-ev1.dtb"); |
| 53 | type = "flat_dt"; |
| 54 | arch = "arm"; |
| 55 | compression = "none"; |
| 56 | hash-1 { |
| 57 | algo = "sha1"; |
| 58 | }; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | configurations { |
| 63 | default = "dk2-m4"; |
| 64 | |
| 65 | dk2-m4 { |
| 66 | description = "dk2-m4"; |
| 67 | loadables = "copro"; |
| 68 | kernel = "kernel"; |
| 69 | fdt = "fdt-dk2"; |
| 70 | hash-1 { |
| 71 | algo = "sha1"; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | dk2 { |
| 76 | description = "dk2"; |
| 77 | kernel = "kernel"; |
| 78 | fdt = "fdt-dk2"; |
| 79 | hash-1 { |
| 80 | algo = "sha1"; |
| 81 | }; |
| 82 | }; |
| 83 | |
| 84 | ev1-m4 { |
| 85 | description = "ev1-m4"; |
| 86 | loadables = "copro"; |
| 87 | kernel = "kernel"; |
| 88 | fdt = "fdt-ev1"; |
| 89 | hash-1 { |
| 90 | algo = "sha1"; |
| 91 | }; |
| 92 | }; |
| 93 | |
| 94 | ev1 { |
| 95 | description = "ev1"; |
| 96 | kernel = "kernel"; |
| 97 | fdt = "fdt-ev1"; |
| 98 | hash-1 { |
| 99 | algo = "sha1"; |
| 100 | }; |
| 101 | }; |
| 102 | }; |
| 103 | }; |