Mathieu Othacehe | 9b832ad | 2023-12-29 12:02:18 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2023 Mathieu Othacehe <m.othacehe@gmail.com> |
| 4 | */ |
| 5 | |
| 6 | / { |
| 7 | binman: binman { |
| 8 | multiple-images; |
| 9 | }; |
| 10 | }; |
| 11 | |
| 12 | &binman { |
| 13 | u-boot-spl-ddr { |
| 14 | align = <4>; |
| 15 | align-size = <4>; |
| 16 | filename = "u-boot-spl-ddr.bin"; |
| 17 | pad-byte = <0xff>; |
| 18 | |
| 19 | u-boot-spl { |
| 20 | align-end = <4>; |
| 21 | filename = "u-boot-spl.bin"; |
| 22 | }; |
| 23 | |
| 24 | ddr-1d-imem-fw { |
| 25 | filename = "lpddr4_imem_1d_v202201.bin"; |
| 26 | align-end = <4>; |
| 27 | type = "blob-ext"; |
| 28 | }; |
| 29 | |
| 30 | ddr-1d-dmem-fw { |
| 31 | filename = "lpddr4_dmem_1d_v202201.bin"; |
| 32 | align-end = <4>; |
| 33 | type = "blob-ext"; |
| 34 | }; |
| 35 | |
| 36 | ddr-2d-imem-fw { |
| 37 | filename = "lpddr4_imem_2d_v202201.bin"; |
| 38 | align-end = <4>; |
| 39 | type = "blob-ext"; |
| 40 | }; |
| 41 | |
| 42 | ddr-2d-dmem-fw { |
| 43 | filename = "lpddr4_dmem_2d_v202201.bin"; |
| 44 | align-end = <4>; |
| 45 | type = "blob-ext"; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | spl { |
| 50 | filename = "spl.bin"; |
| 51 | |
| 52 | mkimage { |
| 53 | args = "-n spl/u-boot-spl.cfgout -T imx8image -e 0x2049A000"; |
| 54 | |
| 55 | blob { |
| 56 | filename = "u-boot-spl-ddr.bin"; |
| 57 | }; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | u-boot-container { |
| 62 | filename = "u-boot-container.bin"; |
| 63 | |
| 64 | mkimage { |
| 65 | args = "-n u-boot-container.cfgout -T imx8image -e 0x0"; |
| 66 | |
| 67 | blob { |
| 68 | filename = "u-boot.bin"; |
| 69 | }; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | imx-boot { |
| 74 | filename = "flash.bin"; |
| 75 | pad-byte = <0x00>; |
| 76 | |
| 77 | spl: blob-ext@1 { |
| 78 | filename = "spl.bin"; |
| 79 | offset = <0x0>; |
| 80 | align-size = <0x400>; |
| 81 | align = <0x400>; |
| 82 | }; |
| 83 | |
| 84 | uboot: blob-ext@2 { |
| 85 | filename = "u-boot-container.bin"; |
| 86 | }; |
| 87 | }; |
| 88 | }; |