* change the MACHINE from cn9130-bldn-mbv to cn9131-bldn-mbv
* update trusted platform to support falcon board and represnt the solidrun settings
* add patch that fixes phy issues
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
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
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
COREOS_EFI_SECUREBOOT_KEYDIR_HASH was intended to store a hash
of each file present in build/key in order to discard the sstate
cache on key changes. But this variables was wrongly always empty
due to a wrong check in a loop.
Merge in ICO/coreos from fix/devtool_efibootguard_script to master
* commit 'c003449178fdb31ca8f39c15516129774591944a':
fix(coreos-efibootguard.py): fix the script for older python version
* compatible node in device tree is adjusted
* config for cn9131 Falcon is removed since it is based on cn9130
* config for cn9130 based Falcon is added
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
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
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
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
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.
Merge in ICO/coreos from fix/cockpit-podman-configure to master
* commit 'c1da18b58c2b4dd5727f17fb83b70e394b02fe83':
fix(cockpit-podman): don't call make clean in do_configure
Merge in ICO/coreos from fix/remove_swupdate_from_qemu to master
* commit '17855553fc0f98d2946d11eb2ecc1379a44242ec':
fix(swupdate): make swupdate dependent on EFI
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
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
Merge in ICO/coreos from chore/efibootguard-handling to master
* commit 'e02d4b95f8e257d55f70b1dfbf6435ddd564b09e':
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.
We can build container with non-container machine with
coreos-container-image classes so having a MACHINEOVERRIDES
for container machines only is misleading
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
--fixed-size produce a partition of the right size but doesn't expand
the filesystem. Instead we use --size --extra-space and
--overhead-factor to have a fixed size partition and fixed size
filesystem
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
Checking for COREOS_EFI_SECUREBOOT_INSTALL_PUBKEY_IN_EFIDIR
was not done properly resulting of the key always being
installed inside the EFI partition.
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
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.
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
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
WKS_KERNEL_ARGS was using previously inside COREOS to pass the
kernel arguments between the machine configuration and image
generation. This was already replaced by the APPEND variable
that do the same and is documented in oe-core.
COREOS_IMAGE_EXTRACLASSES is used to ihnerit classes dynamically during
parsing, that mean that it can't depends on operator that operate after
parsing, like ??=, :append, ...
Now we use the ?= and += operator that operate during parsing
Merge in ICO/coreos from fix/beaglebone-bootargs to master
* commit '6b773adee07bd22c6b1047385d2b214c59dab513':
fix(beaglebone): fix kernel argument to select the right rootfs
This resolve the problem that cockpit-podman sometimes fail
to build with an error message saying that uplading
package-lock.json is not possible when not inside of a
git repository.
We are now using efibootguard to provide a A/B boot path for
the kernel and the rootfs.
This commit remove some change for systemd/systemd-boot that are
not needed anymore and rework how we set the command line, as we
will need to have the command line argument of the kernel both
inside do_image_wic and in a future do_image_swu
The layer.conf of meta-belden-coreos now depends on:
- meta-virtualization (needed for podman)
- meta-webserver (needed for cockpit)
The bblayers.conf.sample file now enable theses two layers and theirs dependancies
Merge in ICO/coreos from feat/podman to master
* commit 'b7fd85c8b08b56700255071c3025d6a9c61995ec':
chore(submodule): move meta-openembedded and meta-virtualization to bitbucket clone
feat(container): add podman as container runtime
meta-belden-bsp: add containers machine
Merge in ICO/coreos from private/cxe12011/fix_machine_typo to master
* commit '24c5c9f308537a1feb1a823e5d1df468801d2b2a':
Deleted the obsolete file
Fix machine type typo
Merge in ICO/coreos from feat/dev_image_improvements to master
* commit '412f3f3bb40d364624a85db267d092bdae4cea86':
No ro FS for dev image and solidrun board improvements
* dev image is now r/w which makes it easier to just try things out
* remove mount point from boot.src partition which causes it to not
show in /etc/fstab. The presence of the entry caused boot problems.
Merge in ICO/coreos from feat/uefi to master
* commit '25ac363358200694e85f9149f2480daec24c5377':
documentation: fix typo
meta-belden-coreos-bsp: add support for EFI and EFI Secure Boot
coreos-doc: use python3-native instead of python3 from the host
meta-belden-coreos-sanity: add some machine configuration checks
meta-belden-coreos-bsp: add the beaglebone machine
meta-belden-coreos-bsp: add beaglebone machine
meta-belden-coreos-bsp: add layer
This fix the recipes by ihneriting the python3native class. DEPENDS
was also fix, as we need the native version of the needed package
and not the one from the target. It was previously only building
because bitbake use by default the host python3 and on my computer
I was having all the deps locally installed.