Compare commits
No commits in common. "gatesgarth" and "warrior" have entirely different histories.
gatesgarth
...
warrior
@ -1,6 +1,6 @@
|
|||||||
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
|
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
|
||||||
# changes incompatibly
|
# changes incompatibly
|
||||||
POKY_BBLAYERS_CONF_VERSION = "3"
|
POKY_BBLAYERS_CONF_VERSION = "2"
|
||||||
|
|
||||||
BBPATH = "${TOPDIR}"
|
BBPATH = "${TOPDIR}"
|
||||||
BBFILES ?= ""
|
BBFILES ?= ""
|
||||||
@ -8,14 +8,9 @@ BBFILES ?= ""
|
|||||||
BBLAYERS ?= " \
|
BBLAYERS ?= " \
|
||||||
${TOPDIR}/../layers/poky/meta \
|
${TOPDIR}/../layers/poky/meta \
|
||||||
${TOPDIR}/../layers/poky/meta-poky \
|
${TOPDIR}/../layers/poky/meta-poky \
|
||||||
${TOPDIR}/../layers/poky/meta-yocto-bsp \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-filesystems \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-perl \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
||||||
${TOPDIR}/../layers/meta-raspberrypi \
|
|
||||||
${TOPDIR}/../layers/meta-virtualization \
|
|
||||||
${TOPDIR}/../layers/meta-security \
|
|
||||||
${TOPDIR}/../layers/meta-blackfinn \
|
${TOPDIR}/../layers/meta-blackfinn \
|
||||||
|
${TOPDIR}/../layers/meta-sunxi \
|
||||||
"
|
"
|
@ -1,9 +1,6 @@
|
|||||||
Common targets are:
|
Common targets are:
|
||||||
console-image
|
console-image
|
||||||
console-dev-image
|
console-dev-image
|
||||||
tiny-image
|
|
||||||
docker-host-image
|
|
||||||
docker-host-dev-image
|
|
||||||
core-image-minimal
|
core-image-minimal
|
||||||
core-image-sato
|
core-image-sato
|
||||||
meta-toolchain
|
meta-toolchain
|
@ -1,10 +1,10 @@
|
|||||||
MACHINE ?= "qemuarm"
|
MACHINE ?= "bananapi-m3"
|
||||||
|
|
||||||
#DL_DIR ?= "${TOPDIR}/../../downloads"
|
#DL_DIR ?= "${TOPDIR}/../../downloads"
|
||||||
#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
|
#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
|
||||||
#TMPDIR = "${TOPDIR}/tmp"
|
#TMPDIR = "${TOPDIR}/tmp"
|
||||||
|
|
||||||
DISTRO ?= "roro"
|
DISTRO ?= "poky"
|
||||||
PACKAGE_CLASSES ?= "package_ipk"
|
PACKAGE_CLASSES ?= "package_ipk"
|
||||||
|
|
||||||
#SDKMACHINE ?= "i686"
|
#SDKMACHINE ?= "i686"
|
||||||
@ -13,8 +13,6 @@ PACKAGE_CLASSES ?= "package_ipk"
|
|||||||
|
|
||||||
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
||||||
|
|
||||||
SERIAL_CONSOLES = "115200;ttyS0"
|
|
||||||
|
|
||||||
PATCHRESOLVE = "noop"
|
PATCHRESOLVE = "noop"
|
||||||
|
|
||||||
BB_DISKMON_DIRS = "\
|
BB_DISKMON_DIRS = "\
|
||||||
@ -41,10 +39,3 @@ BB_GENERATE_MIRROR_TARBALLS = "1"
|
|||||||
|
|
||||||
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
||||||
|
|
||||||
ICECC_PARALLEL_MAKE = "-j 24"
|
|
||||||
INHERIT += "icecc"
|
|
||||||
|
|
||||||
ICECC_USER_PACKAGE_BL = "pkgconfig-native \
|
|
||||||
json-c \
|
|
||||||
podman \
|
|
||||||
"
|
|
@ -1,6 +1,6 @@
|
|||||||
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
|
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
|
||||||
# changes incompatibly
|
# changes incompatibly
|
||||||
POKY_BBLAYERS_CONF_VERSION = "3"
|
POKY_BBLAYERS_CONF_VERSION = "2"
|
||||||
|
|
||||||
BBPATH = "${TOPDIR}"
|
BBPATH = "${TOPDIR}"
|
||||||
BBFILES ?= ""
|
BBFILES ?= ""
|
||||||
@ -9,14 +9,8 @@ BBLAYERS ?= " \
|
|||||||
${TOPDIR}/../layers/poky/meta \
|
${TOPDIR}/../layers/poky/meta \
|
||||||
${TOPDIR}/../layers/poky/meta-poky \
|
${TOPDIR}/../layers/poky/meta-poky \
|
||||||
${TOPDIR}/../layers/poky/meta-yocto-bsp \
|
${TOPDIR}/../layers/poky/meta-yocto-bsp \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-filesystems \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-perl \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
||||||
${TOPDIR}/../layers/meta-virtualization \
|
|
||||||
${TOPDIR}/../layers/meta-raspberrypi \
|
|
||||||
${TOPDIR}/../layers/meta-security \
|
|
||||||
${TOPDIR}/../layers/meta-blackfinn \
|
${TOPDIR}/../layers/meta-blackfinn \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
Common targets are:
|
Common targets are:
|
||||||
console-image
|
console-image
|
||||||
console-dev-image
|
console-dev-image
|
||||||
docker-host-image
|
|
||||||
docker-host-dev-image
|
|
||||||
tiny-image
|
|
||||||
core-image-minimal
|
core-image-minimal
|
||||||
core-image-sato
|
core-image-sato
|
||||||
meta-toolchain
|
meta-toolchain
|
||||||
|
@ -4,7 +4,7 @@ MACHINE ?= "beaglebone-yocto"
|
|||||||
#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
|
#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
|
||||||
#TMPDIR = "${TOPDIR}/tmp"
|
#TMPDIR = "${TOPDIR}/tmp"
|
||||||
|
|
||||||
DISTRO ?= "roro"
|
DISTRO ?= "poky"
|
||||||
PACKAGE_CLASSES ?= "package_ipk"
|
PACKAGE_CLASSES ?= "package_ipk"
|
||||||
|
|
||||||
#SDKMACHINE ?= "i686"
|
#SDKMACHINE ?= "i686"
|
||||||
@ -15,8 +15,6 @@ USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
|||||||
|
|
||||||
IMAGE_BOOT_FILES_append = " uEnv.txt"
|
IMAGE_BOOT_FILES_append = " uEnv.txt"
|
||||||
|
|
||||||
SERIAL_CONSOLES = "115200;ttyS0"
|
|
||||||
|
|
||||||
PATCHRESOLVE = "noop"
|
PATCHRESOLVE = "noop"
|
||||||
|
|
||||||
BB_DISKMON_DIRS = "\
|
BB_DISKMON_DIRS = "\
|
||||||
@ -42,11 +40,3 @@ SOURCE_MIRROR_URL = "https://files.blackfinn.de/mirror/sources"
|
|||||||
BB_GENERATE_MIRROR_TARBALLS = "1"
|
BB_GENERATE_MIRROR_TARBALLS = "1"
|
||||||
|
|
||||||
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
||||||
|
|
||||||
ICECC_PARALLEL_MAKE = "-j 24"
|
|
||||||
INHERIT += "icecc"
|
|
||||||
|
|
||||||
ICECC_USER_PACKAGE_BL = "pkgconfig-native \
|
|
||||||
json-c \
|
|
||||||
podman \
|
|
||||||
"
|
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
|
|
||||||
# changes incompatibly
|
|
||||||
POKY_BBLAYERS_CONF_VERSION = "3"
|
|
||||||
|
|
||||||
BBPATH = "${TOPDIR}"
|
|
||||||
BBFILES ?= ""
|
|
||||||
|
|
||||||
BBLAYERS ?= " \
|
|
||||||
${TOPDIR}/../layers/poky/meta \
|
|
||||||
${TOPDIR}/../layers/poky/meta-poky \
|
|
||||||
${TOPDIR}/../layers/poky/meta-yocto-bsp \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-filesystems \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-perl \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
|
||||||
${TOPDIR}/../layers/meta-virtualization \
|
|
||||||
${TOPDIR}/../layers/meta-raspberrypi \
|
|
||||||
${TOPDIR}/../layers/meta-security \
|
|
||||||
${TOPDIR}/../layers/meta-blackfinn \
|
|
||||||
"
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
Common targets are:
|
|
||||||
console-image
|
|
||||||
console-dev-image
|
|
||||||
docker-host-image
|
|
||||||
docker-host-dev-image
|
|
||||||
tiny-image
|
|
||||||
core-image-minimal
|
|
||||||
core-image-sato
|
|
||||||
meta-toolchain
|
|
||||||
adt-installer
|
|
||||||
meta-ide-support
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
|
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
|
||||||
# changes incompatibly
|
# changes incompatibly
|
||||||
POKY_BBLAYERS_CONF_VERSION = "3"
|
POKY_BBLAYERS_CONF_VERSION = "2"
|
||||||
|
|
||||||
BBPATH = "${TOPDIR}"
|
BBPATH = "${TOPDIR}"
|
||||||
BBFILES ?= ""
|
BBFILES ?= ""
|
||||||
@ -9,13 +9,9 @@ BBLAYERS ?= " \
|
|||||||
${TOPDIR}/../layers/poky/meta \
|
${TOPDIR}/../layers/poky/meta \
|
||||||
${TOPDIR}/../layers/poky/meta-poky \
|
${TOPDIR}/../layers/poky/meta-poky \
|
||||||
${TOPDIR}/../layers/poky/meta-yocto-bsp \
|
${TOPDIR}/../layers/poky/meta-yocto-bsp \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-filesystems \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
${TOPDIR}/../layers/meta-openembedded/meta-networking \
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-perl \
|
|
||||||
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
||||||
${TOPDIR}/../layers/meta-raspberrypi \
|
${TOPDIR}/../layers/meta-raspberrypi \
|
||||||
${TOPDIR}/../layers/meta-virtualization \
|
|
||||||
${TOPDIR}/../layers/meta-security \
|
|
||||||
${TOPDIR}/../layers/meta-blackfinn \
|
${TOPDIR}/../layers/meta-blackfinn \
|
||||||
"
|
"
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
Common targets are:
|
Common targets are:
|
||||||
console-image
|
console-image
|
||||||
console-dev-image
|
console-dev-image
|
||||||
tiny-image
|
|
||||||
docker-host-image
|
|
||||||
docker-host-dev-image
|
|
||||||
core-image-minimal
|
core-image-minimal
|
||||||
core-image-sato
|
core-image-sato
|
||||||
meta-toolchain
|
meta-toolchain
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
MACHINE ?= "raspberrypi3-64"
|
MACHINE ?= "raspberrypi3-64"
|
||||||
|
|
||||||
DISTRO ?= "roro"
|
DISTRO ?= "poky"
|
||||||
PACKAGE_CLASSES ?= "package_ipk"
|
PACKAGE_CLASSES ?= "package_ipk"
|
||||||
|
|
||||||
#SDKMACHINE ?= "i686"
|
#SDKMACHINE ?= "i686"
|
||||||
@ -27,14 +27,6 @@ BB_DISKMON_DIRS = "\
|
|||||||
|
|
||||||
CONF_VERSION = "1"
|
CONF_VERSION = "1"
|
||||||
|
|
||||||
ENABLE_UART = "1"
|
|
||||||
ENABLE_SPI_BUS = "1"
|
|
||||||
ENABLE_I2C = "1"
|
|
||||||
|
|
||||||
RPI_EXTRA_CONFIG = "dtoverlay=w1-gpio,gpiopin=4"
|
|
||||||
|
|
||||||
RPI_USE_U_BOOT = "1"
|
|
||||||
|
|
||||||
INHERIT += "rm_work"
|
INHERIT += "rm_work"
|
||||||
|
|
||||||
INHERIT += "own-mirrors"
|
INHERIT += "own-mirrors"
|
||||||
@ -43,10 +35,3 @@ BB_GENERATE_MIRROR_TARBALLS = "1"
|
|||||||
|
|
||||||
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
||||||
|
|
||||||
ICECC_PARALLEL_MAKE = "-j 24"
|
|
||||||
INHERIT += "icecc"
|
|
||||||
|
|
||||||
ICECC_USER_PACKAGE_BL = "pkgconfig-native \
|
|
||||||
json-c \
|
|
||||||
podman \
|
|
||||||
"
|
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
MACHINE ?= "raspberrypi4-64"
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
ENABLE_UART = "1"
|
|
||||||
ENABLE_SPI_BUS = "1"
|
|
||||||
ENABLE_I2C = "1"
|
|
||||||
|
|
||||||
RPI_EXTRA_CONFIG = "dtoverlay=w1-gpio,gpiopin=4"
|
|
||||||
|
|
||||||
RPI_USE_U_BOOT = "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"
|
|
||||||
|
|
||||||
ICECC_PARALLEL_MAKE = "-j 24"
|
|
||||||
INHERIT += "icecc"
|
|
||||||
|
|
||||||
ICECC_USER_PACKAGE_BL = "pkgconfig-native \
|
|
||||||
json-c \
|
|
||||||
podman \
|
|
||||||
"
|
|
@ -1,56 +0,0 @@
|
|||||||
require conf/distro/poky.conf
|
|
||||||
# distro name
|
|
||||||
DISTRO = "roro"
|
|
||||||
DISTRO_NAME = "roro distribution"
|
|
||||||
DISTRO_VERSION = "1.0"
|
|
||||||
DISTRO_CODENAME = "roro"
|
|
||||||
#DISTRO_FEATURES_append = " alsa usbhost usbgadget keyboard bluetooth"
|
|
||||||
|
|
||||||
# Comment out any of the lines below to disable them in the build
|
|
||||||
# DISTRO_FEATURES options:
|
|
||||||
# alsa bluetooth ext2 pcmcia usbgadget usbhost wifi nfs zeroconf pci
|
|
||||||
DISTRO_FEATURES_TINY = "largefile zeroconf virtualization"
|
|
||||||
DISTRO_FEATURES_NET = "ipv4 ipv6"
|
|
||||||
DISTRO_FEATURES_USB = "usbhost"
|
|
||||||
DISTRO_FEATURES_WIFI = "wifi"
|
|
||||||
|
|
||||||
DISTRO_FEATURES = " \
|
|
||||||
${DISTRO_FEATURES_TINY} \
|
|
||||||
${DISTRO_FEATURES_NET} \
|
|
||||||
${DISTRO_FEATURES_USB} \
|
|
||||||
${DISTRO_FEATURES_WIFI} \
|
|
||||||
"
|
|
||||||
|
|
||||||
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
|
|
||||||
POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
|
|
||||||
|
|
||||||
# INIT_MANAGER ?= "none"
|
|
||||||
# INIT_MANAGER ?= "sysvinit"
|
|
||||||
# INIT_MANAGER ?= "systemd"
|
|
||||||
INIT_MANAGER ?= "mdev-busybox"
|
|
||||||
|
|
||||||
TCLIBC = "glibc"
|
|
||||||
# TCLIBC = "newlib"
|
|
||||||
# TCLIBC = "musl"
|
|
||||||
# TLIBC = "baremetal"
|
|
||||||
|
|
||||||
# Disable wide char support for ncurses as we don't include it in
|
|
||||||
# in the LIBC features below.
|
|
||||||
# Leave native enable to avoid build failures
|
|
||||||
ENABLE_WIDEC = "false"
|
|
||||||
ENABLE_WIDEC_class-native = "true"
|
|
||||||
|
|
||||||
DEFAULT_TIMEZONE = "Europe/Berlin"
|
|
||||||
|
|
||||||
# Drop native language support. This removes the
|
|
||||||
# eglibc->bash->gettext->libc-posix-clang-wchar dependency.
|
|
||||||
USE_NLS="no"
|
|
||||||
|
|
||||||
SDK_VENDOR = "-rorodistsdk"
|
|
||||||
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
|
|
||||||
MAINTAINER = "rorodist "
|
|
||||||
INHERIT += "buildhistory"
|
|
||||||
BUILDHISTORY_COMMIT = "1"
|
|
||||||
|
|
||||||
KERNEL_MODULE_AUTOLOAD += "w1-gpio"
|
|
||||||
KERNEL_MODULE_AUTOLOAD += "w1-therm"
|
|
15
conf/distro/tkl.conf
Normal file
15
conf/distro/tkl.conf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
require conf/distro/poky.conf
|
||||||
|
# distro name
|
||||||
|
DISTRO = "tkl"
|
||||||
|
DISTRO_NAME = "tkl distribution"
|
||||||
|
DISTRO_VERSION = "1.0"
|
||||||
|
DISTRO_CODENAME = "tkl"
|
||||||
|
#DISTRO_FEATURES_append = " alsa usbhost usbgadget keyboard bluetooth"
|
||||||
|
|
||||||
|
PREFERRED_VERSION_mypy = "0.4.2"
|
||||||
|
|
||||||
|
SDK_VENDOR = "-tkldistsdk"
|
||||||
|
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
|
||||||
|
MAINTAINER = "tkldist "
|
||||||
|
INHERIT += "buildhistory"
|
||||||
|
BUILDHISTORY_COMMIT = "1"
|
@ -9,7 +9,7 @@ BBFILES += " \
|
|||||||
|
|
||||||
BBFILE_COLLECTIONS += "meta-blackfinn"
|
BBFILE_COLLECTIONS += "meta-blackfinn"
|
||||||
BBFILE_PATTERN_meta-blackfinn = "^${LAYERDIR}/"
|
BBFILE_PATTERN_meta-blackfinn = "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_meta-blackfinn = "12"
|
BBFILE_PRIORITY_meta-blackfinn = "11"
|
||||||
|
|
||||||
LAYERSERIES_COMPAT_meta-blackfinn = "gatesgarth dunfell zeus warrior thud sumo rocko"
|
LAYERSERIES_COMPAT_meta-blackfinn = "warrior thud sumo rocko"
|
||||||
|
|
||||||
|
14
conf/machine/bananapi-m3.conf
Normal file
14
conf/machine/bananapi-m3.conf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#@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"
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
gunicorn --bind 0.0.0.0:80 greenhouse:app
|
|
@ -1,35 +0,0 @@
|
|||||||
SUMMARY = "Greenhouse control"
|
|
||||||
SECTION = "Applications"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
||||||
|
|
||||||
PR = "r0"
|
|
||||||
SRCREV = "${AUTOREV}"
|
|
||||||
SRC_URI = " \
|
|
||||||
git://git.blackfinn.de/python/greenhouse.git;protocol=https;branch=master \
|
|
||||||
file://run.sh \
|
|
||||||
"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
|
||||||
|
|
||||||
do_install_append () {
|
|
||||||
install -d ${D}/usr/
|
|
||||||
install -d ${D}/usr/bin/
|
|
||||||
install -m 0755 ${WORKDIR}/run.sh ${D}/usr/bin/
|
|
||||||
}
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += " \
|
|
||||||
python3 \
|
|
||||||
python3-gunicorn \
|
|
||||||
python3-flask \
|
|
||||||
rpi.gpio \
|
|
||||||
w1thermsensor \
|
|
||||||
"
|
|
||||||
|
|
||||||
FILES_${PN} = " \
|
|
||||||
/usr/bin/run.sh \
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit setuptools3
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
gunicorn --bind 0.0.0.0:80 weblight:app
|
|
@ -1,34 +0,0 @@
|
|||||||
SUMMARY = "Yardlight switcher with web ui"
|
|
||||||
SECTION = "Applications"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
||||||
|
|
||||||
PR = "r0"
|
|
||||||
SRCREV = "${AUTOREV}"
|
|
||||||
SRC_URI = " \
|
|
||||||
git://git.blackfinn.de/python/weblight.git;protocol=https;branch=master \
|
|
||||||
file://run.sh \
|
|
||||||
"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
|
||||||
|
|
||||||
do_install_append () {
|
|
||||||
install -d ${D}/usr/
|
|
||||||
install -d ${D}/usr/bin/
|
|
||||||
install -m 0755 ${WORKDIR}/run.sh ${D}/usr/bin/
|
|
||||||
}
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += "\
|
|
||||||
python3 \
|
|
||||||
python3-gunicorn \
|
|
||||||
python3-flask \
|
|
||||||
rpi.gpio \
|
|
||||||
"
|
|
||||||
|
|
||||||
FILES_${PN} = " \
|
|
||||||
/usr/bin/run.sh \
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit setuptools3
|
|
@ -1,13 +0,0 @@
|
|||||||
LICENSE = "GPLv2"
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://docker.init \
|
|
||||||
file://daemon.json \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_append() {
|
|
||||||
install -d ${D}${sysconfdir}/
|
|
||||||
install -d ${D}${sysconfdir}/docker/
|
|
||||||
install -m 0600 ${WORKDIR}/daemon.json ${D}${sysconfdir}/docker/
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"ipv6": true,
|
|
||||||
"fixed-cidr-v6": "2001:db8:1::/64"
|
|
||||||
}
|
|
||||||
|
|
@ -1,131 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# /etc/rc.d/init.d/docker
|
|
||||||
#
|
|
||||||
# Daemon for docker.com
|
|
||||||
#
|
|
||||||
# chkconfig: 2345 95 95
|
|
||||||
# description: Daemon for docker.com
|
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: docker
|
|
||||||
# Required-Start: $network cgconfig
|
|
||||||
# Required-Stop:
|
|
||||||
# Should-Start:
|
|
||||||
# Should-Stop:
|
|
||||||
# Default-Start: 2 3 4 5
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: start and stop docker
|
|
||||||
# Description: Daemon for docker.com
|
|
||||||
### END INIT INFO
|
|
||||||
|
|
||||||
# Source function library.
|
|
||||||
. /etc/init.d/functions
|
|
||||||
|
|
||||||
prog="dockerd"
|
|
||||||
unshare=/usr/bin/unshare
|
|
||||||
exec="/usr/bin/$prog"
|
|
||||||
pidfile="/var/run/$prog.pid"
|
|
||||||
lockfile="/var/lock/subsys/$prog"
|
|
||||||
logfile="/var/log/$prog"
|
|
||||||
other_args="--pidfile $pidfile --registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs"
|
|
||||||
|
|
||||||
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
|
|
||||||
|
|
||||||
start() {
|
|
||||||
[ -x $exec ] || exit 5
|
|
||||||
|
|
||||||
check_for_cleanup
|
|
||||||
|
|
||||||
if ! [ -f $pidfile ]; then
|
|
||||||
printf "Starting $prog:\t"
|
|
||||||
echo -e "\n$(date)\n" >> $logfile
|
|
||||||
"$unshare" -m -- $exec $other_args & >> $logfile &
|
|
||||||
pid=$!
|
|
||||||
touch $lockfile
|
|
||||||
# wait up to 10 seconds for the pidfile to exist. see
|
|
||||||
# https://github.com/docker/docker/issues/5359
|
|
||||||
tries=0
|
|
||||||
while [ ! -f $pidfile -a $tries -lt 10 ]; do
|
|
||||||
sleep 1
|
|
||||||
tries=$((tries + 1))
|
|
||||||
done
|
|
||||||
success
|
|
||||||
echo
|
|
||||||
else
|
|
||||||
failure
|
|
||||||
echo
|
|
||||||
printf "$pidfile still exists...\n"
|
|
||||||
exit 7
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
echo -n $"Stopping $prog: "
|
|
||||||
killproc $prog
|
|
||||||
retval=$?
|
|
||||||
echo
|
|
||||||
[ $retval -eq 0 ] && rm -f $lockfile
|
|
||||||
return $retval
|
|
||||||
}
|
|
||||||
|
|
||||||
restart() {
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
}
|
|
||||||
|
|
||||||
reload() {
|
|
||||||
restart
|
|
||||||
}
|
|
||||||
|
|
||||||
force_reload() {
|
|
||||||
restart
|
|
||||||
}
|
|
||||||
|
|
||||||
rh_status() {
|
|
||||||
status $prog
|
|
||||||
}
|
|
||||||
|
|
||||||
rh_status_q() {
|
|
||||||
rh_status >/dev/null 2>&1
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
check_for_cleanup() {
|
|
||||||
if [ -f ${pidfile} ]; then
|
|
||||||
/bin/ps -fp $(cat ${pidfile}) > /dev/null || rm ${pidfile}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
rh_status_q && exit 0
|
|
||||||
$1
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
rh_status_q || exit 0
|
|
||||||
$1
|
|
||||||
;;
|
|
||||||
restart)
|
|
||||||
$1
|
|
||||||
;;
|
|
||||||
reload)
|
|
||||||
rh_status_q || exit 7
|
|
||||||
$1
|
|
||||||
;;
|
|
||||||
force-reload)
|
|
||||||
force_reload
|
|
||||||
;;
|
|
||||||
status)
|
|
||||||
rh_status
|
|
||||||
;;
|
|
||||||
condrestart|try-restart)
|
|
||||||
rh_status_q || exit 0
|
|
||||||
restart
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
|
||||||
exit 2
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit $?
|
|
12
recipes-core/base-files/files/bananapi-m3/motd
Normal file
12
recipes-core/base-files/files/bananapi-m3/motd
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
|
||||||
|
______ _ ___ ___ _____
|
||||||
|
| ___ \ (_) | \/ ||____ |
|
||||||
|
| |_/ / __ _ _ __ __ _ _ __ __ _ _ __ _ | . . | / /
|
||||||
|
| ___ \/ _` | '_ \ / _` | '_ \ / _` | '_ \| | | |\/| | \ \
|
||||||
|
| |_/ / (_| | | | | (_| | | | | (_| | |_) | | | | | |.___/ /
|
||||||
|
\____/ \__,_|_| |_|\__,_|_| |_|\__,_| .__/|_| \_| |_/\____/
|
||||||
|
| |
|
||||||
|
|_|
|
||||||
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
LICENSE = "GPLv2"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://S20load_modules.sh \
|
|
||||||
file://S99firstboot.sh \
|
|
||||||
file://S49cgroups_mount.sh \
|
|
||||||
file://ntp.conf \
|
|
||||||
file://ntpd \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_append () {
|
|
||||||
install -d ${D}${sysconfdir}/
|
|
||||||
install -d ${D}${sysconfdir}/rcS.d/
|
|
||||||
install -d ${D}${sysconfdir}/init.d/
|
|
||||||
install -m 0644 ${WORKDIR}/ntp.conf ${D}${sysconfdir}
|
|
||||||
install -m 0755 ${WORKDIR}/ntpd ${D}${sysconfdir}/init.d/
|
|
||||||
install -m 0755 ${WORKDIR}/S20load_modules.sh ${D}${sysconfdir}/rcS.d/
|
|
||||||
install -m 0755 ${WORKDIR}/S99firstboot.sh ${D}${sysconfdir}/rcS.d/
|
|
||||||
install -m 0755 ${WORKDIR}/S49cgroups_mount.sh ${D}${sysconfdir}/rcS.d/
|
|
||||||
|
|
||||||
cd ${D}${sysconfdir}/rcS.d/
|
|
||||||
ln -s ../init.d/networking S40networking.sh
|
|
||||||
ln -s ../init.d/dropbear S47dropbear.sh
|
|
||||||
ln -s ../init.d/ntpd S48ntpd.sh
|
|
||||||
ln -s ../init.d/docker.init S50docker.sh
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
||||||
|
|
||||||
SRC_URI += " file://fragments.cfg"
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
LOAD_DIR="/etc/modules-load.d"
|
|
||||||
MODULES="$(ls $LOAD_DIR)"
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
start)
|
|
||||||
for MOD in $MODULES;
|
|
||||||
do
|
|
||||||
while read module args;
|
|
||||||
do
|
|
||||||
# Ignore comments and blank lines
|
|
||||||
case "$module" in
|
|
||||||
""|"#"*) continue;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
modprobe ${module} ${args}
|
|
||||||
done < $LOAD_DIR/$MOD
|
|
||||||
done
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Usage: ${0} {start}"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
start)
|
|
||||||
cgroups-mount
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Usage: ${0} {start}"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
@ -1,110 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
function generate_hostname() {
|
|
||||||
mac=$( ifconfig |grep eth0 | grep -io '[0-9a-f:]\{15\}[0-9a-f]\{2\}' )
|
|
||||||
mac=${mac//:}
|
|
||||||
nic=${mac:6}
|
|
||||||
nic=$(( 16#$nic ))
|
|
||||||
let length=32
|
|
||||||
|
|
||||||
for i in 4 3 2 1 0; do
|
|
||||||
let div=$length**$i
|
|
||||||
let idx=$nic/$div
|
|
||||||
let nic=$nic%$div
|
|
||||||
|
|
||||||
if [ $idx = 0 ] ; then
|
|
||||||
res=a
|
|
||||||
elif [ $idx = 1 ] ; then
|
|
||||||
res=b
|
|
||||||
elif [ $idx = 2 ] ; then
|
|
||||||
res=c
|
|
||||||
elif [ $idx = 3 ] ; then
|
|
||||||
res=d
|
|
||||||
elif [ $idx = 4 ] ; then
|
|
||||||
res=e
|
|
||||||
elif [ $idx = 5 ] ; then
|
|
||||||
res=f
|
|
||||||
elif [ $idx = 6 ] ; then
|
|
||||||
res=g
|
|
||||||
elif [ $idx = 7 ] ; then
|
|
||||||
res=h
|
|
||||||
elif [ $idx = 8 ] ; then
|
|
||||||
res=i
|
|
||||||
elif [ $idx = 9 ] ; then
|
|
||||||
res=j
|
|
||||||
elif [ $idx = 10 ] ; then
|
|
||||||
res=k
|
|
||||||
elif [ $idx = 11 ] ; then
|
|
||||||
res=m
|
|
||||||
elif [ $idx = 12 ] ; then
|
|
||||||
res=n
|
|
||||||
elif [ $idx = 13 ] ; then
|
|
||||||
res=p
|
|
||||||
elif [ $idx = 14 ] ; then
|
|
||||||
res=q
|
|
||||||
elif [ $idx = 15 ] ; then
|
|
||||||
res=r
|
|
||||||
elif [ $idx = 16 ] ; then
|
|
||||||
res=s
|
|
||||||
elif [ $idx = 17 ] ; then
|
|
||||||
res=t
|
|
||||||
elif [ $idx = 18 ] ; then
|
|
||||||
res=u
|
|
||||||
elif [ $idx = 19 ] ; then
|
|
||||||
res=v
|
|
||||||
elif [ $idx = 20 ] ; then
|
|
||||||
res=w
|
|
||||||
elif [ $idx = 21 ] ; then
|
|
||||||
res=x
|
|
||||||
elif [ $idx = 22 ] ; then
|
|
||||||
res=y
|
|
||||||
elif [ $idx = 23 ] ; then
|
|
||||||
res=z
|
|
||||||
elif [ $idx = 24 ] ; then
|
|
||||||
res=2
|
|
||||||
elif [ $idx = 25 ] ; then
|
|
||||||
res=3
|
|
||||||
elif [ $idx = 26 ] ; then
|
|
||||||
res=4
|
|
||||||
elif [ $idx = 27 ] ; then
|
|
||||||
res=5
|
|
||||||
elif [ $idx = 28 ] ; then
|
|
||||||
res=6
|
|
||||||
elif [ $idx = 29 ] ; then
|
|
||||||
res=7
|
|
||||||
elif [ $idx = 30 ] ; then
|
|
||||||
res=8
|
|
||||||
elif [ $idx = 31 ] ; then
|
|
||||||
res=8
|
|
||||||
fi
|
|
||||||
basex="$basex${res}"
|
|
||||||
done
|
|
||||||
|
|
||||||
old_hostname=$( cat /etc/hostname )
|
|
||||||
new_hostname=unknown-$basex
|
|
||||||
|
|
||||||
if [ $old_hostname = raspberrypi3-64 ]
|
|
||||||
then
|
|
||||||
new_hostname=rpi3-$basex
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $old_hostname = raspberrypi4-64 ]
|
|
||||||
then
|
|
||||||
new_hostname=rpi3-$basex
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo $new_hostname > /etc/hostname
|
|
||||||
}
|
|
||||||
|
|
||||||
FLAG="/var/local/firstboot.log"
|
|
||||||
|
|
||||||
if [ ! -f $FLAG ]; then
|
|
||||||
echo "First boot"
|
|
||||||
touch $FLAG
|
|
||||||
|
|
||||||
generate_hostname
|
|
||||||
generate_avahi_service
|
|
||||||
|
|
||||||
|
|
||||||
reboot
|
|
||||||
fi
|
|
@ -1,6 +0,0 @@
|
|||||||
CONFIG_NTPD=y
|
|
||||||
CONFIG_FEATURE_NTPD_SERVER=y
|
|
||||||
CONFIG_FEATURE_NTPD_CONF=y
|
|
||||||
CONFIG_FEATURE_NTP_AUTH=y
|
|
||||||
|
|
||||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b -H $HOSTNAME"
|
|
@ -1,5 +0,0 @@
|
|||||||
server 0.europe.pool.ntp.org
|
|
||||||
server 1.europe.pool.ntp.org
|
|
||||||
server 2.europe.pool.ntp.org
|
|
||||||
server 3.europe.pool.ntp.org
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
start)
|
|
||||||
ntpd -q
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Usage: ${0} {start}"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
SUMMARY = "A minimal container image"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
|
|
||||||
|
|
||||||
IMAGE_FSTYPES = "container oci"
|
|
||||||
|
|
||||||
inherit image
|
|
||||||
inherit image-oci
|
|
||||||
|
|
||||||
IMAGE_FEATURES = ""
|
|
||||||
IMAGE_LINGUAS = ""
|
|
||||||
NO_RECOMMENDATIONS = "1"
|
|
||||||
|
|
||||||
IMAGE_CONTAINER_NO_DUMMY = "0"
|
|
||||||
|
|
||||||
IMAGE_INSTALL = " \
|
|
||||||
base-files \
|
|
||||||
base-passwd \
|
|
||||||
netbase \
|
|
||||||
"
|
|
@ -2,16 +2,104 @@ SUMMARY = "A console image with some additional tools"
|
|||||||
HOMEPAGE = "https://blackfinn.de"
|
HOMEPAGE = "https://blackfinn.de"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
|
|
||||||
require console-image-base.inc
|
inherit core-image extrausers
|
||||||
|
|
||||||
DEV_SDK_INSTALL += " \
|
IMAGE_FEATURES += "package-management"
|
||||||
|
|
||||||
|
# Encrypt the password with: echo "<password>" | openssl passwd -1 -stdin
|
||||||
|
EXTRA_USERS_PARAMS = " \
|
||||||
|
usermod -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' root; \
|
||||||
|
useradd -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' tkl; \
|
||||||
|
"
|
||||||
|
|
||||||
|
CORE_OS = " \
|
||||||
|
openssh \
|
||||||
|
openssh-keygen \
|
||||||
|
openssh-sftp-server \
|
||||||
|
psplash \
|
||||||
|
tzdata \
|
||||||
|
"
|
||||||
|
|
||||||
|
KERNEL_EXTRA_INSTALL = " \
|
||||||
|
kernel-modules \
|
||||||
|
"
|
||||||
|
|
||||||
|
WIFI_SUPPORT = " \
|
||||||
|
iw \
|
||||||
|
wpa-supplicant \
|
||||||
|
"
|
||||||
|
|
||||||
|
DEV_SDK_INSTALL = " \
|
||||||
|
file \
|
||||||
git \
|
git \
|
||||||
make \
|
make \
|
||||||
|
perl-modules \
|
||||||
|
pkgconfig \
|
||||||
|
python-modules \
|
||||||
python-pip \
|
python-pip \
|
||||||
python-dev \
|
python-dev \
|
||||||
bash \
|
bash \
|
||||||
|
"
|
||||||
|
|
||||||
|
EXTRA_TOOLS_INSTALL = " \
|
||||||
|
acpid \
|
||||||
|
bc \
|
||||||
|
bzip2 \
|
||||||
|
dosfstools \
|
||||||
|
e2fsprogs-mke2fs \
|
||||||
|
ethtool \
|
||||||
|
findutils \
|
||||||
|
htop \
|
||||||
|
i2c-tools \
|
||||||
|
less \
|
||||||
|
mc \
|
||||||
|
procps \
|
||||||
|
rsync \
|
||||||
|
sysfsutils \
|
||||||
|
unzip \
|
||||||
|
util-linux \
|
||||||
|
util-linux-blkid \
|
||||||
|
vim \
|
||||||
|
wget \
|
||||||
|
curl \
|
||||||
|
zip \
|
||||||
|
ntp \
|
||||||
|
"
|
||||||
|
|
||||||
|
MQTT = " \
|
||||||
|
python-paho-mqtt \
|
||||||
|
"
|
||||||
|
|
||||||
|
PYTHON_LIBS = " \
|
||||||
|
python-smbus \
|
||||||
|
"
|
||||||
|
|
||||||
|
IMAGE_INSTALL += " \
|
||||||
|
${CORE_OS} \
|
||||||
|
${DEV_SDK_INSTALL} \
|
||||||
|
${EXTRA_TOOLS_INSTALL} \
|
||||||
|
${KERNEL_EXTRA_INSTALL} \
|
||||||
|
${WIFI_SUPPORT} \
|
||||||
|
${MQTT} \
|
||||||
|
${PYTHON_LIBS} \
|
||||||
packagegroup-core-buildessential \
|
packagegroup-core-buildessential \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
IMAGE_INSTALL_append_beaglebone-yocto = " linux-firmware-rtl8192cu"
|
||||||
|
IMAGE_INSTALL_append_bananapi-m3 += " linux-firmware-bcm43430"
|
||||||
|
|
||||||
|
set_local_timezone() {
|
||||||
|
ln -sf /usr/share/zoneinfo/Europe/Berlin ${IMAGE_ROOTFS}/etc/localtime
|
||||||
|
}
|
||||||
|
|
||||||
|
disable_bootlogd() {
|
||||||
|
echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
|
||||||
|
}
|
||||||
|
|
||||||
|
ROOTFS_POSTPROCESS_COMMAND += " \
|
||||||
|
set_local_timezone ; \
|
||||||
|
disable_bootlogd ; \
|
||||||
|
"
|
||||||
|
|
||||||
export IMAGE_BASENAME = "console-dev-image"
|
export IMAGE_BASENAME = "console-dev-image"
|
||||||
|
|
||||||
|
@ -1,90 +0,0 @@
|
|||||||
inherit core-image extrausers
|
|
||||||
|
|
||||||
IMAGE_FEATURES += "package-management"
|
|
||||||
|
|
||||||
# Encrypt the password with: echo "<password>" | openssl passwd -1 -stdin
|
|
||||||
EXTRA_USERS_PARAMS = " \
|
|
||||||
usermod -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' root; \
|
|
||||||
useradd -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' tkl; \
|
|
||||||
"
|
|
||||||
|
|
||||||
CORE_OS = " \
|
|
||||||
openssh \
|
|
||||||
openssh-keygen \
|
|
||||||
openssh-sftp-server \
|
|
||||||
psplash \
|
|
||||||
tzdata \
|
|
||||||
"
|
|
||||||
|
|
||||||
KERNEL_EXTRA_INSTALL = " \
|
|
||||||
kernel-modules \
|
|
||||||
"
|
|
||||||
|
|
||||||
WIFI_SUPPORT = " \
|
|
||||||
iw \
|
|
||||||
wpa-supplicant \
|
|
||||||
"
|
|
||||||
|
|
||||||
DEV_SDK_INSTALL = " \
|
|
||||||
file \
|
|
||||||
perl-modules \
|
|
||||||
pkgconfig \
|
|
||||||
python-modules \
|
|
||||||
"
|
|
||||||
|
|
||||||
EXTRA_TOOLS_INSTALL = " \
|
|
||||||
acpid \
|
|
||||||
bc \
|
|
||||||
bzip2 \
|
|
||||||
dosfstools \
|
|
||||||
e2fsprogs-mke2fs \
|
|
||||||
ethtool \
|
|
||||||
findutils \
|
|
||||||
i2c-tools \
|
|
||||||
less \
|
|
||||||
mc \
|
|
||||||
procps \
|
|
||||||
rsync \
|
|
||||||
sysfsutils \
|
|
||||||
unzip \
|
|
||||||
util-linux \
|
|
||||||
util-linux-blkid \
|
|
||||||
vim \
|
|
||||||
wget \
|
|
||||||
curl \
|
|
||||||
zip \
|
|
||||||
ntp \
|
|
||||||
"
|
|
||||||
|
|
||||||
MQTT = " \
|
|
||||||
python-paho-mqtt \
|
|
||||||
"
|
|
||||||
|
|
||||||
PYTHON_LIBS = " \
|
|
||||||
"
|
|
||||||
|
|
||||||
IMAGE_INSTALL += " \
|
|
||||||
${CORE_OS} \
|
|
||||||
${DEV_SDK_INSTALL} \
|
|
||||||
${EXTRA_TOOLS_INSTALL} \
|
|
||||||
${KERNEL_EXTRA_INSTALL} \
|
|
||||||
${WIFI_SUPPORT} \
|
|
||||||
${MQTT} \
|
|
||||||
${PYTHON_LIBS} \
|
|
||||||
"
|
|
||||||
|
|
||||||
IMAGE_INSTALL_append_beaglebone-yocto = " linux-firmware-rtl8192cu"
|
|
||||||
|
|
||||||
set_local_timezone() {
|
|
||||||
ln -sf /usr/share/zoneinfo/Europe/Berlin ${IMAGE_ROOTFS}/etc/localtime
|
|
||||||
}
|
|
||||||
|
|
||||||
disable_bootlogd() {
|
|
||||||
echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
|
|
||||||
}
|
|
||||||
|
|
||||||
ROOTFS_POSTPROCESS_COMMAND += " \
|
|
||||||
set_local_timezone ; \
|
|
||||||
disable_bootlogd ; \
|
|
||||||
"
|
|
||||||
|
|
@ -2,7 +2,99 @@ SUMMARY = "A console image with some additional tools"
|
|||||||
HOMEPAGE = "https://blackfinn.de"
|
HOMEPAGE = "https://blackfinn.de"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
|
|
||||||
require console-image-base.inc
|
inherit core-image extrausers
|
||||||
|
|
||||||
|
IMAGE_FEATURES += "package-management"
|
||||||
|
|
||||||
|
# Encrypt the password with: echo "<password>" | openssl passwd -1 -stdin
|
||||||
|
EXTRA_USERS_PARAMS = " \
|
||||||
|
usermod -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' root; \
|
||||||
|
useradd -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' tkl; \
|
||||||
|
"
|
||||||
|
|
||||||
|
CORE_OS = " \
|
||||||
|
openssh \
|
||||||
|
openssh-keygen \
|
||||||
|
openssh-sftp-server \
|
||||||
|
psplash \
|
||||||
|
tzdata \
|
||||||
|
"
|
||||||
|
|
||||||
|
KERNEL_EXTRA_INSTALL = " \
|
||||||
|
kernel-modules \
|
||||||
|
"
|
||||||
|
|
||||||
|
WIFI_SUPPORT = " \
|
||||||
|
iw \
|
||||||
|
wpa-supplicant \
|
||||||
|
"
|
||||||
|
|
||||||
|
DEV_SDK_INSTALL = " \
|
||||||
|
file \
|
||||||
|
git \
|
||||||
|
make \
|
||||||
|
perl-modules \
|
||||||
|
pkgconfig \
|
||||||
|
python-modules \
|
||||||
|
"
|
||||||
|
|
||||||
|
EXTRA_TOOLS_INSTALL = " \
|
||||||
|
acpid \
|
||||||
|
bc \
|
||||||
|
bzip2 \
|
||||||
|
dosfstools \
|
||||||
|
e2fsprogs-mke2fs \
|
||||||
|
ethtool \
|
||||||
|
findutils \
|
||||||
|
htop \
|
||||||
|
i2c-tools \
|
||||||
|
less \
|
||||||
|
mc \
|
||||||
|
procps \
|
||||||
|
rsync \
|
||||||
|
sysfsutils \
|
||||||
|
unzip \
|
||||||
|
util-linux \
|
||||||
|
util-linux-blkid \
|
||||||
|
vim \
|
||||||
|
wget \
|
||||||
|
curl \
|
||||||
|
zip \
|
||||||
|
ntp \
|
||||||
|
"
|
||||||
|
|
||||||
|
MQTT = " \
|
||||||
|
python-paho-mqtt \
|
||||||
|
"
|
||||||
|
|
||||||
|
PYTHON_LIBS = " \
|
||||||
|
"
|
||||||
|
|
||||||
|
IMAGE_INSTALL += " \
|
||||||
|
${CORE_OS} \
|
||||||
|
${DEV_SDK_INSTALL} \
|
||||||
|
${EXTRA_TOOLS_INSTALL} \
|
||||||
|
${KERNEL_EXTRA_INSTALL} \
|
||||||
|
${WIFI_SUPPORT} \
|
||||||
|
${MQTT} \
|
||||||
|
${PYTHON_LIBS} \
|
||||||
|
"
|
||||||
|
|
||||||
|
IMAGE_INSTALL_append_beaglebone-yocto = " linux-firmware-rtl8192cu"
|
||||||
|
IMAGE_INSTALL_append_bananapi-m3 += " linux-firmware-bcm43430"
|
||||||
|
|
||||||
|
set_local_timezone() {
|
||||||
|
ln -sf /usr/share/zoneinfo/Europe/Berlin ${IMAGE_ROOTFS}/etc/localtime
|
||||||
|
}
|
||||||
|
|
||||||
|
disable_bootlogd() {
|
||||||
|
echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
|
||||||
|
}
|
||||||
|
|
||||||
|
ROOTFS_POSTPROCESS_COMMAND += " \
|
||||||
|
set_local_timezone ; \
|
||||||
|
disable_bootlogd ; \
|
||||||
|
"
|
||||||
|
|
||||||
export IMAGE_BASENAME = "console-image"
|
export IMAGE_BASENAME = "console-image"
|
||||||
|
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
|
|
||||||
IMAGE_INSTALL_append = " \
|
|
||||||
git \
|
|
||||||
sudo \
|
|
||||||
vim \
|
|
||||||
"
|
|
@ -1,9 +0,0 @@
|
|||||||
SUMMARY = "Development image for docker host system"
|
|
||||||
HOMEPAGE = "https://blackfinn.de"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
|
|
||||||
require docker-host-image.bb
|
|
||||||
require dev-image.inc
|
|
||||||
|
|
||||||
export IMAGE_BASENAME = "docker-host-dev-image"
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
SUMMARY = "A tiny image"
|
|
||||||
HOMEPAGE = "https://blackfinn.de"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
|
|
||||||
require tiny-image-base.inc
|
|
||||||
|
|
||||||
IMAGE_INSTALL_append = " initscripts init-ifupdown docker-ce"
|
|
||||||
|
|
||||||
EXTRA_USERS_PARAMS += " \
|
|
||||||
usermod -a -G docker tkl \
|
|
||||||
"
|
|
||||||
|
|
||||||
export IMAGE_BASENAME = "docker-host-image"
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
SUMMARY = "Greenhouse container image"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
||||||
|
|
||||||
require app-container-image.bb
|
|
||||||
|
|
||||||
IMAGE_INSTALL += " \
|
|
||||||
busybox \
|
|
||||||
busybox-initcfg \
|
|
||||||
greenhouse \
|
|
||||||
tzdata \
|
|
||||||
"
|
|
||||||
|
|
||||||
# docker run
|
|
||||||
# --detach
|
|
||||||
# --restart always
|
|
||||||
# --cap-add SYS_RAWIO
|
|
||||||
# --device=/dev/mem:/dev/mem
|
|
||||||
# --device=/dev/gpiomem:/dev/gpiomem
|
|
||||||
# --publish 80:80
|
|
||||||
# --name greenhouse
|
|
||||||
# greenhouse
|
|
||||||
# run.sh
|
|
@ -1,8 +0,0 @@
|
|||||||
SUMMARY = "A tiny image"
|
|
||||||
HOMEPAGE = "https://blackfinn.de"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
|
|
||||||
require podman-host-image.bb
|
|
||||||
require dev-image.inc
|
|
||||||
|
|
||||||
export IMAGE_BASENAME = "podman-host-dev-image"
|
|
@ -1,15 +0,0 @@
|
|||||||
SUMMARY = "A tiny image"
|
|
||||||
HOMEPAGE = "https://blackfinn.de"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
|
|
||||||
require tiny-image-base.inc
|
|
||||||
|
|
||||||
IMAGE_INSTALL_append = " \
|
|
||||||
initscripts \
|
|
||||||
init-ifupdown \
|
|
||||||
podman \
|
|
||||||
podman-compose \
|
|
||||||
cgroup-lite \
|
|
||||||
"
|
|
||||||
|
|
||||||
export IMAGE_BASENAME = "podman-host-image"
|
|
@ -1,40 +0,0 @@
|
|||||||
inherit core-image
|
|
||||||
|
|
||||||
require users.inc
|
|
||||||
|
|
||||||
IMAGE_FEATURES += "package-management"
|
|
||||||
|
|
||||||
CORE_OS = " \
|
|
||||||
busybox-initcfg \
|
|
||||||
dropbear \
|
|
||||||
psplash \
|
|
||||||
tzdata \
|
|
||||||
"
|
|
||||||
|
|
||||||
KERNEL_EXTRA_INSTALL = " \
|
|
||||||
kernel-modules \
|
|
||||||
"
|
|
||||||
|
|
||||||
WIFI_SUPPORT = " \
|
|
||||||
wpa-supplicant \
|
|
||||||
"
|
|
||||||
|
|
||||||
EXTRA_TOOLS_INSTALL = " \
|
|
||||||
"
|
|
||||||
|
|
||||||
IMAGE_INSTALL += " \
|
|
||||||
${CORE_OS} \
|
|
||||||
${EXTRA_TOOLS_INSTALL} \
|
|
||||||
${KERNEL_EXTRA_INSTALL} \
|
|
||||||
${WIFI_SUPPORT} \
|
|
||||||
"
|
|
||||||
|
|
||||||
IMAGE_INSTALL_append_beaglebone-yocto = " linux-firmware-rtl8192cu"
|
|
||||||
|
|
||||||
disable_bootlogd() {
|
|
||||||
echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
|
|
||||||
}
|
|
||||||
|
|
||||||
ROOTFS_POSTPROCESS_COMMAND += " \
|
|
||||||
disable_bootlogd ; \
|
|
||||||
"
|
|
@ -1,8 +0,0 @@
|
|||||||
SUMMARY = "A tiny image"
|
|
||||||
HOMEPAGE = "https://blackfinn.de"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
|
|
||||||
require tiny-image-base.inc
|
|
||||||
|
|
||||||
export IMAGE_BASENAME = "tiny-image"
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
inherit extrausers
|
|
||||||
|
|
||||||
# Encrypt the password with: echo "<password>" | openssl passwd -1 -stdin
|
|
||||||
EXTRA_USERS_PARAMS = " \
|
|
||||||
usermod -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' root; \
|
|
||||||
useradd -p '\$1\$4h5Qdc3i\$Vke4J2Ci5z.D3TtFDmV9r/' tkl; \
|
|
||||||
"
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
|||||||
SUMMARY = "Busybox container image"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
||||||
|
|
||||||
require app-container-image.bb
|
|
||||||
|
|
||||||
IMAGE_INSTALL += " \
|
|
||||||
busybox \
|
|
||||||
yardlight \
|
|
||||||
"
|
|
||||||
|
|
||||||
# docker run
|
|
||||||
# --detach
|
|
||||||
# --restart always
|
|
||||||
# --cap-add SYS_RAWIO
|
|
||||||
# --device=/dev/mem:/dev/mem
|
|
||||||
# --device=/dev/gpiomem:/dev/gpiomem
|
|
||||||
# --publish 80:80
|
|
||||||
# --name yardlight
|
|
||||||
# yardlight
|
|
||||||
# run.sh
|
|
@ -1,22 +0,0 @@
|
|||||||
# The loopback interface
|
|
||||||
auto lo
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# Wireless interface
|
|
||||||
allow-hotplug wlan0
|
|
||||||
auto wlan0
|
|
||||||
iface wlan0 inet dhcp
|
|
||||||
wireless_mode managed
|
|
||||||
wireless_essid any
|
|
||||||
wpa-driver nl80211
|
|
||||||
wpa-conf /etc/wpa_supplicant.conf
|
|
||||||
wireless-power off
|
|
||||||
|
|
||||||
|
|
||||||
# Wired interface
|
|
||||||
auto eth0
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
||||||
# Bluetooth networking
|
|
||||||
iface bnep0 inet dhcp
|
|
||||||
|
|
@ -24,9 +24,9 @@
|
|||||||
# Offline mode (for use in constructing flash images offline)
|
# Offline mode (for use in constructing flash images offline)
|
||||||
#option offline_root target
|
#option offline_root target
|
||||||
|
|
||||||
src/gz all https://files.blackfinn.de/yocto/gatesgarth/all
|
src/gz all https://opkg.blackfinn.de/thud/all
|
||||||
src/gz raspberrypi4_64 https://files.blackfinn.de/yocto/gatesgarth/raspberrypi4_64
|
src/gz armv7vet2hf-neon https://opkg.blackfinn.de/thud/armv7vet2hf-neon
|
||||||
src/gz cortexa72 https://files.blackfinn.de/yocto/gatesgarth/cortexa72
|
src/gz bananapi_m3 https://opkg.blackfinn.de/thud/bananapi_m3
|
||||||
|
|
||||||
# Default destination for installed packages
|
# Default destination for installed packages
|
||||||
dest root /
|
dest root /
|
@ -24,9 +24,9 @@
|
|||||||
# Offline mode (for use in constructing flash images offline)
|
# Offline mode (for use in constructing flash images offline)
|
||||||
#option offline_root target
|
#option offline_root target
|
||||||
|
|
||||||
src/gz all https://files.blackfinn.de/yocto/gatesgarth/all
|
src/gz all https://opkg.blackfinn.de/thud/all
|
||||||
src/gz beaglebone https://files.blackfinn.de/yocto/gatesgarth/beaglebone_yocto
|
src/gz beaglebone https://opkg.blackfinn.de/thud/beaglebone
|
||||||
src/gz cortexa8hf-neon https://files.blackfinn.de/yocto/gatesgarth/cortexa8hf-neon
|
src/gz cortexa8hf-neon https://opkg.blackfinn.de/thud/cortexa8hf-neon
|
||||||
|
|
||||||
# Default destination for installed packages
|
# Default destination for installed packages
|
||||||
dest root /
|
dest root /
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
# Offline mode (for use in constructing flash images offline)
|
# Offline mode (for use in constructing flash images offline)
|
||||||
#option offline_root target
|
#option offline_root target
|
||||||
|
|
||||||
src/gz all https://files.blackfinn.de/yocto/gatesgarth/all
|
src/gz all https://opkg.blackfinn.de/thud/all
|
||||||
src/gz raspberrypi3_64 https://files.blackfinn.de/yocto/gatesgarth/raspberrypi3_64
|
src/gz raspberrypi3_64 https://opkg.blackfinn.de/thud/raspberrypi3_64
|
||||||
src/gz cortexa53 https://files.blackfinn.de/yocto/gatesgarth/cortexa53
|
src/gz aarch64 https://opkg.blackfinn.de/thud/aarch64
|
||||||
|
|
||||||
# Default destination for installed packages
|
# Default destination for installed packages
|
||||||
dest root /
|
dest root /
|
@ -1,18 +0,0 @@
|
|||||||
SUMMARY = "RPi.GPIO"
|
|
||||||
SECTION = "Devtools"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
||||||
|
|
||||||
PR = "r0"
|
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f"
|
|
||||||
|
|
||||||
inherit pypi setuptools3
|
|
||||||
|
|
||||||
PYPI_PACKAGE = "RPi.GPIO"
|
|
||||||
|
|
||||||
TARGET_CFLAGS += "-fcommon"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} = " \
|
|
||||||
python3 \
|
|
||||||
"
|
|
@ -1,18 +0,0 @@
|
|||||||
SUMMARY = "RPi.GPIO"
|
|
||||||
SECTION = "Devtools"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
||||||
|
|
||||||
PR = "r0"
|
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "11c684af807c89c6f066ed93cb7cfc00082095fef8899e412e92e748e642d9c1"
|
|
||||||
|
|
||||||
inherit pypi setuptools3
|
|
||||||
|
|
||||||
PYPI_PACKAGE = "w1thermsensor"
|
|
||||||
|
|
||||||
# TARGET_CFLAGS += "-fcommon"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} = " \
|
|
||||||
python3 \
|
|
||||||
"
|
|
@ -1,10 +0,0 @@
|
|||||||
KERNEL_MODULE_AUTOLOAD += " brcmfmac"
|
|
||||||
|
|
||||||
do_install_append () {
|
|
||||||
install -d ${D}/lib/
|
|
||||||
install -d ${D}/lib/firmware/
|
|
||||||
install -d ${D}/lib/firmware/brcm
|
|
||||||
cd ${D}/lib/firmware/brcm
|
|
||||||
ln -s brcmfmac43430-sdio.raspberrypi,3-model-b.txt brcmfmac43430-sdio.txt
|
|
||||||
}
|
|
||||||
|
|
153
recipes-kernel/linux/files/bananapi-m3/defconfig
Normal file
153
recipes-kernel/linux/files/bananapi-m3/defconfig
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
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
|
@ -1,4 +0,0 @@
|
|||||||
CONFIG_DEBUG_BLK_CGROUP=y
|
|
||||||
CONFIG_CFS_BANDWIDTH=y
|
|
||||||
CONFIG_CGROUP_RDMA=y
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
|||||||
CONFIG_I2C_BCM2835=y
|
|
||||||
CONFIG_DRM=y
|
|
@ -1,2 +0,0 @@
|
|||||||
CONFIG_I2C_BCM2835=y
|
|
||||||
CONFIG_DRM=y
|
|
27
recipes-kernel/linux/linux-mainline_4.20.15.bb
Normal file
27
recipes-kernel/linux/linux-mainline_4.20.15.bb
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
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 \
|
||||||
|
"
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
||||||
|
|
||||||
KERNEL_FEATURES_remove = " cfg/virtio.scc"
|
|
||||||
|
|
||||||
KERNEL_MODULE_AUTOLOAD += " brcmfmac i2c-dev spi-bcm2835"
|
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://config.cfg \
|
|
||||||
"
|
|
@ -1,20 +0,0 @@
|
|||||||
LICENSE = "GPLv2"
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
||||||
|
|
||||||
KERNEL_MODULE_AUTOLOAD += " rtl8192cu"
|
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://rtl8192cu.cfg \
|
|
||||||
file://enable_onboard_leds.cfg \
|
|
||||||
file://enable_hostap_wext.cfg \
|
|
||||||
file://0002-onboard-led-init-disable.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
KERNEL_CONFIG_FRAGMENTS_append = " \
|
|
||||||
${WORKDIR}/rtl8192cu.cfg \
|
|
||||||
${WORKDIR}/enable_onboard_leds.cfg \
|
|
||||||
${WORKDIR}/enable_hostap_wext.cfg \
|
|
||||||
${WORKDIR}/enable_cgroups.cfg \
|
|
||||||
"
|
|
18
recipes-kernel/linux/linux-yocto_5.0.bbappend
Normal file
18
recipes-kernel/linux/linux-yocto_5.0.bbappend
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
LICENSE = "GPLv2"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||||
|
|
||||||
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://rtl8192cu.cfg \
|
||||||
|
file://enable_onboard_leds.cfg \
|
||||||
|
file://enable_hostap_wext.cfg \
|
||||||
|
file://0002-onboard-led-init-disable.patch \
|
||||||
|
"
|
||||||
|
|
||||||
|
KERNEL_CONFIG_FRAGMENTS_append_ti33x = " \
|
||||||
|
${WORKDIR}/rtl8192cu.cfg \
|
||||||
|
${WORKDIR}/enable_onboard_leds.cfg \
|
||||||
|
${WORKDIR}/enable_hostap_wext.cfg \
|
||||||
|
"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user