All of lore.kernel.org
 help / color / mirror / Atom feed
* Replacing (vga)bios.bin source code with compiled binaries?
@ 2008-05-11 16:58 Niklas K.
  2008-05-11 17:12 ` Jean Guyader
  0 siblings, 1 reply; 4+ messages in thread
From: Niklas K. @ 2008-05-11 16:58 UTC (permalink / raw)
  To: xen-devel

Hello,
this may be a more general issue with editing source code and makefiles,
but as I'm not really a developer, I can't do it on my own and I thought
I'd ask you on this mailing list rather than on some general development
mailing list/forum:

I need to get modified hvmloader and vmxloader binaries that load a
modified BIOS binary. I think the easiest way to do this is to remove
some parts of the makefiles included in the Xen source code and add the
compiled binary to the source (what probably doesn't work: I don't know
if the bios.bin is directly compiled into the hvmloader/vmxloader
binaries or the compiled bios.bin is inserted into them).
Can you help me in doing this?

Thanks in advance,
Niklas K.

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

* Re: Replacing (vga)bios.bin source code with compiled binaries?
  2008-05-11 16:58 Replacing (vga)bios.bin source code with compiled binaries? Niklas K.
@ 2008-05-11 17:12 ` Jean Guyader
  2008-05-11 18:30   ` Niklas K.
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Guyader @ 2008-05-11 17:12 UTC (permalink / raw)
  To: Niklas K.; +Cc: xen-devel

On Sun, May 11, 2008 at 5:58 PM, Niklas K. <nickie12@gmx.net> wrote:
> Hello,
>  this may be a more general issue with editing source code and makefiles,
>  but as I'm not really a developer, I can't do it on my own and I thought
>  I'd ask you on this mailing list rather than on some general development
>  mailing list/forum:
>
>  I need to get modified hvmloader and vmxloader binaries that load a
>  modified BIOS binary. I think the easiest way to do this is to remove
>  some parts of the makefiles included in the Xen source code and add the
>  compiled binary to the source (what probably doesn't work: I don't know
>  if the bios.bin is directly compiled into the hvmloader/vmxloader
>  binaries or the compiled bios.bin is inserted into them).
>  Can you help me in doing this?
>

Hello Niklas,

The content of the binaries your are talking about is put into an
header file (roms.h)
and hvmloader use this file during the compilation process. You should
look at the the
Makefile in tools/firmware/hvmloader to see how roms.h is created.

Cheers,

-- 
Jean Guyader

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

* Re: Replacing (vga)bios.bin source code with compiled binaries?
  2008-05-11 17:12 ` Jean Guyader
@ 2008-05-11 18:30   ` Niklas K.
  2008-05-11 19:19     ` Niklas K.
  0 siblings, 1 reply; 4+ messages in thread
From: Niklas K. @ 2008-05-11 18:30 UTC (permalink / raw)
  To: Jean Guyader; +Cc: xen-devel

Am Sonntag, den 11.05.2008, 18:12 +0100 schrieb Jean Guyader:
> On Sun, May 11, 2008 at 5:58 PM, Niklas K. <nickie12@gmx.net> wrote:
> > Hello,
> >  this may be a more general issue with editing source code and makefiles,
> >  but as I'm not really a developer, I can't do it on my own and I thought
> >  I'd ask you on this mailing list rather than on some general development
> >  mailing list/forum:
> >
> >  I need to get modified hvmloader and vmxloader binaries that load a
> >  modified BIOS binary. I think the easiest way to do this is to remove
> >  some parts of the makefiles included in the Xen source code and add the
> >  compiled binary to the source (what probably doesn't work: I don't know
> >  if the bios.bin is directly compiled into the hvmloader/vmxloader
> >  binaries or the compiled bios.bin is inserted into them).
> >  Can you help me in doing this?
> >
> 
> Hello Niklas,
> 
> The content of the binaries your are talking about is put into an
> header file (roms.h)
> and hvmloader use this file during the compilation process. You should
> look at the the
> Makefile in tools/firmware/hvmloader to see how roms.h is created.
> 
> Cheers,
> 

Hello again and thanks for the previous help,

I replaced my hvmloader with the one I compiled now. However, after
starting my virtual machine, I only get a white screen.
Note that the BIOS I used was written for QEMU, not Xen. Are there any
differences between the Xen bochsbios and the QEMU one?
Or may the problem be another BIOS? I do have the X11 library installed,
so I don't think that's the issue.
I only exchanged the rombios/bochsbios/bios or however you may call it,
not the vgabios.
Should I try compiling the hvmloader with the included bios and see if
it's a problem with the modified bios?

Greetings,
Niklas

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

* Re: Replacing (vga)bios.bin source code with compiled binaries?
  2008-05-11 18:30   ` Niklas K.
@ 2008-05-11 19:19     ` Niklas K.
  0 siblings, 0 replies; 4+ messages in thread
From: Niklas K. @ 2008-05-11 19:19 UTC (permalink / raw)
  To: xen-devel

Am Sonntag, den 11.05.2008, 20:30 +0200 schrieb Niklas K.:
> Am Sonntag, den 11.05.2008, 18:12 +0100 schrieb Jean Guyader:
> > On Sun, May 11, 2008 at 5:58 PM, Niklas K. <nickie12@gmx.net> wrote:
> > > Hello,
> > >  this may be a more general issue with editing source code and makefiles,
> > >  but as I'm not really a developer, I can't do it on my own and I thought
> > >  I'd ask you on this mailing list rather than on some general development
> > >  mailing list/forum:
> > >
> > >  I need to get modified hvmloader and vmxloader binaries that load a
> > >  modified BIOS binary. I think the easiest way to do this is to remove
> > >  some parts of the makefiles included in the Xen source code and add the
> > >  compiled binary to the source (what probably doesn't work: I don't know
> > >  if the bios.bin is directly compiled into the hvmloader/vmxloader
> > >  binaries or the compiled bios.bin is inserted into them).
> > >  Can you help me in doing this?
> > >
> > 
> > Hello Niklas,
> > 
> > The content of the binaries your are talking about is put into an
> > header file (roms.h)
> > and hvmloader use this file during the compilation process. You should
> > look at the the
> > Makefile in tools/firmware/hvmloader to see how roms.h is created.
> > 
> > Cheers,
> > 
> 
> Hello again and thanks for the previous help,
> 
> I replaced my hvmloader with the one I compiled now. However, after
> starting my virtual machine, I only get a white screen.
> Note that the BIOS I used was written for QEMU, not Xen. Are there any
> differences between the Xen bochsbios and the QEMU one?
> Or may the problem be another BIOS? I do have the X11 library installed,
> so I don't think that's the issue.
> I only exchanged the rombios/bochsbios/bios or however you may call it,
> not the vgabios.
> Should I try compiling the hvmloader with the included bios and see if
> it's a problem with the modified bios?
> 
> Greetings,
> Niklas
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

Nevermind, tried it, it's a problem with the modified bios.

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

end of thread, other threads:[~2008-05-11 19:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-11 16:58 Replacing (vga)bios.bin source code with compiled binaries? Niklas K.
2008-05-11 17:12 ` Jean Guyader
2008-05-11 18:30   ` Niklas K.
2008-05-11 19:19     ` Niklas K.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.