Compare commits

..

12 Commits

Author SHA1 Message Date
Patrick Vogelaar 0e94796c09 chore: update CoreOS version to 1.0.0 2024-04-15 11:49:34 +02:00
Patrick Vogelaar 20c28b53c0 Pull request #185: Master
Merge in ICO/coreos from master to kirkstone-next

* commit 'fc389b0543438b553aba7836e9c93b75eed63c04':
  chore(submodules): update third-party submodules
  feat(coreos-supportd-pkgs): create list of CoreOS supported packages
  chore(belden-coreos): move the initial timestamp to a generic file
  fix(swupdate): add libgcc as a dependency to terminate swupdate correctly
  feat(eagle40-03): strip out unused MACHINE_FEATURES for eagle40-03
  fix(packagegroup-coreos-base.bb): use packagegroup-base instead of packagegroup-base-extended
  feat(cn913x): add: Increase CMA size to hold at least 3 QCN9074 radio modules
2024-04-10 08:43:02 +02:00
Peter Kindler 4285263a85 Pull request #182: Update kirkstone-next with master
Merge in ICO/coreos from master to kirkstone-next

* commit '00752550361d214342d9d1fe2ede501835577aab':
  feat(coreos-resign-swu-file.sh): add resigner for swu files
  chore(u-boot): move distro settings from bsp to meta-belden-coreos
  chore(linux-yocto): remove support for signing the kernel
  chore(linux-yocto): move distro settings from BSP to distro layer
  feat(distro): add coreos to DISTROOVERRIDES
  chore(coreos-image-demo-k3s): move k3s kernel config file to the demo layer
  feat(vm-x64): update kernel to 6.6
  feat(beaglebone): update kernel to 6.6
  fix(secure-storage): add missing RDEPENDS
  feat(coreos-installer): add coreos-installer for eagle40-03
  feat(vscode): use official bitbake extension from Yocto Project
  feat(watchdog): enabled watchdog for EAGLE40-03 with 5s timeout
2024-03-28 14:19:53 +01:00
Patrick Vogelaar 55deee9618 Pull request #173: Update kirkstone-next with the latest changes of master
Merge in ICO/coreos from master to kirkstone-next

* commit 'dd11a6ccbc1f4d6a7549b9e3807847c860c3cb0c':
  chore: update all external meta-layers
  feat(cn913x): cleanup: remove wifi related things
  fix(bblayers.conf.sample): fix metalayer name for meta-lts-kernel-mixin
  feat(eagle40-03): switch to kernel v6.6 for eagle-40-03
  feat(meta-lts-mixins): add meta-lts-mixins layer
  fix(openembedded-core): update to latest version
  fix(netmodule-hw34): fix consoles definitions
2024-03-13 13:39:37 +01:00
Patrick Vogelaar 1141ac2a97 Merge branch 'master' into kirkstone-next 2024-02-29 16:45:32 +01:00
Patrick Vogelaar b7b49f3a9b Pull request #159: refactor(certificates-and-keys-native): renamed recipe
Merge in ICO/coreos from master to kirkstone-next

* commit 'd57a9b7a70c71af6a6f0d9e76696920116adf162':
  refactor(certificates-and-keys-native): renamed recipe
2024-02-15 10:55:11 +01:00
Patrick Vogelaar d82566ae82 Pull request #157: update kirkstone-next with master
Merge in ICO/coreos from master to kirkstone-next

* commit '12ba99370ae12339f37fa7526c247a3707eb0542':
  refactor(trusted-firmware-a): update patches and cleanup
  feat(certificates-and-keys-native): add developer keys and certificates
  feat(secure-storage): add kernel config fragment for dm_crypt
  feat(secure-storage): add secure-storage as Coreos base feature
  feat(secure-storage): add secure-storage base functionality
  feat(userdata): add userdata partition
  feat: set default time for initial startup
2024-01-30 23:03:42 +01:00
Patrick Vogelaar 635cc433cc Pull request #148: Fix qemu coreos arm64
Merge in ICO/coreos from fix_qemu_coreos_arm64 to kirkstone-next

* commit '414496b7cb0cc118c1113f17521cdce0dd706de8':
  fix(qemu-coreos-arm64): rework UKI and SWU generation
  fix(qemu-coreos-arm64): change QB_DRIVE_TYPE for hdd to sd
2023-12-11 13:30:41 +01:00
Patrick Vogelaar 9b9463daf1 Pull request #143: Add uefi qemu and meta arm
Merge in ICO/coreos from add_uefi_qemu_and_meta_arm to kirkstone-next

* commit '5a4fa9e32e1ecbf1f15b005fac83792bb93dbd42':
  feat(qemu-coreos-arm64): add new uefi boot capable qemu machine
  refactor(trusted-firmware-a): switch to meta-arm trusted-firmware-a recipe
  feat(meta-arm): add meta-arm layer to CoreOS
  refactor(.submodules): change submodule names and unify
2023-12-07 17:19:25 +01:00
Patrick Vogelaar d6178d99f0 Pull request #140: Update with changes from master
Merge in ICO/coreos from update_with_changes_from_master to kirkstone-next

* commit '05cd6220adb6a886bf404830f5a773c0b57a4333':
  fix(qemuall): fix broken build for qemu machine
  refactor(0001-refactor-cn913x-defconfig-cleanup.patch): patch refactored. defconfig is properly generated using savedefconfig yocto task
  feat(0001-refactor-cn913x-defconfig-cleanup.patch_and_cn913x_additions.cfg): remove mac80211, cfg80211 and qrtr from standard Linux kernel config. Use the counterparts from meta-netmodule-wlan layer.
2023-11-22 10:40:25 +01:00
Patrick Vogelaar 05cd6220ad Merge branch 'master' into kirkstone-next 2023-11-22 10:29:07 +01:00
Patrick Vogelaar 389c8899fe feat(meta-belden-coreos-backport): introduce backport meta-layer
The meta-belden-coreos-layer will contain changes that are specfic to a release
version. In this case kirkstone. It holds adjustments and/or fixes that will
not go into upstream.

This commit contains a bugfix for libnl.
2023-11-15 13:47:25 +01:00
7 changed files with 107 additions and 2 deletions

View File

@ -0,0 +1,22 @@
The meta-belden-coreos-layer will contain changes that are specfic to a release
version. In this case kirkstone. It holds adjustments and/or fixes that will
not go into upstream.
Dependencies
============
The dependencies cannot easily be specified since this varies on the packages
that require some backporting or fixes.
Table of Contents
=================
I. Adding the meta-belden-coreos-backport layer to your build
II. Misc
I. Adding the meta-belden-coreos-backport layer to your build
=================================================
Run 'bitbake-layers add-layer meta-belden-coreos-backport'

View File

@ -0,0 +1,13 @@
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-belden-coreos-backport"
BBFILE_PATTERN_meta-belden-coreos-backport = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-belden-coreos-backport = "6"
LAYERDEPENDS_meta-belden-coreos-backport = "core meta-belden-coreos"
LAYERSERIES_COMPAT_meta-belden-coreos-backport = "kirkstone"

View File

@ -0,0 +1,62 @@
From bab9e77c87d3b596e77d669b0a827b50e725bb62 Mon Sep 17 00:00:00 2001
From: Ilya Pronin <ipronin@twitter.com>
Date: Fri, 3 Apr 2020 20:00:37 -0700
Subject: [PATCH] route/link: add RTNL_LINK_REASM_OVERLAPS stat
The new stat exposes IPSTATS_MIB_REASM_OVERLAPS link stat. However, the
original motivation for this change was fixing the issue with missing RX
packets link stat.
The regression was introduced in version 3.5.0 with commit 73c1d047,
that added a new enum constant IPSTATS_MIB_REASM_OVERLAPS. Without this
patch, IPSTATS_MIB_REASM_OVERLAPS is missing from
map_stat_id_from_IPSTATS_MIB_v2 and is mapped by it to 0. This tricks
inet6_parse_protinfo() into erroneously overwriting RTNL_LINK_RX_PACKETS
stat, which happens to have value 0, when it tries to set
IPSTATS_MIB_REASM_OVERLAPS.
Fixes: 73c1d0479643 ('Sync linux headers to 4.19.66')
https://github.com/thom311/libnl/pull/235
---
include/netlink/route/link.h | 1 +
lib/route/link.c | 1 +
lib/route/link/inet6.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/include/netlink/route/link.h b/include/netlink/route/link.h
index 516d8e161..d0d6d2b55 100644
--- a/include/netlink/route/link.h
+++ b/include/netlink/route/link.h
@@ -93,6 +93,7 @@ typedef enum {
RTNL_LINK_IP6_ECT0PKTS, /*!< IPv6 SNMP InECT0Pkts */
RTNL_LINK_IP6_CEPKTS, /*!< IPv6 SNMP InCEPkts */
RTNL_LINK_RX_NOHANDLER, /*!< Received packets dropped on inactive device */
+ RTNL_LINK_REASM_OVERLAPS, /*!< SNMP ReasmOverlaps */
__RTNL_LINK_STATS_MAX,
} rtnl_link_stat_id_t;
diff --git a/lib/route/link.c b/lib/route/link.c
index 9439fe6d6..ed6f4558b 100644
--- a/lib/route/link.c
+++ b/lib/route/link.c
@@ -3007,6 +3007,7 @@ static const struct trans_tbl link_stats[] = {
__ADD(RTNL_LINK_IP6_ECT0PKTS, Ip6_InECT0Pkts),
__ADD(RTNL_LINK_IP6_CEPKTS, Ip6_InCEPkts),
__ADD(RTNL_LINK_RX_NOHANDLER, rx_nohandler),
+ __ADD(RTNL_LINK_REASM_OVERLAPS, ReasmOverlaps),
};
char *rtnl_link_stat2str(int st, char *buf, size_t len)
diff --git a/lib/route/link/inet6.c b/lib/route/link/inet6.c
index c977b617b..1ad49bf12 100644
--- a/lib/route/link/inet6.c
+++ b/lib/route/link/inet6.c
@@ -135,6 +135,7 @@ static const uint8_t map_stat_id_from_IPSTATS_MIB_v2[__IPSTATS_MIB_MAX] = {
[33] = RTNL_LINK_IP6_ECT1PKTS, /* IPSTATS_MIB_ECT1PKTS */
[34] = RTNL_LINK_IP6_ECT0PKTS, /* IPSTATS_MIB_ECT0PKTS */
[35] = RTNL_LINK_IP6_CEPKTS, /* IPSTATS_MIB_CEPKTS */
+ [36] = RTNL_LINK_REASM_OVERLAPS, /* IPSTATS_MIB_REASM_OVERLAPS */
};
static int inet6_parse_protinfo(struct rtnl_link *link, struct nlattr *attr,

View File

@ -0,0 +1,7 @@
# Backports for libnl3
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
# The next patch fixes following issue: https://github.com/thom311/libnl/issues/262
# Requested by Team Wireless -> Can Ercandogu (Can.Ercandogu@belden.com)
SRC_URI += "file://0001_route_link_add_rtnl_link_reasm_overlaps_stat.patch"

View File

@ -4,5 +4,5 @@ DISTRO = "belden-coreos-base"
DISTRO_NAME = "Belden CoreOS (Base)" DISTRO_NAME = "Belden CoreOS (Base)"
MAINTAINER = "Belden CoreOS Team" MAINTAINER = "Belden CoreOS Team"
DISTRO_VERSION = "0.0.1" DISTRO_VERSION = "1.0.0"
DISTRO_CODENAME = "kirkstone" DISTRO_CODENAME = "kirkstone"

View File

@ -5,5 +5,5 @@ DISTRO = "belden-coreos"
DISTRO_NAME = "Belden CoreOS" DISTRO_NAME = "Belden CoreOS"
MAINTAINER = "Belden CoreOS Team" MAINTAINER = "Belden CoreOS Team"
DISTRO_VERSION = "0.0.1" DISTRO_VERSION = "1.0.0"
DISTRO_CODENAME = "kirkstone" DISTRO_CODENAME = "kirkstone"

View File

@ -8,6 +8,7 @@ BBFILES ?= ""
BBLAYERS ?= " \ BBLAYERS ?= " \
##OEROOT##/meta \ ##OEROOT##/meta \
##COREOS_LAYERSDIR##/meta-belden-coreos \ ##COREOS_LAYERSDIR##/meta-belden-coreos \
##COREOS_LAYERSDIR##/meta-belden-coreos-backport \
##COREOS_LAYERSDIR##/meta-belden-coreos-bsp \ ##COREOS_LAYERSDIR##/meta-belden-coreos-bsp \
##COREOS_LAYERSDIR##/meta-belden-coreos-demo \ ##COREOS_LAYERSDIR##/meta-belden-coreos-demo \
##COREOS_LAYERSDIR##/meta-belden-marvell-bsp \ ##COREOS_LAYERSDIR##/meta-belden-marvell-bsp \