travis: Setup latest qemu version for Versal
PATCH 1/1 travis: Setup latest qemu version for Versal
Qemu v4.2.0 maps bootmode registers to address space which was the reason why board_late_init() was disabled and accesses were failing.
With new Qemu board_late_init() can be called without any issue.
---
Not sure which qemu version azure and gitlab are using but I think that also make sense to move the whole travis to v4.2.
As of now I am sending this patch to open that discussion.
--- .travis.yml | 1 + configs/xilinx_versal_virt_defconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
.travis.yml +1 -0
@@ -514,6 +514,7 @@ matrix: - TEST_PY_BD="xilinx_versal_virt" TEST_PY_TEST_SPEC="not sleep" QEMU_TARGET="aarch64-softmmu" + QEMU_VERSION="v4.2.0" TEST_PY_ID="--id qemu" BUILDMAN="^xilinx_versal_virt$" - name: "test/py xtfpga"
configs/xilinx_versal_virt_defconfig +0 -1
@@ -9,7 +9,6 @@ CONFIG_FIT_VERBOSE=y # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set CONFIG_BOOTDELAY=5 CONFIG_SUPPORT_RAW_INITRD=y -# CONFIG_BOARD_LATE_INIT is not set # CONFIG_DISPLAY_CPUINFO is not set CONFIG_BOARD_EARLY_INIT_R=y CONFIG_HUSH_PARSER=y
Signature · 1 line
2.24.0
PATCH 1/1 travis: Setup latest qemu version for Versal
Quoted 11 lines · Michal Simek
Qemu v4.2.0 maps bootmode registers to address space which was the reason why
board_late_init()was disabled and accesses were failing.With new Qemu
board_late_init()can be called without any issue.Signed-off-by Michal Simek <[email protected]>---
Not sure which qemu version azure and gitlab are using but I think that also make sense to move the whole travis to v4.2.
As of now I am sending this patch to open that discussion.
OK, so, the Azure and GitLab are both controlled by
https://gitlab.denx.de/u-boot/gitlab-ci-runner/blob/master/Dockerfile so we just change
https://gitlab.denx.de/u-boot/gitlab-ci-runner/blob/master/Dockerfile#L137
and use v4.2 for all, which I agree we should do for travis as well.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191230/6dd8ccb8/attachment.sig>
PATCH 1/1 travis: Setup latest qemu version for Versal
Hi,
Quoted 13 lines · Tom Rini
Quoted 11 lines · Michal Simek
Qemu v4.2.0 maps bootmode registers to address space which was the reason why
board_late_init()was disabled and accesses were failing.With new Qemu
board_late_init()can be called without any issue.Signed-off-by Michal Simek <[email protected]>---
Not sure which qemu version azure and gitlab are using but I think that also make sense to move the whole travis to v4.2.
As of now I am sending this patch to open that discussion.
Quoted 5 lines
OK, so, the Azure and GitLab are both controlled by
https://gitlab.denx.de/u-boot/gitlab-ci-runner/blob/master/Dockerfile so we just change
https://gitlab.denx.de/u-boot/gitlab-ci-runner/blob/master/Dockerfile#L137
and use v4.2 for all, which I agree we should do for travis as well.
Good.
I have sent a patch to update it to v4.2 but untested. I will run gitlab and travis session.
Thanks,
Michal