Skip to content
Draft
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: 1 addition & 6 deletions conf/machine/rb1-core-kit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require conf/machine/include/qcom-qcm2290.inc

MACHINE_FEATURES = "efi usbhost usbgadget alsa wifi bluetooth"

PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
UBOOT_CONFIG = "qrb2210-rb1"
UBOOT_CONFIG[qrb2210-rb1] = "qcom_defconfig"
UBOOT_INITIAL_ENV = ""
Expand All @@ -22,11 +21,7 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
packagegroup-rb1-hexagon-dsp-binaries \
"

# Helper util to tell the android bootloader to mark the boot as successfull.
# The boot firmware will switch to slot B and fail to boot otherwise.
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "qbootctl"

QCOM_BOOT_FILES_SUBDIR = "qrb2210"
QCOM_PARTITION_FILES_SUBDIR ?= "partitions/qrb2210-rb1/emmc"

QCOM_BOOT_FIRMWARE = "firmware-qcom-boot-qrb2210-rb1"
QCOM_BOOT_FIRMWARE = "firmware-qcom-boot-qrb2210"
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ SRC_URI[sha256sum] = "c75b6c63eb24c8ca36dad08ba4d4e93f3f4cd7dce60cf1b6dfb5790dc1

BOOTBINARIES = "rb1-bootloader-emmc-linux-47528"

QCOM_BOOT_IMG_SUBDIR = "qrb2210"
QCOM_BOOT_IMG_SUBDIR = "qrb2210-rb1"

include firmware-qcom-boot-common.inc
18 changes: 18 additions & 0 deletions recipes-bsp/firmware-boot/firmware-qcom-boot-qrb2210.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
DESCRIPTION = "QCOM NHLOS Firmware for Qualcomm QRB2210 platform"
LICENSE = "LICENSE.qcom-2"
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE.${BPN};md5=6e1bae7ef13289c332a27b917fb49764"

FW_ARTIFACTORY = "softwarecenter.qualcomm.com/nexus/generic/product/chip/tech-package/QRB2210_bootbinaries.1.0/qrb2210_bootbinaries.1.0-test-device-public"
BOOTBINARIES = "Agatti_bootbinaries"

SRC_URI = " \
https://${FW_ARTIFACTORY}/${PV}/${BOOTBINARIES}.zip;downloadfilename=${BOOTBINARIES}_r1.0_${PV}.zip;name=bootbinaries \
https://${FW_ARTIFACTORY}/${PV}/LICENSE.txt;downloadfilename=LICENSE.${BPN};name=license \
https://artifacts.codelinaro.org/artifactory/clo-549-96boards-backup/96boards/rb1/linaro/rescue/23.12/rb1-bootloader-emmc-linux-47528.zip;downloadfilename=fw-cdt-uno-q_${PV}.zip;name=cdt-rb1 \
"
SRC_URI[cdt-rb1.sha256sum] = "c75b6c63eb24c8ca36dad08ba4d4e93f3f4cd7dce60cf1b6dfb5790dc181cc3d"
SRC_URI[license.sha256sum] = "3ad8f1fd82f2918c858cec2d0887b7df6f71a06416beecfdb3efe7d62874d863"

QCOM_BOOT_IMG_SUBDIR = "qrb2210"

include firmware-qcom-boot-common.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require firmware-qcom-boot-qrb2210.inc

SRC_URI[bootbinaries.sha256sum] = "70168afbb254b901d17111bcfcd627af2bfab326cf5e0a007feafafa6bc63b72"
8 changes: 8 additions & 0 deletions recipes-bsp/packagegroups/packagegroup-machine-essential.bb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,15 @@ RRECOMMENDS:${PN}-qcom-qcm2290-soc += " \
${PN}-qcom-generic \
kernel-module-ath10k-snoc \
kernel-module-dispcc-qcm2290 \
kernel-module-dwc3-qcom \
kernel-module-gpucc-qcm2290 \
kernel-module-q6adm \
kernel-module-q6afe \
kernel-module-q6afe-clocks \
kernel-module-q6asm \
kernel-module-q6core \
kernel-module-qcom-pm8008 \
kernel-module-qcom-pm8008-regulator \
"

RRECOMMENDS:${PN}-qcom-qcs615-soc += " \
Expand Down
4 changes: 2 additions & 2 deletions recipes-bsp/partition/qcom-partition-conf_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ DESCRIPTION = "GPT partition binaries and QDL scripts for Qualcomm reference dev
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b0a8acd90d872086b279ead88af03369"

SRC_URI = "git://github.com/qualcomm-linux/qcom-ptool.git;branch=main;protocol=https"
SRCREV = "7b3365284e2c19f1457e335eb25d545e9a2c08a6"
SRC_URI = "git://github.com/ricardosalveti/qcom-ptool.git;branch=rb1;protocol=https"
SRCREV = "d3aa04b80d1c8ed11dec105da4671ccfa8315961"

INHIBIT_DEFAULT_DEPS = "1"

Expand Down
Loading