Konstantin Porotchkin | e1c55df | 2021-05-11 08:11:25 +0200 | [diff] [blame] | 1 | Not all board variants are represented with a specific defconfig in |
| 2 | mainline U-Boot. Here a small documentation on how to generate U-Boot |
| 3 | images for all other board variants, available via different dts |
| 4 | files and defconfigs. |
| 5 | |
| 6 | Use a different dts than in the defconfig: |
| 7 | |
| 8 | make DEVICE_TREE=cn9131-db-B |
| 9 | |
| 10 | Use a different boot device (e.g. MMC or NAND instead of SPI NOR): |
| 11 | |
| 12 | For MMC, please make the following changes to the defconfig via |
| 13 | e.g. "make menuconfig": |
| 14 | Remove CONFIG_MVEBU_SPI_BOOT |
| 15 | Select CONFIG_MVEBU_MMC_BOOT |
| 16 | Remove CONFIG_ENV_IS_IN_SPI_FLASH |
| 17 | Select CONFIG_ENV_IS_IN_MMC |
| 18 | |
| 19 | For NAND, please make the following changes to the defconfig via |
| 20 | e.g. "make menuconfig": |
| 21 | Remove CONFIG_MVEBU_SPI_BOOT |
| 22 | Select CONFIG_MVEBU_NAND_BOOT |
| 23 | Remove CONFIG_ENV_IS_IN_SPI_FLASH |
| 24 | Select CONFIG_ENV_IS_IN_NAND |