Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame^] | 1 | # Copyright (C) 2011 Freescale Semiconductor, Inc. |
| 2 | # Jason Liu <r64343@freescale.com> |
| 3 | # |
| 4 | # See file CREDITS for list of people who contributed to this |
| 5 | # project. |
| 6 | # |
| 7 | # This program is free software; you can redistribute it and/or |
| 8 | # modify it under the terms of the GNU General Public License as |
| 9 | # published by the Free Software Foundation; either version 2 of |
| 10 | # the License or (at your option) any later version. |
| 11 | # |
| 12 | # This program is distributed in the hope that it will be useful, |
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | # GNU General Public License for more details. |
| 16 | # |
| 17 | # You should have received a copy of the GNU General Public License |
| 18 | # along with this program; if not write to the Free Software |
| 19 | # Foundation Inc. 51 Franklin Street Fifth Floor Boston, |
| 20 | # MA 02110-1301 USA |
| 21 | # |
| 22 | # Refer docs/README.imxmage for more details about how-to configure |
| 23 | # and create imximage boot image |
| 24 | # |
| 25 | # The syntax is taken as close as possible with the kwbimage |
| 26 | |
| 27 | # image version |
| 28 | |
| 29 | IMAGE_VERSION 2 |
| 30 | |
| 31 | # Boot Device : one of |
| 32 | # spi, sd (the board has no nand neither onenand) |
| 33 | |
| 34 | BOOT_FROM sd |
| 35 | |
| 36 | # Device Configuration Data (DCD) |
| 37 | # |
| 38 | # Each entry must have the format: |
| 39 | # Addr-type Address Value |
| 40 | # |
| 41 | # where: |
| 42 | # Addr-type register length (1,2 or 4 bytes) |
| 43 | # Address absolute address of the register |
| 44 | # value value to be stored in the register |
| 45 | DATA 4 0x020e05a8 0x00000030 |
| 46 | DATA 4 0x020e05b0 0x00000030 |
| 47 | DATA 4 0x020e0524 0x00000030 |
| 48 | DATA 4 0x020e051c 0x00000030 |
| 49 | |
| 50 | DATA 4 0x020e0518 0x00000030 |
| 51 | DATA 4 0x020e050c 0x00000030 |
| 52 | DATA 4 0x020e05b8 0x00000030 |
| 53 | DATA 4 0x020e05c0 0x00000030 |
| 54 | |
| 55 | DATA 4 0x020e05ac 0x00020030 |
| 56 | DATA 4 0x020e05b4 0x00020030 |
| 57 | DATA 4 0x020e0528 0x00020030 |
| 58 | DATA 4 0x020e0520 0x00020030 |
| 59 | |
| 60 | DATA 4 0x020e0514 0x00020030 |
| 61 | DATA 4 0x020e0510 0x00020030 |
| 62 | DATA 4 0x020e05bc 0x00020030 |
| 63 | DATA 4 0x020e05c4 0x00020030 |
| 64 | |
| 65 | DATA 4 0x020e056c 0x00020030 |
| 66 | DATA 4 0x020e0578 0x00020030 |
| 67 | DATA 4 0x020e0588 0x00020030 |
| 68 | DATA 4 0x020e0594 0x00020030 |
| 69 | |
| 70 | DATA 4 0x020e057c 0x00020030 |
| 71 | DATA 4 0x020e0590 0x00003000 |
| 72 | DATA 4 0x020e0598 0x00003000 |
| 73 | DATA 4 0x020e058c 0x00000000 |
| 74 | |
| 75 | DATA 4 0x020e059c 0x00003030 |
| 76 | DATA 4 0x020e05a0 0x00003030 |
| 77 | DATA 4 0x020e0784 0x00000030 |
| 78 | DATA 4 0x020e0788 0x00000030 |
| 79 | |
| 80 | DATA 4 0x020e0794 0x00000030 |
| 81 | DATA 4 0x020e079c 0x00000030 |
| 82 | DATA 4 0x020e07a0 0x00000030 |
| 83 | DATA 4 0x020e07a4 0x00000030 |
| 84 | |
| 85 | DATA 4 0x020e07a8 0x00000030 |
| 86 | DATA 4 0x020e0748 0x00000030 |
| 87 | DATA 4 0x020e074c 0x00000030 |
| 88 | DATA 4 0x020e0750 0x00020000 |
| 89 | |
| 90 | DATA 4 0x020e0758 0x00000000 |
| 91 | DATA 4 0x020e0774 0x00020000 |
| 92 | DATA 4 0x020e078c 0x00000030 |
| 93 | DATA 4 0x020e0798 0x000C0000 |
| 94 | |
| 95 | DATA 4 0x021b081c 0x33333333 |
| 96 | DATA 4 0x021b0820 0x33333333 |
| 97 | DATA 4 0x021b0824 0x33333333 |
| 98 | DATA 4 0x021b0828 0x33333333 |
| 99 | |
| 100 | DATA 4 0x021b481c 0x33333333 |
| 101 | DATA 4 0x021b4820 0x33333333 |
| 102 | DATA 4 0x021b4824 0x33333333 |
| 103 | DATA 4 0x021b4828 0x33333333 |
| 104 | |
| 105 | DATA 4 0x021b0018 0x00081740 |
| 106 | |
| 107 | DATA 4 0x021b001c 0x00008000 |
| 108 | DATA 4 0x021b000c 0x555A7975 |
| 109 | DATA 4 0x021b0010 0xFF538E64 |
| 110 | DATA 4 0x021b0014 0x01FF00DB |
| 111 | DATA 4 0x021b002c 0x000026D2 |
| 112 | |
| 113 | DATA 4 0x021b0030 0x005B0E21 |
| 114 | DATA 4 0x021b0008 0x09444040 |
| 115 | DATA 4 0x021b0004 0x00025576 |
| 116 | DATA 4 0x021b0040 0x00000027 |
| 117 | DATA 4 0x021b0000 0x831A0000 |
| 118 | |
| 119 | DATA 4 0x021b001c 0x04088032 |
| 120 | DATA 4 0x021b001c 0x0408803A |
| 121 | DATA 4 0x021b001c 0x00008033 |
| 122 | DATA 4 0x021b001c 0x0000803B |
| 123 | DATA 4 0x021b001c 0x00428031 |
| 124 | DATA 4 0x021b001c 0x00428039 |
| 125 | DATA 4 0x021b001c 0x09408030 |
| 126 | DATA 4 0x021b001c 0x09408038 |
| 127 | |
| 128 | DATA 4 0x021b001c 0x04008040 |
| 129 | DATA 4 0x021b001c 0x04008048 |
| 130 | DATA 4 0x021b0800 0xA1380003 |
| 131 | DATA 4 0x021b4800 0xA1380003 |
| 132 | DATA 4 0x021b0020 0x00005800 |
| 133 | DATA 4 0x021b0818 0x00022227 |
| 134 | DATA 4 0x021b4818 0x00022227 |
| 135 | |
| 136 | DATA 4 0x021b083c 0x434B0350 |
| 137 | DATA 4 0x021b0840 0x034C0359 |
| 138 | DATA 4 0x021b483c 0x434B0350 |
| 139 | DATA 4 0x021b4840 0x03650348 |
| 140 | DATA 4 0x021b0848 0x4436383B |
| 141 | DATA 4 0x021b4848 0x39393341 |
| 142 | DATA 4 0x021b0850 0x35373933 |
| 143 | DATA 4 0x021b4850 0x48254A36 |
| 144 | |
| 145 | DATA 4 0x021b080c 0x001F001F |
| 146 | DATA 4 0x021b0810 0x001F001F |
| 147 | |
| 148 | DATA 4 0x021b480c 0x00440044 |
| 149 | DATA 4 0x021b4810 0x00440044 |
| 150 | |
| 151 | DATA 4 0x021b08b8 0x00000800 |
| 152 | DATA 4 0x021b48b8 0x00000800 |
| 153 | |
| 154 | DATA 4 0x021b001c 0x00000000 |
| 155 | DATA 4 0x021b0404 0x00011006 |
| 156 | |
| 157 | # set the default clock gate to save power |
| 158 | DATA 4 0x020c4068 0x00C03F3F |
| 159 | DATA 4 0x020c406c 0x0030FC00 |
| 160 | DATA 4 0x020c4070 0x0FFFC000 |
| 161 | DATA 4 0x020c4074 0x3FF00000 |
| 162 | DATA 4 0x020c4078 0x00FFF300 |
| 163 | DATA 4 0x020c407c 0x0F0000C3 |
| 164 | DATA 4 0x020c4080 0x000003FF |
| 165 | |
| 166 | # enable AXI cache for VDOA/VPU/IPU |
| 167 | DATA 4 0x020e0010 0xF00000FF |
| 168 | # set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 |
| 169 | DATA 4 0x020e0018 0x007F007F |
| 170 | DATA 4 0x020e001c 0x007F007F |