Commit graph

4 commits

Author SHA1 Message Date
Cédric Le Goater ed97f60c3a configs/qemu_ppc*: bump kernel version to 5.17.7
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-07-24 00:03:33 +02:00
Cédric Le Goater 1e2fe860f3 configs/qemu_ppc64*: downgrade binutils to 2.36.1
ppc64 or powernv Linux defconfig fail to build with gcc 11 and/or
binutils 2.37 [1] :

  CC      kernel/kexec_file.o
  Cannot find symbol for section 10: .text.unlikely.
  kernel/kexec_file.o: failed

Patches have been sent upstream and should reach Linux 5.18. Until
then, limit binutils to 2.36.1 which doesn't raise the issue.

[1] https://github.com/linuxppc/issues/issues/388

Cc: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-05-18 21:16:01 +02:00
David HENG f540edccb9 configs/qemu_*: bump kernel version to 5.15.18
See runtimes test here :
https://gitlab.com/davidheng.pw/buildroot/-/pipelines/460019580

Signed-off-by: David HENG <david.heng@smile.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-13 16:21:02 +01:00
Cédric Le Goater 7d914839a4 configs/qemu_ppc64le_powernv8: new defconfig
PowerNV is the platform using the OPAL [1] firmware on OpenPOWER
systems. OPAL first loads a kernel and an initramfs image based on
buildroot including a second boot loader petitboot [2]. The latter
does device discovery and kexecs a new Linux image from disk or
network.

QEMU implements PowerNV machines [3] for the POWER8, POWER9 and
Power10 processors which are used for dev and tests. POWER8 images
being compatible with POWER9 and Power10, simply add a single
qemu_ppc64le_powernv8 board for all.

The QEMU script boots directly from a nvme disk because it is simple
enough but a real system would boot from a ramfs first.

[1] https://github.com/open-power/skiboot/blob/master/doc/overview.rst
[2] https://github.com/open-power/petitboot/
[3] https://qemu.readthedocs.io/en/latest/system/ppc/powernv.html

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-11 21:37:28 +01:00