From ac03fc9c25d53ecfd46239c6b4f7a3bd96aa8707 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Fri, 18 Sep 2020 06:22:48 +0200 Subject: [PATCH] meta-blackfinn: Remove bananapi-m3 support Signed-off-by: Thomas Klaehn --- buildconf/bananapi-m3/bblayers.conf.sample | 16 -- buildconf/bananapi-m3/conf-notes.txt | 10 -- buildconf/bananapi-m3/local.conf.sample | 41 ----- conf/machine/bananapi-m3.conf | 14 -- .../base-files/files/bananapi-m3/motd | 12 -- .../opkg/files/bananapi-m3/opkg.conf | 32 ---- .../linux/files/bananapi-m3/defconfig | 153 ------------------ .../linux/linux-mainline_4.20.15.bb | 27 ---- 8 files changed, 305 deletions(-) delete mode 100644 buildconf/bananapi-m3/bblayers.conf.sample delete mode 100644 buildconf/bananapi-m3/conf-notes.txt delete mode 100644 buildconf/bananapi-m3/local.conf.sample delete mode 100644 conf/machine/bananapi-m3.conf delete mode 100644 recipes-core/base-files/files/bananapi-m3/motd delete mode 100644 recipes-devtools/opkg/files/bananapi-m3/opkg.conf delete mode 100644 recipes-kernel/linux/files/bananapi-m3/defconfig delete mode 100644 recipes-kernel/linux/linux-mainline_4.20.15.bb diff --git a/buildconf/bananapi-m3/bblayers.conf.sample b/buildconf/bananapi-m3/bblayers.conf.sample deleted file mode 100644 index 2d1347f..0000000 --- a/buildconf/bananapi-m3/bblayers.conf.sample +++ /dev/null @@ -1,16 +0,0 @@ -# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf -# changes incompatibly -POKY_BBLAYERS_CONF_VERSION = "2" - -BBPATH = "${TOPDIR}" -BBFILES ?= "" - -BBLAYERS ?= " \ - ${TOPDIR}/../layers/poky/meta \ - ${TOPDIR}/../layers/poky/meta-poky \ - ${TOPDIR}/../layers/meta-openembedded/meta-oe \ - ${TOPDIR}/../layers/meta-openembedded/meta-networking \ - ${TOPDIR}/../layers/meta-openembedded/meta-python \ - ${TOPDIR}/../layers/meta-blackfinn \ - ${TOPDIR}/../layers/meta-sunxi \ - " diff --git a/buildconf/bananapi-m3/conf-notes.txt b/buildconf/bananapi-m3/conf-notes.txt deleted file mode 100644 index df80596..0000000 --- a/buildconf/bananapi-m3/conf-notes.txt +++ /dev/null @@ -1,10 +0,0 @@ -Common targets are: - console-image - console-dev-image - tiny-image - core-image-minimal - core-image-sato - meta-toolchain - adt-installer - meta-ide-support - diff --git a/buildconf/bananapi-m3/local.conf.sample b/buildconf/bananapi-m3/local.conf.sample deleted file mode 100644 index ce418bd..0000000 --- a/buildconf/bananapi-m3/local.conf.sample +++ /dev/null @@ -1,41 +0,0 @@ -MACHINE ?= "bananapi-m3" - -#DL_DIR ?= "${TOPDIR}/../../downloads" -#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache" -#TMPDIR = "${TOPDIR}/tmp" - -DISTRO ?= "roro" -PACKAGE_CLASSES ?= "package_ipk" - -#SDKMACHINE ?= "i686" - -#EXTRA_IMAGE_FEATURES ?= "debug-tweaks" - -USER_CLASSES ?= "buildstats image-mklibs image-prelink" - -PATCHRESOLVE = "noop" - -BB_DISKMON_DIRS = "\ - STOPTASKS,${TMPDIR},1G,100K \ - STOPTASKS,${DL_DIR},1G,100K \ - STOPTASKS,${SSTATE_DIR},1G,100K \ - STOPTASKS,/tmp,100M,100K \ - ABORT,${TMPDIR},100M,1K \ - ABORT,${DL_DIR},100M,1K \ - ABORT,${SSTATE_DIR},100M,1K \ - ABORT,/tmp,10M,1K" - -#SSTATE_MIRRORS ?= "\ -#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ -#file://.* file:///some/local/dir/sstate/PATH" - -CONF_VERSION = "1" - -INHERIT += "rm_work" - -INHERIT += "own-mirrors" -SOURCE_MIRROR_URL = "https://files.blackfinn.de/mirror/sources" -BB_GENERATE_MIRROR_TARBALLS = "1" - -export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR" - diff --git a/conf/machine/bananapi-m3.conf b/conf/machine/bananapi-m3.conf deleted file mode 100644 index ff5948f..0000000 --- a/conf/machine/bananapi-m3.conf +++ /dev/null @@ -1,14 +0,0 @@ -#@TYPE: Machine -#@NAME: bananapi-m3 -#@DESCRIPTION: Machine configuration for the Bananapi M3, based on the -#Allwinner A83T CPU. - -require conf/machine/include/sun8i.inc - -PREFERRED_VERSION_u-boot = "v2018.09%" -UBOOT_MACHINE = "Sinovoip_BPI_M3_defconfig" - -PREFERRED_VERSION_virtual/kernel = "4.20.15" -KERNEL_IMAGETYPE = "zImage" -KERNEL_DEVICETREE = "sun8i-a83t-bananapi-m3.dtb" - diff --git a/recipes-core/base-files/files/bananapi-m3/motd b/recipes-core/base-files/files/bananapi-m3/motd deleted file mode 100644 index dc4725d..0000000 --- a/recipes-core/base-files/files/bananapi-m3/motd +++ /dev/null @@ -1,12 +0,0 @@ - - -______ _ ___ ___ _____ -| ___ \ (_) | \/ ||____ | -| |_/ / __ _ _ __ __ _ _ __ __ _ _ __ _ | . . | / / -| ___ \/ _` | '_ \ / _` | '_ \ / _` | '_ \| | | |\/| | \ \ -| |_/ / (_| | | | | (_| | | | | (_| | |_) | | | | | |.___/ / -\____/ \__,_|_| |_|\__,_|_| |_|\__,_| .__/|_| \_| |_/\____/ - | | - |_| - - diff --git a/recipes-devtools/opkg/files/bananapi-m3/opkg.conf b/recipes-devtools/opkg/files/bananapi-m3/opkg.conf deleted file mode 100644 index a4531e4..0000000 --- a/recipes-devtools/opkg/files/bananapi-m3/opkg.conf +++ /dev/null @@ -1,32 +0,0 @@ -# Must have one or more source entries of the form: -# -# src -# -# and one or more destination entries of the form: -# -# dest -# -# where and are identifiers that -# should match [a-zA-Z0-9._-]+, should be a -# URL that points to a directory containing a Familiar -# Packages file, and should be a directory -# that exists on the target system. - -# Proxy Support -#option http_proxy http://proxy.tld:3128 -#option ftp_proxy http://proxy.tld:3128 -#option proxy_username -#option proxy_password - -# Enable GPGME signature -# option check_signature 1 - -# Offline mode (for use in constructing flash images offline) -#option offline_root target - -src/gz all https://opkg.blackfinn.de/thud/all -src/gz armv7vet2hf-neon https://opkg.blackfinn.de/thud/armv7vet2hf-neon -src/gz bananapi_m3 https://opkg.blackfinn.de/thud/bananapi_m3 - -# Default destination for installed packages -dest root / diff --git a/recipes-kernel/linux/files/bananapi-m3/defconfig b/recipes-kernel/linux/files/bananapi-m3/defconfig deleted file mode 100644 index df433ab..0000000 --- a/recipes-kernel/linux/files/bananapi-m3/defconfig +++ /dev/null @@ -1,153 +0,0 @@ -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_CGROUPS=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_PERF_EVENTS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_ARCH_SUNXI=y -CONFIG_SMP=y -CONFIG_NR_CPUS=8 -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_CMA=y -CONFIG_ARM_APPENDED_DTB=y -CONFIG_ARM_ATAG_DTB_COMPAT=y -CONFIG_CPU_FREQ=y -CONFIG_CPUFREQ_DT=y -CONFIG_VFP=y -CONFIG_NEON=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -CONFIG_IP_PNP_BOOTP=y -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_DIAG is not set -# CONFIG_IPV6 is not set -CONFIG_CAN=y -CONFIG_CAN_SUN4I=y -# CONFIG_WIRELESS is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_DMA_CMA=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_AHCI_SUNXI=y -CONFIG_NETDEVICES=y -CONFIG_SUN4I_EMAC=y -# CONFIG_NET_VENDOR_ARC is not set -# CONFIG_NET_CADENCE is not set -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# CONFIG_NET_VENDOR_MARVELL is not set -# CONFIG_NET_VENDOR_MICREL is not set -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SAMSUNG is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -CONFIG_STMMAC_ETH=y -# CONFIG_NET_VENDOR_VIA is not set -# CONFIG_NET_VENDOR_WIZNET is not set -# CONFIG_WLAN is not set -CONFIG_INPUT_EVDEV=y -CONFIG_KEYBOARD_SUN4I_LRADC=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_TOUCHSCREEN_SUN4I=y -CONFIG_INPUT_MISC=y -CONFIG_INPUT_AXP20X_PEK=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=8 -CONFIG_SERIAL_8250_RUNTIME_UARTS=8 -CONFIG_SERIAL_8250_DW=y -CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_HW_RANDOM is not set -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MV64XXX=y -CONFIG_I2C_SUN6I_P2WI=y -CONFIG_SPI=y -CONFIG_SPI_SUN4I=y -CONFIG_SPI_SUN6I=y -CONFIG_GPIO_SYSFS=y -CONFIG_POWER_SUPPLY=y -CONFIG_CHARGER_AXP20X=y -CONFIG_BATTERY_AXP20X=y -CONFIG_AXP20X_POWER=y -CONFIG_THERMAL=y -CONFIG_CPU_THERMAL=y -CONFIG_WATCHDOG=y -CONFIG_SUNXI_WATCHDOG=y -CONFIG_MFD_AC100=y -CONFIG_MFD_AXP20X_I2C=y -CONFIG_MFD_AXP20X_RSB=y -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_AXP20X=y -CONFIG_REGULATOR_GPIO=y -CONFIG_MEDIA_SUPPORT=y -CONFIG_RC_CORE=y -CONFIG_RC_DEVICES=y -CONFIG_IR_SUNXI=y -CONFIG_DRM=y -CONFIG_DRM_SUN4I=y -CONFIG_DRM_DUMB_VGA_DAC=y -CONFIG_FB_SIMPLE=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_SOC=y -CONFIG_SND_SUN4I_CODEC=y -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_HCD_PLATFORM=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PLATFORM=y -CONFIG_USB_MUSB_HDRC=y -CONFIG_USB_MUSB_SUNXI=y -CONFIG_NOP_USB_XCEIV=y -CONFIG_USB_GADGET=y -CONFIG_MMC=y -CONFIG_MMC_SUNXI=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_INTF_SYSFS is not set -# CONFIG_RTC_INTF_PROC is not set -CONFIG_RTC_DRV_AC100=y -CONFIG_RTC_DRV_SUNXI=y -CONFIG_DMADEVICES=y -CONFIG_DMA_SUN6I=y -# CONFIG_IOMMU_SUPPORT is not set -CONFIG_EXTCON=y -CONFIG_IIO=y -CONFIG_AXP20X_ADC=y -CONFIG_PWM=y -CONFIG_PWM_SUN4I=y -CONFIG_PHY_SUN4I_USB=y -CONFIG_PHY_SUN9I_USB=y -CONFIG_NVMEM=y -CONFIG_NVMEM_SUNXI_SID=y -CONFIG_EXT4_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_NFS_FS=y -CONFIG_NFS_V3_ACL=y -CONFIG_NFS_V4=y -CONFIG_ROOT_NFS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_DEBUG_FS=y -CONFIG_CRYPTO_DEV_SUN4I_SS=y diff --git a/recipes-kernel/linux/linux-mainline_4.20.15.bb b/recipes-kernel/linux/linux-mainline_4.20.15.bb deleted file mode 100644 index f29abdc..0000000 --- a/recipes-kernel/linux/linux-mainline_4.20.15.bb +++ /dev/null @@ -1,27 +0,0 @@ -SECTION = "kernel" -DESCRIPTION = "Mainline Linux kernel" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" -COMPATIBLE_MACHINE = "sun8i" - -inherit kernel - -# Since we're not using git, this doesn't make a difference, but we need to fill -# in something or kernel-yocto.bbclass will fail. -KBRANCH ?= "master" - -# Pull in the devicetree files into the rootfs -RDEPENDS_${KERNEL_PACKAGE_NAME}-base += "kernel-devicetree" - -KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" - -S = "${WORKDIR}/linux-${PV}" - -SRC_URI[md5sum] = "8e2e10238ce5698904e9ea1e851f4ddd" -SRC_URI[sha256sum] = "d93b1b216e909e4ea8441a41a070f839f55ac9cf5f7effb16e1b04e7f5688407" - -SRC_URI = " \ - https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \ - file://defconfig \ -" -