Re: [Etherboot-developers] booting non linux images
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Ken Y. <ke...@bi...> - 2001-05-16 13:05:42
|
>What I did was to create a tagged image such that > >1. The loading address of first 512 bytes of the image itself is 9320:0000 >2. Start address is 9000:0200 >3. Bootsector is loaded at 00090000 (512/512 - memory / image length) >4. Setup is loaded at 00090200 (2048/2048) >5. The rest is loaded at 00010000 (65020/65020 as of precomp.bin -precompiled > image) > >The total size of precomp.bin is 512+2048+65020=67580 and the tagged image >is 512 bytes larger. > >Any suggessions would be highly appreciated. There is some tricky stuff in bootsect.S that doesn't get done because you jump directly to setup.S. For example ss is set to INITSEG and sp to about 0x4000. When you are coming direct from Etherboot, ss is 0x9400 and sp a bit less than 0xc000 (= linear address of just below 0xa0000). It doesn't matter in the case of booting Linux, because first-linux.S takes care of this before calling setup.S. But you don't have your equivalent of first-linux.S. So you'd have to read setup.S very carefully, bearing in mind the initial conditions of entry to see if anything untoward will happen. |