|
|
|
# Architecture
|
|
|
|
BR2_aarch64=y
|
|
|
|
BR2_cortex_a53=y
|
|
|
|
|
|
|
|
# Filesystem
|
|
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
|
|
BR2_TARGET_ROOTFS_EXT2_SIZE="80M"
|
|
|
|
BR2_TARGET_ROOTFS_INITRAMFS=y
|
|
|
|
BR2_ROOTFS_RESIZE=y
|
|
|
|
#BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh"
|
|
|
|
#BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-efi.cfg"
|
|
|
|
BR2_TARGET_ROOTFS_CPIO=y
|
|
|
|
BR2_TARGET_ROOTFS_CPIO_GZIP=y
|
|
|
|
|
|
|
|
# Hostname and issue
|
|
|
|
BR2_TARGET_GENERIC_HOSTNAME="D2000"
|
|
|
|
BR2_TARGET_GENERIC_ISSUE="Welcome to Phytium Buildroot initrd"
|
|
|
|
|
|
|
|
# toolchain
|
|
|
|
BR2_TOOLCHAIN_EXTERNAL=y
|
|
|
|
BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64=y
|
|
|
|
BR2_TOOLCHAIN_USES_GLIBC=y
|
|
|
|
BR2_TOOLCHAIN_EXTERNAL_GLIBC=y
|
|
|
|
|
|
|
|
# Linux headers same as kernel
|
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
|
|
|
|
|
|
|
|
# Kernel
|
|
|
|
BR2_LINUX_KERNEL=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
|
|
|
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="file://$(TOPDIR)/files/linux-4.19.tar.gz"
|
|
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/sdk.config"
|
|
|
|
#BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
|
|
#BR2_LINUX_KERNEL_INTREE_DTS_NAME="phytium/d2000-devboard-dsk"
|
|
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
|
|
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image"
|
|
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
|
|
|
|
|
# Bootloader
|
|
|
|
#BR2_TARGET_GRUB2=y
|
|
|
|
#BR2_TARGET_GRUB2_ARM64_EFI=y
|
|
|
|
|
|
|
|
|
|
|
|
# Serial port config
|
|
|
|
BR2_TARGET_GENERIC_GETTY=y
|
|
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
|
|
|
|
|
|
|
# required tools to create the microSD image
|
|
|
|
#BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|
|
|
#BR2_PACKAGE_HOST_GENIMAGE=y
|
|
|
|
#BR2_PACKAGE_HOST_MTOOLS=y
|
|
|
|
|
|
|
|
# busybox setting
|
|
|
|
#BR2_INIT_BUSYBOX=y
|
|
|
|
|
|
|
|
#eudev support
|
|
|
|
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
|
|
|
|
BR2_ROOTFS_OVERLAY="board/phytium/common/busybox_initrd_overlay"
|
|
|
|
|
|
|
|
# basic packages and tools
|
|
|
|
#BR2_PACKAGE_MTD=y
|
|
|
|
#BR2_PACKAGE_MTD_MTD_DEBUG=y
|
|
|
|
#BR2_PACKAGE_SYSSTAT=y
|
|
|
|
#BR2_PACKAGE_E2FSPROGS=y
|
|
|
|
#BR2_PACKAGE_RT_TESTS=y
|
|
|
|
#BR2_PACKAGE_OPENSSH=y
|
|
|
|
#BR2_PACKAGE_OPENSSL=y
|
|
|
|
#BR2_PACKAGE_WGET=y
|
|
|
|
|
|
|
|
# ca-certs packages
|
|
|
|
#BR2_PACKAGE_CA_CERTIFICATES=y
|
|
|
|
|
|
|
|
# dhcpd package
|
|
|
|
#BR2_PACKAGE_DHCPCD=y
|
|
|
|
|
|
|
|
# resize2fs package
|
|
|
|
#BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
|
|
|
|
|
|
|
|
# Text editors
|
|
|
|
#BR2_PACKAGE_NANO=y
|
|
|
|
|
|
|
|
# IGH ETHERCAT
|
|
|
|
#BR2_PACKAGE_IGH_ETHERCAT=y
|
|
|
|
|
|
|
|
#iproute2
|
|
|
|
#BR2_PACKAGE_IPROUTE2=y
|
|
|
|
|
|
|
|
#netperf
|
|
|
|
#BR2_PACKAGE_NETPERF=y
|
|
|
|
|
|
|
|
#BR2_PACKAGE_ETHTOOL=y
|
|
|
|
#BR2_PACKAGE_COLLECTD_CURL=y
|
|
|
|
#BR2_PACKAGE_COLLECTD_CURL_JSON=y
|
|
|
|
#BR2_PACKAGE_COLLECTD_CURL_XML=y
|
|
|
|
#BR2_PACKAGE_LIBCURL=y
|
|
|
|
#BR2_PACKAGE_LIBCURL_CURL=y
|
|
|
|
#BR2_PACKAGE_LIBCURL_VERBOSE=y
|
|
|
|
#BR2_PACKAGE_FLICKCURL=y
|
|
|
|
#BR2_PACKAGE_FLICKCURL_UTILS=y
|
|
|
|
BR2_PACKAGE_BASH=y
|
|
|
|
BR2_SYSTEM_BIN_SH_BASH=y
|
|
|
|
BR2_SYSTEM_BIN_SH="bash"
|
|
|
|
|
|
|
|
# haveged
|
|
|
|
#BR2_PACKAGE_HAVEGED=y
|
|
|
|
|
|
|
|
#avahi
|
|
|
|
#BR2_PACKAGE_AVAHI=y
|
|
|
|
#BR2_PACKAGE_AVAHI_AUTOIPD=y
|
|
|
|
#BR2_PACKAGE_AVAHI_DAEMON=y
|
|
|
|
#BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY=y
|
|
|
|
#BR2_PACKAGE_NSS_MDNS=y
|
|
|
|
|
|
|
|
# i2c-tools
|
|
|
|
#BR2_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