u-boot.config 1.1 KB

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