In preparation for supporting falcon boot, we are globally moving all k3
memory locations for TFA. Trying to do this platform by platform and
only for falcon builds was proving to be onerous, so it was decide to
just move it for all Yocto builds.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Normally, bitbake.conf exludes the default DEPLOY_DIR path (which
is under TMPDIR) from getting into task signatures. In our case
we have 2 separate TMPDIRs for multiconfig, but need to share
images and SDKs across them. Hence we setup TI_COMMON_DEPLOY
outside of TMPDIRs for images and SDKs, but keep the default
DEPLOY_DIR inside multiconfig-specific TMPDIR for everything
else, like packages, licenses, SBOMs, etc. To prevent its path
from getting into task signatures for better sstate re-use, need
to add TI_COMMON_DEPLOY to the list of ignored variables.
Signed-off-by: Denys Dmytriyenko (TI) <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Configure PipeWire metadata to statically initialize default audio
targets sink and source at daemon startup, by leveraging WirePlumber's
find-selected-default-node hook priority.
Also update audio format to 16-bit signed little-endian and
audio position for AM62d.
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
NOTE: A mistake on the maintainers part left these files off of the
original commit. This patch is just adding the missing files.
Add an optional dynamic layer enabling dm-verity block-level integrity
verification of the root filesystem for TI K3 platforms, using
meta-security's stock dm-verity mechanism as-is. Requires meta-security
to be present in bblayers.conf.
dm-verity hashes the rootfs at build time; at boot, a dedicated
initramfs loads the root hash and the kernel checks every block read
against it. Set DM_VERITY_IMAGE to enable all the verity-related
recipes for that image; other images build as usual.
Signed-off-by: Atharv Dubey <a-dubey@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Add dm-verity support to ti-core-initramfs by:
- Enabling dm-verity modules and tools (cryptsetup, util-linux-mount) when DM_VERITY_IMAGE is set
- Adding do_rootfs[nostamp] and do_image[nostamp] to rebuild initramfs after rootfs verity task completes
- Making deploy_verity_hash gracefully handle missing .verity.env file on first pass with bbwarn
Signed-off-by: Atharv Dubey <a-dubey@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Add a kernel config fragment enabling dm-verity and its crypto
dependencies (CONFIG_DM_VERITY, CONFIG_DM_CRYPT, CONFIG_BLK_DEV_DM).
Applied via KERNEL_CONFIG_FRAGMENTS, which setup-defconfig.inc reads
and merges directly through merge_config.sh.
Gated on DM_VERITY_IMAGE being set, matching the rest of the dm-verity
dynamic layer.
Signed-off-by: Atharv Dubey <a-dubey@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Add an optional dynamic layer enabling dm-verity block-level integrity
verification of the root filesystem for TI K3 platforms, using
meta-security's stock dm-verity mechanism as-is. Requires meta-security
to be present in bblayers.conf.
dm-verity hashes the rootfs at build time; at boot, a dedicated
initramfs loads the root hash and the kernel checks every block read
against it. Set DM_VERITY_IMAGE to enable all the verity-related
recipes for that image; other images build as usual.
Signed-off-by: Atharv Dubey <a-dubey@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Any automated test for the HW accelerated video codecs require gstreamer
to build the pipelines and handle passing data to the driver. Add these
requirements to the ti-test-multimedia packagegroup.
Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Set dsp_edgeai_c7x_1_release_strip.out as the default C7x firmware for
AM62d to support EdgeAI and DSP based audio pipeline.
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
New features added require another increase to max_leb_cnt
Signed-off-by: Mahammed Sadik Shaik <s-sadik@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Add multimedia-layer to the recommended layers and configure dynamic
layer support.
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Extend the PipeWire recipe to add platform-specific ALSA configuration.
Add sink and source configuration for 8-channel audio playback and
capture on the AM62D2EVM as the default configuration is 2-channel.
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Backport a set of kernel patches to 6.6 to fix the OpenSSL build
failures.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Given that we are only including libclc for our mesa-pvr recipes, we
need to lock down the version to a known working version to avoid the
llvm version changes from causing build failures.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Commit 7e696b1fa0 ("makedepend: remove recipe") removed the recipe from
oe-core. Makedepend was removed from mesa already in version 9.1.
Follow oe-core and remove the makedepend dependency from mesa-pvr.
Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
While all ARM64 devices use the same branch for RT and non-RT builds,
the ARM32 devices have a separate branch for RT Kernel which is
"ti-rt-linux-6.18.y-arm32". Update the BRANCH, SRCREV and PV for ARM32
devices for RT builds.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Since we imported the recipe without changes, we should not enforce our
rules on the recipe. Add the needed skip settings in the json file.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
A recent change in OE-Core kernel-devicetree.bbclass [1] changed appending
code for devicetree from exported do_*() functions to :append to their
unexported kernel_do_*() variant. But our copy of kernel_legacyhs.bbclass
doesn't define those, using kernel_legacyhs_do_*() names instead, due to
how function exporting works using the class name as a prefix.
In order to unreak devicetree building/installing, we need to provide
empty stubs for kernel_do_*() functions for the :append to work and
then call then at the end of our respective kernel_legacyhs_do_*()
functions.
[1] https://git.openembedded.org/openembedded-core/commit/?id=350281188267d0ad7c7e44a6ae3990edcfbe0300
Signed-off-by: Denys Dmytriyenko (TI) <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>