Skip to content

Commit

Permalink
linux-iot2050: Update mainline recipe to work with current 6.x
Browse files Browse the repository at this point in the history
We need to expand our defconfig by two switches:
 - CONFIG_EXPERT needs to be explicitly set now. It is required, e.g.,
   to turn on CONFIG_GPIO_SYSFS.
 - CONFIG_AUTOFS4_FS was renamed to CONFIG_AUTOFS_FS.

Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
jan-kiszka committed Oct 31, 2023
1 parent 9c250c8 commit 3c8ae4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 2 additions & 4 deletions kas/opt/upstream.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) Siemens AG, 2020
# Copyright (c) Siemens AG, 2020-2023
#
# This file is subject to the terms and conditions of the MIT License. See
# COPYING.MIT file in the top-level directory.
Expand All @@ -10,6 +10,4 @@ header:

local_conf_header:
upstream-versions: |
PREFERRED_VERSION_linux-iot2050 = "5.x-upstream"
extra-args: |
EXTRA_KERNEL_PARAMS = "fw_devlink=permissive"
PREFERRED_VERSION_linux-iot2050 = "6.x-upstream"
2 changes: 2 additions & 0 deletions recipes-kernel/linux/files/iot2050_defconfig_base
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ CONFIG_USER_NS=y
CONFIG_CHECKPOINT_RESTORE=y
CONFIG_SCHED_AUTOGROUP=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_EXPERT=y
CONFIG_KALLSYMS_ALL=y
CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
Expand Down Expand Up @@ -643,6 +644,7 @@ CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_QUOTA=y
CONFIG_AUTOFS4_FS=y
CONFIG_AUTOFS_FS=y
CONFIG_FUSE_FS=m
CONFIG_CUSE=m
CONFIG_OVERLAY_FS=m
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) Siemens AG, 2020-2021
# Copyright (c) Siemens AG, 2020-2023
#
# Authors:
# Jan Kiszka <[email protected]>
Expand All @@ -11,12 +11,11 @@
require recipes-kernel/linux/linux-custom.inc

SRC_URI += " \
git://github.com/siemens/linux.git;protocol=https;branch=${KERNEL_BRANCH};rev=${KERNEL_BRANCH} \
git://github.com/siemens/linux.git;protocol=https;branch=jan/iot2050 \
file://${KERNEL_DEFCONFIG} \
file://iot2050_defconfig_extra.cfg \
"

KERNEL_BRANCH = "jan/iot2050"
SRCREV = "${AUTOREV}"

KERNEL_DEFCONFIG = "iot2050_defconfig_base"

Expand Down

0 comments on commit 3c8ae4a

Please sign in to comment.