Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
require conf/distro/include/dumpling.inc
|
||||
require conf/distro/include/tq-provider-ls.inc
|
||||
|
||||
DISTRO = "dumpling-ls"
|
||||
DISTRO_NAME = "Dumpling (TQ-Systems Dumpling Distribution) for TQ-Systems Layerscape BSP"
|
||||
@@ -0,0 +1,6 @@
|
||||
require conf/distro/include/dumpling.inc
|
||||
require conf/distro/include/tq-provider-imx.inc
|
||||
|
||||
DISTRO = "dumpling-wayland-nxp"
|
||||
DISTRO_NAME = "Dumpling Wayland (TQ-Systems Dumpling Wayland Distribution)"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
require conf/distro/include/dumpling.inc
|
||||
require conf/distro/include/tq-provider-ti.inc
|
||||
|
||||
DISTRO = "dumpling-wayland-ti"
|
||||
DISTRO_NAME = "Dumpling Wayland (TQ-Systems Dumpling Wayland Distribution for TI BSP)"
|
||||
@@ -0,0 +1,5 @@
|
||||
require conf/distro/include/dumpling.inc
|
||||
require conf/distro/include/tq-provider-mainline.inc
|
||||
|
||||
DISTRO = "dumpling-wayland"
|
||||
DISTRO_NAME = "Dumpling Wayland (TQ-Systems Dumpling Wayland Distribution)"
|
||||
@@ -0,0 +1,44 @@
|
||||
require conf/distro/poky.conf
|
||||
require tq-common.inc
|
||||
|
||||
DISTRO_SHORT_NAME = "dumpling"
|
||||
DISTRO_FEATURES_DEFAULT:remove = "argp irda pcmcia zeroconf x11"
|
||||
DISTRO_FEATURES = "${DISTRO_FEATURES_DEFAULT}"
|
||||
DISTRO_FEATURES += "npu"
|
||||
DISTRO_FEATURES += "opengl"
|
||||
DISTRO_FEATURES += "pam"
|
||||
DISTRO_FEATURES += "ppp"
|
||||
DISTRO_FEATURES += "vulkan"
|
||||
DISTRO_FEATURES += "wayland"
|
||||
DISTRO_FEATURES += "wifi"
|
||||
|
||||
# add some locales per default
|
||||
IMAGE_LINGUAS:append = " de-de en-us"
|
||||
|
||||
# point some runtime providers to full fledged packages
|
||||
PREFERRED_PROVIDER_virtual/base-utils = "packagegroup-core-base-utils"
|
||||
VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
|
||||
VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
|
||||
VIRTUAL-RUNTIME_base-utils-lscpu = "util-linux-lscpu"
|
||||
|
||||
# strip some unused stuff to lower dependencies, work in progress:
|
||||
|
||||
# we do not have firewire support
|
||||
PACKAGECONFIG_pn_gstreamer1.0-plugin-good:remove = "dv1394"
|
||||
# at the moment gtk is not used
|
||||
PACKAGECONFIG_pn_gstreamer1.0-plugin-good:remove = "gtk"
|
||||
|
||||
# Conflicts with systemd-networkd
|
||||
SYSTEMD_AUTO_ENABLE:dhcpcd = "disable"
|
||||
|
||||
# TODO: cairo and gdk-pixbuf are default on - if not gstreamer dependencies
|
||||
# can be removed.
|
||||
|
||||
# this is needed for FIT image signature generation
|
||||
# to actually enable signature generation, you must add
|
||||
# UBOOT_SIGN_ENABLE = "1"
|
||||
# to your local.conf
|
||||
|
||||
UBOOT_SIGN_KEYDIR ?= "${DUMPLING_LAYERDIR}/files/keys/u-boot"
|
||||
UBOOT_SIGN_KEYNAME ?= "dev"
|
||||
UBOOT_MKIMAGE_DTCOPTS = "--in-format dts --out-format dtb"
|
||||
129
sources/meta-tq/meta-dumpling/conf/distro/include/spaetzle.inc
Normal file
129
sources/meta-tq/meta-dumpling/conf/distro/include/spaetzle.inc
Normal file
@@ -0,0 +1,129 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2024 TQ-Systems GmbH <oss@ew.tq-group.com>, D-82229 Seefeld, Germany.
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Shared distribution definitions for spaetzle and derived distros
|
||||
#
|
||||
# Based on poky-tiny.conf from meta-poky to circumvent hard assignments:
|
||||
# PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
|
||||
# IMAGE_FSTYPES = "cpio.gz"
|
||||
#
|
||||
# This file needs to evaluated at updates of the distro definitions in poky
|
||||
###############################################################################
|
||||
|
||||
|
||||
# based on conf/distro/poky-tiny.conf:
|
||||
|
||||
require conf/distro/poky.conf
|
||||
require conf/distro/include/gcsections.inc
|
||||
|
||||
DISTRO ?= "spaetzle"
|
||||
DISTRO_NAME ?= "Spaetzle (TQ-Systems GmbH Spaetzle - a tiny example distribution)"
|
||||
# This is needed for branding 'etc/issue[.net]' (figlet ascii graphics in recipe base-files)
|
||||
DISTRO_SHORT_NAME = "spaetzle"
|
||||
DISTROOVERRIDES = "poky:spaetzle"
|
||||
TCLIBC = "musl"
|
||||
# musl libc does not work for PowerPC E5500 cores with 64 Bit mode. Build with glibc
|
||||
# instead. See
|
||||
# https://git.musl-libc.org/cgit/musl/tree/src/setjmp/powerpc64/setjmp.s#n74
|
||||
# https://git.musl-libc.org/cgit/musl/commit/?id=7be59733d71ada3a32a98622507399253f1d5e48
|
||||
TCLIBC:e5500-64b = "glibc"
|
||||
|
||||
FULL_OPTIMIZATION="-Os -pipe ${DEBUG_FLAGS}"
|
||||
|
||||
# do not overwrite the kernel provider and version here
|
||||
|
||||
# empty this to prevent packages slipping in from poky
|
||||
POKY_DEFAULT_EXTRA_RRECOMMENDS = ""
|
||||
|
||||
# This is already set by poky
|
||||
# TCLIBCAPPEND = ""
|
||||
|
||||
# as log as we do not use ncurses we do not care for wide character support
|
||||
# ENABLE_WIDEC = "false"
|
||||
# ENABLE_WIDEC:class-native = "true"
|
||||
|
||||
# Drop native language support. This removes the
|
||||
# eglibc->bash->gettext->libc-posix-clang-wchar dependency.
|
||||
USE_NLS = "no"
|
||||
# As we don't have native language support, don't install locales into images
|
||||
IMAGE_LINGUAS = ""
|
||||
|
||||
# Define a small set of distro features. A sane base is ext2 and pci
|
||||
DISTRO_FEATURES = "ext2 pci"
|
||||
# basic network support
|
||||
DISTRO_FEATURES += "ipv4 ipv6"
|
||||
# usb support
|
||||
DISTRO_FEATURES += "usbhost"
|
||||
|
||||
# Make sure we have sysvinit in the list. Needed to get tasks injected by
|
||||
# update-rc.d.bbclass. This will bring in the initscripts from different
|
||||
# packages
|
||||
DISTRO_FEATURES:append = " sysvinit"
|
||||
|
||||
# add a new "tiny" feature, maybe this will be supported in OE core in future, too
|
||||
# this will give a chance to select / unselect in packagegroups and the like.
|
||||
DISTRO_FEATURES += " tiny"
|
||||
|
||||
# The following features are not enabled, mostly for their dependencies
|
||||
# that usually cause increase of rootfs size
|
||||
# * alsa
|
||||
# * usbgadget
|
||||
# * wifi
|
||||
# * bluetooth
|
||||
|
||||
DISTRO_FEATURES:class-native = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
|
||||
DISTRO_FEATURES:class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
|
||||
|
||||
# FIXME: Consider adding "modules" to MACHINE_FEATURES and using that in
|
||||
# packagegroup-core-base to select modutils-initscripts or not. Similar with "net" and
|
||||
# netbase.
|
||||
|
||||
# do not overwrite the IMAGE_FSTYPES list here
|
||||
|
||||
# do not overwrite MACHINE_ESSENTIAL_EXTRA_RDEPENDS list here
|
||||
|
||||
# We have some images that can't be built with spaetzle
|
||||
SKIP_RECIPE[build-appliance-image] = "not buildable with spaetzle"
|
||||
SKIP_RECIPE[core-image-rt] = "not buildable with spaetzle"
|
||||
SKIP_RECIPE[core-image-rt-sdk] = "not buildable with spaetzle"
|
||||
SKIP_RECIPE[core-image-sato] = "not buildable with spaetzle"
|
||||
SKIP_RECIPE[core-image-sato-dev] = "not buildable with spaetzle"
|
||||
SKIP_RECIPE[core-image-sato-sdk] = "not buildable with spaetzle"
|
||||
SKIP_RECIPE[core-image-x11] = "not buildable with spaetzle"
|
||||
SKIP_RECIPE[core-image-weston] = "not buildable with spaetzle"
|
||||
|
||||
SKIP_RECIPE[tq-image-generic] = "not buildable with spaetzle: use tq-image-small"
|
||||
SKIP_RECIPE[tq-image-weston] = "not buildable with spaetzle: use tq-image-small"
|
||||
SKIP_RECIPE[tq-image-qt6] = "not buildable with spaetzle: use tq-image-small"
|
||||
|
||||
# Disable python usage in opkg-utils since it won't build with tiny config
|
||||
PACKAGECONFIG:remove:pn-opkg-utils = "python"
|
||||
|
||||
require conf/distro/include/tq-common.inc
|
||||
|
||||
# tinification of tq-common.inc (mostly similar to init-manager-mdev-busybox.inc).
|
||||
# start with default ...
|
||||
INIT_MANAGER = "none"
|
||||
# some modification of settings from INIT_MANAGER = "mdev-busybox"
|
||||
# force removal of systemd from DISTRO_FEATURES
|
||||
# take care when updating yocto, at the moment sysvinit must not be removed,
|
||||
# see above
|
||||
DISTRO_FEATURES_BACKFILL_CONSIDERED:append = " systemd"
|
||||
VIRTUAL-RUNTIME_dev_manager = "eudev"
|
||||
VIRTUAL-RUNTIME_login_manager = "busybox"
|
||||
VIRTUAL-RUNTIME_init_manager = "busybox"
|
||||
VIRTUAL-RUNTIME_initscripts = "initscripts"
|
||||
VIRTUAL-RUNTIME_keymaps = "keymaps"
|
||||
|
||||
# include additional udev rules for eudev
|
||||
DISTRO_EXTRA_RDEPENDS += "tq-udev-rules"
|
||||
|
||||
# point some runtime providers to busybox
|
||||
PREFERRED_PROVIDER_virtual/base-utils = "busybox"
|
||||
VIRTUAL-RUNTIME_base-utils = "busybox"
|
||||
VIRTUAL-RUNTIME_base-utils-hwclock = "busybox-hwclock"
|
||||
|
||||
IMAGE_FSTYPES += "${@bb.utils.contains('MACHINE_FEATURES', 'ubi', 'ubi', '', d)}"
|
||||
@@ -0,0 +1,92 @@
|
||||
VENDOR_SHORT_NAME = "tq"
|
||||
VENDOR_LONG_NAME = "TQ-Systems"
|
||||
TARGET_VENDOR = "-${VENDOR_SHORT_NAME}"
|
||||
# should be set to a useful name as soon as we want to go away from
|
||||
# poky/meta-poky/conf/distro/poky.conf
|
||||
DISTRO_VERSION ??= "${VENDOR_SHORT_NAME}.0.1"
|
||||
|
||||
# The bundle version interacts with the downgrade barrier.
|
||||
# "r0" as version, disables the downgrade barrier. If a
|
||||
# downgrade barrier is set with r1, you have to increase
|
||||
# the version for every update. In that way old security
|
||||
# vulnerabilities cannot be exploited.
|
||||
RAUC_BUNDLE_VERSION ?= "r0"
|
||||
|
||||
SKIP_RECIPE[rauc-conf] = "replaced with tq-rauc-conf"
|
||||
|
||||
# RAUC example key - located under (and used by recipes in) dynamic-layers/rauc
|
||||
RAUC_KEYRING_FILE ?= "example.cert.pem"
|
||||
RAUC_CERT_FILE ?= "example.cert.pem"
|
||||
RAUC_KEY_FILE ?= "example.key.pem"
|
||||
|
||||
# RAUC upgrades are possible between images that use the same
|
||||
# `RAUC_BUNDLE_COMPATIBLE`. The reference distros in meta-dumpling always use
|
||||
# "dumpling-${MACHINE}", so upgrades between dumpling and spaetzle are supported.
|
||||
RAUC_BUNDLE_COMPATIBLE ?= "dumpling-${MACHINE}"
|
||||
|
||||
SDK_VENDOR = "-${VENDOR_SHORT_NAME}sdk"
|
||||
SDK_VERSION := "${DISTRO_VERSION}"
|
||||
SDK_NAME = "${VENDOR_SHORT_NAME}-${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
|
||||
SDKPATH = "/opt/${VENDOR_SHORT_NAME}-${DISTRO}/${SDK_VERSION}"
|
||||
|
||||
# include the config checker
|
||||
INHERIT += "sanity"
|
||||
|
||||
# run QA tests
|
||||
INHERIT += "insane"
|
||||
QA_LOG = "1"
|
||||
|
||||
# generate 'etc/buildinfo' in image and in 'DEPLOY_DIR_IMAGE' folder
|
||||
INHERIT += "tq-buildinfo"
|
||||
|
||||
DISTRO_EXTRA_RDEPENDS += "os-release u-boot-env-tq"
|
||||
DISTRO_EXTRA_RRECOMMENDS += " \
|
||||
zstd \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'rauc', 'tq-mount-data', '', d)} \
|
||||
"
|
||||
|
||||
# listed checks from ERROR_QA to WARN_QA (from insane.bbclass)
|
||||
ERROR_TO_WARN_QA = "version-going-backwards"
|
||||
|
||||
INIT_MANAGER = "systemd"
|
||||
|
||||
# home for root is '/root' and nothing else
|
||||
ROOT_HOME ?= "/root"
|
||||
|
||||
#
|
||||
# busybox has prio 50 per default, inetutils has 79
|
||||
# ping from iputils should have same features as full featured
|
||||
# busybox ping and has priority of 100
|
||||
# to prevent installing a crippled ping, decrease prio for inetutils
|
||||
# implementation, so that we have
|
||||
# inetutils.ping < busybox.ping < iputils.ping
|
||||
#
|
||||
ALTERNATIVE_PRIORITY_inetutils-ping[ping] = "27"
|
||||
ALTERNATIVE_PRIORITY_inetutils-ping6[ping6] = "27"
|
||||
|
||||
ALTERNATIVE_PRIORITY_busybox-sysctl[sysctl] = "27"
|
||||
|
||||
# Set a more generic tuning for code reuse across parts.
|
||||
# The machine definitions should include the best available
|
||||
# tune flavour. Therefore 'DEFAULTTUNE' may already have been
|
||||
# assigned by the mentioned tuning include.
|
||||
# Hence we cannot use a default assignment here but reassign.
|
||||
DEFAULTTUNE:am62xx = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:am64xx = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:am65xx = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:j722s = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:ls1012a = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:ls1028a = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:ls1043a = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:ls1046a = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:ls1088a = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:lx2160a = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx8-generic-bsp = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx8m-generic-bsp = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx8qm-generic-bsp = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx8x-generic-bsp = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx8ulp-generic-bsp = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx9-generic-bsp = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx91-generic-bsp = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx93-generic-bsp = "armv8a-crc-crypto"
|
||||
DEFAULTTUNE:mx95-generic-bsp = "armv8a-crc-crypto"
|
||||
@@ -0,0 +1,17 @@
|
||||
# This file is used for all distro configs based on imx / fslc-imx kernel and
|
||||
# vendor software stacks. To make it usable also with distros based on
|
||||
# poky-tiny we need to add a specific PREFERRED_PROVIDER for virtual/kernel
|
||||
# since poky-tiny has a hard assignment for linux-yocto-tiny
|
||||
|
||||
# variable from meta-freescale
|
||||
# TODO: QORIQ_DEFAULT_BSP
|
||||
IMX_DEFAULT_BSP = "nxp"
|
||||
IMX_DEFAULT_KERNEL = "linux-imx-tq"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-imx-tq"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-imx-tq"
|
||||
|
||||
# machine without drm/kms in fslc BSP have no libgbm
|
||||
PREFERRED_PROVIDER_virtual/libgbm = ""
|
||||
PREFERRED_PROVIDER_virtual/libgbm:mx8-nxp-bsp = "imx-gpu-viv"
|
||||
@@ -0,0 +1,8 @@
|
||||
PREFERRED_PROVIDER_virtual/kernel:tqmls1012al ?= "linux-imx-tq"
|
||||
PREFERRED_PROVIDER_virtual/kernel:tqmls1028a ?= "linux-imx-tq"
|
||||
PREFERRED_PROVIDER_virtual/kernel:tqmls10xxa ?= "linux-tq"
|
||||
PREFERRED_PROVIDER_virtual/kernel:tqmlx2160a ?= "linux-tq"
|
||||
PREFERRED_PROVIDER_virtual/kernel:tqmt10xx ?= "linux-tqmt"
|
||||
|
||||
QORIQ_DEFAULT_BSP:tqmls102xa = "mainline"
|
||||
QORIQ_DEFAULT_BSP:tqmls1028a = "mainline"
|
||||
@@ -0,0 +1,16 @@
|
||||
# This file is used for all distro configs based on mainline kernel and / or
|
||||
# mainline software stacks. To make it usable also with distros based on
|
||||
# poky-tiny we need to add a specific PREFERRED_PROVIDER for virtual/kernel
|
||||
# since poky-tiny has a hard assignment for linux-yocto-tiny
|
||||
|
||||
# set for meta-freescale to enforce mainline kernel / graphic stack
|
||||
IMX_DEFAULT_BSP = "mainline"
|
||||
DISTRO_FEATURES += "tq-mainline"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-tq"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/egl = "mesa"
|
||||
PREFERRED_PROVIDER_virtual/libgl = "mesa"
|
||||
PREFERRED_PROVIDER_virtual/libgles1 = "mesa"
|
||||
PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
|
||||
PREFERRED_PROVIDER_virtual/libgbm = "mesa"
|
||||
@@ -0,0 +1,2 @@
|
||||
# Workaround for incorrect SIGGEN_EXCLUDERECIPES_ABISAFE in meta-ti
|
||||
SIGGEN_EXCLUDERECIPES_ABISAFE:remove = "mesa-pvr"
|
||||
@@ -0,0 +1,5 @@
|
||||
require conf/distro/include/spaetzle.inc
|
||||
require conf/distro/include/tq-provider-ls.inc
|
||||
|
||||
DISTRO = "spaetzle-ls"
|
||||
DISTRO_NAME = "Spaetzle (TQ-Systems Spaetzle Distribution) for TQ-Systems Layerscape BSP"
|
||||
@@ -0,0 +1,5 @@
|
||||
require conf/distro/include/spaetzle.inc
|
||||
require conf/distro/include/tq-provider-imx.inc
|
||||
|
||||
DISTRO = "spaetzle-nxp"
|
||||
DISTRO_NAME = "Spaetzle (TQ-Systems Spaetzle Distribution) for NXP BSP"
|
||||
@@ -0,0 +1,5 @@
|
||||
require conf/distro/include/spaetzle.inc
|
||||
require conf/distro/include/tq-provider-ti.inc
|
||||
|
||||
DISTRO = "spaetzle-ti"
|
||||
DISTRO_NAME = "Spaetzle (TQ-Systems Spaetzle Distribution) for TI BSP"
|
||||
5
sources/meta-tq/meta-dumpling/conf/distro/spaetzle.conf
Normal file
5
sources/meta-tq/meta-dumpling/conf/distro/spaetzle.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
require conf/distro/include/spaetzle.inc
|
||||
require conf/distro/include/tq-provider-mainline.inc
|
||||
|
||||
DISTRO = "spaetzle"
|
||||
DISTRO_NAME = "Spaetzle (TQ-Systems Spaetzle Distribution)"
|
||||
Reference in New Issue
Block a user