Re: [Etherboot-developers] Building a ROM
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Ken Y. <ke...@nl...> - 2001-02-05 22:59:27
|
|The problem will be one of: |- Your code patches are being interpreted as the "third byte" of the option |ROM, and are the source of the 1KB size. Make sure that the first three |bytes of the binary code you are feeding to makeROM are "0x55, 0xAA, <size |in 512 byte blocks>" (from "loader.S"). |- You fed a small piece of "test" code to makerom to check it's operation, |and although the first three bytes are correct, the overall size of this |code _is_ 1KB. Or he was using a buggy version of as86 and the starting bytes are not 55 AA at all. I have added a check for this to makerom.c so that it will give the appropriate message in this case. |