[Solved] iPXE for MS VPC 2007 not working - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: [Solved] iPXE for MS VPC 2007 not working (/showthread.php?tid=6870) |
[Solved] iPXE for MS VPC 2007 not working - Gelip - 2013-04-09 23:00 I making iPXE ROM 10110009.rom with serial console 19200 for NIC MS VirtualPC 2007 to replace original ARGON option rom. After replace this option rom in VirtualPC.exe file - module BIOS 13502 - can not use this. In BIOS not view this option to set boot order. I make other option rom - MROM and after insert to VPC this option is available in BIOS and while boot have message like in attach image. It is probably problem with size 69KB. I maked test: 1. Extracted original ARGON PCI module from VirtualPC.exe 44,5KB 2. In hex editor increased size by inserting 00's at end of rom to 65KB - 66560 bytes - 512x130 DEC - 200x82 HEX 3. Correct size 55 AA 82 and calculate checksum 8-bit (inserting D7 at end offset) and now checksum 8-bit is 00 4. Now after insert this to VirtualPC.exe module is not available in BIOS. Please help me make decrease size of iPXE with have serial console 19200. I now that need config files like: general.h and maybe other in ipxe/src/config folder. Please help me make or make for me 10110009.rom smaller than 64KB RE: iPXE for MS VPC 2007 not working - robinsmidsrod - 2013-04-10 10:48 As I mentioned on IRC, removing IMAGE_BZIMAGE and DOWNLOAD_PROTO_HTTP in general.h should probably get you there. Setting the configuration of the serial console is done in console.h file in same location. I believe it should be obvious what the different settings do. Just remember that enabling serial console in iPXE if you also have serial redirection in your BIOS will get you double output. It's probably better to use the BIOS redirection in that case. You might want to use the tool src/util/padimg.pl to pad the ROM in the proper way. I'm not sure if your method is correct or wrong. Usually the ROM needs to be aligned to a certain number (commonly 4K, 4096). That tool is at least supposed to do The Right Thing. I'm not familiar with VirtualPC, maybe someone else here as experience modding its BIOS. RE: iPXE for MS VPC 2007 not working - Gelip - 2013-04-10 14:36 Option IMAGE_BZIMAGE is default disabled in general.h (//#define). Option DOWNLOAD_PROTO_HTTP is cool and I want use this. I have gPXE 40KB 10ec8139.rom with this options: Code: CONSOLE_PCBIOS Interestly that the same options for gPXE 10110009.rom have 45KB - 5KB more!? The above-mentioned functions I need to iPXE. I need disable other function like Wifi, iSCSI but after disable this - size of module is still above 64KB :-( for 10110009.rom ofcourse. Topic is about MS VPC. Quote:Just remember that enabling serial console in iPXE if you also have serial redirection in your BIOS will get you double output. It's probably better to use the BIOS redirection in that case. I not understand this. I have old PC from 2000 year with AWARD BIOS 6.00PG and in this BIOS not have SERIAL redirection. I use SERIAL with GRUB4DOS + menu.lst or PXELINUX + default like this: menu.lst Code: serial --unit=0 --speed=19200 Code: SERIAL 0 19200 RE: iPXE for MS VPC 2007 not working - Gelip - 2013-04-10 15:41 OK, working :-) I make iPXE 59KB with SERIAL CONSOLE 19200. The problem was that wrong configure general.h file :-). To disable all functions I used comment "//" for #define and #undef e.g. iSCSI default is: Code: //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */ RE: iPXE for MS VPC 2007 not working - Gelip - 2017-04-09 05:56 (2013-04-10 10:48)robinsmidsrod Wrote: Usually the ROM needs to be aligned to a certain number (commonly 4K, 4096).It seems that 2KB rather than 4KB: Quote:The BIOS Boot Specification (BBS) requires that option ROMs be aligned to 2kB boundaries (e.g. segments C800, C880, C900, C980, etc.).MS VPC 2007 SP1 has limited PCI Option ROM to 64KB - probably this is AMI BIOS limit: Adding gPXE to an AMI BIOS ARGON can be replaced to iPXE in two ways:
Quote:( Inside the “Microsoft Virtual PC” executable you can find an AMIBIOS resource which can also be modified with AMIBIOS modification utilities. |