summaryrefslogtreecommitdiff
path: root/installer
AgeCommit message (Collapse)Author
2022-01-14dragonboards: Move firmware files to external vendor overlay packageAmit Pundir
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>
2021-09-01rb5: Add support for Qcom Robotics RB5 development kitandroid-s-beta-5Amit Pundir
* Add new lunch target "rb5-userdebug" * Boots android-mainline (3aa53d85a061) to UI * ADB works * If you are having display issues on your brand new RB5 kit then run the following set of adb commands to update the lt9611uxc firmware version: adb wait-for-device; adb root; adb shell "echo 1 > /sys/bus/i2c/devices/5-002b/lt9611uxc_firmware" Check installer/rb5/README for more details. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I2917de0375e95e17a88446474fdb256af769f73d
2021-08-27rb5: Add bootloader and firmware binariesAmit Pundir
Bootloader / Rescue files are downloaded from http://snapshots.linaro.org/96boards/qrb5165-rb5/linaro/rescue/14/rb5-bootloader-ufs-aosp-14.zip Adreno a650 firmware files and board.bin (38-bdwlan_split/bdwlan.e04) are copied from http://releases.linaro.org/96boards/rb5/qualcomm/firmware/RB5_firmware_20210331-v4.zip ath11k, qca, adsp/cdsp mbn, lt9611uxc_fw.bin and json files are copied from linux-firmware project https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git (168452ee695b) QDL source code is hosted at https://git.linaro.org/landing-teams/working/qualcomm/qdl.git (13681fcb359c) Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I0dc91d910de5d6aa8954062be09b1b0ceb88404e
2021-02-19db845c: flash-all-aosp.sh: Format metadata when flashingJohn Stultz
YongQin ran into an issue where adb remount was failing because his metadata partition was old. So lets avoid having others hit this by formatting metadata when doing a flashall. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I6167c45b04d73fff2b9c68181906965cf4b7d462
2021-01-19db845c: Enable boot image header v3 supportAmit Pundir
To enable boot image header v3 support, set "TARGET_USES_BOOT_HDR_V3=true" while building AOSP images for db845c. Build will fall back to boot image header v2 otherwise. Boot image header v3 support depends on the latest bootloader binaries. Run device/linaro/dragonboard/installer/db845c/flash-all-aosp.sh script to update the bootloader binaries on db845c. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: Iaf565fc25c731a9d42c8fbc550686b588caba5df
2021-01-15db845c: installer: Update bootloader binaries to support boot image header v3Amit Pundir
Update db845c bootloader binaries to support Android boot image header v3. Downloaded (build #66) from here: https://snapshots.linaro.org/96boards/dragonboard845c/linaro/rescue/66/ Build description: * Build URL: https://ci.linaro.org/job/lt-qcom-bootloader-dragonboard845c/66/ * ABL source code: https://git.linaro.org/landing-teams/working/qualcomm/abl.git/commit/?id=5ec80d0f198b * Partition table: https://git.linaro.org/landing-teams/working/qualcomm/db-boot-tools.git/tree/dragonboard845c/aosp/partition.xml?id=a8d3103bd7cf Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I6a058cf44630493cb2edcc4e3839d7ae1b647e3f
2021-01-15Revert "db845c: Add support for cache partition"Amit Pundir
This reverts commit 70f37c65199443d2502da58ecb81a4be28d36d80. With Virtual A/B, we no longer need cache partition for "adb remount" to work with overlayfs. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I979e61c4a64a8d0b1c7345491f4924c1d3fa62e0
2020-10-06db845c: Add support for cache partitionJohn Stultz
Add logic to support cache partition, as it seems to be required to properly handle overlayfs remounts on the super paritition. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I5c3c0eebb7e8d34cff85197855f4ea5b989b90b3
2020-01-15db845c: flash-all-aosp.sh: Add fastboot reboot to the end of the scriptJohn Stultz
Now that we are building and flashing boot.img by default, lets add a fastboot reboot command to the end of the script, as we have no reason to wait for more fastboot commands. Change-Id: I1784864eb31796caaf1eae47ded0325b79dbd6b7 Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-01-14db845c: Update userland build to use dragonboard-kernel project and build ↵John Stultz
boot.img This patch updates the userland build to built a boot.img from prebuilt kernel/modules in the dragonboard-kernel project. At the moment, there is nothing in the dragonboard-kernel project, but once we do add the prebuilt files, we'll want this change. Change-Id: I6b9ce745c378ea50e176e9c8ed67336953766fa2 Signed-off-by: John Stultz <john.stultz@linaro.org>
2019-12-10db845c: installer: Update bootloader binaries and flashing scriptsAmit Pundir
Update db845c bootloader binaries to support Android boot image header v2. Downloaded (build #33) from here: https://snapshots.linaro.org/96boards/dragonboard845c/linaro/rescue/33/ Build description: * Build URL: https://ci.linaro.org/job/lt-qcom-bootloader-dragonboard845c/33/ * Linux proprietary bootloaders package: http://releases.linaro.org/96boards/dragonboard845c/qualcomm/firmware/RB3_firmware_20190529180356-v4.zip * ABL source code: https://git.linaro.org/landing-teams/working/qualcomm/abl.git/commit/?id=fe1eaeb15947e1fec986acbe80f29debbb650efb * Partition table: https://git.linaro.org/landing-teams/working/qualcomm/db-boot-tools.git/tree/dragonboard845c/aosp/partition.xml?id=0e8dde66a17cad7040b7f21f9e752fc1ee13006d Also update flashing script to create boot.img with header v2 and make recovery.sh executable. Change-Id: I5f0917b1ca78ca981460e4b5081ee074601feec4 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2019-09-24db845c: installer: Add bootloader binaries and flashing scriptsAmit Pundir
* Add AOSP flashing and board recovery scripts, a README for instructions and prebuilt flashing tool (qdl) for board recovery. QDL source is hosted at https://github.com/andersson/qdl/commits/master (760b3dffb03d) * Also added the db845c aosp bootloader binaries from here: https://snapshots.linaro.org/96boards/dragonboard845c/linaro/rescue/26/ Build description: Build URL: https://ci.linaro.org/job/lt-qcom-bootloader-dragonboard845c/26/ Linux proprietary bootloaders package: RB3_firmware_20190529180356-v3.zip ABL source code: https://git.linaro.org/landing-teams/working/qualcomm/abl.git/commit/?id=5086ee1aa38de6d69efea1d4a5ee535203014097 Partition table: AOSP: https://git.linaro.org/landing-teams/working/qualcomm/db-boot-tools.git/tree/dragonboard845c/aosp/partition.xml?id=0e8dde66a17cad7040b7f21f9e752fc1ee13006d Change-Id: I563b09779ef506b529774bd0b32147d8d516f096 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>