File tree Expand file tree Collapse file tree 3 files changed +47
-4
lines changed Expand file tree Collapse file tree 3 files changed +47
-4
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,4 @@ QCOM_BOOT_FILES_SUBDIR = "qcm6490"
2323QCOM_PARTITION_FILES_SUBDIR ?= "partitions/qcs6490-rb3gen2/ufs"
2424
2525QCOM_BOOT_FIRMWARE = "firmware-qcom-boot-qcs6490"
26+ UBOOT_MACHINE = "qcm6490_defconfig"
Original file line number Diff line number Diff line change 1+ From d71a6fdb741455cf669f31fd4596f2ec4c757ebe Mon Sep 17 00:00:00 2001
2+ From: Sumit Garg <
[email protected] >
3+ Date: Fri, 31 Oct 2025 11:10:19 +0530
4+ Subject: [PATCH] dts: qcs6490-rb3gen2-u-boot: Add OP-TEE node
5+
6+ Since we currently only support DT based OP-TEE driver probe, lets add the
7+ OP-TEE node here for the time being. In future we want to migrate OP-TEE
8+ probing over to FF-A bus and then we can drop this DT node.
9+
10+ Signed-off-by: Sumit Garg <
[email protected] >
11+ Upstream-Status: Inappropriate [temporary workaround]
12+ ---
13+ arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi | 7 +++++++
14+ 1 file changed, 7 insertions(+)
15+
16+ diff --git a/arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi b/arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi
17+ index fbe72595f5a..e60905cb6a2 100644
18+ --- a/arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi
19+ +++ b/arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi
20+ @@ -15,6 +15,13 @@
21+ <0 0xC3400000 0 0x3CC00000>,
22+ <1 0x00000000 1 0x00000000>;
23+ };
24+ +
25+ + firmware {
26+ + optee {
27+ + compatible = "linaro,optee-tz";
28+ + method = "smc";
29+ + };
30+ + };
31+ };
32+
33+ &usb_1_dwc3 {
34+ - -
35+ 2.48.1
36+
Original file line number Diff line number Diff line change 11# This is a bbappend to add support for generating Android style boot images for chainloading u-boot from ABL
22
3- DEPENDS :append :qcom = " skales-native xxd-native"
3+ FILESEXTRAPATHS :prepend :qcm6490 := "${THISDIR} /files:"
4+ SRC_URI :append :qcm6490 = " \
5+ file://0001-dts-qcs6490-rb3gen2-u-boot-Add-OP-TEE-node.patch \
6+ "
7+
8+ DEPENDS :append :qcom = " xxd-native"
9+ DEPENDS :append :qcm2290 = " skales-native"
410
511# Don't add extra dependencies for non-qcom machines and layers
612COMPILE_EXTRA_DEPENDS = ""
7- COMPILE_EXTRA_DEPENDS :qcom = "virtual/kernel:do_deploy"
13+ COMPILE_EXTRA_DEPENDS :qcm2290 = "virtual/kernel:do_deploy"
814do_compile [depends ] += "${COMPILE_EXTRA_DEPENDS} "
915
10- uboot_compile_config :append :qcom () {
16+ uboot_compile_config :append :qcm2290 () {
1117 cd ${B} /${builddir}
1218 touch empty -file
1319 rm -f u -boot -nodtb . bin . gz
@@ -17,6 +23,6 @@ uboot_compile_config:append:qcom() {
1723}
1824
1925# Symlink the 'main' u-boot.bin to boot.img so the qcom image bbclass pick it up
20- uboot_deploy_config :append :qcom () {
26+ uboot_deploy_config :append :qcm2290 () {
2127 cd ${DEPLOYDIR} && ln -sf u -boot -${type} -${PV} -${PR} . bin boot -${MACHINE} . img
2228}
You can’t perform that action at this time.
0 commit comments