Subject: Re: pxeboot com0 no more
To: matthew sporleder <msporleder@gmail.com>
From: David Laight <david@l8s.co.uk>
List: tech-embed
Date: 01/05/2006 22:12:31
On Thu, Jan 05, 2006 at 04:50:19PM -0500, matthew sporleder wrote:
> Maybe I should clarify-
> Could I build _just_ installboot on my mac and change that file
> without messing up anything?

No reason why not....  but you just need to patch a few bytes at the
start of the file.

Standard file:

$ hexdump -C -n 64 /usr/mdec/pxeboot_ia32.bin
00000000  eb 7e 89 f6 d3 b6 86 78  78 00 00 00 00 00 00 00  |.~.....xx.......|
00000010  05 00 00 00 00 00 00 00  80 25 00 00 00 00 00 00  |.........%......|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000040

Patched to use com0, a baud rate of 0, and a large count.

$ hexdump -C -n 64 /tftpboot/pxeboot_ia32.bin
00000000  eb 7e 89 f6 d3 b6 86 78  78 00 00 00 00 00 00 00  |.~.....xx.......|
00000010  e7 03 00 00 01 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000040

	David

-- 
David Laight: david@l8s.co.uk