qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] Booting Lubuntu 16.04 on qemu-system-ppc produces errors


From: BALATON Zoltan
Subject: Re: [Qemu-ppc] Booting Lubuntu 16.04 on qemu-system-ppc produces errors
Date: Tue, 30 Jul 2019 04:12:35 +0200 (CEST)
User-agent: Alpine 2.21.9999 (BSF 287 2018-06-16)

On Wed, 10 Jul 2019, BALATON Zoltan wrote:
On Wed, 10 Jul 2019, Howard Spoelstra wrote:
qemu-system-ppc -M mac99,via=pmu -L ../queue-vga/pc-bios -cdrom
/mnt/sdb1/PPC-img/lubuntu-16.04-desktop-powerpc.iso -m 512  -display
sdl,gl=on -vga std -d guest_errors,unimp -boot d -cpu G4 -g 1024x768x24
-device ES1370

Hi,

With this simple command line I get to the desktop with Lubuntu PPC 16 32
bit. Takes some time... Qemu-system-ppc is from current rc0 master.
Colors are inverted, though.

I got same result on x86_64 Intel host/QEMU but I think the crash Andrew reported was with x86_64 host (AMD CPU if that matters) but 32bit x86 QEMU. So we haven't really tested the same config so we could only confirm it does not crash on 64bit host/QEMU.

./qemu-system-ppc \
-L pc-bios \
-boot d -M mac99,via=pmu -m 1024 \
-prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env
'vga-ndrv?=false' \
-drive
file=~/Linux-images/lubuntu-16.04-desktop-powerpc.iso,format=raw,media=cdrom
\
-serial stdio  \
-g 1024x768x32 \   (also with x16 and x8)
-device ati-vga,id=rage128p

I would not call that a simple command as it has a lot of unnecessary or ineffective options. My simple command is just:

qemu-system-ppc -M mac99,via=pmu -m 1024 -cdrom lubuntu-16.04-desktop-powerpc.iso -boot d -device ati-vga

which gives the same result on x86_64 host and QEMU: boots to desktop slowly with swapped endian colors. (The slowness may be due to it trying to detect missing hardware, it even tries to talk to modems on serial.) All the other

This patch: http://patchwork.ozlabs.org/patch/1138749/
should fix inverted colors at least with X FB driver. Tested with some images from here:
https://wiki.qemu.org/Documentation/Platforms/PowerPC#Links
that I assume should work on real hardware. Higher than 8 bit modes on console with rage128fb are still wrong though on recent kernel because it does set FB to little endian yet seems to put data in it in big endian. This may be a bug in recent Linux versions? (Probably easy to miss as it does not show with default 8 bit mode or testing with QEMU vga but I did not investigate it further.)

Regards,
BALATON Zoltan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]