Commit Graph

3456 Commits

Author SHA1 Message Date
Gabriel Valcazar 93a4bd0086 hardknott: busybox: re-use files from poky
Even though our busybox recipe (v1.34.1) is backported from poky's honister
branch, it has many elements in common with the recipe provided from poky's
hardknott branch (v1.33.1). To simplify our backport, re-use poky's busybox
files when possible, replacing them only when strictly necessary.

While at it, remove the busybox-inittab recipe, since there are barely any
differences between the honister and hardknott versions.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar a7f8fe487c hardknott: digi-sc-firmware: update to v1.11.0
This includes NXP's code from the SCFW porting kit v1.11.0

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar d3ec43b3a1 hardknott: imx-vpu-hantro-vc: make package compatible with all i.MX8MP boards
This is a small oversight on NXP's part, because this package is pulled in as a
dependency of imx-vpuwrap, but it's only compatible with their EVK board,
making the build fail on any other i.MX8MP board.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 2079aec5e0 hardknott: cog: remove drm PACKAGECONFIG for ccimx6/ccimx6qp
This PACKAGECONFIG existed in gatesgarth, but it's included by default in
hardknott and it pulls in libgbm as a dependency. This package isn't available
for i.MX6 platforms, causing the build to fail immediately. Remove this from
the ccimx6 PACKAGECONFIG and leave it how it was on gatesgarth.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar f73321ff54 hardknott: dey.conf: explicitly set NXP's forks as the preferred version
For packages such as weston or opencv, bitbake will sometimes choose the poky
recipes, causing build errors. Explicitly set the NXP version of these packages
as the preferred version by mimicking the layer.conf configuration in the
meta-bsp layer of meta-imx.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 54d0d58147 hardknott: imx-boot: adapt patch for latest revision
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar cf38841b02 hardknott: imx-atf: adapt patches to latest revision
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 8db6ddabd7 hardknott: image_types_digi: shorten VFAT label name
It seems like the version of mkfs.vfat used in Yocto 3.3 has a label name
length limit of 11 characters. All of the labels for our current platforms
surpassed this limit ("Boot ccimxX" alone already occupies 11 characters), so
replace the machine name with "DEY"

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar a357f47f3b hardknott: ccimx8x: use both versions of the SECO firmware (B0 and C0)
We lost this logic when migrating to hardknott, so re-incorporate it

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 99a72aa189 hardknott: imx-boot: explicitly set IMX_BOOT_SOC_TARGET and ATF_PLATFORM
These variables were originally set in NXP's recipes, but they moved their
definitions to each platform's configuration file. Set the appropriate values
where needed. While at it, replace every mention of the SOC_TARGET variable
with its new name, IMX_BOOT_SOC_TARGET.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 4d483a665e hardknott: Revert "meta-digi-dey: filter out the weston_9.0.0.imx recipe from meta-freescale"
We now use the meta-freescale recipe as a base for our .bbappend, so remove
the filter.

This reverts commit 9e68d61f7c465800d62913c044e43c541f2eacd7.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 1184f74439 hardknott: meta-digi-arm: filter out imx-atf recipe from meta-freescale
The recipe we ported from meta-imx has the same version number (v2.4) and
bitbake chooses the meta-freescale version because said layer comes before
meta-digi-arm in the BBLAYERS. Since the meta-freescale version uses different
platform overrides, the build fails, so filter it out to use our version
instead.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 45302d67c1 hardknott: networkmanager: adapt patches to v1.30.4
Aside from the file paths changing, there are a few cosmetic differences
between v1.22.14 and v1.30.4 that prevented the patches from applying, so
re-work them.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 52c37a6fe5 hardknott: meta-digi: replace GPL-2.0 license file with GPL-2.0-only
The common license file GPL-2.0 is now called GPL-2.0-only in poky, so we need
to reflect this name change to avoid errors

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 1f2d0b8535 hardknott: packagegroup-dey-core: add firmwared dependency
This is a generic package that is currently being used by NXP to load firmware
on the target, so include it in our images as well. Since it only works with
systemd, leave it out of builds that use sysvinit.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 16e8c39225 hardknott: conf: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Reflect NXP's changes in each platform's MACHINE_FIRMWARE in our layer

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 67995fe118 hardknott: Revert "distro: set GLIBC preferred version to 2.32"
poky now provides glibc v2.33 by default, and there aren't any alternative
versions available, so there's no need for this.

This reverts commit e7921dfd93.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar afa8f8dfd4 hardknott: libical: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Remove the v3.0.8 version of the recipe to use the v3.0.9 recipe in poky. Also,
adapt our .bbappend since some of its changes are outdated.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 74f99d887f hardknott: imx-boot: sync with meta-imx hardknott-5.10.72-2.2.0 branch
NXP now uses the meta-freescale version of the imx-boot recipe as a base, and
applies a .bbappend in meta-imx to apply more customizations. Reflect this
in meta-digi-arm and merge said .bbappend with ours. While at it, omit one of
NXP's operations in their do_deploy, since it breaks our build and doesn't look
essential.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 6e4c9d10cc hardknott: mcore-demos: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Change the recipes' path to align with meta-imx and update said recipes

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar a3c2e95526 hardknott: optee-imx: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update recipes to v3.15.0.imx

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 903e07ff8f hardknott: linux-imx-headers: sync with meta-imx hardknott-5.10.72-2.2.0 branch
For now, port the new content of the v5.10 recipe to our v5.4 recipe.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 641501cc04 hardknott: udev: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update the 10-imx.rules file

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 8844f5eeea hardknott: isp-imx: sync with meta-imx hardknott-5.10.72-2.2.0 branch
These recipes are exclusive to the i.MX8MP, so add them just in case.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 07af2e7561 hardknott: imx-vpu-hantro-vc: sync with meta-imx hardknott-5.10.72-2.2.0 branch
This recipe is only compatible with the i.MX8MP EVK, so it might be
platform-specific or board-specific. Add it for now to be safe.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 4df9da4749 hardknott: imx-vpu-hantro: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v1.24.0 and add new recipe for imx-vpu-hantro-daemon

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar fea55dbad0 hardknott: imx-test: sync with meta-imx hardknott-5.10.72-2.2.0 branch
This recipe was missing from our layer, so add it just in case it's needed
by any new package.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar a3f5249599 hardknott: imx-seco: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v3.8.4

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar b2e49ee896 hardknott: imx-mkimage: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update revision and synchronize recipes

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 4ed89e201a hardknott: imx-atf: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update revision and re-organize platform overrides

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 4b5897b944 hardknott: imx-lib: sync with meta-imx hardknott-5.10.72-2.2.0 branch
This .bbappend is brand new in meta-imx, so add it to our layer

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 3c6c9b82a3 hardknott: firmware-imx: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update the recipes to v8.14. NXP changed the mechanism used to load the sdma
and regulatory firmware (they now use firmwared), so remove our ccimx8mm sdma
fw service for now and see if we need a similar workaround with the new
mechanism.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar d62d022375 hardknott: layer.conf: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Sync the NXP license checksums by removing the outdated ones and adding the
missing ones

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 8d51d35236 hardknott: fsl-eula-unpack: sync with meta-imx hardknott-5.10.72-2.2.0 branch
This .bbclass is outdated and no longer used in any of NXP's recipes, so remove
it

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 046ed3f1f2 hardknott: qt5: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Most of the changes are cosmetic (copyright years and whitespace). Update
gstreamer1.0-plugins-good-qt to v1.18.5, remove outdated patch for said package
and sync qtwayland recipe.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 030fc2a641 hardknott: tinycompress: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add missing patch

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 157db7a51d hardknott: vulkan: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Remove a handful of recipes, add a few new ones and update the remaining ones

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 8c37b83081 hardknott: opencv: sync with meta-imx hardknott-5.10.72-2.2.0 branch
We initially backported v4.5.2.imx into gatesgarth, but since that version is
already available in meta-freescale, remove the base recipe and keep only the
.bbappend.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar ed67e6bc5d hardknott: ml-security: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v1.0.5

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 5c0f92c76c hardknott: pulseaudio: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add custom NXP daemon.conf, new NXP patch and adapt ccimx6ulsbc patch to apply
cleanly over v14.2

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 277a7be7a4 hardknott: recipes-multimedia: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add new recipes for imx8 platforms

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 6425eaaf83 hardknott: imx-vpuwrap: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v4.6.3

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 20a049d78a hardknott: imx-parser: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v4.6.3

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 4018e8ab63 hardknott: imx-codec: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v4.6.3

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar f440a266c2 hardknott: gstreamer-1.0: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v1.18.5 while keeping our modifications

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar bd624bef3f hardknott: alsa-lib: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add alsa-lib modifications

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 3b0cb88c15 hardknott: imx-alsa-plugins: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update branch and copyright years

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar e96e14238c hardknott: xorg-xserver: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Remove v1.20.8 recipe and associated files, update the .bbappend

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar d057886358 hardknott: xorg-driver: sync with meta-imx hardknott-5.10.72-2.2.0 branch
This folder only contained a leftover file, so remove it

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 4a824690cf hardknott: weston: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Sync the .bbappend while keeping our ccimx6 patch and remove the 9.0.0.imx
recipe, since it's already available in meta-freescale.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00