Re: [Etherboot-developers] mknbi-1.2-7rc2 released
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ebi...@ln...> - 2002-02-27 00:29:27
|
ke...@us... (Ken Yap) writes:
> >I have a smallish problem. We can talk more about it but essentially
> >mkelf-linux fails if it wasn't loaded with the etherboot ``generic''
> >ELF loader. It should be able to continue to work and just loose
> >some features if it is loaded by an unrecognized ELF loader.
>
> Ok. There's probably some dependency I'll have to look into.
O.k. I just confirmed the problem still exists. The assumption comes
is from first32.c demonstrated here:
#ifdef FIRST32RM
int first(union infoblock *header, struct bootp_t *bootp)
#else
int first(struct ebinfo *eb, union infoblock *header, struct bootp_t *bootp)
#endif
And here:
/* Sanity checks */
#ifdef FIRST32ELF
if (header->img.magic != ELF_MAGIC)
#else
if (header->img.magic != TAG_MAGIC)
#endif
quit();
As first is the entry point of the image, and as it assumes it is called
with a specific set of arguments and with an initial stack breaking that
those assumptions might be a little tricky.
Eric
|