From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Niklas K." Subject: Re: Replacing (vga)bios.bin source code with compiled binaries? Date: Sun, 11 May 2008 20:30:02 +0200 Message-ID: <1210530602.7833.16.camel@LinJan08Nik> References: <1210525099.7833.6.camel@LinJan08Nik> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jean Guyader Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Am Sonntag, den 11.05.2008, 18:12 +0100 schrieb Jean Guyader: > On Sun, May 11, 2008 at 5:58 PM, Niklas K. 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