ci/db410c: Fix networking so we get artifacts from our jobs.

Seems some sort of linux change (bugfix?) resulted in the db410cs
selecting device mode for the db410cs due to the micro cable being
plugged in (fastboot runs them in device mode), so we weren't finding
the network and getting artifacts out.

Closes: #3728
Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6971>
This commit is contained in:
Eric Anholt
2020-11-07 09:32:02 -08:00
committed by Marge Bot
parent f6ccaca36e
commit dd34d28de7
2 changed files with 5 additions and 1 deletions

View File

@@ -414,7 +414,7 @@ arm64_test:
extends: extends:
- .use-arm_test-base - .use-arm_test-base
variables: variables:
FDO_DISTRIBUTION_TAG: &arm64_test "2020-11-09-deqp-version" FDO_DISTRIBUTION_TAG: &arm64_test "2020-11-09-db410c-net"
.use-arm64_test: .use-arm64_test:
variables: variables:

View File

@@ -158,6 +158,10 @@ if [ -n "$INSTALL_KERNEL_MODULES" ]; then
sed -i 's/=m/=n/g' ${DEFCONFIG} sed -i 's/=m/=n/g' ${DEFCONFIG}
fi fi
# Force db410c to host mode instead of OTG (which is otherwise selected by
# default due to our micro cable for fastboot)
sed -i 's/dr_mode = "otg"/dr_mode = "host"/' arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
./scripts/kconfig/merge_config.sh ${DEFCONFIG} ../.gitlab-ci/${KERNEL_ARCH}.config ./scripts/kconfig/merge_config.sh ${DEFCONFIG} ../.gitlab-ci/${KERNEL_ARCH}.config
make ${KERNEL_IMAGE_NAME} make ${KERNEL_IMAGE_NAME}
for image in ${KERNEL_IMAGE_NAME}; do for image in ${KERNEL_IMAGE_NAME}; do