Commit Graph

294 Commits

Author SHA1 Message Date
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
Patrick Vogelaar c99f123fae Pull request #85: fix(cn913x-bldn-mbv): fix machine and phy
Merge in ICO/coreos from fix_falcon_machine_name to master

* commit 'e04b6cf215a61288f058970e4ca6031acea8f4a2':
  fix(cn913x-bldn-mbv): fix machine and phy
2023-05-31 11:05:14 +02:00
Samuel Dolt 3a59ba4d6c Pull request #82: Feat/swupdate uboot ebg updater
Merge in ICO/coreos from feat/swupdate-uboot-ebg-updater to master

* commit '2adfda1626a0f5c7d3be011a6be14eb0b715b594':
  feat(wks): rename partition
  feat(cn9130-cf-pro): add u-boot update functionality to swupdate
  feat(coreos-image-swupdate.bbclass): add a way to dynamically extends the sw-description files
  feat(swupdate): add efibootguard update support
2023-05-31 09:53:53 +02:00
Patrick Vogelaar e04b6cf215 fix(cn913x-bldn-mbv): fix machine and phy
* 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
2023-05-30 21:55:27 +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 952a80baa5 feat(cn9130-cf-pro): add u-boot update functionality to swupdate 2023-05-16 11:08:40 +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 0d40f39838 Pull request #77: fix(3rd-party): commit id of efibootguard is corrected
Merge in ICO/coreos from update_efibootguard_submodule to master

* commit '66461ac473b8e2fc844e4bab63d784e62a4a5523':
  fix(3rd-party): commit id of efibootguard is corrected
2023-05-09 15:04:31 +02:00
Patrick Vogelaar 66461ac473 fix(3rd-party): commit id of efibootguard is corrected
after recreating the repo the commit IDs of our own commits changed.
This commit fixes that.
2023-05-09 08:32:24 +02:00
Samuel Dolt ab90913b9c Pull request #76: fix(coreos-efi-secureboot.bbclass): fix cache invalidation
Merge in ICO/coreos from fix/broken-keyhash to master

* commit '6e8620a51f3082da56218551ea1791b30358a061':
  fix(coreos-efi-secureboot.bbclass): fix cache invalidation
2023-05-05 09:44:59 +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
Patrick Vogelaar 03502c08e4 Pull request #75: fix(3rd-party): update 3rd-party submodules
Merge in ICO/coreos from update_submdules to master

* commit 'dc4afa8bd20f12bcf31cba017c61a194ba7f51b2':
  fix(3rd-party): update 3rd-party submodules
2023-05-03 13:53:08 +02:00
Patrick Vogelaar dc4afa8bd2 fix(3rd-party): update 3rd-party submodules 2023-05-03 12:43:13 +02:00
Samuel Dolt 02dfe5b7f3 Pull request #74: feat(meta-belden-marvell-bsp): update u-boot to v2023.04
Merge in ICO/coreos from feat/marvell-uboot-2023 to master

* commit 'd8df1d5b9d9e8bb7549f67de7b6cbfb70d0e3a32':
  feat(meta-belden-marvell-bsp): update u-boot to v2023.04
2023-04-27 09:18:20 +02:00
Samuel Dolt d8df1d5b9d feat(meta-belden-marvell-bsp): update u-boot to v2023.04
BREAKING CHANGE: cn9130-cex7 machine configuration is removed
2023-04-26 14:05:36 +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 1b09e55adb Pull request #72: fix(coreos-image-uki.bbclass): fix default value of COREOS_KERNEL1_CMDLINE
Merge in ICO/coreos from fix/broken-update to master

* commit 'b22684d2cdae472846518c14ddf9404aa8fed700':
  fix(coreos-image-uki.bbclass): fix default value of COREOS_KERNEL1_CMDLINE
2023-04-24 16:16:12 +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
Patrick Vogelaar 9d03239655 Pull request #71: fix(u-boot): add missing file and fix build
Merge in ICO/coreos from fix/add_missing_file_and_fix_build to master

* commit 'fa35089782519571794a0a64101a831042db5dd6':
  fix(u-boot): add missing file and fix build
2023-04-24 10:00:10 +02:00
Patrick Vogelaar fa35089782 fix(u-boot): add missing file and fix build 2023-04-21 21:10:43 +02:00
Patrick Vogelaar a3e74f4a9e Pull request #70: fix(devicetree): fix boot for Falcon
Merge in ICO/coreos from fix/adjust_device_tree_compatible_node to master

* commit '2d69b5e24b0236f2d34fe1eb59f19d9d15c035fc':
  fix(devicetree): fix boot for Falcon
2023-04-20 09:48:59 +02:00
Patrick Vogelaar 2d69b5e24b fix(devicetree): fix boot for Falcon
* 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
2023-04-19 21:15:34 +02:00
Patrick Vogelaar 79b1aa3e8a Pull request #69: feat(kernel): add netfilter kernel config
Merge in ICO/coreos from add_netfilter_kernel_options to master

* commit '3d1f75db68f07054c25689a4f717d1c2a4e2042a':
  feat(kernel): add netfilter kernel config
2023-04-03 16:20:37 +02:00
Patrick Vogelaar 3d1f75db68 feat(kernel): add netfilter kernel config
To support the full feature set of iptables the kernelconfig is added.
The config fragment is copied from the yocto-kernel-cache repository.
2023-04-03 16:03:56 +02:00
Samuel Dolt 76d9a2df63 Pull request #68: Build fixes
Merge in ICO/coreos from fix/sam to master

* commit 'd69a877f0cde942ad30f196eea62cbf5c3c1d8a1':
  fix(swupdate): partially revert the emmc flasher suppport
  fix(vm-x64.conf): disable watchdog in efibootguard
  fix(packagegroup-coreos-base): fix mispelled dep
2023-03-16 08:37:21 +01: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 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 55821f53bd fix(packagegroup-coreos-base): fix mispelled dep 2023-03-15 13:33:47 +01:00
Samuel Dolt 8a8152ea54 Pull request #65: Docs/improvements
Merge in ICO/coreos from docs/improvements to master

* commit 'ddf9f9ce44a97ac467c97d90eced9b4924cc389f':
  docs: add a components part
  docs: update the boot chapter to reflect current boot flow
2023-03-15 09:53:36 +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 fe80a973cb Pull request #67: fix(belden-coreos.conf): don't provide a syslog runtime
Merge in ICO/coreos from fix/no-syslog to master

* commit '3c24c04c533eef46ef7d5a7ebc7fafbb7cf3262c':
  fix(belden-coreos.conf): don't provide a syslog runtime
2023-03-15 09:51:57 +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 ddf9f9ce44 docs: add a components part 2023-03-10 11:48:26 +01:00
Samuel Dolt 81777d48bb docs: update the boot chapter to reflect current boot flow 2023-03-10 11:47:49 +01:00
Samuel Dolt 05f53a8804 Pull request #63: fix(coreos-efibootguard.py): don't fail if board doesn't use dtb
Merge in ICO/coreos from feat/devtool-kernel to master

* commit 'a9116ae295d67ef298f8eedc0cbdaab36a4a2234':
  fix(coreos-efibootguard.py): don't fail if board doesn't use dtb
2023-03-09 13:51:40 +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 7ac5f14067 refactor: use black to format python code in vscode 2023-03-08 11:12:58 +01:00
Samuel Dolt 2d5d36e5cd Pull request #58: feat(coreos-container-image): systemd can be installed in the image
Merge in ICO/coreos from fix/systemd-in-podman to master

* commit '75c190ab38e653d5aceaf1b5e8559eaa369b9808':
  feat(coreos-container-image): systemd can be installed in the image
2023-03-08 09:33:13 +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 bb4c4ec9f1 Pull request #57: feat(conf): enable sstate server by default
Merge in ICO/coreos from feat/sstate-by-default to master

* commit 'e9247d5cd019aa41d2289108e92850ed9c13e751':
  feat(conf): enable sstate server by default
2023-03-01 15:06:00 +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 06081b8151 Pull request #56: feat(coreos-emmc-flasher): beaglebone support
Merge in ICO/coreos from feat/emmc-flasher-poc to master

* commit '367814e94c29b4a3a2e344343f1d35fb89993052':
  feat(coreos-emmc-flasher): beaglebone support
2023-02-22 15:06:57 +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