Commit Graph

51 Commits

Author SHA1 Message Date
Marc Mattmüller 3e672279f7 srcrev: updated source revisions by Jenkins Job 2023-11-07 05:51:11 +01:00
Alexandre Bard 16bd38ae2b nwl-test-image: Add components required by uboot to boot the image
nrsw-uboot is reading the devicetree and the fpga image from the rootfs.

id:458169
2023-10-31 11:10:56 +01:00
Alexandre Bard 20b9904c2b legacy-bsp: Add wic files for armada devices
id:458169
2023-10-31 11:10:56 +01:00
Alexandre Bard 64bc9777e8 legacy-bsp: Add support for u-boot for armada
id:458169
2023-10-31 11:10:56 +01:00
Alexandre Bard c1165a318f nwl-test-image: Add missing components
Since we worked mainly on the ramdisk image, the test-image was almost
empty and lacking the minimum components.
This components are now defined in a packagegroup which is included in
all nwl-images.

It also include a new MACHINE_FEATURE : nrsw-ready.
This feature allows us to not include NRSW modules for devices that are
not supported by NRSW: for the moment it is mainly the devices supported
by core-os like cn9130-cf-pro. These devices are build against there
custom kernel against which the NRSW modules are not buildable.

id:458169
2023-10-30 14:19:58 +01:00
Alexandre Bard 49cf460db4 kernel: Add support for gpt partitions
We are using a GPT partition table in the WIC file, so GPT support is
required.

id:458169
2023-10-27 14:35:20 +02:00
Alexandre Bard 02dc2cdbef ramdisk-image: Add tools to install the wic files on the mmc
id:458169
2023-10-27 14:35:20 +02:00
Alexandre Bard 19f4f4f7a3 nwl-test-image: Create a wic file for sitara devices
id:458169
2023-10-27 14:35:20 +02:00
Alexandre Bard f7a130b901 bsp: Add u-boot for sitara devices
id:458169
2023-10-27 14:35:20 +02:00
Lucien Mueller 6ad5d7fd94 add fpga image support in fitImage.
INFO: The image address entries in the fitImage changed
e.g. "fpga@1" -> "fpga-1"
see: commit 6047be9f8f0f5d616fda11d83b682c1b8aeaa0ae in meta-openembedded

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2023-10-26 15:15:52 +02:00
Alexandre Bard ff08561cb5 Update source revisions
Auto-update by jenkins in nightly branch

Squashed commit of the following:

commit 936c4f49f17f4fe0a10d601bf7dd3937b72b7a89
Author: Marc Mattmüller <marc.mattmueller@netmodule.com>
Date:   Thu Oct 5 05:51:12 2023 +0200

    srcrev: updated source revisions by Jenkins Job
2023-10-05 08:24:31 +02:00
Marcel Reichmuth af9096dd9a hw18: implement card detect for sd card
id:447882
2023-10-03 12:43:23 +02:00
Lucien Mueller 53507a012e sitara defconfig: add CONFIG_ETHTOOL_NETLINK to fix broadr issues
ID: 446426

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2023-10-03 09:17:40 +02:00
Marcel Reichmuth d63894745b dsa: fix cpu port configuration
id:447902
2023-09-29 14:18:32 +02:00
Lucien Mueller 2537fd2076 nwl-ramdisk-minimal: add kernel-modules
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2023-09-29 11:14:14 +02:00
Alexandre Bard 3c81ac50ca kernel-module-pcie: Use devicetree to configure gpios
id:452476
2023-09-28 18:30:17 +02:00
Lucien Mueller d9c27fbd9a nwl-ramdisk-minimal: add ssh support
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2023-09-28 09:47:31 +02:00
Lucien Mueller 0e30a45837 nwl-tests: update recipe for new file structure
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2023-09-21 09:54:32 +02:00
Samuel Dolt 8eec0f932c nwl-image-fitimage: Fix filename of the fitimage in the artifacts file
id: 414705
2023-09-18 11:01:45 +02:00
Alexandre Bard 41820366c4 nwl-ramdisk-minimal: Fix missing artifacts list
id:414705
2023-09-18 10:58:20 +02:00
Alexandre Bard 437387f41c linux-nrsw: Update to version 5.15
The the "patch number" in the linux version will likely change, the
version check is also disabled and only the "main" version is set.

id:448028
2023-09-12 13:50:43 +02:00
Marcel Reichmuth 5c04761e26 Update kernel-module-system-info to the latest version to make
it compile with kernel 5.15.

id:418230
2023-09-06 11:48:25 +02:00
Alexandre Bard a96df99645 Move wlan layer to external-layers
Having it in "layers" made the update-source-revisions script to update
revisions there too.

id:425378
2023-09-05 12:18:30 +02:00
Alexandre Bard 773946b892 ramdisk-image: Add wifi firmwares for TI chips
And make it dependent on MACHINE_FEATURES.

These firmwares are required for the chip to function properly.

id:425378
2023-09-04 16:38:45 +02:00
Alexandre Bard 6caf907636 Add meta-netmodule-wlan
id:425378
2023-09-04 16:38:45 +02:00
Marcel Reichmuth 7260611e4e kernel: add nrsw specific kernel modules system-info and pcie
id:418230
2023-09-04 15:53:44 +02:00
Samuel Dolt bef2978876 nwl-image-fitimage: automatically add the fitimage as a CI artifact
The nwl-image-fitimage is now integrated with the coreos-image-ci classes
and automatically add the generated fitimage to the list of artifacts
that need to be published by the CI
2023-09-04 14:31:08 +02:00
Marcel Reichmuth 0df5643e08 legacy-bsp: Add kernel module board descriptor
id:418230
2023-08-31 15:45:22 +02:00
Samuel Dolt 7d0367f2e6 nwl-image.bbclass: keep default value of COREOS_IMAGE_GENERATE_
The serie of COREOS_IMAGE_GENERATE_ variable are now better
handled by coreos and their default value depends on
DISTRO_FEATURES or COMBINED_FEATURES. We don't need to disable
them manually anymore.
2023-08-30 14:56:43 +02:00
Samuel Dolt 0d2952d9e0 nwl-image.bbclass: add fitimage generation support 2023-08-30 14:55:33 +02:00
Alexandre Bard 479e3f0a11 nwl-tests: Remove dependencies to ethtool and usbutils
The latest versions don't need this tool anymore.

id:418214
2023-08-30 12:40:37 +02:00
Alexandre Bard 20d8db24e1 Add wifi for TI chips to kernel
id:418214
2023-08-23 11:58:04 +02:00
Alexandre Bard 0f3c7caf26 distro/image-minimal: Add base tools
For the terminals to work properly and have some basic tools these
packages are necessary.

id:418214
2023-08-18 17:02:16 +02:00
Alexandre Bard 14bdae4345 nwl-tests: Use bats to run the tests
id:418214
2023-08-18 17:02:16 +02:00
Alexandre Bard 96f6f84524 scripts/update-source-revision: Add script to auto-update SRCREV
And a few changes to make it work properly.

id:418214
2023-08-18 10:54:56 +02:00
Alexandre Bard c31ccbcbbf image/ramdisk: Add kernel tests
id:418214
2023-08-16 16:21:56 +02:00
Alexandre Bard 9a4ce1d870 linux-nrsw: Use linux-yocto as a base
The are several advantages to use the yocto recipe as base:

- The checkout of the git repo is done differently: it makes the
  do_fetch task faster than it would be with the default behavior which
  is to clone the entire repository.

- It is possible to share part of the build process by defining the
  KMACHINE variable: All machines with the same KMACHINE value will
  share (at least part of) the build environment, speeding up compile
  time.

- It is possible to conditionally add configs through the
  KERNEL_FEATURES variable, without needing to rebuild from scratch when
  changing the features.

The new recipe also directly takes advantage of the KERNEL_FEATURES to
add support for init ram disks.

A another change happening with this commit is the kernel modules to
autoload being defined in a single file and (as the defconfig) depend on
the SOC_FAMILY variable (sitara or armada).

id:413752
2023-08-15 16:23:37 +02:00
Alexandre Bard a44233c1a7 legacy-bsp/conf/machine: Fix fitimage support for armada
UBOOT_MACHINE is required by the fitimage recipe.
SERIAL_CONSOLES is required to open the login console on the right
interfaces.

id:413752
2023-08-15 16:23:37 +02:00
Alexandre Bard 8f281e17e6 legacy-bsp/conf/machine: Fix sitara machine to boot ramdisk images
UBOOT_MACHINE is required by the fitimage recipe.
SERIAL_CONSOLES is required to open the login shell on the right
interfaces.

id:413752
2023-08-15 14:55:55 +02:00
Alexandre Bard afa2da3bd1 distro/images/ramdisk-minimal: Add systemd-config to handle watchdog
The watchdog is enabled by the NRSW u-boot so we need to handle it in
linux otherwise it restarts the system.

id:413752
2023-08-14 12:52:56 +02:00
Alexandre Bard bb082fbba6 distro/images/ramdisk-minimal: Add networkmanager
To easily configure and test the different network interfaces.

nss and gnutls packageconfigs are required to build it.

id:413752
2023-08-14 12:52:56 +02:00
Marcel Reichmuth 8f2f98d15b bsp: remove nrsw specific parts
id: 413750
2023-08-10 11:22:12 +02:00
Marcel Reichmuth df41099105 bsp: use only one full kernel config per architecture
id: 413750
2023-08-07 15:44:45 +02:00
Marcel Reichmuth 12c47d6659 bsp: add kernel files for legacy netmodule routers
id: 413750
2023-08-04 16:10:42 +02:00
Samuel Dolt d43ba7a6e3 secure-boot: use keys from meta-nwl-distro/files/keys by default
instead of using the keys generated inside build/key by
coreos-init-buildenv, we use a fixed set of keys by default
so that we can share the sstate output that use thoses keys to
share binaries between the CI state server and developers local
installation.
2023-08-03 16:45:24 +02:00
Lucien Mueller 3765bba60a images: remove minimal image, rename test image
the minimal image is not used anymore because we now have the ramdisk
image.

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2023-08-03 13:23:30 +02:00
Lucien Mueller 458a01a084 ADD: fitimage with integrated ramdisk.
ID: 413751

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2023-08-03 13:23:30 +02:00
Samuel Dolt 7e44f31bb9 feat(images): add nwl-image-minimal and nwl-image-testable 2023-04-24 11:04:25 +02:00
Samuel Dolt 0d804aa79a feat(nwl-image.bbclass): add a base class for NWL image 2023-04-24 11:03:25 +02:00
Samuel Dolt a222bed20e distro: add customization / branding
- replace PRODUCT by NWL in nwl-init-build-env
- add meta-nwl-distro to bblayers.conf.sample
- remove the meta-belden-coreos-demo layers by default
- add some branding

Squashed commit of the following:
commit e3ece0d4f75e6f37accd731f70c0071f3643b62a
commit 3c7e0567e523c6d2951883089e4944aa32d6a150
commit 29065139af735c71478d14c2316af80309bcaa1d

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2023-03-10 19:29:13 +01:00