You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.1 KiB
67 lines
2.1 KiB
# Architecture
|
|
BR2_aarch64=y
|
|
BR2_cortex_a53=y
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
BR2_TARGET_ROOTFS_TAR_XZ=y
|
|
BR2_TARGET_ROOTFS_EXT2_SIZE="10G"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-5.10.cfg"
|
|
|
|
# custom skeleton
|
|
BR2_ROOTFS_SKELETON_CUSTOM=y
|
|
BR2_ROOTFS_SKELETON_DEBIAN=y
|
|
BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-debian-11.sh"
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh"
|
|
BR2_INIT_NONE=y
|
|
BR2_ROOTFS_MERGED_USR=y
|
|
BR2_ENABLE_LOCALE_PURGE=n
|
|
BR2_ROOTFS_CHOWN=y
|
|
|
|
# Hostname and issue
|
|
BR2_TARGET_GENERIC_HOSTNAME="Phytium"
|
|
BR2_TARGET_GENERIC_ISSUE="Welcome to Phytium Buildroot"
|
|
|
|
# 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_GIT=y
|
|
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://gitee.com/phytium_embedded/phytium-linux-kernel.git"
|
|
# kernel 5.10
|
|
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-5.10_v2.1"
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="phytium/e2000d-chillipi-edu-board phytium/e2000d-demo-board phytium/e2000d-miniitx-board phytium/e2000d-power-board phytium/e2000q-come-board phytium/e2000q-demo-board phytium/e2000q-edu-board phytium/e2000q-hanwei-board phytium/e2000q-miniitx-board phytium/e2000q-vpx-board phytium/e2000s-demo-board phytium/phytiumpi_firefly"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_DEFCONFIG="phytium"
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image"
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
BR2_ROOTFS_LINUX_HEADERS=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
|
|
|
|
BR2_PACKAGE_BUSYBOX=n
|
|
|
|
# util-linux
|
|
BR2_PACKAGE_UTIL_LINUX=y
|
|
BR2_PACKAGE_UTIL_LINUX_BINARIES=y
|
|
|