builds and runs on intel-x86 and rpi4 with acceptable realtime performance

This commit is contained in:
vaughn committed 2026-09-25 17:29:14 -04:00
1 parent 2bce6fa556
commit 3faf544f0b
120 files changed
+6317 -1

No files matched your search

@@ -0,0 +1,4 @@
# This file is generated automatically by wry
PACKAGEGROUP_BUSYBOX_REPLACEMENT_INC_WRLINUX = ""
PACKAGEGROUP_BUSYBOX_REPLACEMENT_INC_WRLINUX:osv-wrlinux = "packagegroup-core-base-utils_wrlinux.inc"
require ${PACKAGEGROUP_BUSYBOX_REPLACEMENT_INC_WRLINUX}
@@ -0,0 +1,17 @@
#
# Copyright (C) 2016 Wind River Systems Inc.
#
RDEPENDS:${PN}:append = " \
bc \
debianutils-run-parts \
dpkg-start-stop \
fbset \
kbd \
netcat \
ifupdown \
iputils-ping \
usleep \
util-linux-flock \
util-linux-mount \
"
@@ -0,0 +1,38 @@
#
# Copyright (C) 2012-2013 Wind River Systems, Inc.
#
# Based on packagegroup-core-boot.bb of yocto
#
DESCRIPTION = "Package Group for wrlinux - minimal bootable image"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PACKAGE_ARCH = "${MACHINE_ARCH}"
ALLOW_EMPTY:${PN} = "1"
PR = "r1"
# Distro can override the following VIRTUAL-RUNTIME providers:
VIRTUAL-RUNTIME_dev_manager ?= "udev"
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
PACKAGES = "\
packagegroup-core-boot-wrs \
packagegroup-core-boot-wrs-dbg \
packagegroup-core-boot-wrs-dev \
"
RDEPENDS:packagegroup-core-boot-wrs = "\
base-files \
base-passwd \
busybox \
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${VIRTUAL-RUNTIME_initscripts}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
modutils-initscripts \
netbase \
${VIRTUAL-RUNTIME_login_manager} \
${VIRTUAL-RUNTIME_init_manager} \
${VIRTUAL-RUNTIME_dev_manager} \
${VIRTUAL-RUNTIME_update-alternatives} \
"
@@ -0,0 +1,3 @@
PACKAGEGROUP_CORE_BOOT_INC_WRLINUX = "packagegroup-core-boot_wrlinux.inc"
require ${PACKAGEGROUP_CORE_BOOT_INC_WRLINUX}
RDEPENDS:${PN} += " packagegroup-core-boot-wrs "
@@ -0,0 +1,17 @@
PACKAGES:append = " packagegroup-wr-boot"
WR_MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
ALLOW_EMPTY:packagegroup-wr-boot = "1"
RDEPENDS:packagegroup-wr-boot = "${PN} ${WR_MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
# add wr-init
RDEPENDS:${PN}:append = " ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','wr-init','',d)}"
# Need these, but images may choose to pull them from various
# packages, e.g. busybox or bash+busybox-oe-min.
# The following only works with the RPM backend...
FILERDEPENDS_${PN} = "/bin/sh /usr/bin/run-parts /sbin/start-stop-daemon /sbin/ifup"
# override the default in package-core-boot.bb
EFI_PROVIDER ??= "${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-only', '', 'grub-efi', d)}"
@@ -0,0 +1,59 @@
DESCRIPTION = "PLC-OS core packagegroup"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
ALLOW_EMPTY:${PN} = "1"
STRACE = "strace"
STRACE:riscv32 = ""
RDEPENDS:${PN}:append = " \
avahi-daemon \
bind \
bind-utils \
curl \
s-nail \
msmtp \
openssh-sftp-server \
ppp \
tcpdump \
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-only', '', 'wget', d)} \
util-linux-fsck \
e2fsprogs-e2fsck \
e2fsprogs-mke2fs \
elfutils \
hdparm \
iproute2 \
iptables \
iputils \
iw \
ldd \
lsof \
lvm2 \
mdadm \
mtd-utils \
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-wheel', '', d)} \
quota \
sdparm \
setserial \
${STRACE} \
usbutils \
watchdog \
wireless-regdb-static \
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-or-later', '', 'parted', d)} \
python3 \
python3-misc \
python3-modules \
grub-editenv \
"
RRECOMMENDS:${PN} = " \
mtd-utils-jffs2 \
mtd-utils-ubifs \
mtd-utils-misc \
"
RDEPENDS:${PN}:append:x86 = " acpica iasl"
RDEPENDS:${PN}:append:x86-64 = " acpica iasl"
RDEPENDS:${PN}:append:intel-x86 = " acpica iasl"
@@ -0,0 +1,10 @@
#
# Copyright (C) 2014 Wind River Systems, Inc.
#
# The graphics packages in packagegroup-self-hosted-graphics
# are for Build Appliance usage in oe-core which are not
# needed in our self-hosted feature.
# So drop the graphics packagegroup.
PACKAGES:remove = "packagegroup-self-hosted-graphics"
RDEPENDS:packagegroup-self-hosted:remove = "packagegroup-self-hosted-graphics"
@@ -0,0 +1,2 @@
PACKAGEGROUP_SELF_HOST_INC_WRLINUX = "packagegroup-self-host_wrlinux.inc"
require ${PACKAGEGROUP_SELF_HOST_INC_WRLINUX}
@@ -0,0 +1,68 @@
#
# Copyright (C) 2012-2016 Wind River Systems Inc.
#
DESCRIPTION = "Core packages for Linux/GNU (non-busybox) runtime images"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
ALLOW_EMPTY:${PN} = "1"
ALLOW_EMPTY:${PN}-net = "1"
ALLOW_EMPTY:${PN}-discrete-tools = "1"
PACKAGES += "${PN}-net ${PN}-net-dbg ${PN}-net-dev"
PACKAGES += "${PN}-discrete-tools ${PN}-discrete-tools-dbg ${PN}-discrete-tools-dev"
# Core userspace package list based roughly on oe-core's
# packagegroup-core-initscripts and packagegroup-core-basic-utils:
VIRTUAL-RUNTIME_syslog ?= "sysklogd"
RDEPENDS:${PN} = "\
acl \
attr \
bash \
bc \
coreutils \
cpio \
e2fsprogs \
ed \
findutils \
gawk \
grep \
iproute2 \
kmod \
logrotate \
mingetty \
ncurses \
procps \
psmisc \
sed \
sudo \
${VIRTUAL-RUNTIME_syslog} \
tar \
time \
udev \
util-linux \
util-linux-mount \
util-linux-umount \
util-linux-fstrim \
util-linux-hwclock \
util-linux-logger \
vim \
which \
"
# Minimal network environment
RDEPENDS:${PN}-net = "\
dhcpcd \
ethtool \
net-tools \
rfkill \
"
# Some subsitutes for busybox functions
RDEPENDS:${PN}-discrete-tools = "\
adduser \
debianutils-run-parts \
ifupdown \
"
@@ -0,0 +1,65 @@
SUMMARY = "Packages required by bsp"
#
# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
#
ALLOW_EMPTY:${PN} = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
BSP_EXTRAS_PACKAGES ?= ""
PROVIDES = "${PACKAGES}"
PACKAGES = ' \
packagegroup-wr-bsps \
${@bb.utils.contains("MACHINE_FEATURES", "parser", "packagegroup-wr-bsps-parser", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "shell-tools", "packagegroup-wr-bsps-shell-tools", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "filesystem", "packagegroup-wr-bsps-filesystem-tools", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "profile", "packagegroup-wr-bsps-profile-tools", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "network", "packagegroup-wr-bsps-network-tools", "", d)} \
\
${@bb.utils.contains("DISTRO_FEATURES", "bsp-extras", "packagegroup-wr-bsps-bsp-extras", "", d)} \
'
#
# packagegroup-wr-bsps contain stuff needed by BSPs (machine related)
#
RDEPENDS:packagegroup-wr-bsps = "\
${@bb.utils.contains("MACHINE_FEATURES", "parser", "packagegroup-wr-bsps-parser", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "shell-tools", "packagegroup-wr-bsps-shell-tools", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "filesystem", "packagegroup-wr-bsps-filesystem-tools", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "profile", "packagegroup-wr-bsps-profile-tools", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "network", "packagegroup-wr-bsps-network-tools", "", d)} \
\
${@bb.utils.contains("DISTRO_FEATURES", "bsp-extras", "packagegroup-wr-bsps-bsp-extras", "", d)} \
"
SUMMARY:packagegroup-wr-bsps-parser = "Parser Generator Support"
RDEPENDS:packagegroup-wr-bsps-parser = "\
flex \
bison"
SUMMARY:packagegroup-wr-bsps-shell-tools = "Shell tools support"
RDEPENDS:packagegroup-wr-bsps-shell-tools = "\
dialog"
SUMMARY:packagegroup-wr-bsps-filesystem-tools = "Filesystem tools support"
RDEPENDS:packagegroup-wr-bsps-filesystem-tools = "\
fio \
smartmontools"
SUMMARY:packagegroup-wr-bsps-profile-tools = "Profile tools support"
RDEPENDS:packagegroup-wr-bsps-profile-tools = "\
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-only', '', 'perf', d)}"
SUMMARY:packagegroup-wr-bsps-network-tools = "Network tools support"
RDEPENDS:packagegroup-wr-bsps-network-tools = "\
iperf3"
SUMMARY:packagegroup-wr-bsps-bsp-extras = "BSP related extras devices tools"
RDEPENDS:packagegroup-wr-bsps-bsp-extras = "\
${BSP_EXTRAS_PACKAGES} \
"
@@ -0,0 +1,19 @@
#
# Copyright (C) 2012-2013 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-db definition in
# wrlinux-image.bbclass that may be used to customize an image by
# adding "wr-core-db" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: db"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} = " \
db \
sqlite3 \
"
@@ -0,0 +1,28 @@
#
# Copyright (C) 2012-2013 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-interactive definition in
# wrlinux-image.bbclass that may be used to customize an image by
# adding "wr-core-interactive" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: interactive"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r1"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} = " \
lrzsz \
man \
man-pages \
minicom \
ncurses-tools \
vim \
vim-common \
vim-syntax \
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-or-later', '', 'screen', d)} \
"
@@ -0,0 +1,18 @@
#
# Copyright (C) 2013 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-mail definition in
# wrlinux-image.bbclass that may be used to customize an image by
# adding "wr-core-mail" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: mail"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} = " \
postfix \
"
@@ -0,0 +1,29 @@
#
# Copyright (C) 2012-2013 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-net definition in
# wrlinux-image.bbclass that may be used to customize an image by
# adding "wr-core-net" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: net"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r2"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} = " \
avahi-daemon \
bind \
bind-utils \
curl \
s-nail \
msmtp \
openssh-sftp-server \
ppp \
tcpdump \
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-only', '', 'wget', d)} \
"
@@ -0,0 +1,23 @@
#
# Copyright (C) 2012-2013 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-perl definition in
# wrlinux-image.bbclass that may be used to customize an image by
# adding "wr-core-perl" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: perl"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r1"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} = " \
perl \
perl-misc \
perl-modules \
perl-pod \
"
@@ -0,0 +1,22 @@
#
# Copyright (C) 2012-2013 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-python definition in
# wrlinux-image.bbclass that may be used to customize an image by
# adding "wr-core-python" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r1"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} = " \
python3 \
python3-misc \
python3-modules \
"
@@ -0,0 +1,73 @@
#
# Copyright (C) 2012 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-security definition in
# core-image.bbclass that may be used to customize an image by
# adding "wr-core-security" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: security"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "\
file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
"
PR = "r2"
PACKAGES = "${PN}-utils ${PN}-trust \
${PN}-access ${PN}-detection \
${PN}-crypto ${PN}-auth ${PN}"
ALLOW_EMPTY:${PN}-utils = "1"
ALLOW_EMPTY:${PN}-trust = "1"
ALLOW_EMPTY:${PN}-access = "1"
ALLOW_EMPTY:${PN}-detection = "1"
ALLOW_EMPTY:${PN}-crypto = "1"
ALLOW_EMPTY:${PN}-auth = "1"
ALLOW_EMPTY:${PN} = "1"
# afong: These two were originally in the package list, no apps were using them, removed.
# libgssglue
# libmhash
RDEPENDS:${PN} = "\
${PN}-utils \
${PN}-trust \
${PN}-access \
${PN}-detection \
${PN}-crypto \
${PN}-auth \
"
RDEPENDS:${PN}-utils = "\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'integrity-layer', 'keyutils', '', d)} \
nspr \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'security', 'xmlsec1', '', d)} \
"
RDEPENDS:${PN}-trust = "\
gnupg \
"
RDEPENDS:${PN}-access = "\
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit auditd', '', d)} \
"
RDEPENDS:${PN}-detection = "\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'security', 'samhain', '', d)} \
"
RDEPENDS:${PN}-crypto = "\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'security', 'ecryptfs-utils', '', d)} \
gnutls \
nss \
"
RDEPENDS:${PN}-auth = "\
krb5 \
pinentry \
"
# jjmac: (2012.05.17)
# Due back in security-core when package upreves are complete.
# pyetree
@@ -0,0 +1,53 @@
#
# Copyright (C) 2012-2013 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-sys-util definition in
# wrlinux-image.bbclass that may be used to customize an image by
# adding "wr-core-sys-util" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: sys-util"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r4"
ALLOW_EMPTY:${PN} = "1"
STRACE = "strace"
STRACE:riscv32 = ""
RDEPENDS:${PN} = " \
util-linux-fsck \
e2fsprogs-e2fsck \
e2fsprogs-mke2fs \
elfutils \
hdparm \
iproute2 \
iptables \
iputils \
iw \
ldd \
lsof \
lvm2 \
mdadm \
mtd-utils \
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-wheel', '', d)} \
quota \
sdparm \
setserial \
${STRACE} \
usbutils \
watchdog \
wireless-regdb-static \
${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPL-3.0-or-later', '', 'parted', d)} \
"
RRECOMMENDS:${PN} = " \
mtd-utils-jffs2 \
mtd-utils-ubifs \
mtd-utils-misc \
"
RDEPENDS:${PN}:append:x86 = " acpica iasl"
RDEPENDS:${PN}:append:x86-64 = " acpica iasl"
@@ -0,0 +1,21 @@
#
# Copyright (C) 2013 Wind River Systems, Inc.
#
DESCRIPTION = "Trace tools packagegroup extending glibc_std."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PACKAGES = "\
${PN} \
${PN}-dbg \
${PN}-dev \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} = "\
socat \
"
@@ -0,0 +1,30 @@
#
# Copyright (C) 2012-2013 Wind River Systems Inc.
#
# This package matches a FEATURE_PACKAGES_packagegroup-wr-core-util definition in
# wrlinux-image.bbclass that may be used to customize an image by
# adding "wr-core-util" to IMAGE_FEATURES.
#
DESCRIPTION = "Wind River Linux core package group: util"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r3"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} = " \
at \
bzip2 \
cronie \
diffutils \
gzip \
ncurses-terminfo \
tcl \
tzdata \
unzip \
which \
zip \
"