Commit Graph

414 Commits

Author SHA1 Message Date
Arturo Buzarra de3ba53ef3 meta-digi: update revisions for dey-4.0-r2.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-03-08 18:58:58 +01:00
Arturo Buzarra aae03774ab Merge branch 'dey-4.0/master' into dey-4.0/maint 2023-02-27 16:34:53 +01:00
Javier Viguera ad788b1d32 linux-dey: do not generate symbols on ccimx6ul dtbs
Symbols are needed for DTB overlays. In the CC6UL we are not using
overlays, so disable symbols generation.

https://onedigi.atlassian.net/browse/DEL-8397

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-24 15:50:08 +01:00
Javier Viguera f8d5d63fcd linux-dey: add ccimx8m compatibility with kernel version 5.15
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 10:45:53 +01:00
Mike Engel 385884473e linux: update kernel master version
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-12-22 09:28:21 +01:00
Javier Viguera 84aaa4e4e6 linux-dey: use branch v5.15.71/nxp/master for NXP based platforms
Also enable recipe for ccimx93, and pass the correct DTC flags to create
overlays capable DTBs.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Arturo Buzarra 93a4dd2db5 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-29 16:35:27 +01:00
Arturo Buzarra 2ca5dfe31e meta-digi: update revisions for dey-4.0-r1.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-29 16:34:56 +01:00
Arturo Buzarra 0efbb07107 meta-digi: branch to dey-4.0/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-21 17:44:48 +01:00
Javier Viguera df572d0ef3 meta-digi: delete linux 5.4 recipe
No supported platform is using kernel version 5.4.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-08 14:20:51 +01:00
Isaac Hermida c7f2960b4e meta-digi: revert revisions to AUTOREV
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-11-04 12:38:21 +01:00
Isaac Hermida dad34f1006 meta-digi: update revisions for dey-4.0-r1.1
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-11-03 18:21:46 +01:00
Javier Viguera 46150cf07e linux-dey: use branch v5.15.52/nxp/master
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-13 18:16:07 +02:00
Isaac Hermida 877e501076 meta-digi: revert revisions to AUTOREV
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-10-04 17:03:57 +02:00
Isaac Hermida 5209a3db06 meta-digi: update revisions for dey-4.0-r1.beta2
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-10-04 14:26:53 +02:00
Arturo Buzarra 0380161f02 meta-digi: generalize recipes to support ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Javier Viguera cbed92ccbb linux-dey: add SRCREV override for STM platforms
For development this would not be needed as it points to AUTOREV, but
for releases we need to specify the SHA1 revision, and this recipe
builds two different branches (for NXP and STM platforms), so we need a
place to define two different revisions.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-07 18:32:33 +02:00
Javier Viguera f5964b0f97 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-02 17:37:46 +02:00
Javier Viguera 33c7d69b3e meta-digi: update revisions for dey-4.0-r1.beta1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-02 17:34:14 +02:00
Javier Viguera cea7ab0501 linux-dey: move SRCREV to actual versioned recipes
The SRCREV may change depending on the version of the kernel, so it
cannot be a common variable for all kernel versions.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 18:04:52 +02:00
Javier Viguera 34e90d6d72 linux-dey: remove 5.10 recipe
No platform is using this version of the kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 18:04:22 +02:00
Javier Viguera b00450d8dd linux-dey: get rid of LOG kernel mirror
Use the canonical Stash repository to avoid synchronization problems
between the repo and the mirror.

Moreover the LOG mirror is hosted in an old VM machine with limited
specs, and although the transfer of the objects is faster, the counting
of the objects to transfer (which is done in the server) takes ages to
complete, so at the end, there is no time gain using the mirror.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 18:03:52 +02:00
Javier Viguera 482339617b linux-dey: fix kernel build configuration
Commit 8cba3aaefb in 'meta-freescale' changed the kernel_localversion
function we are using in our kernel recipe. This leads to a not-properly
configured kernel build, where CONFIG_MODULES is disabled. That
config option is needed to build external kernel modules in other
recipes, so those recipes (kernel-module-qualcomm, cryptodev-module,
etc) fail to build.

The commit makes sure the kernel is properly configured for building by
extending the do_configure function in a "prepend".

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-08 15:36:25 +02:00
Javier Viguera 3c554bbbc2 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-21 15:49:22 +02:00
Javier Viguera 29124cd33f meta-digi: update revisions for dey-4.0-r1.alpha1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-21 15:49:22 +02:00
Javier Viguera 90b3c244da meta-digi: do not install kernel image in rootfs
It's just a waste of space as we already have the kernel image in the
'linux' partition and that gets mounted under /mnt/linux.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-08 13:23:58 +02:00
Arturo Buzarra 9a2eb7ea5f linux-dey: add ConnectCore MP15 support to kernel v5.15
https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-04 16:56:41 +02:00
Javier Viguera f0b72732fe linux-dey: add recipe for kernel 5.15 (at the moment only for ccimx6ul)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:52:48 +02:00
Javier Viguera 8d123d7451 kirkstone migration: delete deprecated or duplicated recipes
Remove deprecated versions of recipes updated in other general layers
(poky, meta-openembedded). Also remove duplicated IMX specific recipes that
are available in other BSP layers (meta-freescale, meta-fsl-demos, etc).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:49:56 +02:00
Javier Viguera 2452e85a6b kirkstone migration: cosmetic, clean build warnings
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:49:56 +02:00
Javier Viguera 065cf3e9c4 kirkstone migration: general update to the new override syntax
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-20 11:39:57 +02:00
Arturo Buzarra 602b884717 linux-dey: fix deploy folder for STM platforms
This commit avoids creating a subfolder for the kernel artifacts, to homogenize
it with the NXP platforms and avoid using custom recipes for the result
artifacts.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:01:08 +02:00
Mike Engel 23d307ca58 linux: move defconfig build commands to kernel common recipe
This commit moves Kernel defconfig build commands into the Linux
common recipe.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 652341f3b1 linux: fix some build issues and update copyright date
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 93d956032a linux-fslc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 1546a79981 linux: add CCMP15 support to build kernel
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel d78d601841 linux: move Trustfence signing into include file to be used by different kernel versions
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Gabriel Valcazar 54ddb775c4 trustfence-sign-artifact.sh: remove CONFIG_SIGN_MODE as a mandatory parameter
The sign mode needed for each platform is invariable, and since the platform
is already a mandatory parameter for the script, we can store this information
implicitly. Reflect this change in every recipe where the script is used, but
keep the variable at the Yocto level since it's still needed in several places.

https://onedigi.atlassian.net/browse/DEL-7862

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-03-22 12:47:32 +01:00
Javier Viguera faef4f90d9 linux-dey: rename branch for NXP supported platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-22 10:19:49 +01:00
Javier Viguera 946c2fe6cf linux-dey: add recipe for kernel 5.10 (at the moment only for ccimx8mp)
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-03 12:00:26 +01:00
Javier Viguera b6137c5d5e linux-dey: move the version specific info to the proper bitbake recipes
The license checksum and the source branch should be on the properly
versioned bitbake recipes. Otherwise, when we include this common file
in a different version linux recipe (for example, the upcoming 5.10) it
will inherit incorrect values.

While on it, fix the incorrect license checksum values for the linux 5.4
recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-02 10:34:33 +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
Hector Palacios 2e35d16e03 linux-dey: fix apply of kernel configuration fragments
- Add the '-m' parameter. Without it, the script doesn't
  generate the output merged configuration file, and the
  fragments are not applied.
- Fix the if condition. The '*.cfg' expands to a list of
  files, but the '-f' only admits one parameter. Use instead
  the Python find_cfgs() function.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-10-15 19:14:27 +02:00
Gabriel Valcazar 32a39c7910 linux-dey: add support for configuration fragments
This allows users to apply small changes to our kernel configuration without
having to create a completely new defconfig. Use a simplified version of the
kernel-yocto.bbclass implementation.

https://onedigi.atlassian.net/browse/DEL-6706

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-09-15 10:16:28 +02:00
Hector Palacios c33fc8a7fe uboot/linux: fix build from internal MTK Digi git server
Enabling DIGI_INTERNAL_GIT defaults to LOG server. The build from local
MTK Digi server was broken.

Fix uboot and linux recipes declaring different repo paths depending on
whether the local remote is LOG or MTK.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-09-09 17:38:44 +02:00
Hector Palacios 9352fc1395 digi: [cosmetic] remove final slash from Digi remotes and move it to recipes
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-09-07 11:01:29 +02:00
Arturo Buzarra 526a0fbcc6 gatesgarth migration: linux-dey: fix do_kernel_localversion() task dependency
Commit ffeb0556("classes: fsl-kernel-localversion: Fix task dependency") in
meta-freescale layer fixes a task dependency issue, so do_preconfigure() was
renamed to do_kernel_localversion().

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Mike Engel fa801e1e9f linux: Update kernel sources to new master
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 16:25:07 +01:00
Hector Bujanda b0e535b28c change recipes to build from 'master' branches
Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2021-01-26 11:51:11 +01:00
Arturo Buzarra 61497fb2dd meta-digi: revert revisions to AUTOREV
This reverts commit bc843e239d.
2021-01-21 12:57:49 +01:00