[coreboot] [PATCH] Make tint (a tetris game) usable as payload
Uwe Hermann
uwe at hermann-uwe.de
Wed Apr 9 03:04:06 CEST 2008
Hi,
I'm happy to announce that libpayload is real-life suitable enough to be
able to run a Linux ncurses game (tint) as payload with only very small
changes to tint itself, just by linking against libpayload instead of libc.
Tint is BSD-licensed and can usually be downloaded from
http://oasis.frogfoot.net/code/tint/download/0.03b/
but the site seems to be dead currently. You can get the tarball from
the Debian archives, though:
http://ftp.debian.org/debian/pool/main/t/tint/tint_0.03b.tar.gz
A patch for making it usable as payload is attached, build instructions are at
http://www.coreboot.org/Tint
and a ready-made QEMU image with coreboot v3 + libpayload + tint is
available here:
http://www.coreboot.org/QEMU#coreboot_v3_.2B_libpayload_.2B_tint
The patch might need one or two improvements, but it basically works ok
with libpayload >= r3225. I'll post an updated version later.
I'm not sure if we want various "external" payloads in svn at all, and
if yes, whether they should be
- a patch and README in payload/tint (for example), but not the tint
code itself. The README would then describe how to wget the code,
apply the patch and build the payload.
- or the whole "upstream" code in payloads/tint plus our patch to make
it work with libpayload.
Opinions?
Uwe.
--
http://www.hermann-uwe.de | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpayload_tint.patch
Type: text/x-diff
Size: 7124 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080409/ab66eaa8/attachment.bin>
More information about the coreboot
mailing list