Re: Generating EFI files

Lonnie Cumberland via l4-hackers <[email protected]> Mon, 11 Nov 2024 08:31:03 -0500
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hello Adam,

Yea, I found the "make help" after sending off the messages and was able 
to take the latest "snapshot" (non-git) and build things, but have had 
only limited success in running them on my Intel NUC13 Ubuntu 23.10 
(x64) system.

I can run the "hello*.efi" versions with the "make qemu" but it seems 
that the framebuffer example cannot map a VGA screen and it might be 
something in the "dtc" which is the hardware settings for L4Re, if I 
read the documentation correctly, but am not sure on this.

Interestingly, is that if I take the "git" version of l4re and build 
things with "ham" then the framebuffer example will run under qemu with 
"make qemu" to execute it. the l4linux-mag will boot up the graphics but 
then it just shows a blank window and I suspect that the same errors 
(below) are happening with the errors " terminate called after throwing 
an instance of 'N2L413Runtime_errorE'"

For bot the git and non-git builds, the VM-multi and VM-multi-p2p 
examples l4re boots and I make it through SIGMA0, MOD, and NED while the 
Console Server also boots up, but then I get and errors in the VM's 
starting:

----------------------------------------------------------
Created vcon channel: vm-1 [420010]
cons>
Created vcon channel: vm-2 [421010]
cons>
vm-1    | VMM[]: Created VCPU 0 @ 18000
vm-1    | VMM[]: >>> CAUTION: Support for AMD SVM is experimental, use 
at your own risk! <<<
vm-2    | VMM[]: Created VCPU 0 @ 18000
vm-2    | VMM[]: >>> CAUTION: Support for AMD SVM is experimental, use 
at your own risk! <<<
vm-2    | terminate called after throwing an instance of 
'N2L413Runtime_errorE'
vm-2    |   what: Invalid request: SVM does not support next_rip save. 
Aborting!
vm-2    |

Created vcon channel: vm-3 [422010]
cons>
vm-3    | VMM[]: Created VCPU 0 @ 18000
vm-3    | VMM[]: >>> CAUTION: Support for AMD SVM is experimental, use 
at your own risk! <<<
vm-1    | terminate called after throwing an instance of 
'N2L413Runtime_errorE'
vm-1    |   what: Invalid request: SVM does not support next_rip save. 
Aborting!
vm-1    |
vm-3    | terminate called after throwing an instance of 
'N2L413Runtime_errorE'
vm-3    |   what: Invalid request: SVM does not support next_rip save. 
Aborting!
vm-3    |

----------------------------------------------------------

I think there is some VGA video problem somewhere that is preventing the 
VM's from completely booting up for some reason.

Best and have a great day,
Lonnie

On 11/11/2024 1:45 AM, Adam Lackorzynski wrote:
> Hi Lonnie,
>
> instead of "make qemu" one can also do "make efiimage" to generate an
> (U)EFI image. Please do "make help" to see the other options available.
>
>
> Adam
>
>

_______________________________________________
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]