[syslinux] Syslinux 4.00 welcomes lua

Geert Stappers stappers at stappers.nl
Thu Jul 1 12:14:38 PDT 2010


Op 20100630 om 20:42 schreef Geert Stappers:
> Op 20100626 om 12:26 schreef H. Peter Anvin:
> > On 06/26/2010 05:46 AM, Geert Stappers wrote:
> > >> that didn't make this release will have to wait for 4.01 or 4.10.
> > > 
> > > For the Syslinux 4.xx series I would like to see
> > > that the lua port to syslinux gets more visible.
>       <snip/>
> > I just tried to merge the master branch into the lua branch, but the
> > result doesn't build.  I'm up for including the lua interpreter in the
> > default build as long as it doesn't fix anything else, and that way we
> > can say it is included but experimental.
> > 
> > Would you be interested in looking to see why it doesn't build?
> 
> Attached a patch, against the lua branch, that gets a clean build.
> 
> However, the fresh lua.c32 crashes my Qemu test environment
> ( qemu -option-rom /usr/lib/etherboot/rtl8139.rom -boot n -net
> nic,model=rtl8139 -net user,tftp=/var/lib/tftpboot,bootfile=/pxelinux.0 )


And meanwhile I have a working Lua    \o/

The trick was including `../../tools/relocs lua.elf >> lua.c32`
in the build.

Using a pxelinux.0 from the same build a the lua.c32 did also help.


Now it is possible to do the same as Alexey Zaytsev in Syslinux Lua
announcement from almost two years ago 
 ( http://syslinux.zytor.com/archives/2008-July/010386.html )



Attached the patch against the Lua git branch.

Cheers
Geert Stappers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslinux401lua.patch
Type: text/x-diff
Size: 2629 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20100701/e849af45/attachment.bin>


More information about the Syslinux mailing list