Skip to content

Commit

Permalink
Merge pull request #549 from lumag/fw-img
Browse files Browse the repository at this point in the history
firmware initramfs images rework
  • Loading branch information
lumag authored Nov 19, 2023
2 parents 41e37ca + 454d38d commit e57f4b0
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 45 deletions.
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

0 comments on commit e57f4b0

Please sign in to comment.