aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-linux-integration
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2019-02-06 00:21:23 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-02-06 15:26:08 +0000
commit07920dc05fd212cd7a115e3e60f397fdc706b8bb (patch)
treea5812cc0d1129afa4df29bc205beb5acec16e3e7 /lt-qcom-linux-integration
parentc78487c092a002d79d78c988e1e31163e8d2f325 (diff)
lt-qcom-linux-{integration,mainline}: simplify list of parameters
We recently started to use generic images for all boards, to ROOTFS and RAMDISK variables don't need to be per-board, they are all the same. Also we can assume that all DTBS are located under the same folder, so we can make KERNEL_DT_URL generic and indicate a folder where all DTBS can be found. We are still checking that DTBS for all supported MACHINES exist. This patch also removed all unused (or uninitialized) job parameters, and we set MACHINES in the top level .yaml file to better control the list of MACHINES to test for each job. Change-Id: If0b987e83b429f8bca8f1192c1f8330268782a5e Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'lt-qcom-linux-integration')
-rwxr-xr-xlt-qcom-linux-integration/builders.sh16
1 files changed, 1 insertions, 15 deletions
diff --git a/lt-qcom-linux-integration/builders.sh b/lt-qcom-linux-integration/builders.sh
index 53a6988378..d1644a9329 100755
--- a/lt-qcom-linux-integration/builders.sh
+++ b/lt-qcom-linux-integration/builders.sh
@@ -217,42 +217,28 @@ BOOTIMG_BASE=0x80000000
RAMDISK_BASE=0x84000000
SERIAL_CONSOLE=ttyMSM0
KERNEL_CI_MACH=qcom
+KERNEL_DT_URL="${KERNEL_DT_URL}/qcom/${MACHINE}.dtb"
# Set per MACHINE configuration
case "${MACHINE}" in
apq8016-sbc)
- KERNEL_DT_URL=${KERNEL_DT_URL_apq8016_sbc}
- RAMDISK_URL=${RAMDISK_URL_apq8016_sbc}
- ROOTFS_URL=${ROOTFS_URL_apq8016_sbc}
FIRMWARE_URL=${FIRMWARE_URL_apq8016_sbc}
ROOTFS_PARTITION=/dev/mmcblk0p10
;;
apq8096-db820c)
- KERNEL_DT_URL=${KERNEL_DT_URL_apq8096_db820c}
- RAMDISK_URL=${RAMDISK_URL_apq8096_db820c}
- ROOTFS_URL=${ROOTFS_URL_apq8096_db820c}
FIRMWARE_URL=${FIRMWARE_URL_apq8096_db820c}
BOOTIMG_PAGESIZE=4096
ROOTFS_PARTITION=/dev/sda1
;;
sdm845-mtp)
- KERNEL_DT_URL=${KERNEL_DT_URL_sdm845_mtp}
- RAMDISK_URL=${RAMDISK_URL_sdm845_mtp}
- ROOTFS_URL=${ROOTFS_URL_sdm845_mtp}
FIRMWARE_URL=${FIRMWARE_URL_sdm845_mtp}
ROOTFS_PARTITION=/dev/sda8 # XXX: using Android userdata since we don't have Linux parttable
;;
qcs404-evb-1000)
- KERNEL_DT_URL=${KERNEL_DT_URL_qcs404_evb_1000}
- RAMDISK_URL=${RAMDISK_URL_qcs404_evb_1000}
- ROOTFS_URL=${ROOTFS_URL_qcs404_evb_1000}
FIRMWARE_URL=${FIRMWARE_URL_qcs404_evb_1000}
ROOTFS_PARTITION=/dev/mmcblk0p26
;;
qcs404-evb-4000)
- KERNEL_DT_URL=${KERNEL_DT_URL_qcs404_evb_4000}
- RAMDISK_URL=${RAMDISK_URL_qcs404_evb_4000}
- ROOTFS_URL=${ROOTFS_URL_qcs404_evb_4000}
FIRMWARE_URL=${FIRMWARE_URL_qcs404_evb_4000}
ROOTFS_PARTITION=/dev/mmcblk0p26
;;