[coreboot] SerialICE QEMU LUA issues
Stefan Reinauer
stepan at coresystems.de
Fri Oct 9 11:07:29 CEST 2009
Joseph Smith wrote:
> Well, It looks like I am having issues running qemu with serialice. It
> seems I am missing part of the LUA package but I can't figure out
> which one. I have the lua, lua-devel, and lua-static packages
> installed but it is still complaining. I am running Fedora Core 11,
> anyone know what package i need?
>
> [root at smitty5m qemu-0.11.0]# i386-softmmu/qemu -M serialice -serialice
> /dev/ttyS0 -hda /dev/zero -L ./bios
> SerialICE 1.4 ...
> ...initializing emulated target hardware...
> SerialICE: Waiting for handshake with target... target alife!
> SerialICE: LUA init...
> SerialICE LUA
> Failed to run script: serialice.lua:28: module 'bit' not found:
> no field package.preload['bit']
> no file './bit.lua'
> no file '/usr/share/lua/5.1/bit.lua'
> no file '/usr/share/lua/5.1/bit/init.lua'
> no file '/usr/lib/lua/5.1/bit.lua'
> no file '/usr/lib/lua/5.1/bit/init.lua'
> no file './bit.so'
> no file '/usr/lib/lua/5.1/bit.so'
> no file '/usr/lib/lua/5.1/loadall.so'
> [root at smitty5m qemu-0.11.0]#
>
> Help?
>
Joe,
lua 5.1.x unfortunately does not know about bit operations (rshift, and,
or). They plan to fix this in 5.2 but until then we need to use an
external "library".
Unfortunately the download site luaforge.net had a crash this week, and
bitlib can not be downloaded. I got it from a friendly lua developer
(thank you, Jan-Pieter Jacobs!) and put it up for download at
http://www.coresystems.de/~stepan/serialice/
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot
mailing list