dragonboards: Move firmware files to external vendor overlay package
Moving all the vendor binaries (including bootloader, qdl
and firmware binaries) to an external vendor.tgz package
to be downloaded from:
https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220106.tgz
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES build flag is
used to copy a few vendor firmware files to ramdisk or
vendor_ramdisk to work-around the dependency of their
drivers on FW_LOADER_USER_HELPER_FALLBACK kernel config.
And for that we needed to bump up the boot and vendor_boot
partition sizes as well.
Also folded John's installer script changes into this patch.
Change-Id: I1b46ee17f4a218c735e2ac8d81759364b3bf7332
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
[Reworked to handle versioned vendor/linaro/<dev> paths]
Signed-off-by: John Stultz <john.stultz@linaro.org>
diff --git a/vendor-package-ver.sh b/vendor-package-ver.sh
new file mode 100755
index 0000000..9b02d77
--- /dev/null
+++ b/vendor-package-ver.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+export EXPECTED_LINARO_VENDOR_VERSION=20220106
+export VND_PKG_URL=https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220106.tgz
+
+if [ "$1" = "url" ]; then
+ echo $VND_PKG_URL
+elif [ "$1" = "ver" ]; then
+ echo $EXPECTED_LINARO_VENDOR_VERSION
+fi