Eric W. Biederman wrote: >>We are having almost everything O.K. But while loading vmlinux (ELF >>build by make vmlinux), etherboot says >> >> (ELF)... segment exceeding memory Unable to load file >> >>Should we convert the vmlinux to some special ELF file ?? >> > > O.k. a raw vmlinux is ELF but it isn't preppared to be loaded > by etherboot. > > The problems are: > - It lists it's load virtual address in the physical addres field. > Which is why you are having problems. > - It doesn't have code to handle parameters as etherboot passes them. > > If you run mkelfImage on it it tacks on convert_params.c and fixes the > kernel to list it's physical load address in the appropriate field. > > mkelfImage really is just a glorified makefile when you dig into it. >
With the elfImage generated by mkelfImage in Freebios tree, the above error message is gone but it seems entering an infinite loop loading the image. This infinite loop happens for both LinuxBIOS and Etherboot + Floppy cases. Is there anything wrong ?? Ollie