Open tpimh opened 4 years ago
@tpimh can you please find the commit to buildroot that dropped s390 support as reference?
@groeck has s390 images: https://github.com/groeck/linux-build-test/tree/master/rootfs/s390
Not sure if they auto shutdown a machine or not, but we should try them out!
@groeck also reverted the removal of s390 from his fork of buildroot: https://github.com/groeck/buildroot/commit/2cf133451d8c03ee6c92f3e52da5af1ae37c80cd
Maybe we should use that!?
cc @nathanchance
We could. However, I think the root file system is a moot point until we can actually get the kernel to start: https://github.com/ClangBuiltLinux/boot-utils/issues/11#issuecomment-620426969
WFM, with my scripts at github (see above)
FYI, an IBMer is submitting buildroot support for s390 upstream: http://patchwork.ozlabs.org/project/buildroot/list/?series=201991
IBM s390x and Z arch has officially landed today in buildroot master :smile:
@eaibmz thank you so much for the work that went into adding s390x buildroot support! I owe you a 🍺 !
It looks like from our QEMU boot test repo, we're using buildroot release 2020.02. https://github.com/ClangBuiltLinux/boot-utils/blob/master/buildroot/rebuild.sh#L42
So once we know the latest release that contains support, we can easily update that line to make use of the newer buildroot release. It looks like the latest release is 2020.08 which was last modified 2020-09-01. It looks like v3 was submitted 2020-09-16, so it looks like we'll need to wait for the 2020.09 release (or one of the 2020.09-rc* release candidates) of buildroot. I don't want to use the snapshot. Does that sound like the correct version?
It looks like 2020.08.1 was released on 2020-10-12. We should be able to use that.
It looks like 2020.08.1 was released on 2020-10-12. We should be able to use that.
I think it was just a bugfix release and it doesn't have s390x support yet. The next release which shall support s390x is 2020.11, in November 2020. The s390x was merged on 24. September, after the 2020.08 release, unfortunately.
I think it was just a bugfix release and it doesn't have s390x support yet.
Then what image file is in https://github.com/ClangBuiltLinux/boot-utils/pull/26 then? Spooky
oh, indeed, the buildroot/src/ dir has nothing that looks s390 related in it...
This shall work if s390x is present:
ls -l configs/qemu_s390x_defconfig
I think it was just a bugfix release and it doesn't have s390x support yet.
Then what image file is in ClangBuiltLinux/boot-utils#26 then? Spooky
Indeed, I wonder what you built :-)
Let's continue discussion from #229.
Quick summary:
qemu-system-s390x -m 512m -machine s390-ccw-virtio -initrd images/s390/rootfs.cpio -display none -serial mon:stdio -kernel linux/arch/s390/boot/bzImage
) there was a kernel fault: https://github.com/ClangBuiltLinux/continuous-integration/pull/229#issuecomment-583760615