Browse Source
Merge pull request !19 from weishanshan/masterpull/20/MERGE phytium-linux-buildroot_v2.0
guochunrong2020
10 months ago
committed by
Gitee
58 changed files with 604 additions and 1357 deletions
Binary file not shown.
@ -0,0 +1 @@ |
|||
BR2_PACKAGE_ROOTFS_DESKTOP=y |
@ -0,0 +1,5 @@ |
|||
# Filesystem |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-4.19.cfg" |
|||
# kernel 4.19 |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-4.19_v2.0" |
|||
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" |
@ -0,0 +1,6 @@ |
|||
# Filesystem |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-4.19.cfg" |
|||
# kernel 4.19_rt |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-4.19-rt_v2.0" |
|||
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" |
|||
|
@ -0,0 +1,3 @@ |
|||
# kernel 5.10_rt |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-5.10-rt_v2.0" |
|||
|
@ -1,64 +0,0 @@ |
|||
# 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="5G" |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh" |
|||
|
|||
# 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_ENABLE_LOCALE_PURGE=n |
|||
|
|||
# Hostname and issue |
|||
BR2_TARGET_GENERIC_HOSTNAME="D2000" |
|||
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_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 phytium/ft2004-devboard-d4-dsk" |
|||
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_XORG_ROGUE_UMLIBS=y |
|||
BR2_PACKAGE_BUSYBOX=n |
|||
|
|||
# Vpu-lib |
|||
BR2_PACKAGE_VPU_LIB=y |
|||
BR2_PACKAGE_VPU_LIB_CPU_MODEL="d2000" |
@ -1,69 +0,0 @@ |
|||
# 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="5G" |
|||
BR2_ROOTFS_CHOWN=y |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh" |
|||
|
|||
# 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_ENABLE_LOCALE_PURGE=n |
|||
|
|||
# Hostname and issue |
|||
BR2_TARGET_GENERIC_HOSTNAME="D2000" |
|||
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_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 phytium/ft2004-devboard-d4-dsk" |
|||
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_XORG_ROGUE_UMLIBS=y |
|||
BR2_PACKAGE_BUSYBOX=n |
|||
|
|||
# Vpu-lib |
|||
BR2_PACKAGE_VPU_LIB=y |
|||
BR2_PACKAGE_VPU_LIB_CPU_MODEL="d2000" |
|||
|
|||
# FFmpeg |
|||
BR2_PACKAGE_FFMPEG=y |
@ -1,134 +0,0 @@ |
|||
# 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="1G" |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh" |
|||
|
|||
# Hostname and issue |
|||
BR2_TARGET_GENERIC_HOSTNAME="D2000" |
|||
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_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 phytium/ft2004-devboard-d4-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 |
|||
|
|||
|
|||
#eudev support |
|||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y |
|||
BR2_ROOTFS_OVERLAY="board/phytium/common/busybox_init_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 |
|||
BR2_PACKAGE_WIRELESS_REGDB=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_PACKAGE_I2C_TOOLS=y |
|||
|
|||
BR2_USE_MMU=y |
|||
BR2_USE_WCHAR=y |
|||
BR2_PACKAGE_VIM=y |
|||
|
|||
BR2_INSTALL_LIBSTDCPP=y |
|||
BR2_PACKAGE_IPERF=y |
|||
|
|||
BR2_TOOLCHAIN_HAS_THREADS=y |
|||
BR2_PACKAGE_IPERF3=y |
|||
BR2_PACKAGE_TCPDUMP=y |
|||
|
|||
# OPC UA tools |
|||
BR2_PACKAGE_LIBOPEN62541=y |
|||
BR2_PACKAGE_LIBOPEN62541_BUILD_EXAMPLES=y |
|||
|
|||
BR2_PACKAGE_XORG_ROGUE_UMLIBS=y |
|||
|
|||
# Vpu-lib |
|||
BR2_PACKAGE_VPU_LIB=y |
|||
BR2_PACKAGE_VPU_LIB_CPU_MODEL="d2000" |
@ -1,2 +0,0 @@ |
|||
# 4.19_rt |
|||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="file://$(TOPDIR)/files/linux-4.19_rt.tar.gz" |
@ -1,9 +0,0 @@ |
|||
# kernel_5.10 |
|||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y |
|||
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=n |
|||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="file://$(TOPDIR)/files/linux-5.10.tar.gz" |
|||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="" |
|||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y |
|||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="phytium/pd2008-devboard-dsk phytium/pd1904-devboard-d4-dsk phytium/pd1904c-devboard-d4-dsk" |
|||
BR2_LINUX_KERNEL_DEFCONFIG="phytium" |
|||
|
@ -1,9 +0,0 @@ |
|||
# 5.10_rt |
|||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y |
|||
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=n |
|||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="file://$(TOPDIR)/files/linux-5.10_rt.tar.gz" |
|||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="" |
|||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y |
|||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="phytium/pd2008-devboard-dsk phytium/pd1904-devboard-d4-dsk phytium/pd1904c-devboard-d4-dsk" |
|||
BR2_LINUX_KERNEL_DEFCONFIG="phytium" |
|||
|
@ -1,64 +0,0 @@ |
|||
# 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="5G" |
|||
BR2_ROOTFS_CHOWN=y |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh" |
|||
|
|||
# custom skeleton |
|||
BR2_ROOTFS_SKELETON_CUSTOM=y |
|||
BR2_ROOTFS_SKELETON_UBUNTU=y |
|||
BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-ubuntu-20.04.sh" |
|||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh" |
|||
BR2_INIT_NONE=y |
|||
BR2_ENABLE_LOCALE_PURGE=n |
|||
|
|||
# Hostname and issue |
|||
BR2_TARGET_GENERIC_HOSTNAME="D2000" |
|||
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_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 phytium/ft2004-devboard-d4-dsk" |
|||
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_XORG_ROGUE_UMLIBS=y |
|||
BR2_PACKAGE_BUSYBOX=n |
|||
|
|||
# Vpu-lib |
|||
BR2_PACKAGE_VPU_LIB=y |
|||
BR2_PACKAGE_VPU_LIB_CPU_MODEL="d2000" |
@ -1,68 +0,0 @@ |
|||
# 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="5G" |
|||
BR2_ROOTFS_CHOWN=y |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh" |
|||
|
|||
# custom skeleton |
|||
BR2_ROOTFS_SKELETON_CUSTOM=y |
|||
BR2_ROOTFS_SKELETON_UBUNTU=y |
|||
BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-ubuntu-20.04.sh" |
|||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh" |
|||
BR2_INIT_NONE=y |
|||
BR2_ENABLE_LOCALE_PURGE=n |
|||
|
|||
# Hostname and issue |
|||
BR2_TARGET_GENERIC_HOSTNAME="D2000" |
|||
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_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 phytium/ft2004-devboard-d4-dsk" |
|||
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_XORG_ROGUE_UMLIBS=y |
|||
BR2_PACKAGE_BUSYBOX=n |
|||
|
|||
# Vpu-lib |
|||
BR2_PACKAGE_VPU_LIB=y |
|||
BR2_PACKAGE_VPU_LIB_CPU_MODEL="d2000" |
|||
|
|||
# FFmpeg |
|||
BR2_PACKAGE_FFMPEG=y |
@ -1,72 +0,0 @@ |
|||
# 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="5G" |
|||
BR2_ROOTFS_CHOWN=y |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh" |
|||
|
|||
# custom skeleton |
|||
BR2_ROOTFS_SKELETON_CUSTOM=y |
|||
BR2_ROOTFS_SKELETON_UBUNTU=y |
|||
BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-ubuntu-20.04.sh" |
|||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh" |
|||
BR2_INIT_NONE=y |
|||
BR2_ENABLE_LOCALE_PURGE=n |
|||
|
|||
# Hostname and issue |
|||
BR2_TARGET_GENERIC_HOSTNAME="D2000" |
|||
|
|||
# toolchain |
|||
BR2_TOOLCHAIN_EXTERNAL=y |
|||
BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64=y |
|||
BR2_TOOLCHAIN_USES_GLIBC=y |
|||
BR2_TOOLCHAIN_EXTERNAL_GLIBC=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 phytium/ft2004-devboard-d4-dsk" |
|||
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 |
|||
|
|||
# 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 |
|||
|
|||
# X100 |
|||
BR2_PACKAGE_XORG_ROGUE_UMLIBS=y |
|||
|
|||
# Vpu-lib |
|||
BR2_PACKAGE_VPU_LIB=y |
|||
BR2_PACKAGE_VPU_LIB_CPU_MODEL="d2000" |
|||
|
|||
# FFmpeg |
|||
BR2_PACKAGE_FFMPEG=y |
|||
|
|||
# Qt5 |
|||
BR2_PACKAGE_QT5=y |
|||
BR2_PACKAGE_QT5BASE_EXAMPLES=y |
|||
BR2_PACKAGE_QT5BASE_GUI=y |
|||
BR2_PACKAGE_QT5BASE_EGLFS=y |
|||
BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs" |
|||
BR2_PACKAGE_QT5BASE_OPENGL=y |
|||
BR2_PACKAGE_QT5BASE_OPENGL_ES2=y |
|||
BR2_PACKAGE_QT53D=y |
|||
BR2_PACKAGE_LIBDRM=y |
@ -1,62 +0,0 @@ |
|||
# 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="5G" |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh" |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-e2000.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_ENABLE_LOCALE_PURGE=n |
|||
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="kernel_5.10-v1.1" |
|||
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="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 |
@ -1,12 +0,0 @@ |
|||
# jailhouse |
|||
BR2_PACKAGE_JAILHOUSE=y |
|||
|
|||
# jailhouse helper scripts |
|||
BR2_PACKAGE_PYTHON3=y |
|||
BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS=y |
|||
|
|||
# kernel 4.19 |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel_4.19-v1.1" |
|||
|
|||
# kernel patch for e2000 linux-4.19 |
|||
BR2_LINUX_KERNEL_PATCH="$(LINUX_PKGDIR)/kernel-patches/jailhouse/0001-modify-the-dts-of-e2000-linux-4.19-kernel-to-reserve.patch" |
@ -1,9 +0,0 @@ |
|||
# jailhouse |
|||
BR2_PACKAGE_JAILHOUSE=y |
|||
|
|||
# jailhouse helper scripts |
|||
BR2_PACKAGE_PYTHON3=y |
|||
BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS=y |
|||
|
|||
# kernel patch for e2000 linux-5.10 |
|||
BR2_LINUX_KERNEL_PATCH="$(LINUX_PKGDIR)/kernel-patches/jailhouse/0001-modify-the-dts-of-e2000-linux-5.10-kernel-to-reserve.patch" |
@ -1,2 +0,0 @@ |
|||
# kernel 4.19 |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel_4.19-v1.1" |
@ -1,2 +0,0 @@ |
|||
# kernel 4.19-rt |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel_4.19-rt-v1.1" |
@ -1,2 +0,0 @@ |
|||
# kernel 5.10-rt |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel_5.10-rt-v1.1" |
@ -1,62 +0,0 @@ |
|||
# 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="5G" |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh" |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-e2000.cfg" |
|||
|
|||
# custom skeleton |
|||
BR2_ROOTFS_SKELETON_CUSTOM=y |
|||
BR2_ROOTFS_SKELETON_UBUNTU=y |
|||
BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-ubuntu-20.04.sh" |
|||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh" |
|||
BR2_INIT_NONE=y |
|||
BR2_ENABLE_LOCALE_PURGE=n |
|||
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="kernel_5.10-v1.1" |
|||
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="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 |
@ -1,64 +0,0 @@ |
|||
# 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="5G" |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh" |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-e2000.cfg" |
|||
|
|||
|
|||
# custom skeleton |
|||
BR2_ROOTFS_SKELETON_CUSTOM=y |
|||
BR2_ROOTFS_SKELETON_UBUNTU=y |
|||
BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-ubuntu-20.04.sh" |
|||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh" |
|||
BR2_INIT_NONE=y |
|||
BR2_ENABLE_LOCALE_PURGE=n |
|||
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="kernel_5.10-v1.1" |
|||
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="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_ROOTFS_DESKTOP=y |
|||
BR2_PACKAGE_BUSYBOX=n |
@ -1,14 +0,0 @@ |
|||
# cobalt kernel 4.19.209-cip59 |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://gitee.com/phytium_embedded/linux-kernel-xenomai.git" |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel_4.19.209-cip59_v1.1" |
|||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/cobalt.config" |
|||
# xenomai libraries and tools |
|||
BR2_PACKAGE_XENOMAI=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL="https://source.denx.de/Xenomai/xenomai/-/archive/v3.1.3/xenomai-v3.1.3.tar.gz" |
|||
BR2_PACKAGE_XENOMAI_COBALT=y |
|||
BR2_PACKAGE_XENOMAI_ENABLE_SMP=y |
|||
BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS="--enable-pshared" |
|||
BR2_PACKAGE_XENOMAI_TESTSUITE=y |
|||
BR2_PACKAGE_XENOMAI_RTCAN=y |
|||
BR2_PACKAGE_XENOMAI_ANALOGY=y |
@ -1,12 +0,0 @@ |
|||
# kernel 4.19-rt |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel_4.19-rt-v1.1" |
|||
# xenomai libraries and tools |
|||
BR2_PACKAGE_XENOMAI=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL="https://source.denx.de/Xenomai/xenomai/-/archive/v3.1.3/xenomai-v3.1.3.tar.gz" |
|||
BR2_PACKAGE_XENOMAI_MERCURY=y |
|||
BR2_PACKAGE_XENOMAI_ENABLE_SMP=y |
|||
BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS="--enable-pshared" |
|||
BR2_PACKAGE_XENOMAI_TESTSUITE=y |
|||
BR2_PACKAGE_XENOMAI_RTCAN=y |
|||
BR2_PACKAGE_XENOMAI_ANALOGY=y |
@ -1,14 +0,0 @@ |
|||
# cobalt kernel 5.10.153-dovetail3 |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://gitee.com/phytium_embedded/linux-kernel-xenomai.git" |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="087481d1b92af5be516b1b04938738d9ba82cbcd" |
|||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/cobalt.config" |
|||
# xenomai libraries and tools |
|||
BR2_PACKAGE_XENOMAI=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL="https://source.denx.de/Xenomai/xenomai/-/archive/v3.2.2/xenomai-v3.2.2.tar.gz" |
|||
BR2_PACKAGE_XENOMAI_COBALT=y |
|||
BR2_PACKAGE_XENOMAI_ENABLE_SMP=y |
|||
BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS="--enable-pshared" |
|||
BR2_PACKAGE_XENOMAI_TESTSUITE=y |
|||
BR2_PACKAGE_XENOMAI_RTCAN=y |
|||
BR2_PACKAGE_XENOMAI_ANALOGY=y |
@ -1,82 +0,0 @@ |
|||
# Architecture |
|||
BR2_aarch64=y |
|||
|
|||
# Toolchain |
|||
BR2_TOOLCHAIN_EXTERNAL=y |
|||
|
|||
# Hostname and issue |
|||
BR2_TARGET_GENERIC_HOSTNAME="phytiumpi" |
|||
BR2_TARGET_GENERIC_ISSUE="Welcome to Phytium PI" |
|||
|
|||
# system configuration |
|||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y |
|||
BR2_SYSTEM_BIN_SH_BASH=y |
|||
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" |
|||
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y |
|||
BR2_ROOTFS_OVERLAY="board/phytium/common/busybox_init_overlay" |
|||
|
|||
# Filesystem |
|||
BR2_TARGET_ROOTFS_EXT2=y |
|||
BR2_TARGET_ROOTFS_EXT2_4=y |
|||
BR2_TARGET_ROOTFS_EXT2_SIZE="2G" |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh" |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-sd.cfg" |
|||
|
|||
|
|||
# Bootloader |
|||
BR2_TARGET_GRUB2=y |
|||
BR2_PACKAGE_PHYUBOOT=y |
|||
BR2_PACKAGE_PHYUBOOT_RAMSIZE="4GB" |
|||
|
|||
# required tools to create the microSD image |
|||
BR2_PACKAGE_HOST_DOSFSTOOLS=y |
|||
BR2_PACKAGE_HOST_GENIMAGE=y |
|||
BR2_PACKAGE_HOST_MTOOLS=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-v1.1" |
|||
BR2_LINUX_KERNEL_DEFCONFIG="phytiumpi_firefly" |
|||
BR2_LINUX_KERNEL_DTS_SUPPORT=y |
|||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="phytium/phytiumpi_firefly" |
|||
BR2_LINUX_KERNEL_IMAGEGZ=y |
|||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y |
|||
|
|||
# Target packages |
|||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y |
|||
BR2_PACKAGE_GZIP=y |
|||
BR2_PACKAGE_GDB=y |
|||
BR2_PACKAGE_NETPERF=y |
|||
BR2_PACKAGE_RT_TESTS=y |
|||
BR2_PACKAGE_STRACE=y |
|||
BR2_PACKAGE_GREP=y |
|||
BR2_PACKAGE_CIFS_UTILS=y |
|||
BR2_PACKAGE_E2FSPROGS=y |
|||
BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y |
|||
BR2_PACKAGE_MTD=y |
|||
BR2_PACKAGE_I2C_TOOLS=y |
|||
BR2_PACKAGE_PCIUTILS=y |
|||
BR2_PACKAGE_SYSSTAT=y |
|||
BR2_PACKAGE_FLICKCURL=y |
|||
BR2_PACKAGE_FLICKCURL_UTILS=y |
|||
BR2_PACKAGE_LIBCURL_CURL=y |
|||
BR2_PACKAGE_LIBCURL_VERBOSE=y |
|||
BR2_PACKAGE_COLLECTD=y |
|||
BR2_PACKAGE_COLLECTD_CURL=y |
|||
BR2_PACKAGE_COLLECTD_CURL_JSON=y |
|||
BR2_PACKAGE_COLLECTD_CURL_XML=y |
|||
BR2_PACKAGE_DHCPCD=y |
|||
BR2_PACKAGE_ETHTOOL=y |
|||
BR2_PACKAGE_IPERF=y |
|||
BR2_PACKAGE_IPERF3=y |
|||
BR2_PACKAGE_IPROUTE2=y |
|||
BR2_PACKAGE_OPENSSH=y |
|||
BR2_PACKAGE_TCPDUMP=y |
|||
BR2_PACKAGE_WGET=y |
|||
BR2_PACKAGE_WIRELESS_REGDB=y |
|||
BR2_PACKAGE_PROCPS_NG=y |
|||
BR2_PACKAGE_NANO=y |
|||
BR2_PACKAGE_VIM=y |
@ -0,0 +1,15 @@ |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-sd.cfg" |
|||
|
|||
BR2_LINUX_KERNEL_IMAGEGZ=y |
|||
|
|||
BR2_PACKAGE_PHYUBOOT=y |
|||
BR2_PACKAGE_PHYUBOOT_RAMSIZE="4GB" |
|||
|
|||
# Serial port config |
|||
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" |
|||
|
|||
# Bluetooth config tools |
|||
BR2_PACKAGE_PHYTIUM_TOOLS=y |
|||
|
|||
# Filesystem |
|||
BR2_TARGET_ROOTFS_EXT2_SIZE="15G" |
@ -1,66 +0,0 @@ |
|||
# 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="15G" |
|||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh" |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-sd.cfg" |
|||
|
|||
# custom skeleton |
|||
BR2_ROOTFS_SKELETON_CUSTOM=y |
|||
BR2_ROOTFS_SKELETON_UBUNTU=y |
|||
BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-ubuntu-20.04.sh" |
|||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh" |
|||
BR2_INIT_NONE=y |
|||
BR2_ENABLE_LOCALE_PURGE=n |
|||
BR2_ROOTFS_CHOWN=y |
|||
|
|||
# Hostname and issue |
|||
BR2_TARGET_GENERIC_HOSTNAME="phytiumpi" |
|||
BR2_TARGET_GENERIC_ISSUE="Welcome to Phytium PI" |
|||
|
|||
# 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-v1.1" |
|||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="phytium/phytiumpi_firefly" |
|||
BR2_LINUX_KERNEL_DTS_SUPPORT=y |
|||
BR2_LINUX_KERNEL_DEFCONFIG="phytiumpi_firefly" |
|||
BR2_LINUX_KERNEL_IMAGEGZ=y |
|||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y |
|||
BR2_ROOTFS_LINUX_HEADERS=y |
|||
|
|||
# Bootloader |
|||
BR2_TARGET_GRUB2=y |
|||
BR2_TARGET_GRUB2_ARM64_EFI=y |
|||
BR2_PACKAGE_PHYUBOOT=y |
|||
BR2_PACKAGE_PHYUBOOT_RAMSIZE="4GB" |
|||
|
|||
# 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 |
|||
|
|||
# Bluetooth config tools |
|||
BR2_PACKAGE_PHYTIUM_TOOLS=y |
@ -0,0 +1,2 @@ |
|||
# kernel patch for E2000+X100 |
|||
BR2_LINUX_KERNEL_PATCH="$(LINUX_PKGDIR)/kernel-patches/x100/0001-disable-dc.patch $(LINUX_PKGDIR)/kernel-patches/0001-disable-smmu-in-dts.patch" |
@ -0,0 +1,17 @@ |
|||
# Filesystem |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-4.19.cfg" |
|||
# cobalt kernel 4.19.209-cip59 |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://gitee.com/phytium_embedded/linux-kernel-xenomai.git" |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-4.19.209-cip59_v2.0" |
|||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/cobalt.config" |
|||
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-xenomai-uart2 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" |
|||
# xenomai libraries and tools |
|||
BR2_PACKAGE_XENOMAI=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL="https://source.denx.de/Xenomai/xenomai/-/archive/v3.1.3/xenomai-v3.1.3.tar.gz" |
|||
BR2_PACKAGE_XENOMAI_COBALT=y |
|||
BR2_PACKAGE_XENOMAI_ENABLE_SMP=y |
|||
BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS="--enable-pshared --enable-dlopen-libs" |
|||
BR2_PACKAGE_XENOMAI_TESTSUITE=y |
|||
BR2_PACKAGE_XENOMAI_RTCAN=y |
|||
BR2_PACKAGE_XENOMAI_ANALOGY=y |
@ -0,0 +1,15 @@ |
|||
# Filesystem |
|||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-4.19.cfg" |
|||
# kernel 4.19_rt |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-4.19-rt_v2.0" |
|||
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" |
|||
# xenomai libraries and tools |
|||
BR2_PACKAGE_XENOMAI=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL="https://source.denx.de/Xenomai/xenomai/-/archive/v3.1.3/xenomai-v3.1.3.tar.gz" |
|||
BR2_PACKAGE_XENOMAI_MERCURY=y |
|||
BR2_PACKAGE_XENOMAI_ENABLE_SMP=y |
|||
BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS="--enable-pshared --enable-dlopen-libs" |
|||
BR2_PACKAGE_XENOMAI_TESTSUITE=y |
|||
BR2_PACKAGE_XENOMAI_RTCAN=y |
|||
BR2_PACKAGE_XENOMAI_ANALOGY=y |
@ -1,12 +1,12 @@ |
|||
# kernel 5.10-rt |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel_5.10-rt-v1.1" |
|||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-5.10-rt_v2.0" |
|||
# xenomai libraries and tools |
|||
BR2_PACKAGE_XENOMAI=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL=y |
|||
BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL="https://source.denx.de/Xenomai/xenomai/-/archive/v3.2.2/xenomai-v3.2.2.tar.gz" |
|||
BR2_PACKAGE_XENOMAI_MERCURY=y |
|||
BR2_PACKAGE_XENOMAI_ENABLE_SMP=y |
|||
BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS="--enable-pshared" |
|||
BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS="--enable-pshared --enable-dlopen-libs" |
|||
BR2_PACKAGE_XENOMAI_TESTSUITE=y |
|||
BR2_PACKAGE_XENOMAI_RTCAN=y |
|||
BR2_PACKAGE_XENOMAI_ANALOGY=y |
@ -0,0 +1,34 @@ |
|||
From 3e75cd0d84d86f395d945c244c43bb0d3f5e7bbd Mon Sep 17 00:00:00 2001 |
|||
From: weishanshan1084 <weishanshan1084@phytium.com.cn> |
|||
Date: Tue, 2 Jan 2024 10:56:39 +0800 |
|||
Subject: [PATCH] disable smmu in dts |
|||
|
|||
Signed-off-by: weishanshan1084 <weishanshan1084@phytium.com.cn> |
|||
---
|
|||
arch/arm64/boot/dts/phytium/pe220x.dtsi | 3 ++- |
|||
1 file changed, 2 insertions(+), 1 deletion(-) |
|||
|
|||
diff --git a/arch/arm64/boot/dts/phytium/pe220x.dtsi b/arch/arm64/boot/dts/phytium/pe220x.dtsi
|
|||
index ef2dc3190..874b6fc8e 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/pe220x.dtsi
|
|||
+++ b/arch/arm64/boot/dts/phytium/pe220x.dtsi
|
|||
@@ -173,6 +173,7 @@ smmu: iommu@30000000 {
|
|||
interrupt-names = "eventq", "priq", "cmdq-sync", "gerror"; |
|||
dma-coherent; |
|||
#iommu-cells = <1>; |
|||
+ status = "disabled";
|
|||
}; |
|||
|
|||
soc: soc { |
|||
@@ -1001,7 +1002,7 @@ pcie: pcie@40000000 {
|
|||
ranges = <0x01000000 0x00 0x00000000 0x0 0x50000000 0x0 0x00f00000>, |
|||
<0x02000000 0x00 0x58000000 0x0 0x58000000 0x0 0x28000000>, |
|||
<0x03000000 0x10 0x00000000 0x10 0x00000000 0x10 0x00000000>; |
|||
- iommu-map = <0x0 &smmu 0x0 0x10000>;
|
|||
+ //iommu-map = <0x0 &smmu 0x0 0x10000>;
|
|||
status = "disabled"; |
|||
}; |
|||
|
|||
--
|
|||
2.25.1 |
|||
|
@ -1,57 +0,0 @@ |
|||
From 1a1a209d5c3722f54dd8daf5d971c74ecd9250ac Mon Sep 17 00:00:00 2001 |
|||
From: weishanshan1084 <weishanshan1084@phytium.com.cn> |
|||
Date: Mon, 17 Jul 2023 15:37:55 +0800 |
|||
Subject: [PATCH] modify the dts of d2000 and ft2004 linux kernel to reserve |
|||
memory for jailhouse. |
|||
|
|||
Signed-off-by: weishanshan1084 <weishanshan1084@phytium.com.cn> |
|||
---
|
|||
.../arm64/boot/dts/phytium/d2000-generic-psci-soc.dtsi | 10 ++++++++++ |
|||
.../boot/dts/phytium/ft2004-generic-psci-soc.dtsi | 10 ++++++++++ |
|||
2 files changed, 20 insertions(+) |
|||
|
|||
diff --git a/arch/arm64/boot/dts/phytium/d2000-generic-psci-soc.dtsi b/arch/arm64/boot/dts/phytium/d2000-generic-psci-soc.dtsi
|
|||
index 69d42a220..10adea18c 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/d2000-generic-psci-soc.dtsi
|
|||
+++ b/arch/arm64/boot/dts/phytium/d2000-generic-psci-soc.dtsi
|
|||
@@ -13,6 +13,16 @@
|
|||
#address-cells = <2>; |
|||
#size-cells = <2>; |
|||
|
|||
+ reserved-memory {
|
|||
+ #address-cells = <0x00000002>;
|
|||
+ #size-cells = <0x00000002>;
|
|||
+ ranges;
|
|||
+ reserved@b0000000 {
|
|||
+ reg = <0x00000000 0xb0000000 0x00000000 0x10000000>;
|
|||
+ no-map;
|
|||
+ };
|
|||
+ };
|
|||
+
|
|||
aliases { |
|||
ethernet0 = &gmac0; |
|||
ethernet1 = &gmac1; |
|||
diff --git a/arch/arm64/boot/dts/phytium/ft2004-generic-psci-soc.dtsi b/arch/arm64/boot/dts/phytium/ft2004-generic-psci-soc.dtsi
|
|||
index 3f2eb7406..d6c317694 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/ft2004-generic-psci-soc.dtsi
|
|||
+++ b/arch/arm64/boot/dts/phytium/ft2004-generic-psci-soc.dtsi
|
|||
@@ -13,6 +13,16 @@
|
|||
#address-cells = <2>; |
|||
#size-cells = <2>; |
|||
|
|||
+ reserved-memory {
|
|||
+ #address-cells = <0x00000002>;
|
|||
+ #size-cells = <0x00000002>;
|
|||
+ ranges;
|
|||
+ reserved@b0000000 {
|
|||
+ reg = <0x00000000 0xb0000000 0x00000000 0x10000000>;
|
|||
+ no-map;
|
|||
+ };
|
|||
+ };
|
|||
+
|
|||
aliases { |
|||
ethernet0 = &gmac0; |
|||
ethernet1 = &gmac1; |
|||
--
|
|||
2.25.1 |
|||
|
@ -1,36 +0,0 @@ |
|||
From d1c4b2bc42d41ea065ac7ac9bde967ec4eefb217 Mon Sep 17 00:00:00 2001 |
|||
From: weishanshan1084 <weishanshan1084@phytium.com.cn> |
|||
Date: Wed, 25 Oct 2023 17:03:22 +0800 |
|||
Subject: [PATCH] modify the dts of e2000 linux-4.19 kernel to reserve memory |
|||
for jailhouse. |
|||
|
|||
Signed-off-by: weishanshan1084 <weishanshan1084@phytium.com.cn> |
|||
---
|
|||
arch/arm64/boot/dts/phytium/pe2204.dtsi | 9 +++++++-- |
|||
1 file changed, 7 insertions(+), 2 deletions(-) |
|||
|
|||
diff --git a/arch/arm64/boot/dts/phytium/pe2204.dtsi b/arch/arm64/boot/dts/phytium/pe2204.dtsi
|
|||
index 3a6c8bd19..ab5bb8ad4 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/pe2204.dtsi
|
|||
+++ b/arch/arm64/boot/dts/phytium/pe2204.dtsi
|
|||
@@ -15,10 +15,15 @@
|
|||
#size-cells = <0x2>; |
|||
ranges; |
|||
|
|||
- rproc: rproc@b0100000 {
|
|||
+ rproc: rproc@0x2110100000 {
|
|||
no-map; |
|||
- reg = <0x0 0xb0100000 0x0 0x19900000>;
|
|||
+ reg = <0x21 0x10100000 0x0 0x19900000>;
|
|||
}; |
|||
+
|
|||
+ jailhouse@b0000000 {
|
|||
+ reg = <0x00000000 0xb0000000 0x00000000 0x10000000>;
|
|||
+ no-map;
|
|||
+ };
|
|||
}; |
|||
|
|||
remoteproc: remoteproc@0 { |
|||
--
|
|||
2.25.1 |
|||
|
@ -0,0 +1,138 @@ |
|||
From 84e6cbf229bf9fb67f0f7b5bf96ac247c8e4872e Mon Sep 17 00:00:00 2001 |
|||
From: weishanshan1084 <weishanshan1084@phytium.com.cn> |
|||
Date: Thu, 28 Dec 2023 11:42:27 +0800 |
|||
Subject: [PATCH] disable dc |
|||
|
|||
Signed-off-by: weishanshan1084 <weishanshan1084@phytium.com.cn> |
|||
---
|
|||
arch/arm64/boot/dts/phytium/e2000d-chillipi-edu-board.dts | 2 +- |
|||
arch/arm64/boot/dts/phytium/e2000d-demo-board.dts | 2 +- |
|||
arch/arm64/boot/dts/phytium/e2000d-miniitx-board.dts | 2 +- |
|||
arch/arm64/boot/dts/phytium/e2000d-power-board.dts | 2 +- |
|||
arch/arm64/boot/dts/phytium/e2000q-come-board.dts | 2 +- |
|||
arch/arm64/boot/dts/phytium/e2000q-demo-board.dts | 2 +- |
|||
arch/arm64/boot/dts/phytium/e2000q-edu-board.dts | 2 +- |
|||
arch/arm64/boot/dts/phytium/e2000q-miniitx-board.dts | 2 +- |
|||
arch/arm64/boot/dts/phytium/e2000q-vpx-board.dts | 2 +- |
|||
9 files changed, 9 insertions(+), 9 deletions(-) |
|||
|
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000d-chillipi-edu-board.dts b/arch/arm64/boot/dts/phytium/e2000d-chillipi-edu-board.dts
|
|||
index 28a1f0d47..d4283b24a 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000d-chillipi-edu-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000d-chillipi-edu-board.dts
|
|||
@@ -311,7 +311,7 @@ &i2s0 {
|
|||
&dc0 { |
|||
pipe_mask = /bits/ 8 <0x2>; |
|||
edp_mask = /bits/ 8 <0x0>; |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
}; |
|||
|
|||
&i2s_dp1 { |
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000d-demo-board.dts b/arch/arm64/boot/dts/phytium/e2000d-demo-board.dts
|
|||
index 63f54c4cd..6eabc2bed 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000d-demo-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000d-demo-board.dts
|
|||
@@ -251,7 +251,7 @@ &i2s0 {
|
|||
&dc0 { |
|||
pipe_mask = /bits/ 8 <0x2>; |
|||
edp_mask = /bits/ 8 <0x0>; |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
}; |
|||
|
|||
&i2s_dp1 { |
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000d-miniitx-board.dts b/arch/arm64/boot/dts/phytium/e2000d-miniitx-board.dts
|
|||
index e85d27a82..1637daa93 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000d-miniitx-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000d-miniitx-board.dts
|
|||
@@ -279,7 +279,7 @@ &sata1 {
|
|||
}; |
|||
|
|||
&dc0 { |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
pipe_mask = [02]; |
|||
edp_mask = [00]; |
|||
}; |
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000d-power-board.dts b/arch/arm64/boot/dts/phytium/e2000d-power-board.dts
|
|||
index afefcc7e7..c65a0da69 100755
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000d-power-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000d-power-board.dts
|
|||
@@ -162,7 +162,7 @@ &macb3 {
|
|||
&dc0 { |
|||
pipe_mask = [02]; |
|||
edp_mask = [00]; |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
}; |
|||
|
|||
&can0 { |
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000q-come-board.dts b/arch/arm64/boot/dts/phytium/e2000q-come-board.dts
|
|||
index 804146468..99896e6c6 100755
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000q-come-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000q-come-board.dts
|
|||
@@ -229,7 +229,7 @@ &hda0 {
|
|||
}; |
|||
|
|||
&dc0 { |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
pipe_mask = [03]; |
|||
edp_mask = [00]; |
|||
}; |
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000q-demo-board.dts b/arch/arm64/boot/dts/phytium/e2000q-demo-board.dts
|
|||
index a9d892fbb..4e413ad32 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000q-demo-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000q-demo-board.dts
|
|||
@@ -251,7 +251,7 @@ &i2s0 {
|
|||
&dc0 { |
|||
pipe_mask = /bits/ 8 <0x3>; |
|||
edp_mask = /bits/ 8 <0x0>; |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
}; |
|||
|
|||
&i2s_dp0 { |
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000q-edu-board.dts b/arch/arm64/boot/dts/phytium/e2000q-edu-board.dts
|
|||
index 5e9dd98c0..14982ca93 100755
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000q-edu-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000q-edu-board.dts
|
|||
@@ -264,7 +264,7 @@ &sata1 {
|
|||
}; |
|||
|
|||
&dc0 { |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
pipe_mask = [01]; |
|||
edp_mask = [00]; |
|||
}; |
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000q-miniitx-board.dts b/arch/arm64/boot/dts/phytium/e2000q-miniitx-board.dts
|
|||
index e2adaa4d5..d362d2517 100644
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000q-miniitx-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000q-miniitx-board.dts
|
|||
@@ -223,7 +223,7 @@ &dc0 {
|
|||
<0x0 0xf4000000 0x0 0x4000000>; // (optional) |
|||
pipe_mask = [03]; |
|||
edp_mask = [00]; |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
}; |
|||
|
|||
&i2s0 { |
|||
diff --git a/arch/arm64/boot/dts/phytium/e2000q-vpx-board.dts b/arch/arm64/boot/dts/phytium/e2000q-vpx-board.dts
|
|||
index ce2bc39bc..1f965cf82 100755
|
|||
--- a/arch/arm64/boot/dts/phytium/e2000q-vpx-board.dts
|
|||
+++ b/arch/arm64/boot/dts/phytium/e2000q-vpx-board.dts
|
|||
@@ -231,7 +231,7 @@ &macb3 {
|
|||
&dc0 { |
|||
pipe_mask = [03]; |
|||
edp_mask = [00]; |
|||
- status = "okay";
|
|||
+ status = "disabled";
|
|||
}; |
|||
|
|||
&i2s0 { |
|||
--
|
|||
2.25.1 |
|||
|
@ -0,0 +1,77 @@ |
|||
#!/bin/bash |
|||
SUDO_FILE=/etc/sudoers.d/buildroot_conf |
|||
permission_grant() |
|||
{ |
|||
echo "User(${USER[@]}) is applying the sudo permission." |
|||
file=$(tempfile) |
|||
if [ "x$?" != "x0" ] |
|||
then |
|||
echo "Failed to creat a tempfile."; |
|||
return 1 |
|||
fi |
|||
|
|||
if [ -f ${SUDO_FILE} ] |
|||
then |
|||
${SUDO} rm -rf ${SUDO_FILE} |
|||
fi |
|||
echo "Host_Alias HOST = ${HOST}" >> ${file} |
|||
echo "User_Alias USER = "${USER[0]} >> ${file} |
|||
USER_RES=(${USER[@]}) |
|||
unset USER_RES[0] |
|||
for u in "${USER_RES[@]}" |
|||
do |
|||
${SED} -i -e "/User_Alias/ s/$/,${u}/" ${file} |
|||
done |
|||
echo "Cmnd_Alias MOUNT = ${MOUNT},${UMOUNT}" >> ${file} |
|||
echo "Cmnd_Alias CHOWN = ${CHOWN}" >> ${file} |
|||
echo "Cmnd_Alias CHROOT1 = ${CHROOT1}" >> ${file} |
|||
echo "Cmnd_Alias CHMOD = ${CHMOD}" >> ${file} |
|||
echo "Cmnd_Alias FIND = ${FIND}" >> ${file} |
|||
echo "Cmnd_Alias CP = ${CP}" >> ${file} |
|||
echo "Cmnd_Alias MV = ${MV}" >> ${file} |
|||
echo "Cmnd_Alias DEBOOTSTRAP = ${DEBOOTSTRAP}" >> ${file} |
|||
echo "Cmnd_Alias MKDIR = ${MKDIR}" >> ${file} |
|||
echo "Cmnd_Alias TEE = ${TEE}" >> ${file} |
|||
echo "Cmnd_Alias RM = ${RM}" >> ${file} |
|||
echo "USER HOST=(root) NOPASSWD:MOUNT,CHMOD,CHROOT1,FIND,CP,MV,RM,MKDIR,TEE,CHOWN,DEBOOTSTRAP" >> ${file} |
|||
${SUDO} ${CHOWN} root:root ${file} |
|||
${SUDO} ${CHMOD} +r ${file} |
|||
${SUDO} ${MV} ${file} ${SUDO_FILE} |
|||
echo "Buildroot User(${USER[@]}) is granted" |
|||
return 0 |
|||
} |
|||
|
|||
|
|||
HOST=ALL |
|||
SUDO=`which sudo` |
|||
MOUNT=`which mount` |
|||
UMOUNT=`which umount` |
|||
CHROOT1=`which chroot` |
|||
CHOWN=`which chown` |
|||
CHMOD=`which chmod` |
|||
FIND=`which find` |
|||
CP=`which cp` |
|||
MV=`which mv` |
|||
SED=`which sed` |
|||
MKDIR=`which mkdir` |
|||
TEE=`which tee` |
|||
RM=`which rm` |
|||
DEBOOTSTRAP=`which debootstrap` |
|||
if [ "x${DEBOOTSTRAP}" = "x" ] |
|||
then |
|||
echo "debootstrap not found. Try running \"install debootstrap\"" |
|||
exit 1 |
|||
fi |
|||
USER=() |
|||
confirmed=false |
|||
|
|||
if [[ $# -eq 0 ]] |
|||
then |
|||
USER=($(whoami)) |
|||
fi |
|||
|
|||
if [[ ${#USER[@]} -eq 0 ]] |
|||
then |
|||
USER=($(whoami)) |
|||
fi |
|||
permission_grant |
Loading…
Reference in new issue