Bin Meng | 503a27b | 2019-07-18 00:34:23 -0700 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | AT91 Evaluation kits |
| 4 | ==================== |
| 5 | |
| 6 | Board mapping & boot media |
| 7 | -------------------------- |
| 8 | |
| 9 | AT91SAM9260EK, AT91SAM9G20EK & AT91SAM9XEEK |
| 10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 11 | |
| 12 | Memory map:: |
| 13 | |
| 14 | 0x20000000 - 23FFFFFF SDRAM (64 MB) |
| 15 | 0xC0000000 - Cxxxxxxx Atmel Dataflash card (J13) |
| 16 | 0xD0000000 - D07FFFFF Soldered Atmel Dataflash (AT45DB642) |
| 17 | |
| 18 | Environment variables |
| 19 | |
| 20 | U-Boot environment variables can be stored at different places: |
| 21 | |
| 22 | - Dataflash on SPI chip select 1 (default) |
| 23 | - Dataflash on SPI chip select 0 (dataflash card) |
| 24 | - Nand flash |
| 25 | |
| 26 | You can choose your storage location at config step (here for at91sam9260ek):: |
| 27 | |
| 28 | make at91sam9260ek_nandflash_config - use nand flash |
| 29 | make at91sam9260ek_dataflash_cs0_config - use data flash (spi cs0) |
| 30 | make at91sam9260ek_dataflash_cs1_config - use data flash (spi cs1) |
| 31 | |
| 32 | |
| 33 | AT91SAM9261EK, AT91SAM9G10EK |
| 34 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 35 | |
| 36 | Memory map:: |
| 37 | |
| 38 | 0x20000000 - 23FFFFFF SDRAM (64 MB) |
| 39 | 0xC0000000 - C07FFFFF Soldered Atmel Dataflash (AT45DB642) |
| 40 | 0xD0000000 - Dxxxxxxx Atmel Dataflash card (J22) |
| 41 | |
| 42 | Environment variables |
| 43 | |
| 44 | U-Boot environment variables can be stored at different places: |
| 45 | |
| 46 | - Dataflash on SPI chip select 0 (default) |
| 47 | - Dataflash on SPI chip select 3 (dataflash card) |
| 48 | - Nand flash |
| 49 | |
| 50 | You can choose your storage location at config step (here for at91sam9260ek):: |
| 51 | |
| 52 | make at91sam9261ek_nandflash_config - use nand flash |
| 53 | make at91sam9261ek_dataflash_cs0_config - use data flash (spi cs0) |
| 54 | make at91sam9261ek_dataflash_cs3_config - use data flash (spi cs3) |
| 55 | |
| 56 | |
| 57 | AT91SAM9263EK |
| 58 | ^^^^^^^^^^^^^ |
| 59 | |
| 60 | Memory map:: |
| 61 | |
| 62 | 0x20000000 - 23FFFFFF SDRAM (64 MB) |
| 63 | 0xC0000000 - Cxxxxxxx Atmel Dataflash card (J9) |
| 64 | |
| 65 | Environment variables |
| 66 | |
| 67 | U-Boot environment variables can be stored at different places: |
| 68 | |
| 69 | - Dataflash on SPI chip select 0 (dataflash card) |
| 70 | - Nand flash |
| 71 | - Nor flash (not populate by default) |
| 72 | |
| 73 | You can choose your storage location at config step (here for at91sam9260ek):: |
| 74 | |
| 75 | make at91sam9263ek_nandflash_config - use nand flash |
| 76 | make at91sam9263ek_dataflash_cs0_config - use data flash (spi cs0) |
| 77 | make at91sam9263ek_norflash_config - use nor flash |
| 78 | |
| 79 | You can choose to boot directly from U-Boot at config step:: |
| 80 | |
| 81 | make at91sam9263ek_norflash_boot_config - boot from nor flash |
| 82 | |
| 83 | |
| 84 | AT91SAM9M10G45EK |
| 85 | ^^^^^^^^^^^^^^^^ |
| 86 | |
| 87 | Memory map:: |
| 88 | |
| 89 | 0x70000000 - 77FFFFFF SDRAM (128 MB) |
| 90 | |
| 91 | Environment variables |
| 92 | |
| 93 | U-Boot environment variables can be stored at different places: |
| 94 | |
| 95 | - Nand flash |
| 96 | |
| 97 | You can choose your storage location at config step (here for at91sam9m10g45ek):: |
| 98 | |
| 99 | make at91sam9m10g45ek_nandflash_config - use nand flash |
| 100 | |
| 101 | |
| 102 | AT91SAM9RLEK |
| 103 | ^^^^^^^^^^^^ |
| 104 | |
| 105 | Memory map:: |
| 106 | |
| 107 | 0x20000000 - 23FFFFFF SDRAM (64 MB) |
| 108 | 0xC0000000 - C07FFFFF Soldered Atmel Dataflash (AT45DB642) |
| 109 | |
| 110 | Environment variables |
| 111 | |
| 112 | U-Boot environment variables can be stored at different places: |
| 113 | |
| 114 | - Dataflash on SPI chip select 0 |
| 115 | - Nand flash. |
| 116 | |
| 117 | You can choose your storage location at config step (here for at91sam9rlek):: |
| 118 | |
| 119 | make at91sam9rlek_nandflash_config - use nand flash |
| 120 | |
| 121 | |
| 122 | AT91SAM9N12EK, AT91SAM9X5EK |
| 123 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 124 | |
| 125 | Memory map:: |
| 126 | |
| 127 | 0x20000000 - 27FFFFFF SDRAM (128 MB) |
| 128 | |
| 129 | Environment variables |
| 130 | |
| 131 | U-Boot environment variables can be stored at different places: |
| 132 | |
| 133 | - Nand flash |
| 134 | - SD/MMC card |
| 135 | - Serialflash/Dataflash on SPI chip select 0 |
| 136 | |
| 137 | You can choose your storage location at config step (here for at91sam9x5ek):: |
| 138 | |
| 139 | make at91sam9x5ek_dataflash_config - use data flash |
| 140 | make at91sam9x5ek_mmc_config - use sd/mmc card |
| 141 | make at91sam9x5ek_nandflash_config - use nand flash |
| 142 | make at91sam9x5ek_spiflash_config - use serial flash |
| 143 | |
| 144 | |
| 145 | SAMA5D3XEK |
| 146 | ^^^^^^^^^^ |
| 147 | |
| 148 | Memory map:: |
| 149 | |
| 150 | 0x20000000 - 3FFFFFFF SDRAM (512 MB) |
| 151 | |
| 152 | Environment variables |
| 153 | |
| 154 | U-Boot environment variables can be stored at different places: |
| 155 | |
| 156 | - Nand flash |
| 157 | - SD/MMC card |
| 158 | - Serialflash on SPI chip select 0 |
| 159 | |
| 160 | You can choose your storage location at config step (here for sama5d3xek):: |
| 161 | |
| 162 | make sama5d3xek_mmc_config - use SD/MMC card |
| 163 | make sama5d3xek_nandflash_config - use nand flash |
| 164 | make sama5d3xek_serialflash_config - use serial flash |
| 165 | |
| 166 | |
| 167 | NAND partition table |
| 168 | -------------------- |
| 169 | |
| 170 | All the board support boot from NAND flash will use the following NAND |
| 171 | partition table:: |
| 172 | |
| 173 | 0x00000000 - 0x0003FFFF bootstrap (256 KiB) |
| 174 | 0x00040000 - 0x000BFFFF u-boot (512 KiB) |
| 175 | 0x000C0000 - 0x000FFFFF env (256 KiB) |
| 176 | 0x00100000 - 0x0013FFFF env_redundant (256 KiB) |
| 177 | 0x00140000 - 0x0017FFFF spare (256 KiB) |
| 178 | 0x00180000 - 0x001FFFFF dtb (512 KiB) |
| 179 | 0x00200000 - 0x007FFFFF kernel (6 MiB) |
| 180 | 0x00800000 - 0xxxxxxxxx rootfs (All left) |
| 181 | |
| 182 | |
| 183 | Watchdog support |
| 184 | ---------------- |
| 185 | |
| 186 | For security reasons, the at91 watchdog is running at boot time and, |
| 187 | if deactivated, cannot be used anymore. |
| 188 | If you want to use the watchdog, you will need to keep it running in |
| 189 | your code (make sure not to disable it in AT91Bootstrap for instance). |
| 190 | |
| 191 | In the U-Boot configuration, the AT91 watchdog support is enabled using |
| 192 | the CONFIG_WDT and CONFIG_WDT_AT91 options. |