public inbox for kernelci@lists.linux.dev
 help / color / mirror / Atom feed
* Add more arches to kernelci via QEMU devices (part2)
@ 2019-06-21  9:24 Corentin Labbe
  2019-06-21 11:28 ` Mark Brown
  2019-06-26 16:35 ` Kevin Hilman
  0 siblings, 2 replies; 3+ messages in thread
From: Corentin Labbe @ 2019-06-21  9:24 UTC (permalink / raw)
  To: kernelci

[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]

Hello

My work of supporting all qemus in LAVA is nearly done.
It is now possible to create qemus job for lots of arch like
arm,arm64,sparc,sparc64,powerpc,ppc64,nios2,xtensa,mips,mips64,alpha,openrisc,etc...

You can find the project I use for generating qemu jobs here:
https://github.com/montjoie/bbci/
and boot results here http://kernel.montjoie.ovh/lava/

Now bringing qemu boot in kernelci rise some problems:
1) machine selection
Kernelci currently select boards to boot by checking the arch and presence
of dtb in a build.
This will be insufficient when booting some arches like ppc.
So we must add boot selection via CONFIGs presence in the builded .config.
Note that adding CONFIG requirements for each board will bring an extra new
magic randomconfig/boot way.
You can find in the template section of
https://github.com/montjoie/bbci/blob/master/all.yaml
for each board examples of CONFIGs needed
This will need to be copied in kernelci-core/test-configs.yaml

2) device aliases
I boot currently more than 20 qemu machines, so hiding all thoses different
machines under a single device-type will be bad.
So for displaying results on kernelci we will need device aliases.
But how to name them ?
qemu-arch-machine ? (ex: qemu-arm-cubieboard, qemu-sparc-ss10)
or just qemu-machine ?

3) qemu versions
Since each lab are different, we wiil hit the problem of qemu versions
divergences.
I have no easy way to handle it. Perhaps with LAVA tags ?

4) defconfig hacks
Some qemu machines can only be booted if defconfig are hacked.
Examples are
- need to disable cryptohw in exynos/cubieboard
- need to disable some CONFIG for omap1
Does kernelci want to build extra defconfig+hacks ?

My next move is to create a PR for adding CONFIGs selection and qemu arm64
boots as an example.

Regards

[-- Attachment #2: Type: text/html, Size: 2452 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-26 16:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-21  9:24 Add more arches to kernelci via QEMU devices (part2) Corentin Labbe
2019-06-21 11:28 ` Mark Brown
2019-06-26 16:35 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox