nanopi_m1_defconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Architecture
  2. BR2_arm=y
  3. BR2_cortex_a7=y
  4. BR2_ARM_FPU_VFPV4=y
  5. # Linux headers same as kernel, a 4.11 series
  6. BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
  7. # System configuration
  8. BR2_TARGET_GENERIC_HOSTNAME="nanopi-m1"
  9. BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the NanoPi M1"
  10. # Bootloaders
  11. BR2_TARGET_UBOOT=y
  12. BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
  13. BR2_TARGET_UBOOT_CUSTOM_VERSION=y
  14. BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
  15. BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_m1"
  16. BR2_TARGET_UBOOT_NEEDS_DTC=y
  17. BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
  18. BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
  19. BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
  20. # Kernel
  21. BR2_LINUX_KERNEL=y
  22. BR2_LINUX_KERNEL_CUSTOM_VERSION=y
  23. BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5"
  24. BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
  25. BR2_LINUX_KERNEL_DTS_SUPPORT=y
  26. BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-nanopi-m1"
  27. # Filesystem
  28. BR2_TARGET_ROOTFS_EXT2=y
  29. BR2_TARGET_ROOTFS_EXT2_4=y
  30. BR2_TARGET_UBOOT_BOOT_SCRIPT=y
  31. BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE="board/friendlyarm/nanopi-m1/boot.cmd"
  32. BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
  33. BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-m1/genimage.cfg"
  34. # BR2_TARGET_ROOTFS_TAR is not set
  35. # Additional tools
  36. BR2_PACKAGE_HOST_DOSFSTOOLS=y
  37. BR2_PACKAGE_HOST_GENIMAGE=y
  38. BR2_PACKAGE_HOST_MTOOLS=y