2023-10-27 13:47:00 +02:00
|
|
|
# Target options
|
|
|
|
BR2_arm=y
|
|
|
|
|
|
|
|
# System configuration
|
|
|
|
BR2_TARGET_GENERIC_HOSTNAME="licheepi-nano"
|
|
|
|
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Nano"
|
|
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
|
|
|
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
|
|
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
|
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/licheepi_nano/genimage.cfg"
|
|
|
|
|
2024-04-02 23:08:52 +02:00
|
|
|
# Linux headers same as kernel
|
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5=y
|
|
|
|
|
2023-10-27 13:47:00 +02:00
|
|
|
# Kernel
|
|
|
|
BR2_LINUX_KERNEL=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.9"
|
|
|
|
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
|
|
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/licheepi_nano/linux.fragment"
|
|
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/suniv-f1c100s-licheepi-nano"
|
|
|
|
|
|
|
|
# Filesystem images
|
|
|
|
BR2_TARGET_ROOTFS_JFFS2=y
|
|
|
|
BR2_TARGET_ROOTFS_JFFS2_FLASH_64=y
|
|
|
|
BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
|
|
|
|
BR2_TARGET_ROOTFS_JFFS2_PAD=y
|
|
|
|
|
|
|
|
# Bootloaders
|
|
|
|
BR2_TARGET_UBOOT=y
|
|
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04"
|
|
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="licheepi_nano"
|
|
|
|
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/sipeed/licheepi_nano/uboot.fragment"
|
|
|
|
BR2_TARGET_UBOOT_SPL=y
|
|
|
|
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
|
|
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
|
|
|
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
|
|
|
|
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
|
|
|
|
|
|
|
# Required host utilities
|
|
|
|
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|
|
|
BR2_PACKAGE_HOST_E2FSPROGS=y
|
|
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
|
|
BR2_PACKAGE_HOST_MTOOLS=y
|
|
|
|
BR2_PACKAGE_HOST_SUNXI_TOOLS=y
|