Gary Bisson | ce5ec75 | 2024-08-05 23:25:10 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | #ifdef CONFIG_BINMAN |
| 4 | / { |
| 5 | binman: binman { |
| 6 | multiple-images; |
| 7 | }; |
| 8 | }; |
| 9 | |
| 10 | &binman { |
| 11 | u-boot-spl-ddr { |
| 12 | align = <4>; |
| 13 | align-size = <4>; |
| 14 | filename = "u-boot-spl-ddr.bin"; |
| 15 | pad-byte = <0xff>; |
| 16 | |
| 17 | u-boot-spl { |
| 18 | align-end = <4>; |
| 19 | filename = "u-boot-spl.bin"; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | spl { |
| 24 | filename = "spl.bin"; |
| 25 | |
| 26 | mkimage { |
| 27 | args = "-n spl/u-boot-spl.cfgout -T imx8image -e 0x22020000"; |
| 28 | |
| 29 | blob { |
| 30 | filename = "u-boot-spl-ddr.bin"; |
| 31 | }; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | u-boot-container { |
| 36 | filename = "u-boot-container.bin"; |
| 37 | |
| 38 | mkimage { |
| 39 | args = "-n u-boot-container.cfgout -T imx8image -e 0x0"; |
| 40 | |
| 41 | blob { |
| 42 | filename = "u-boot.bin"; |
| 43 | }; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | imx-boot { |
| 48 | filename = "flash.bin"; |
| 49 | pad-byte = <0x00>; |
| 50 | |
| 51 | spl: blob-ext@1 { |
| 52 | filename = "spl.bin"; |
| 53 | offset = <0x0>; |
| 54 | align-size = <0x400>; |
| 55 | align = <0x400>; |
| 56 | }; |
| 57 | |
| 58 | uboot: blob-ext@2 { |
| 59 | filename = "u-boot-container.bin"; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
| 63 | #endif |