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.
70 lines
2.1 KiB
70 lines
2.1 KiB
# Architecture
|
|
BR2_aarch64=y
|
|
BR2_cortex_a53=y
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
|
|
# custom skeleton
|
|
BR2_ROOTFS_SKELETON_UBUNTU=y
|
|
BR2_ROOTFS_SKELETON_CUSTOM=y
|
|
BR2_ROOTFS_SKELETON_CUSTOM_SITE="http://cdimage.ubuntu.com/ubuntu-base/releases/20.04.4/release"
|
|
BR2_ROOTFS_SKELETON_CUSTOM_SOURCE="ubuntu-base-20.04.1-base-arm64.tar.gz"
|
|
BR2_ROOTFS_SKELETON_CUSTOM_SITE_METHOD="wget"
|
|
BR2_ROOTFS_SKELETON_CUSTOM_EXTRACT="tar zxvf"
|
|
BR2_ROOTFS_SKELETON_CUSTOM_EXTRACT_IGNORE_ERROR=y
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-custom-skeleton-ubuntu-base-20.04.sh"
|
|
BR2_INIT_NONE=y
|
|
BR2_ROOTFS_CHOWN=y
|
|
|
|
# Hostname and issue
|
|
BR2_TARGET_GENERIC_HOSTNAME="E2000"
|
|
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="f0cc7d6de6976f4b2b88d425a91878d948106f80"
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="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"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_DEFCONFIG="e2000"
|
|
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_ROOTFS_DESKTOP=y
|
|
BR2_PACKAGE_BUSYBOX=n
|
|
|
|
# Vpu-lib
|
|
BR2_PACKAGE_VPU_LIB=y
|
|
BR2_PACKAGE_VPU_LIB_CPU_MODEL="e2000"
|
|
|
|
# FFmpeg
|
|
BR2_PACKAGE_FFMPEG=y
|
|
|