Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firmware initramfs images rework #549

Merged
merged 6 commits into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions recipes-bsp/images/initramfs-firmware-db8074-image.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DESCRIPTION = "Tiny ramdisk image with Dragonboard APQ8074 firmware files"

PACKAGE_INSTALL += " \
packagegroup-firmware-dragonboard-apq8074 \
"

require initramfs-firmware-image.inc
16 changes: 16 additions & 0 deletions recipes-bsp/images/initramfs-firmware-ifc6560-image.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
DESCRIPTION = "Tiny ramdisk image with all Nexus and Pixel devices firmware files"

PACKAGE_INSTALL += " \
packagegroup-firmware-ifc6560 \
"

BAD_RECOMMENDATIONS = "\
linux-firmware-qcom-sda660-audio \
linux-firmware-qcom-sda660-compute \
linux-firmware-qcom-sda660-modem \
linux-firmware-qcom-sda660-venus \
linux-firmware-qca \
linux-firmware-ath10k \
"

require initramfs-firmware-image.inc
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
DESCRIPTION = "Tiny ramdisk image with firmware files"

# We do not use kernel image or kernel modules in the image, so remove the
# dependency on the kernel
KERNELDEPMODDEPEND = ""
KERNEL_DEPLOY_DEPEND = ""

# Do not install anything by default
PACKAGE_INSTALL = ""

Expand All @@ -31,14 +26,4 @@ PACKAGE_INSTALL:qcom-armv7a = " \
firmware-qcom-nexus7-2013 \
"

IMAGE_LINGUAS = ""
LICENSE = "MIT"

IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
inherit core-image

IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0"

# Inhibit installing /init
IMAGE_BUILDING_DEBUGFS = "true"
require initramfs-firmware-image.inc
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
DESCRIPTION = "Tiny ramdisk image with RB1/RB2 devices firmware files"

# We do not use kernel image or kernel modules in the image, so remove the
# dependency on the kernel
KERNELDEPMODDEPEND = ""
KERNEL_DEPLOY_DEPEND = ""

PACKAGE_INSTALL += " \
packagegroup-firmware-rb1 \
packagegroup-firmware-rb2 \
"

BAD_RECOMMENDATIONS = " \
firmware-qcom-rb1-dspso \
firmware-qcom-rb2-dspso \
linux-firmware-qcom-venus-6.0 \
"

IMAGE_LINGUAS = ""
LICENSE = "MIT"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
DESCRIPTION = "Tiny ramdisk image with all Nexus and Pixel devices firmware files"

# We do not use kernel image or kernel modules in the image, so remove the
# dependency on the kernel
KERNELDEPMODDEPEND = ""
KERNEL_DEPLOY_DEPEND = ""

# Firmware support for newer Nexus and Pixel devices depends on simg2img, which
# is provided by the meta-oe only. So they are split into the bbappend in
# dynamic-layers/openembedded-layer.
Expand All @@ -26,14 +21,4 @@ PACKAGE_INSTALL += " \
firmware-qcom-pixel5a-5g \
"

IMAGE_LINGUAS = ""
LICENSE = "MIT"

IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
inherit core-image

IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0"

# Inhibit installing /init
IMAGE_BUILDING_DEBUGFS = "true"
require initramfs-firmware-image.inc
14 changes: 14 additions & 0 deletions recipes-bsp/images/initramfs-firmware-rb12-image.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
DESCRIPTION = "Tiny ramdisk image with RB1/RB2 devices firmware files"

PACKAGE_INSTALL += " \
packagegroup-firmware-rb1 \
packagegroup-firmware-rb2 \
"

BAD_RECOMMENDATIONS = " \
firmware-qcom-rb1-dspso \
firmware-qcom-rb2-dspso \
linux-firmware-qcom-venus-6.0 \
"

require initramfs-firmware-image.inc
11 changes: 11 additions & 0 deletions recipes-bsp/images/initramfs-firmware-sm8150-hdk-image.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
DESCRIPTION = "Tiny ramdisk image with SM8150 HDK devices firmware files"

PACKAGE_INSTALL += " \
packagegroup-firmware-sm8150-hdk \
"

BAD_RECOMMENDATIONS = " \
linux-firmware-qcom-sm8150-sensors \
"

require initramfs-firmware-image.inc
11 changes: 11 additions & 0 deletions recipes-bsp/images/initramfs-firmware-sm8350-hdk-image.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
DESCRIPTION = "Tiny ramdisk image with SM8350 HDK devices firmware files"

PACKAGE_INSTALL += " \
packagegroup-firmware-sm8350-hdk \
"

BAD_RECOMMENDATIONS = " \
linux-firmware-qcom-sm8350-sensors \
"

require initramfs-firmware-image.inc