Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Fabio Estevam | 2b5da6f | 2016-08-15 10:07:12 -0300 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Freescale Semiconductor, Inc. |
| 4 | * |
Patrick Delaunay | 488b6ac | 2020-02-28 15:18:12 +0100 | [diff] [blame] | 5 | * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure |
Fabio Estevam | 2b5da6f | 2016-08-15 10:07:12 -0300 | [diff] [blame] | 6 | * and create imximage boot image |
| 7 | * |
| 8 | * The syntax is taken as close as possible with the kwbimage |
| 9 | */ |
Breno Lima | d5824ce | 2017-11-27 21:04:11 -0200 | [diff] [blame] | 10 | #include <config.h> |
Fabio Estevam | 2b5da6f | 2016-08-15 10:07:12 -0300 | [diff] [blame] | 11 | |
| 12 | /* image version */ |
| 13 | |
| 14 | IMAGE_VERSION 2 |
| 15 | |
| 16 | /* |
| 17 | * Boot Device : one of |
| 18 | * spi, sd (the board has no nand neither onenand) |
| 19 | */ |
| 20 | |
| 21 | BOOT_FROM sd |
| 22 | |
| 23 | /* |
Breno Lima | d5824ce | 2017-11-27 21:04:11 -0200 | [diff] [blame] | 24 | * Secure boot support |
| 25 | */ |
Fabio Estevam | 65dc5ca | 2021-07-26 16:01:48 -0300 | [diff] [blame] | 26 | #ifdef CONFIG_IMX_HAB |
Breno Lima | d5824ce | 2017-11-27 21:04:11 -0200 | [diff] [blame] | 27 | CSF CONFIG_CSF_SIZE |
| 28 | #endif |
| 29 | |
| 30 | /* |
Fabio Estevam | 2b5da6f | 2016-08-15 10:07:12 -0300 | [diff] [blame] | 31 | * Device Configuration Data (DCD) |
| 32 | * |
| 33 | * Each entry must have the format: |
| 34 | * Addr-type Address Value |
| 35 | * |
| 36 | * where: |
| 37 | * Addr-type register length (1,2 or 4 bytes) |
| 38 | * Address absolute address of the register |
| 39 | * value value to be stored in the register |
| 40 | */ |
| 41 | DATA 4 0x020c4018 0x00260324 |
| 42 | |
| 43 | DATA 4 0x020c4068 0xffffffff |
| 44 | DATA 4 0x020c406c 0xffffffff |
| 45 | DATA 4 0x020c4070 0xffffffff |
| 46 | DATA 4 0x020c4074 0xffffffff |
| 47 | DATA 4 0x020c4078 0xffffffff |
| 48 | DATA 4 0x020c407c 0xffffffff |
| 49 | DATA 4 0x020c4080 0xffffffff |
| 50 | |
| 51 | DATA 4 0x020e0344 0x00003030 |
| 52 | DATA 4 0x020e0348 0x00003030 |
| 53 | DATA 4 0x020e034c 0x00003030 |
| 54 | DATA 4 0x020e0350 0x00003030 |
| 55 | DATA 4 0x020e030c 0x00000030 |
| 56 | DATA 4 0x020e0310 0x00000030 |
| 57 | DATA 4 0x020e0314 0x00000030 |
| 58 | DATA 4 0x020e0318 0x00000030 |
| 59 | DATA 4 0x020e0300 0x00000030 |
| 60 | DATA 4 0x020e031c 0x00000030 |
| 61 | DATA 4 0x020e0338 0x00000028 |
| 62 | DATA 4 0x020e0320 0x00000030 |
| 63 | DATA 4 0x020e032c 0x00000000 |
| 64 | DATA 4 0x020e033c 0x00000008 |
| 65 | DATA 4 0x020e0340 0x00000008 |
| 66 | DATA 4 0x020e05c4 0x00000030 |
| 67 | DATA 4 0x020e05cc 0x00000030 |
| 68 | DATA 4 0x020e05d4 0x00000030 |
| 69 | DATA 4 0x020e05d8 0x00000030 |
| 70 | DATA 4 0x020e05ac 0x00000030 |
| 71 | DATA 4 0x020e05c8 0x00000030 |
| 72 | DATA 4 0x020e05b0 0x00020000 |
| 73 | DATA 4 0x020e05b4 0x00000000 |
| 74 | DATA 4 0x020e05c0 0x00020000 |
| 75 | DATA 4 0x020e05d0 0x00080000 |
| 76 | |
| 77 | DATA 4 0x021b001c 0x00008000 |
| 78 | DATA 4 0x021b085c 0x1b4700c7 |
| 79 | DATA 4 0x021b0800 0xa1390003 |
| 80 | DATA 4 0x021b0890 0x00400000 |
| 81 | DATA 4 0x021b08b8 0x00000800 |
| 82 | DATA 4 0x021b081c 0x33333333 |
| 83 | DATA 4 0x021b0820 0x33333333 |
| 84 | DATA 4 0x021b0824 0x33333333 |
| 85 | DATA 4 0x021b0828 0x33333333 |
| 86 | DATA 4 0x021b082c 0xf3333333 |
| 87 | DATA 4 0x021b0830 0xf3333333 |
| 88 | DATA 4 0x021b0834 0xf3333333 |
| 89 | DATA 4 0x021b0838 0xf3333333 |
| 90 | DATA 4 0x021b0848 0x4241444a |
| 91 | DATA 4 0x021b0850 0x3030312b |
| 92 | DATA 4 0x021b083c 0x20000000 |
| 93 | DATA 4 0x021b0840 0x00000000 |
| 94 | DATA 4 0x021b08c0 0x24911492 |
| 95 | DATA 4 0x021b08b8 0x00000800 |
| 96 | DATA 4 0x021b000c 0x33374133 |
| 97 | DATA 4 0x021b0004 0x00020024 |
| 98 | DATA 4 0x021b0010 0x00100A82 |
| 99 | DATA 4 0x021b0014 0x00000093 |
| 100 | DATA 4 0x021b0018 0x00001688 |
| 101 | DATA 4 0x021b002c 0x0f9f26d2 |
| 102 | DATA 4 0x021b0030 0x009f0e10 |
| 103 | DATA 4 0x021b0038 0x00190778 |
| 104 | DATA 4 0x021b0008 0x00000000 |
| 105 | DATA 4 0x021b0040 0x0000004f |
| 106 | DATA 4 0x021b0000 0x83110000 |
| 107 | DATA 4 0x021b001c 0x003f8030 |
| 108 | DATA 4 0x021b001c 0xff0a8030 |
| 109 | DATA 4 0x021b001c 0x82018030 |
| 110 | DATA 4 0x021b001c 0x04028030 |
| 111 | DATA 4 0x021b001c 0x02038030 |
| 112 | DATA 4 0x021b001c 0xff0a8038 |
| 113 | DATA 4 0x021b001c 0x82018038 |
| 114 | DATA 4 0x021b001c 0x04028038 |
| 115 | DATA 4 0x021b001c 0x02038038 |
| 116 | DATA 4 0x021b0800 0xa1310003 |
| 117 | DATA 4 0x021b0020 0x00001800 |
| 118 | DATA 4 0x021b0818 0x00000000 |
| 119 | DATA 4 0x021b08b8 0x00000800 |
| 120 | DATA 4 0x021b0004 0x00025564 |
| 121 | DATA 4 0x021b0404 0x00011006 |
| 122 | DATA 4 0x021b001c 0x00000000 |