ClangBuiltLinux / continuous-integration

Continuous integration of latest Linux kernel with daily build of Clang & LLVM tools
https://travis-ci.com/ClangBuiltLinux/continuous-integration
Apache License 2.0
44 stars 18 forks source link

s390 boot testing #232

Open tpimh opened 4 years ago

tpimh commented 4 years ago

Let's continue discussion from #229.

Quick summary:

nickdesaulniers commented 4 years ago

@tpimh can you please find the commit to buildroot that dropped s390 support as reference?

tpimh commented 4 years ago

https://github.com/buildroot/buildroot/commit/b24c3215c13b0f25979c744af4b2e58359b5723b

nickdesaulniers commented 4 years ago

@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!

nickdesaulniers commented 4 years ago

@groeck also reverted the removal of s390 from his fork of buildroot: https://github.com/groeck/buildroot/commit/2cf133451d8c03ee6c92f3e52da5af1ae37c80cd

Maybe we should use that!?

nickdesaulniers commented 4 years ago

cc @nathanchance

nathanchance commented 4 years ago

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

groeck commented 4 years ago

WFM, with my scripts at github (see above)

shenki commented 4 years ago

FYI, an IBMer is submitting buildroot support for s390 upstream: http://patchwork.ozlabs.org/project/buildroot/list/?series=201991

eaibmz commented 4 years ago

IBM s390x and Z arch has officially landed today in buildroot master :smile:

nickdesaulniers commented 4 years ago

@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?

nickdesaulniers commented 4 years ago

It looks like 2020.08.1 was released on 2020-10-12. We should be able to use that.

eaibmz commented 4 years ago

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.

nickdesaulniers commented 4 years ago

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

nickdesaulniers commented 4 years ago

oh, indeed, the buildroot/src/ dir has nothing that looks s390 related in it...

eaibmz commented 4 years ago

This shall work if s390x is present: ls -l configs/qemu_s390x_defconfig

eaibmz commented 4 years ago

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 :-)