Re: Video Error Reasons?

Philipp Eppelt <[email protected]> Wed, 27 Nov 2024 09:41:34 +0100
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi Lonnie, Martin,

to mimic the UEFI system in qemu you can do the following:

- find OVMF_CODE.fd, in my case: /usr/share/edk2/ovmf/OVMF_CODE.fd
- compile the framebuffer example with `make efiimage E=framebuffer-example` 
(Code base: 2024.08 snapshot)
- start qemu with:
	qemu-system-x86_64 -cpu host -enable-kvm -m 2G -smp 2 -serial stdio -bios 
/usr/share/edk2/ovmf/OVMF_CODE.fd -kernel images/l4re_framebuffer-example.efi

This gives me the serial output in the terminal and the nice morphing spectrum 
window within mag on the qemu screen.

Cheers,
Philipp


Am 26.11.24 um 17:50 schrieb Martin Decky:
> Dear Lonnie,
> 
>> If it can be worked out in some way [..]
> 
> If you are targeting a native UEFI system, try the "efiimage" target that 
> generates a binary that can be booted directly from UEFI (just make sure you 
> boot the .efi file, not the .elf file). Or you can use the "chainloader" command 
> if you already use GRUB 2 as your boot loader for UEFI.
> 
> The framebuffer example should use the GOP framebuffer and not rely on the VESA 
> BIOS in this case.
> 
> If you also need an ISO image for UEFI, there is a patch upstream that provides 
> the "grub2efiiso" target as a convenience [1] (not in the snapshot release yet).
> 
> [1] 
> https://github.com/kernkonzept/mk/commit/ce9a28f474c2da4187a0c8f0ca2e43c288b870be
> 
> 
> Best regards
> 
> Martin Decky
> _______________________________________________
> l4-hackers mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

-- 
[email protected] - Tel. 0351-41 883 221
http://www.kernkonzept.com

Kernkonzept GmbH.  Sitz: Dresden.  Amtsgericht Dresden, HRB 31129.
Geschäftsführer: Dr.-Ing. Michael Hohmuth

_______________________________________________
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEO7T7Jq7ah1WoVcqMg8udkTKw7CEFAmdG2z8FAwAAAAAACgkQg8udkTKw7CEn
EA//baITDlh8+mXdcNuLhr2UAwhQT3HjDtux3u5BAPtdjnTbNbfmJlAm9/G9ZEZPgv2RLTpNfGuf
uOzCllHEep7ZtJuu59yn0fmAJAwAYdow40lhEbNT9H7JZ2GY37x0cDPpZ1eIxX2ArokkBgwlzJle
TH6AWGtqd7ZsIvyANd0Mnl6e7hFW1ZfQSiZIzC+Qi15I10c8YHZjX5q+fPwMtHIAS1NILy0HrTwW
w5AArww6bLOge61vrtWvsXBZHHdcSlC82oROdPuzL70W6P+9t1PBxhLSdqWR0QFX/d9VPos6HK6W
FzPwvKH/gICdSZ+hN5c/PvivXjSuzxvAubX0UDi3xXPVuqyTiPoQvWzd7nshTJvY+Z6eg6NIfRZM
EwO+ELjPYU4fVokpnon0EAMqEUUCQbCR7VfeE8fqCaPkLW2L3/+I6v8BA+TNpdOe4cUjceS2ikg3
jWK0LOIKfHYbbMI3JyJ0AE8PY9AMGjMFuIdsLCsZMCqoJc6eJDUhSfYkn+GrsP0veB/mr/BVIYH8
sWobw/KnhgXZhX0rXK0x3b+LHC6JphxggTCV+Co8mnHwEP3g+IkxxUT9OoFYf1t/DWueZ/ZnPYmq
tViqfuDN/WSoVpsOeasuYgVAdn8Cf+zol0y9hB35bLEY8drBJGP3tFODF0ReVPF7k9LzU7H1SQbh
SCA=
=vFGU
-----END PGP SIGNATURE-----