Commit Graph

113 Commits

Author SHA1 Message Date
Mr Jenkins a4ab48c63e meta-netmodule-bsp: updated source revisions 2023-12-27 20:36:58 +01:00
Mr Jenkins a3e87ec6d9 meta-netmodule-bsp: updated source revisions 2023-12-14 10:32:44 +01:00
Mr Jenkins 7cad5c1048 meta-netmodule-bsp: updated source revisions 2023-12-13 11:09:21 +01:00
Mr Jenkins 65b0b8f377 meta-netmodule-bsp: updated source revisions 2023-03-25 20:49:28 +01:00
Mr Jenkins 25003ce8e1 meta-netmodule-bsp: updated source revisions 2023-03-10 10:59:22 +01:00
Mr Jenkins cacadef098 meta-netmodule-bsp: updated source revisions 2023-03-06 13:57:19 +01:00
Mr Jenkins 335e778fed meta-netmodule-bsp: updated source revisions 2023-02-06 16:35:25 +01:00
Mr Jenkins fc29da1d42 meta-netmodule-bsp: updated source revisions 2023-01-20 22:03:46 +01:00
Mr Jenkins 1f8c466f7d meta-netmodule-bsp: updated source revisions 2022-11-25 11:19:51 +01:00
Alexandre Bard 34bdf31db0 ssf: sysstate module: Remove SSC_KBUILD_EXTRA_SYMBOLS variable
It is suspected that having this variable containing a local path is the
reason why when building from sstate, the kernel sometimes need to be
rebuild.

BugzID: 80858
2022-08-04 10:55:51 +02:00
Marc Mattmueller 38d78f2ba0 linux-netmodule kernel: set default URL to public GitLab
BugzID: 80085
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-07-28 11:28:50 +02:00
Mr Jenkins 87cf99189d meta-netmodule-bsp: updated source revisions 2022-06-28 09:17:53 +02:00
Alexandre Bard 3dba18ccfc netmodule-fitimage: Fix deployment when building from sstate
Deploying directly the DEPLOY_DIR_IMAGE bypasses the shared state
mechanism implemented in the deploy class, leading to the image not
being properly deployed when building entirely from sstate.

BugzID: 80331
2022-06-24 16:02:36 +02:00
Mr Jenkins 886811e338 meta-netmodule-bsp: updated source revisions 2022-06-20 09:01:42 +02:00
Mr Jenkins 5bb784bd38 meta-netmodule-bsp: updated source revisions 2022-06-14 08:17:40 +02:00
Alexandre Bard 50916d798c kernel-modules: Build them for architecture and not MACHINE
As for the kernel, we don't need to build them for every MACHINE and
will save some build time when building them only once per architecture.

BugzID: 80015
2022-06-09 12:11:39 +02:00
Alexandre Bard dae3c027be recipes-kernel: Build kernel tools for architecture and not machine
As explained in the comments, in yocto the kernel is expected to be
built for each MACHINE and not for each architecture as we do.

Therefor all tools related to kernel must also be adapted.

BugzID: 80015
2022-06-09 12:11:39 +02:00
Alexandre Bard 43dd045696 linux-netmodule: Remove latest dependencies to MACHINE variable
These dependencies lead to a partial rebuild of the kernel when
switching machine, even where they are actually using the exact same
kernel sources and config.

BugzID: 80015
2022-06-09 12:11:18 +02:00
Alexandre Bard ee9b13081b recipes-kernel: Reorganize directory
Grouping all system state framework modules into one directory and all
other modules together.

BugzID: 80015
2022-06-09 12:11:00 +02:00
Alexandre Bard 537291f8dd Remove outdated devicetree tools
These tools are not used anymore and not planned to be used in a near
future.

BugzID: 80015
2022-06-09 12:10:51 +02:00
Alexandre Bard 9e05073856 Remove wireless-regdb
This is already part of meta-netmodule-wlan and maintained there.

BugzID: 80015
2022-06-09 12:10:40 +02:00
Alexandre Bard 901c12f911 linux-netmodule: Split per kernel version
Instead of having one kernel recipe with two hashes, it makes more sense
and is easier to maintain two recipes with the same name but different
versions. The shared part is in an include file.

Each machine then chooses which version it wants to use with
PREFERRED_VERSION variable.

BugzID: 79987
2022-06-08 08:37:11 +02:00
Mr Jenkins bf8e21637a meta-netmodule-bsp: updated source revisions 2022-05-31 12:22:29 +02:00
Alexandre Bard e99985266c fpga-image: Make compatible with HW17
BugzID: 77953
2022-05-05 15:42:08 +02:00
Alexandre Bard 27a82d21c9 linux-netmodule: Update kernel to 5.10 branch
BugzID: 75479
2021-12-09 16:07:03 +01:00
Marc Mattmueller 96c52172f7 linux-netmodule: changed git url from gitea to (internal) gitlab
BugzID: 75775
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-17 17:01:31 +01:00
Alexandre Bard 405c374f05 linux-netmodule: Remove redundant find_cfgs function
This function is already present in the cml1 bbclass which is
automatically inherited by the kernel bbclass.

BugzID: 75318
2021-10-19 10:39:18 +02:00
Alexandre Bard 17fae35e5e linux-kernel: Build only one kernel per platform
With this change we are building the same kernel config for all
hardwares belonging to the same platform. The configs only differ from
one or two drivers which are enabled or not and they are anyway not
loaded as long as the devicetree is not matching.

But having only one config for several hardwares is reducing maintenance
(like enabling or disabling kernel security features) and also reducing
build time when building for different machines.

BugzID: 75223
2021-10-15 14:05:12 +02:00
Alexandre Bard 7bc85ccf32 linux-netmodule: Remove useless do_install steps
The two "ifs" are covering cases where the fitImage is not used and we
don't support this case.

And as the Module.symvers comment says, this has been fixed upstream in
kernel.bbclass.

BugzID: 75220
2021-10-12 16:44:43 +02:00
Alexandre Bard 8c76216b9b linux-netmodule: Remove useless HW23 overrides
The only thing which is different for HW23 is the kernel source (which
contains a different license)

BugzID: 74961
2021-09-24 16:34:54 +02:00
Alexandre Bard 7627d49b28 linux-netmodule: Remove PV variables
These values are out of date with the real kernel versions and may be
misleading. Since we have only one version of the kernel, we can remove
them and "git" will be used as default value.

BugzID: 74959
2021-09-24 16:06:53 +02:00
Alexandre Bard 3efbecb49f linux-netmodule: Remove symlinks for devicetrees
These symlinks were required for compatibility with NRSW u-boot.
Since we are now using fitimage, the name of the devicetree is not
relevant since it is directly part of the fitimage.

BugzID: 74958
2021-09-24 15:48:22 +02:00
Alexandre Bard dc6566f9a6 linux-netmodule: Don't install kernel in /boot directory
We don't need the kernel in the rootfs since it is always packed into a
fitimage.

BugzID: 74573
2021-09-02 13:19:11 +02:00
Lucien Mueller 93af481ded hw23: remove additional configs.
BugzID: 74562

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-09-01 13:19:03 +02:00
Alexandre Bard c76e078016 kernel-fitimage: Fix fpga support in fitimage
Instead of rewriting the full fitimage_assemble, we can just append to
the part generating the kernel entry, therefore reducing the duplicated
code.

BugzID: 74530
2021-08-30 11:03:16 +02:00
Lucien Mueller 26e480a6e0 netmodule-fitimage: do_assemble_fitimage is now run before the do_deploy
step.

BugzID: 74417

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-08-24 13:12:36 +02:00
Lucien Mueller cac425ad89 Add missing UBOOT_LOADADDRESS variable.
Because we don't have the kernel class in the netmodule-fitimage recipe,
we have to add this line there.

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-08-04 09:24:47 +02:00
Lucien Mueller dd047c4fbd fix the PROVIDES variable.
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-08-03 13:51:40 +02:00
Lucien Mueller 898c9d60a8 fix ostree build with netmodule-fitimage.
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-08-03 12:20:09 +02:00
Lucien Mueller 1bf9ce5778 add netmodule-fitimage recipe.
This recipe lets us create a fitimage outside of the kernel recipe.
For this to work we need to create just the zImage from the standard
 kernel recipe.

BugzID: 73616

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-07-30 12:37:35 +02:00
Stefan Eichenberger 1b86182dc6 ssc-sysstate-driver: add Module.symvers path
Make sure that the sysstate driver finds the Module.symvers file of the
broker driver.

Signed-off-by: Stefan Eichenberger <eichest@gmail.com>
2021-06-09 18:38:59 +02:00
Lucien Mueller 5db36b3b32 system-state-framework: remove extmod-driver.
BugzID: 70266

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-02-15 17:00:25 +01:00
Lucien Mueller 9a830cc206 system-state-framework: fix dependency to broker.
BugzID: 70200

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-02-12 17:17:01 +01:00
Lucien Mueller 70bdcc3110 ssf: autoload kernel modules
BugzID: 69520

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-01-19 13:34:29 +01:00
Alexandre Bard 17b7f134d8 ssc drivers: Fix build dependency
Build dependency are not package related and therefor the suffix _${PN}
is not required and not working as expected.

BugzID: 69520
2021-01-16 18:46:02 +01:00
Lucien Müller 1ae49c5df8 fb69520-integrate-system-state-framework (#70)
system-state-framework: added recipes for the broker, extmod and
sysstate parts.

move include files to ${STAGING_KERNEL_BUILDDIR}/include/broker/

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>

Co-authored-by: Ramon Moesching <ramon.moesching@netmodule.com>
Reviewed-on: https://git.netmodule.intranet/yoctoproject/meta-netmodule-bsp/pulls/70
2021-01-15 14:14:01 +01:00
Alexandre Bard 597b53438c linux-initramfs: Remove WLAN cfg patch
This patch is removing wlan config to use the backports instead. But the
backports are not compatible with other kernel than virtual/kernel.

We must therefor rely in the default wlan for the moment

BugzID: 69147
2020-11-27 22:29:12 +01:00
Alexandre Bard 7ac62047b1 kernel: Create specific recipe for initramfs images
Changing KERNEL_PACKAGE_NAME allows this variant of the kernel to live
its own life in tmp/work/ instead of being shared in tmp/work-shared.

It is also not providing virtual/kernel.

This way, the "official" kernel (virtual/kernel) is never modified and
rebuilt, leading to strange behavior regarding deployed licenses.

BugzID: 69147
2020-11-27 14:20:46 +01:00
Ramon Moesching dd685550a6 linux-firmware: remove unused append file for ti wl18xx chip
BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 84df6d93ae linux-netmodule: add wlan.cfg kernel config fragment
Used for disabling built in wlan into kernel, instead use
backport

BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00