GRUB invaders

From coreboot
Revision as of 10:21, 15 December 2013 by PaulePanter (talk | contribs) (Use correct markup for horizontal line and remove the second unneeded one)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The wiki is being retired!

Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to Contributions welcome!

GRUB invaders as payload.

GRUB invaders is a multi-boot compliant space invaders game. It can either be started from within GRUB (as a "kernel"), or it can be used as a coreboot payload.

GRUB invaders 1.0.0 has 3 problems which are triggered by newer gcc+binutils. A mail with a patch is available here and the patch is here.

User comment (compiling in Trisquel 6):

I applied the patch above.

When attempting to compile on Trisquel 6 I got this error:

video.c:(.text+0x277): undefined reference to `__stack_chk_fail'

Modify, find the line that says:

CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror"

Change it to say:

CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror -fno-stack-protector"

This made it compile for me.

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.