| 12345678910111213141516171819202122232425 |
- # Merged on top of bananapi_m2_berry_defconfig by build-uboot.sh.
- #
- # Both boards boot from a hand-written environment in /boot/uboot.env on the
- # first (FAT) partition of the card. That file is 128 KiB: its CRC covers
- # 0x20000 bytes, as the 2018/2021 U-Boots wrote it. Mainline sunxi now defaults
- # to 64 KiB, and with that size the CRC fails, U-Boot falls back to its
- # built-in environment and does not find a kernel (no extlinux.conf, no
- # boot.scr). write-uboot.sh checks the target's file against this value.
- CONFIG_ENV_SIZE=0x20000
- CONFIG_ENV_IS_IN_FAT=y
- CONFIG_ENV_FAT_INTERFACE="mmc"
- CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
- CONFIG_ENV_FAT_FILE="uboot.env"
- # Commands the environment uses: fatload, bootm of a legacy uImage, and on
- # marlena "fdt resize" / "fdt apply" for the LED overlay.
- CONFIG_CMD_FAT=y
- CONFIG_CMD_BOOTM=y
- CONFIG_LEGACY_IMAGE_FORMAT=y
- CONFIG_CMD_FDT=y
- CONFIG_OF_LIBFDT_OVERLAY=y
- CONFIG_CMD_SAVEENV=y
- # mkeficapsule is a host tool for signed EFI capsule updates, unused here; the
- # host GnuTLS is built without PKCS#11, so it would not link anyway.
- # CONFIG_TOOLS_MKEFICAPSULE is not set
|