ke...@us... (Ken Yap) writes:
> Hi Eric,
>
> Just to let you know what's happening.
>
> The first set of patches for ifdefing out gateA20, are ok, except for
> the patch to start32.S. The patch to start32.S doesn't work for
> returning from Etherboot to the BIOS by pressing L. I think you missed
> restoring the registers after exit(). There was a typo there: entry32
> should be start32 in the other ifdef branch, so it must never have been
> assembled.
Sorry I tested that branch under LinuxBIOS I forgot the normal case.
I'll see if I can debug the return to the pcbios.
> The second set of patches are ok for tagged images, but break ELF images
> (mkelf format, not yours). The program goes into hyperspace after
> loading the image and attempting to run it. There were some typos which
> showed that the other ifdef branch had never been compiled. I'll have
> to look at it later.
O.k. The second set was more a proof of concept than a serious
submission at this point. Showing that everything could pretty
much be consolidated into a single common function was the interesting
and tricky thing there.
There is major bug in that I forgot to copy images that would
overwrite etherboot into the buffer I reserved for them. So the
major emphasis doesn't work. But it at least shows how it
could work.
I'm seriously puzzled that tagged images work and mknbi ELF images
don't. What is passed is almost identical. And the register and
stack contents must have been correct, if tagged images worked. The
code is almost identical in mknbi for tagged and ELF images. Perhaps
I missed an embedded pointer.
> The current state of the source files are in CVS.
Thanks I guess I'll have to do a cvs checkout and see what is going
on.
Especially with start32.S I really want to stay on the same track
as much as possible.
Eric
|