Niklas K.
2008-May-11 16:58 UTC
[Xen-devel] Replacing (vga)bios.bin source code with compiled binaries?
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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jean Guyader
2008-May-11 17:12 UTC
Re: [Xen-devel] Replacing (vga)bios.bin source code with compiled binaries?
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Niklas K.
2008-May-11 18:30 UTC
Re: [Xen-devel] Replacing (vga)bios.bin source code with compiled binaries?
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
Niklas K.
2008-May-11 19:19 UTC
Re: [Xen-devel] Replacing (vga)bios.bin source code with compiled binaries?
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-develNevermind, tried it, it''s a problem with the modified bios. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel