10 Commits

Author SHA1 Message Date
tkl
de8f190eaa init-ifupdown: Fix interfaces definition for network 2021-02-23 22:08:03 +01:00
tkl
c388421a3f linux-yocto: Fix kernel config in bbappend 2021-02-23 22:06:53 +01:00
tkl
d6b9f930fe opkg: Adapt paths for opkg 2021-02-23 22:04:15 +01:00
tkl
61b2c0a001 busybox: Add hostname propagation for ifup 2021-02-23 21:54:29 +01:00
tkl
497d6aa4e3 Rename docker-image -> docker-host-image 2021-02-04 14:55:27 +01:00
Thomas Klaehn
d698d2f609 images: add podman-host-image 2021-02-04 14:55:27 +01:00
Thomas Klaehn
6c4837b8d8 buildconf: Ad buildconf for quemuarm 2021-01-28 11:27:47 +01:00
Thomas Klaehn
dcc094703d linux-raspberrypi: Version bump 2021-01-28 11:27:47 +01:00
Thomas Klaehn
c7d1761bbb linux-yocto: version bump 2021-01-28 11:27:47 +01:00
Thomas Klaehn
a0e07d0d53 gatesgarth: Version bump 2021-01-28 10:46:54 +01:00
29 changed files with 186 additions and 33 deletions

View File

@@ -12,9 +12,11 @@ BBLAYERS ?= " \
${TOPDIR}/../layers/meta-openembedded/meta-filesystems \ ${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-virtualization \
${TOPDIR}/../layers/meta-raspberrypi \ ${TOPDIR}/../layers/meta-raspberrypi \
${TOPDIR}/../layers/meta-security \
${TOPDIR}/../layers/meta-blackfinn \ ${TOPDIR}/../layers/meta-blackfinn \
" "

View File

@@ -1,7 +1,8 @@
Common targets are: Common targets are:
console-image console-image
console-dev-image console-dev-image
docker-image docker-host-image
docker-host-dev-image
tiny-image tiny-image
core-image-minimal core-image-minimal
core-image-sato core-image-sato

View File

@@ -46,5 +46,7 @@ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
ICECC_PARALLEL_MAKE = "-j 24" ICECC_PARALLEL_MAKE = "-j 24"
INHERIT += "icecc" INHERIT += "icecc"
ICECC_USER_PACKAGE_BL = "pkgconfig-native" ICECC_USER_PACKAGE_BL = "pkgconfig-native \
json-c \
podman \
"

View File

@@ -0,0 +1,22 @@
# 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 \
"

View File

@@ -0,0 +1,12 @@
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

View File

@@ -0,0 +1,50 @@
MACHINE ?= "qemuarm"
#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"
SERIAL_CONSOLES = "115200;ttyS0"
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"
ICECC_PARALLEL_MAKE = "-j 24"
INHERIT += "icecc"
ICECC_USER_PACKAGE_BL = "pkgconfig-native \
json-c \
podman \
"

View File

@@ -12,8 +12,10 @@ BBLAYERS ?= " \
${TOPDIR}/../layers/meta-openembedded/meta-filesystems \ ${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-virtualization \
${TOPDIR}/../layers/meta-security \
${TOPDIR}/../layers/meta-blackfinn \ ${TOPDIR}/../layers/meta-blackfinn \
" "

View File

@@ -2,7 +2,8 @@ Common targets are:
console-image console-image
console-dev-image console-dev-image
tiny-image tiny-image
docker-image docker-host-image
docker-host-dev-image
core-image-minimal core-image-minimal
core-image-sato core-image-sato
meta-toolchain meta-toolchain

View File

@@ -44,5 +44,7 @@ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
ICECC_PARALLEL_MAKE = "-j 24" ICECC_PARALLEL_MAKE = "-j 24"
INHERIT += "icecc" INHERIT += "icecc"
ICECC_USER_PACKAGE_BL = "pkgconfig-native" ICECC_USER_PACKAGE_BL = "pkgconfig-native \
json-c \
podman \
"

View File

@@ -12,8 +12,10 @@ BBLAYERS ?= " \
${TOPDIR}/../layers/meta-openembedded/meta-filesystems \ ${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-virtualization \
${TOPDIR}/../layers/meta-security \
${TOPDIR}/../layers/meta-blackfinn \ ${TOPDIR}/../layers/meta-blackfinn \
" "

View File

@@ -2,7 +2,8 @@ Common targets are:
console-image console-image
console-dev-image console-dev-image
tiny-image tiny-image
docker-image docker-host-image
docker-host-dev-image
core-image-minimal core-image-minimal
core-image-sato core-image-sato
meta-toolchain meta-toolchain

View File

@@ -1,4 +1,4 @@
MACHINE ?= "raspberrypi3-64" MACHINE ?= "raspberrypi4-64"
DISTRO ?= "roro" DISTRO ?= "roro"
PACKAGE_CLASSES ?= "package_ipk" PACKAGE_CLASSES ?= "package_ipk"
@@ -44,5 +44,7 @@ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
ICECC_PARALLEL_MAKE = "-j 24" ICECC_PARALLEL_MAKE = "-j 24"
INHERIT += "icecc" INHERIT += "icecc"
ICECC_USER_PACKAGE_BL = "pkgconfig-native" ICECC_USER_PACKAGE_BL = "pkgconfig-native \
json-c \
podman \
"

View File

@@ -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 = "11" BBFILE_PRIORITY_meta-blackfinn = "12"
LAYERSERIES_COMPAT_meta-blackfinn = "dunfell zeus warrior thud sumo rocko" LAYERSERIES_COMPAT_meta-blackfinn = "gatesgarth dunfell zeus warrior thud sumo rocko"

View File

@@ -1,6 +1,5 @@
LICENSE = "GPLv2" LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
#file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
@@ -26,4 +25,3 @@ do_install_append () {
ln -s ../init.d/ntpd S48ntpd.sh ln -s ../init.d/ntpd S48ntpd.sh
ln -s ../init.d/docker.init S50docker.sh ln -s ../init.d/docker.init S50docker.sh
} }

View File

@@ -3,3 +3,4 @@ CONFIG_FEATURE_NTPD_SERVER=y
CONFIG_FEATURE_NTPD_CONF=y CONFIG_FEATURE_NTPD_CONF=y
CONFIG_FEATURE_NTP_AUTH=y CONFIG_FEATURE_NTP_AUTH=y
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b -H $HOSTNAME"

View File

@@ -0,0 +1,13 @@
SUMMARY = "Development image for docker host system"
HOMEPAGE = "https://blackfinn.de"
LICENSE = "MIT"
require docker-host-image.bb
IMAGE_INSTALL_append = " \
git \
vim \
"
export IMAGE_BASENAME = "docker-host-dev-image"

View File

@@ -10,5 +10,5 @@ EXTRA_USERS_PARAMS += " \
usermod -a -G docker tkl \ usermod -a -G docker tkl \
" "
export IMAGE_BASENAME = "docker-image" export IMAGE_BASENAME = "docker-host-image"

View File

@@ -0,0 +1,15 @@
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"

View File

@@ -0,0 +1,22 @@
# 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

View File

@@ -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://opkg.blackfinn.de/thud/all src/gz all https://files.blackfinn.de/yocto/gatesgarth/all
src/gz beaglebone https://opkg.blackfinn.de/thud/beaglebone src/gz beaglebone https://files.blackfinn.de/yocto/gatesgarth/beaglebone_yocto
src/gz cortexa8hf-neon https://opkg.blackfinn.de/thud/cortexa8hf-neon src/gz cortexa8hf-neon https://files.blackfinn.de/yocto/gatesgarth/cortexa8hf-neon
# Default destination for installed packages # Default destination for installed packages
dest root / dest root /

View File

@@ -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://opkg.blackfinn.de/thud/all src/gz all https://files.blackfinn.de/yocto/gatesgarth/all
src/gz raspberrypi3_64 https://opkg.blackfinn.de/thud/raspberrypi3_64 src/gz raspberrypi3_64 https://files.blackfinn.de/yocto/gatesgarth/raspberrypi3_64
src/gz aarch64 https://opkg.blackfinn.de/thud/aarch64 src/gz cortexa53 https://files.blackfinn.de/yocto/gatesgarth/cortexa53
# Default destination for installed packages # Default destination for installed packages
dest root / dest root /

View File

@@ -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://opkg.blackfinn.de/thud/all src/gz all https://files.blackfinn.de/yocto/gatesgarth/all
src/gz raspberrypi4_64 https://opkg.blackfinn.de/thud/raspberrypi4_64 src/gz raspberrypi4_64 https://files.blackfinn.de/yocto/gatesgarth/raspberrypi4_64
src/gz aarch64 https://opkg.blackfinn.de/thud/aarch64 src/gz cortexa72 https://files.blackfinn.de/yocto/gatesgarth/cortexa72
# Default destination for installed packages # Default destination for installed packages
dest root / dest root /

View File

@@ -0,0 +1,2 @@
CONFIG_I2C_BCM2835=y
CONFIG_DRM=y

View File

@@ -0,0 +1,2 @@
CONFIG_I2C_BCM2835=y
CONFIG_DRM=y

View File

@@ -4,3 +4,6 @@ KERNEL_FEATURES_remove = " cfg/virtio.scc"
KERNEL_MODULE_AUTOLOAD += " brcmfmac i2c-dev spi-bcm2835" KERNEL_MODULE_AUTOLOAD += " brcmfmac i2c-dev spi-bcm2835"
SRC_URI += " \
file://config.cfg \
"

View File

@@ -1,11 +1,10 @@
LICENSE = "GPLv2" LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
KERNEL_MODULE_AUTOLOAD += " rtl8192cu" KERNEL_MODULE_AUTOLOAD += " rtl8192cu"
SRC_URI += " \ SRC_URI += " \
file://rtl8192cu.cfg \ file://rtl8192cu.cfg \
file://enable_onboard_leds.cfg \ file://enable_onboard_leds.cfg \
@@ -13,10 +12,9 @@ SRC_URI += " \
file://0002-onboard-led-init-disable.patch \ file://0002-onboard-led-init-disable.patch \
" "
KERNEL_CONFIG_FRAGMENTS_append_ti33x = " \ KERNEL_CONFIG_FRAGMENTS_append = " \
${WORKDIR}/rtl8192cu.cfg \ ${WORKDIR}/rtl8192cu.cfg \
${WORKDIR}/enable_onboard_leds.cfg \ ${WORKDIR}/enable_onboard_leds.cfg \
${WORKDIR}/enable_hostap_wext.cfg \ ${WORKDIR}/enable_hostap_wext.cfg \
${WORKDIR}/enable_cgroups.cfg \ ${WORKDIR}/enable_cgroups.cfg \
" "