Skip to content

Commit d4db7fb

Browse files
authored
Merge pull request #119 from lool/userspace-dmabuf-heaps
kernel-configs: Add config fragment for IMSDK
2 parents 6a51bf5 + 263c0b8 commit d4db7fb

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ jobs:
6464
apt -y install git crossbuild-essential-arm64 make flex bison bc \
6565
libdw-dev libelf-dev libssl-dev libssl-dev:arm64 dpkg-dev \
6666
debhelper-compat kmod python3 rsync coreutils
67-
scripts/build-linux-deb.sh kernel-configs/systemd-boot.config
67+
scripts/build-linux-deb.sh \
68+
kernel-configs/qcom-imsdk.config \
69+
kernel-configs/systemd-boot.config
6870
6971
- name: Stage artifacts for upload
7072
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ To build flashable assets for all supported boards, follow these steps:
7171

7272
1. (optional) build a local Linux kernel deb from mainline with a recommended config fragment
7373
```bash
74-
scripts/build-linux-deb.sh kernel-configs/systemd-boot.config
74+
scripts/build-linux-deb.sh kernel-configs/qcom-imsdk.config kernel-configs/systemd-boot.config
7575
```
7676

7777
1. build tarballs of the root filesystem and DTBs

kernel-configs/qcom-imsdk.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# many GStreamer plugins in the Qualcomm IMSDK use DMABUF userspace heaps
2+
CONFIG_DMABUF_HEAPS=y
3+
CONFIG_DMABUF_HEAPS_SYSTEM=y
4+
CONFIG_DMABUF_HEAPS_CMA=y

kernel-configs/systemd-boot.config

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2-
# SPDX-License-Identifier: BSD-3-Clause
3-
41
# systemd-boot won't implement support for compressed images (zImage); see
52
# https://github.com/systemd/systemd/issues/23788
63
CONFIG_EFI_ZBOOT=y

0 commit comments

Comments
 (0)