-
Notifications
You must be signed in to change notification settings - Fork 18
Conversation
Some architectures like hexagon and s390 will skip booting with QEMU for the time being. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
We do not boot with QEMU because it only supports MARCH_Z900, which is disabled with clang: https://github.com/groeck/linux-build-test/blob/b8650ca8cdef921992b71db582b9bbdc4efb0ab3/rootfs/s390/run-qemu-s390.sh#L22 https://git.kernel.org/linus/c263a4e990b7296b074e33aa077239a0a28a818e We do not use llvm-objdump for the time being because of ClangBuiltLinux/linux#859. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Presubmit: https://travis-ci.com/nathanchance/continuous-integration/builds/147875953 [skip ci] Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
it doesn't boot? (we could reuse that qemu skip for hexagon (cc @androm3da ) |
I did not try per the comment in Guenter’s build script: https://github.com/groeck/linux-build-test/blob/b8650ca8cdef921992b71db582b9bbdc4efb0ab3/rootfs/s390/run-qemu-s390.sh#L22 |
but it looks like @groeck still boot tests s390, he just does We already do this for a few arch's, a la: continuous-integration/driver.sh Line 332 in fa15d66
|
We can’t do that with clang because of https://git.kernel.org/linus/c263a4e990b7296b074e33aa077239a0a28a818e. |
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Instead of db908a6 we should add qemu-system-misc package to dockerimage, create a rootfs image (need some research, s390 support seems to be removed from buildroot: buildroot/buildroot@b24c321) and run it like this: |
I wonder if we can use initrd from moonbuggy image from the 2014 QEMU Advent Calendar |
Just checked the moonbuggy image, it's not very useful: only a couple shared libraries and a game binary as init. I'm now checking out gentoo netboot initramfs for s390x, it has busybox in it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's merge this and start build testing asap while the qemu details are being worked out. Thanks @nathanchance and @tpimh for pursuing this!
Just built the kernel, tried to boot with QEMU, got Kernel fault:
At least the console is functional. |
Closes: #152
Requires: ClangBuiltLinux/dockerimage#40