[syslinux] [RFC][PATCH] Gfxboot COMBOOT module

Steffen Winterfeldt wfeldt at suse.de
Tue Nov 25 03:32:01 PST 2008


On Mon, 24 Nov 2008, Sebastian Herbszt wrote:

> H. Peter Anvin wrote:
> > Sebastian Herbszt wrote:
> >> 
> >> If i don't mistake the original gfxboot patch did only implement gfxboot for
> >> syslinux and isolinux. The gfxboot COMBOOT module does work with syslinux,
> >> isolinux and extlinux. The cb_fopen callback from gfxboot core does expect file
> >> length in ecx. I did assume pxelinux can not return the file length on file open, tho
> >> i did not verify it.
> >> 
> > 
> > PXELINUX will return that information if it gets it (i.e. if using TFTP
> > and the TFTP server support tsize.)  This used to be required, but
> > gPXELINUX obviously can't handle those restrictions.
> 
> Then the module should work as long as pxelinux does return the file size.
> The cb_fopen callback should then check for size -1 and fail if size is not
> available.

gfxboot needs the file size in advance to allocate a buffer to read the file
into. It would need some work to get rid of that restriction, but it's not
impossile.


Steffen

-- 
Der frühe Wirt holt sich den Wurm.




More information about the Syslinux mailing list