diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2021-03-16 18:36:03 -0600 |
---|---|---|
committer | Anibal Limon <anibal.limon@linaro.org> | 2021-03-17 01:56:47 +0000 |
commit | f15fb219cc7eb95fe6d8a9394e4fb2c205de97b7 (patch) | |
tree | 7fd35d4e98497c1e53b399e18ecdce620a1ab08d /lt-qcom-linux-testimages.yaml | |
parent | 104bd3eeece981ef4bd046337c6c545087d96e51 (diff) |
lt-qcom-linux-testimages: Add qcom-armv8a machine build
To use a qcom-armv8a machine build in testimages with firmware included.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Change-Id: I9a296e07422792f13eaf0cebc55c7abe3b971c6a
Diffstat (limited to 'lt-qcom-linux-testimages.yaml')
-rw-r--r-- | lt-qcom-linux-testimages.yaml | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/lt-qcom-linux-testimages.yaml b/lt-qcom-linux-testimages.yaml index 39f38c5a97..1d3dd6404d 100644 --- a/lt-qcom-linux-testimages.yaml +++ b/lt-qcom-linux-testimages.yaml @@ -49,6 +49,7 @@ values: - 'qemuarm64' - 'qemuarm' + - 'qcom-armv8a' - axis: type: slave name: label @@ -68,18 +69,25 @@ # ensure that we generate the right image type, by default qemu* only generates .ext4, we need .ext4.gz echo "IMAGE_FSTYPES_remove = \"ext4\"" > auto.conf echo "IMAGE_FSTYPES_append = \" ext4.gz\"" >> auto.conf - - # configure serial in rpb-console-image-test - echo "SERIAL_CONSOLES = \"115200;ttyMSM0\"" >> auto.conf - # add ext4 block size to 4096, boards with UFS storage needs it - echo "EXTRA_IMAGECMD_ext4 += \" -b 4096 \"" >> auto.conf - - # add machine dependent qcom services to initramfs and rpb images - echo "CORE_IMAGE_EXTRA_INSTALL += \"${QCOM_USERSPACE_TOOLS}\"" >> auto.conf - echo "PACKAGE_INSTALL_append = \" ${QCOM_USERSPACE_TOOLS}\"" >> auto.conf - # enable mesa to test freedreno echo "PACKAGECONFIG_append_pn-mesa = \"freedreno xa\"" >> auto.conf + + if [ "${MACHINE}" = "qcom-armv8a" ]; then + # install firmware + echo "NO_RECOMMENDATIONS = \"\"" >> auto.conf + # remove kernel and modules to beign installed + echo "MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS_remove = \"kernel-modules\"" >> auto.conf + echo "PACKAGE_EXCLUDE_append = \" kernel*\"" >> auto.conf + else + # configure serial in rpb-console-image-test + echo "SERIAL_CONSOLES = \"115200;ttyMSM0\"" >> auto.conf + # add ext4 block size to 4096, boards with UFS storage needs it + echo "EXTRA_IMAGECMD_ext4 += \" -b 4096 \"" >> auto.conf + + # add machine dependent qcom services to initramfs and rpb images + echo "CORE_IMAGE_EXTRA_INSTALL += \"${QCOM_USERSPACE_TOOLS}\"" >> auto.conf + echo "PACKAGE_INSTALL_append = \" ${QCOM_USERSPACE_TOOLS}\"" >> auto.conf + fi - inject: properties-file: pub_dest_parameters - shell: |