Commit Graph

60 Commits

Author SHA1 Message Date
Patrick Vogelaar 81cca5dde2 feat(eagle40-03): strip out unused MACHINE_FEATURES for eagle40-03
So far we are not using the tpm module and also not acpi actively
2024-04-03 11:59:53 +00:00
Sam Dolt e504af5cbc chore(u-boot): move distro settings from bsp to meta-belden-coreos 2024-03-27 11:11:25 +01:00
Sam Dolt 70ed96f8d9 chore(linux-yocto): move distro settings from BSP to distro layer 2024-03-26 13:56:42 +01:00
Sam Dolt 33b5b7d65c chore(coreos-image-demo-k3s): move k3s kernel config file to the demo layer 2024-03-26 13:55:00 +01:00
Sam Dolt 965982dc7b feat(vm-x64): update kernel to 6.6 2024-03-26 13:55:00 +01:00
Sam Dolt 29de6abb55 feat(beaglebone): update kernel to 6.6 2024-03-26 13:55:00 +01:00
Darko Trogrlic ca18bbaa0c Pull request #172: feat(watchdog): enabled watchdog for EAGLE40-03 with 5s timeout
Merge in ICO/coreos from enable_watchdog_with_default_time to master

* commit '5cadfef4893ca09107577bc48306fb4f9255b5b1':
  feat(watchdog): enabled watchdog for EAGLE40-03 with 5s timeout
2024-03-26 09:54:30 +01:00
Peter Kindler 689a92ec08 feat(coreos-installer): add coreos-installer for eagle40-03 2024-03-18 11:19:01 +01:00
Darko Trogrlic 5cadfef489 feat(watchdog): enabled watchdog for EAGLE40-03 with 5s timeout 2024-03-18 09:52:22 +01:00
Patrick Vogelaar 7f18f3d4b9 feat(eagle40-03): switch to kernel v6.6 for eagle-40-03 2024-03-06 12:29:52 +01:00
Patrick Vogelaar 1929136249 Pull request #160: fix(qemu-coreos-arm64): fix several issues and refactoring
Merge in ICO/coreos from fix_qemu_user_data_problem to master

* commit 'c2ebce47f1dee56f10bd196601896b27f797852d':
  fix(qemu-coreos-arm64): add image to k-stufen
  fix(qemu-coreos-arm64): fix several issues and refactoring
2024-02-26 15:31:25 +01:00
Patrick Vogelaar e18d9b87a8 fix(qemu-coreos-arm64): fix several issues and refactoring
* rework machine conf to only build necessary stuff
* in *.wks file switch from ondisk to use-uuid the solves an issue that during
  boot the user data partition could not be mounted because user data was set
  to mmcblk1 in fstab but actually was sda
* kenrel options were missing for dmcrypt to create secure storage. those are
  now added to all machines using linux-yocto source and use the
  meta-belden-coreos-bsp layer
2024-02-25 20:42:44 +01:00
Sam Dolt 13a6f17abd fix: move sources from NetModule to CoreOS 2024-02-20 11:43:48 +01:00
Sam Dolt cfd63890a7 feat(meta-netmodule-coreos-bsp): create layer and add gemini support 2024-02-20 11:43:48 +01:00
Patrick Vogelaar d57a9b7a70 refactor(certificates-and-keys-native): renamed recipe
renamed certificates-and-keys-native recipe to cos-certificates-and-keys-native
because bil has already a certificates-and-keys recipe
2024-02-05 18:18:20 +01:00
Patrick Vogelaar 5b23df1199 feat(certificates-and-keys-native): add developer keys and certificates
The certificates and keys are stored in a repository and taken from there.
It is a neative repository that puts the keys into the sysroot where other
recipes can take them

All the key related scripts where deleted or put in the development-keys
repository.

Basic simplifications where done, there is yet still room for improvement.
2024-01-24 10:33:47 +01:00
Patrick Vogelaar 94c8692f43 feat(userdata): add userdata partition
The userdata partition is mounted under /usr/local/data. It is and will stay
read-write and its purpose is to store userdata like config, secure-storage.
2024-01-15 22:44:26 +01:00
Patrick Vogelaar 414496b7cb fix(qemu-coreos-arm64): rework UKI and SWU generation
Aadditional checks are added that make it unnecessary to use overrides for QEMU
2023-12-11 10:27:17 +01:00
Patrick Vogelaar c1eafd4289 fix(qemu-coreos-arm64): change QB_DRIVE_TYPE for hdd to sd 2023-12-11 08:22:36 +01:00
Patrick Vogelaar 5a4fa9e32e feat(qemu-coreos-arm64): add new uefi boot capable qemu machine
This new machine supports UEFI boot and also is capable of doing the complete
update procedure of efibootguard.
2023-12-06 10:36:57 +01:00
Patrick Vogelaar ea134d867e Pull request #130: refactor(eagle40-03): rename MACHINE from eagle40_04 to eagle40-03
Merge in ICO/coreos from rename_eagle40_03 to master

* commit '3bf28622c1b2207e752b6e0b9725b4d27fa328a0':
  refactor(eagle40-03): rename MACHINE from eagle40_03 to eagle40-03
2023-10-25 10:34:28 +02:00
Patrick Vogelaar 3bf28622c1 refactor(eagle40-03): rename MACHINE from eagle40_03 to eagle40-03 2023-10-24 15:34:40 +02:00
Patrick Vogelaar 9148fc12da Pull request #127: feat(eagle40_03): integrate EAGLE40-03
Merge in ICO/coreos from add_eagle40_03_board to master

* commit 'c17db5dbd5acc8853ced4e971334674c27e1bee1':
  feat(eagle40_03): integrate EAGLE40-03
2023-10-16 10:00:21 +02:00
Samuel Dolt 5e0d938b9c feat(vm-x64): add Microsoft Hyper-V suport 2023-10-13 12:04:13 +02:00
Patrick Vogelaar c17db5dbd5 feat(eagle40_03): integrate EAGLE40-03
* add basic config for EAGLE40.03
* purely based on uefi -> no uboot

NOTE: The board only boots so far. No in depth testing has been done yet.
2023-10-13 11:56:51 +02:00
Patrick Vogelaar 8703fd2efd Pull request #126: refactor(partitions.inc): use variable for kernel in wks file
Merge in ICO/coreos from add_variable_for_kernel_in_wks_file to master

* commit 'afa1a784c1637ad2965f93061794f10577e992a2':
  refactor(partitions.inc): use variable for kernel in wks file
2023-10-04 15:13:10 +02:00
Patrick Vogelaar afa1a784c1 refactor(partitions.inc): use variable for kernel in wks file 2023-09-27 22:47:23 +02:00
Uli Stein 77a25e9c7b feat(linux-yocto_5.15): add kernel config for k3s
disable oabi compatibility it to solve seccomp conflict
enable seccomp filter
secccomp filter is needed for k3s to pawn pods
2023-09-15 11:46:10 +02:00
Samuel Dolt 0d5e631162 feat(belden-coreos): reworked distro settings
Now the distro settings is splitted into two config smaller config
file. PACKAGECONFIG for the system package is set to include a
reduced set of features by default.

Some EFI related feature are now dependant of the EFI DISTRO_
and MACHINE_FEATURES.
2023-08-07 15:32:53 +02:00
Patrick Vogelaar 18d38f9010 fix(u-boot-tools): add uboot-efivar fot FILES
Without this fix the build breaks for -c populate_sdk.
2023-07-26 14:56:28 +02:00
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
Samuel Dolt 1ecdf10a5b feat(wic): allow to configure the rootfs partition size
The rootfs partition size is now configurable with the
WKS_PART_ROOT_SIZE variable for beaglebone, cn913x and vm-x64
target
2023-05-31 13:46:04 +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
Samuel Dolt 6e8620a51f fix(coreos-efi-secureboot.bbclass): fix cache invalidation
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.
2023-05-05 09:02:20 +02:00
Samuel Dolt d1ffd51919 fix(vm-x64.conf): disable watchdog in efibootguard
Efibootguard shouldn't turn on the watchdog as we don't
support it yet from the Linux side
2023-03-15 15:11:06 +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
Samuel Dolt e86b46771e Pull request #46: chore(efibootguard): better handling of efibootguard related variables
Merge in ICO/coreos from chore/efibootguard-handling to master

* commit 'e02d4b95f8e257d55f70b1dfbf6435ddd564b09e':
  chore(efibootguard): better handling of efibootguard related variables
2023-02-03 10:33:17 +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 342f288d04 chore(container): remove the container machine overrides
We can build container with non-container machine with
coreos-container-image classes so having a MACHINEOVERRIDES
for container machines only is misleading
2023-02-02 10:12:00 +01:00
Samuel Dolt 89d820d4a6 fix(container): fix build failure with container machines with coreos-image class 2023-02-02 10:11:06 +01:00
Samuel Dolt 49b20dbb31 Pull request #44: fix(wks): use --size instead of --fixed-size
Merge in ICO/coreos from fix/swupdate to master

* commit '2a128e872151b26b8729bf240f9b0931838c471c':
  fix(wks): use --size instead of --fixed-size
2023-02-01 11:27:56 +01:00
Samuel Dolt 2a128e8721 fix(wks): use --size instead of --fixed-size
--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
2023-01-31 16:00:36 +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 6b773adee0 fix(beaglebone): fix kernel argument to select the right rootfs 2023-01-25 12:33:04 +01:00
Samuel Dolt 4e8716628f feat(efibootguard): replace systemd-boot by efibootguard
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
2023-01-24 15:28:00 +01:00
Samuel Dolt e1b6c73137 feat(container): add coreos-container-image and coreos-container-package class 2023-01-03 11:33:03 +01:00
Samuel Dolt f83fa6725f fix(u-boot-coreos-efi): add missing depends on u-boot-tools 2022-12-14 13:41:49 +01:00