@@ -15,12 +15,33 @@ architecture: arm64
1515actions :
1616 - action : download
1717 description : Download qcom-ptool
18- url : https://github.com/qualcomm-linux/qcom-ptool/archive/6b9bdebb6c88809a543117735003c3f0e9ea8217 .tar.gz
18+ url : https://github.com/qualcomm-linux/qcom-ptool/archive/2caadb316227dc6cba4c2d5d8276f4b7d951599a .tar.gz
1919 name : qcom-ptool
2020 filename : qcom-ptool.tar.gz
2121 unpack : true
2222
2323{{- $boards := list }}
24+ {{- $boards = append $boards (dict
25+ " name" " glymur-crd"
26+ " silicon_family" " glymur"
27+ " ptool_platforms" (list "glymur-crd/nvme")
28+ " boot_binaries_download" (dict
29+ " description" " Glymur boot binaries"
30+ " url" " https://softwarecenter.qualcomm.com/nexus/generic/software/chip/qualcomm_linux-spf-0-0/qualcomm-linux-spf-0-0_test_device_public/r0.0_00009.0/glymur-le-0-0/common/build/bin/Glymur_bootbinaries.zip"
31+ " name" " glymur_boot-binaries"
32+ " filename" " glymur_boot-binaries.zip"
33+ " sha256sum" " 79df8ab4cc3248472d819098d20829ab129828c19937525cfc16f089d65a7a42"
34+ )
35+ " cdt_download" (dict
36+ " description" " Glymur CRD CDT"
37+ " url" " https://artifacts.codelinaro.org/artifactory/codelinaro-le/Qualcomm_Linux/SC8480XP/cdt/sc8480xp-crd.zip"
38+ " name" " glymur-crd_cdt"
39+ " filename" " glymur-crd_cdt.zip"
40+ " sha256sum" " d694eedb0addcc5ee588d6993661cd23996fba1d1a43afc3b196dad12534bffc"
41+ )
42+ " cdt_filename" " CRD/cdt_glymur_crd_0.1.0.bin"
43+ " dtb" " qcom/glymur-crd.dtb"
44+ )}}
2445{{- if eq $build_qcs615 "true" }}
2546{{- $boards = append $boards (dict
2647 " name" " qcs615-ride"
@@ -340,14 +361,18 @@ actions:
340361 " --disk " *)
341362 disk_type="$(echo "$line" | sed -n 's/.*--type=\([^ ]*\).*/\1/p')"
342363 case $disk_type in
343- " emmc" )
364+ emmc|nvme )
344365 esp="../disk-sdcard.img1"
345366 rootfs="../disk-sdcard.img2"
346367 ;;
347- " ufs" )
368+ ufs)
348369 esp="../disk-ufs.img1"
349370 rootfs="../disk-ufs.img2"
350371 ;;
372+ *)
373+ echo "unsupported disk type $disk_type"
374+ exit 1
375+ ;;
351376 esac
352377 echo "$disk_type" >disk_type
353378 ;;
@@ -427,6 +452,7 @@ actions:
427452 -or -name 'boot.img' \
428453 -or -name '*.bin' \
429454 -or -name '*.elf' \
455+ -or -name '*.melf' \
430456 -or -name '*.fv' \
431457 -or -name '*.mbn' \
432458 \) \
0 commit comments