Commit Graph

91 Commits

Author SHA1 Message Date
Samuel Dolt 04e0adf97a feat(efibootguard): single image with automatic partition switch
Now a single unified kernel image is built using a new CoreOS
specific functionality added in the efibootguard UKI stub to
automatically insert root=PARTLABEL=rootfs0 (or rootfs1) in the
kernel command line

BREAKING CHANGE: coreos-image-uki.bbclass now only generate a
single kernel image named kernel-${MACHINE}.efi
2023-06-27 14:20:37 +02:00
Samuel Dolt 6bf03fbec2 feat(coreos-installer): add coreos-installer and emmc support
Now coreos-installer can be used with Beaglebone and cn9130-cf-pro
to install CoreOS into the emmc instead of booting only on the
SDCard
2023-06-21 15:32:08 +02:00
Patrick Vogelaar b707981c55 fix(swupdate): adjust bbapend to match new swupdate version
* the swupdate version has been updated and therefore caused a regression
  because the bbappend didn't match anymore.
* changed the bbappend to match any swupdate version.
2023-06-14 23:29:28 +02:00
Patrick Vogelaar 1a9e19c144 fix(coreos-image-testable): phy firmware not available in coreos-image-testable
Reason was that the actual firmware was just added to the coreos-image-all-feature.
* use MACHINE_ESSENTIALS_EXTRA_RDEPENDS instead of IMAGE_INSTALL and move to machine config
* refined linux-firmware recipe to just have microchip on its own.
2023-06-14 13:16:38 +02:00
Patrick Vogelaar 1dae191afa fix(cn9131-bldn-mbv): fix IMAGE_INSTALL assignement
Due to the wrong order of assignement bg_printenv and bg_setenv were not available anymore.
2023-06-13 10:53:28 +02:00
Patrick Vogelaar f262a81a04 Pull request #87: fix(cn9131-bldn-mbv): add phy firmware handling
Merge in ICO/coreos from fix_falcon_phy_firmware to master

* commit 'e003ccb91319299b73eaf8029288e3fde55fc71f':
  fix(cn9131-bldn-mbv): add phy firmware handling
2023-06-07 07:23:26 +02:00
Patrick Vogelaar e003ccb913 fix(cn9131-bldn-mbv): add phy firmware handling 2023-06-01 14:32:46 +02:00
Samuel Dolt 2adfda1626 feat(wks): rename partition
Now we use fw0, fw1, efi, ebg0, ebg1, rootfs0 and rootfs1 partition
name.

BREAKING CHANGE: bootX partition are now named ebgX
BREAKING CHANGE: platformX partition are now named rootfsX
2023-05-24 11:12:12 +02:00
Samuel Dolt 518c651ef9 feat(coreos-image-swupdate.bbclass): add a way to dynamically extends the
sw-description files

The COREOS_SWUPDATE_EXTENDS_FOR and COREOS_IMAGE_SWUPDATE_EXTRACLASSES
variable can now be used to configure the coreos-image-swupdate to
dynamically extends some part of the sw-description by calling some
python function
2023-05-15 18:23:02 +02:00
Samuel Dolt fb4702780b feat(swupdate): add efibootguard update support
This also change the beaglebone target to use a GPT
partitioned disk

BREAKING CHANGE: .swu image generated can not be used on old
device, thus the device has to be reflashed.

BREAKING CHANGE: Support for MBR formatted disk is removed, as
it was only used for Beaglebone
2023-05-15 18:09:18 +02:00
Patrick Vogelaar 7e5acb1fcd Pull request #73: fix(coreos-efibootguard.py): fix the script for older python version
Merge in ICO/coreos from fix/devtool_efibootguard_script to master

* commit 'c003449178fdb31ca8f39c15516129774591944a':
  fix(coreos-efibootguard.py): fix the script for older python version
2023-04-25 21:32:21 +02:00
Patrick Vogelaar c003449178 fix(coreos-efibootguard.py): fix the script for older python version
On the BIL build container (python v3.8) the script throws an error
which is fixed now.
2023-04-25 15:28:27 +02:00
Samuel Dolt b22684d2cd fix(coreos-image-uki.bbclass): fix default value of COREOS_KERNEL1_CMDLINE 2023-04-24 15:19:02 +02:00
Samuel Dolt d69a877f0c fix(swupdate): partially revert the emmc flasher suppport
commit 367814e94c introduced a change in the default
configuration of swupdate that broke our default update
system.

This commit revert this part of the emmc flasher support
for now
2023-03-15 15:12:16 +01:00
Samuel Dolt 55821f53bd fix(packagegroup-coreos-base): fix mispelled dep 2023-03-15 13:33:47 +01:00
Samuel Dolt 8e2e6b35b4 Pull request #66: Use packagroupe for default set of package
Merge in ICO/coreos from feat/package-group to master

* commit '5bddcaad7adf75ec63c18f72d8455204edf39cf4':
  feat(coreos-container-image.bbclass): use coreos specific package-group for IMAGE_INSTALL
  feat(coreos-image.bbclass): use coreos specific package-group for IMAGE_INSTALL
2023-03-15 09:52:33 +01:00
Samuel Dolt 3c24c04c53 fix(belden-coreos.conf): don't provide a syslog runtime
CoreOS use journald by default. Without this a syslog provided may
get pulled by packagegroup-core-full-cmdline or packagegroup-core-boot
2023-03-13 15:36:51 +01:00
Samuel Dolt 5bddcaad7a feat(coreos-container-image.bbclass): use coreos specific package-group for IMAGE_INSTALL 2023-03-13 11:12:15 +01:00
Samuel Dolt 958f5d244b feat(coreos-image.bbclass): use coreos specific package-group for IMAGE_INSTALL 2023-03-13 11:11:31 +01:00
Samuel Dolt a9116ae295 fix(coreos-efibootguard.py): don't fail if board doesn't use dtb 2023-03-09 10:36:35 +01:00
Samuel Dolt e2a53121a5 Pull request #61: add devtool generate-uki command
Merge in ICO/coreos from feat/devtool-kernel to master

* commit '1c8f7e9163ba5fec161bb858643a57274ea07882':
  feat(devtool): add a generate-uki command
  fix(coreos-image-uki.bbclass): use APPENDS to set the kernel arguments
  refactor: use black to format python code in vscode
2023-03-08 16:29:30 +01:00
Samuel Dolt 1c8f7e9163 feat(devtool): add a generate-uki command
The generate-uki command can be used to build and sign new UKI (Unified
Kernel Image). By default all parameters are taken from bitbake but the
kernel command line and the device tree used can be customized
2023-03-08 15:45:08 +01:00
Samuel Dolt a5fcbaa3d4 fix(coreos-image-uki.bbclass): use APPENDS to set the kernel arguments 2023-03-08 11:14:00 +01:00
Samuel Dolt 75c190ab38 feat(coreos-container-image): systemd can be installed in the image
Allow to use systemd as an IMAGE_FEATURES inside a container image
2023-03-01 15:17:55 +01:00
Samuel Dolt e9247d5cd0 feat(conf): enable sstate server by default
This enable the usage of the sstate.gad.local server to speed up
build by default.
2023-03-01 11:08:08 +01:00
Samuel Dolt 367814e94c feat(coreos-emmc-flasher): beaglebone support
This introduce a new coreos-emmc-flasher-beaglebone
recipe that create a SWU file that can be used to
create the partition in the internal emmc of a beaglebone
and flash both u-boot and efibootguard.

Support for create efibootguard configuration partition
and flashing kernel and rootfs is not included.
2023-02-22 14:23:46 +01:00
Patrick Vogelaar 558096e264 feat(systemd-service-demo):Add a systemd demo
The demo includes following features:
* notifications (ready and status)
* dependencies between services (strong and week)
2023-02-10 15:43:22 +01:00
Patrick Vogelaar b0747d657d refactor(coreos-images): rename coreos-image-demo -> coreos-image-all-features
* rename coreos-image-demo -> coreos-image-all-features
* create coreos-image-demo in meta-belden-coreos-demo
2023-02-10 15:43:22 +01:00
Samuel Dolt 010f907937 Pull request #50: fix(coreos-image-ci): fix syntax error
Merge in ICO/coreos from fix/coreos-image to master

* commit '2f42fcb05113dfabd88a1c82f51c71ea8b6d375a':
  fix(coreos-image-ci): fix syntax error
2023-02-07 13:16:52 +01:00
Samuel Dolt 9b82b53461 Pull request #51: fix(cockpit-podman): don't call make clean in do_configure
Merge in ICO/coreos from fix/cockpit-podman-configure to master

* commit 'c1da18b58c2b4dd5727f17fb83b70e394b02fe83':
  fix(cockpit-podman): don't call make clean in do_configure
2023-02-07 13:16:44 +01:00
Patrick Vogelaar 037c62be2c Pull request #47: fix(swupdate): make swupdate dependent on EFI
Merge in ICO/coreos from fix/remove_swupdate_from_qemu to master

* commit '17855553fc0f98d2946d11eb2ecc1379a44242ec':
  fix(swupdate): make swupdate dependent on EFI
2023-02-06 15:59:50 +01:00
Samuel Dolt c1da18b58c fix(cockpit-podman): don't call make clean in do_configure 2023-02-06 15:27:57 +01:00
Samuel Dolt 2f42fcb051 fix(coreos-image-ci): fix syntax error 2023-02-06 11:38:06 +01:00
Samuel Dolt f086fe20de Pull request #48: Feat/coreos device
Merge in ICO/coreos from feat/coreos-device to master

* commit '57107f5cea3ff2e61701c18753cacdada8d1e04f':
  feat(swupdate): install swupdate-progress by default
  feat(coreos-device): add a coreos-device script and a devtool plugin
2023-02-06 10:03:29 +01:00
Samuel Dolt 57107f5cea feat(swupdate): install swupdate-progress by default
swupdate-progress will automatically restart the device after
an update.
2023-02-03 14:12:53 +01:00
Samuel Dolt 34717ecbda feat(coreos-device): add a coreos-device script and a devtool plugin
The devtool plugin offer a high level integration with Bitbake and
thus is under GPLv2 license.

The coreos-device script is a low level scripts that implement all
the functionality and is not under GPLv2
2023-02-03 13:03:59 +01:00
Patrick Vogelaar 17855553fc fix(swupdate): make swupdate dependent on EFI
This fixes that swupdate service cannot be starten for qemu machines.
2023-02-03 10:50:41 +01:00
Samuel Dolt e02d4b95f8 chore(efibootguard): better handling of efibootguard related variables
Default value related to efibootguard are not set inside the distro
and MACHINE that use coreos-image and doesn't define EFI as a
MACHINE_FEATURE doesn't get the efibootguard-tools package.
2023-02-02 11:47:06 +01:00
Samuel Dolt b4e480e15d Pull request #43: Feat/os release
Merge in ICO/coreos from feat/os-release to master

* commit '60686d70f3aaca72712c82e4166923a3aa708dac':
  refactor(base-files): add git information to issues files
  refactor(belden-coreos): remove GIT info from DISTRO_VERSION
  feat(os-release): add COREOS_GIT_BRANCH and COREOS_GIT_REVISION field
2023-02-01 11:28:44 +01:00
Samuel Dolt c0c5955efe Pull request #41: Artifacts files inside deploy dir for the CI
Merge in ICO/coreos from feat/ci-artifacts-list to master

* commit '92d900ba2f71e867d1ea672d8716bcac4fe54f35':
  fix(coreos-efi-secureboot): only install sb key if needed
  feat(coreos-image-ci): add a special image class to generate CI file
  feat(coreos-container-image): add COREOS_IMAGE_EXTRACLASSES support
2023-01-31 14:29:17 +01:00
Samuel Dolt 92d900ba2f fix(coreos-efi-secureboot): only install sb key if needed
Checking for COREOS_EFI_SECUREBOOT_INSTALL_PUBKEY_IN_EFIDIR
was not done properly resulting of the key always being
installed inside the EFI partition.
2023-01-31 13:26:06 +01:00
Samuel Dolt 60686d70f3 refactor(base-files): add git information to issues files 2023-01-31 12:22:06 +01:00
Samuel Dolt f1393776af refactor(belden-coreos): remove GIT info from DISTRO_VERSION 2023-01-31 12:21:41 +01:00
Samuel Dolt 61b831cb5a feat(os-release): add COREOS_GIT_BRANCH and COREOS_GIT_REVISION field 2023-01-31 11:27:39 +01:00
Samuel Dolt f831331e7e Pull request #38: Refactor/images
Merge in ICO/coreos from refactor/images to master

* commit '0b3e395862d9dea90a9c170c3a48a12fd985e3c6':
  chore(coreos-image-minimal-dev): delete the recipes
  refactor: rename coreos-image-full-cmdline to coreos-image-demo
2023-01-31 10:25:09 +01:00
Samuel Dolt cfb1638fb4 feat(coreos-image-ci): add a special image class to generate CI file
We need to generate some more file to better integrate the CI system
with this repository. The new class generate a new IMAGE.ci-artifacts
file with the list of file that need to be uploaded by the CI to our
storage server. To enable this class, the CI need to add:

`COREOS_IMAGE_EXTRACLASSES += "coreos-image-ci"`

to the auto.conf configuration file inside the build directory.
2023-01-30 16:09:15 +01:00
Darko Trogrlic 5f658cf199 fix(swupdate): re-adding swupdate and .swu image generation 2023-01-30 16:04:07 +01:00
Samuel Dolt 2b84253de8 feat(coreos-container-image): add COREOS_IMAGE_EXTRACLASSES support 2023-01-30 15:16:47 +01:00
Samuel Dolt 711b0f08bd Pull request #39: Fix/swu
Merge in ICO/coreos from fix/swu to master

* commit 'c65869b9c9a667fb689c5d3498ef21117d5ab648':
  fix(do_swuimage): use DEPENDS to get kernel arguments
  fix(coreos-image): COREOS_IMAGE_EXTRACLASSES now work as expected
2023-01-30 13:59:24 +01:00
Darko Trogrlic 259dd34e7c Pull request #33: docs: using cmake with yocto recipe - example
Merge in ICO/coreos from doc_demo_cmake_yocto to master

* commit '04547f38760b95a1fed7afef9449c4925e657fcb':
  docs: removing from cmake-demo from image recipe
  docs: moving cmake-demo to demo layer
  docs: changing cmake version in CMakeLists.txt
  docs: editing comments and removing config setting
  docs: using cmake with yocto recipe - example
  docs: removing from cmake-demo from image recipe
  docs: moving cmake-demo to demo layer
  docs: changing cmake version in CMakeLists.txt
  docs: editing comments and removing config setting
  docs: using cmake with yocto recipe - example
2023-01-30 13:34:07 +01:00