Commit Graph

24 Commits

Author SHA1 Message Date
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
Samuel Dolt d457ad2c8b coreos: update to the head of the master branch 2023-08-17 14:51:58 +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
Alexandre Bard a482f35269 update core-os 2023-07-19 15:26:50 +02:00
Marc Mattmüller 22bb079010 coreos: updated to latest head fixing a submodule issue
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-19 17:02:16 +02:00
Marc Mattmüller f32ee1a72b removed duplicated entry in .gitmodules
There was an issue in the submodules of coreos and in in nwl
there were two entries for the submodule coreos in .gitmodules.
Thus one submodule entry was removed.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-19 16:55:30 +02:00
Samuel Dolt c21e3fce57 feat(local.conf.sample): change default machine to cn9130-cf-pro 2023-04-24 11:07:09 +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
Patrick Zysset c11d0a5044 Initial NWL Commit ...
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2023-03-06 23:34:12 +01:00