bug: cygwin support breaks cross compiles on cygwin

2008-08-08 Thread Patrick Georgi
g_win), but of course that's no permanent solution. Bean proposed on IRC to look if the target compiler emits PE, and enable pe2elf based on that. Regards, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.o

Re: slight oddity in script parser

2008-08-01 Thread Patrick Georgi
of the issues in my other mail (leading spaces within if/then/else trigger malloc magic failure) is related to it. Couldn't pinpoint it yet. The text corruption thing probably has its roots in the parser, too. Regards, Patrick Georgi ___ Grub-devel m

slight oddity in script parser

2008-07-31 Thread Patrick Georgi
os0, or on " #". This way, ls /foo#bar continues to work. Also, currently the following is a single comment, which is an unusual feature: # this comment starts here\ and continues on this line Regards, Patrick Georgi ___ Grub-devel m

two bugs in configfile parser

2008-07-31 Thread Patrick Georgi
e text is corrupted. Another run (with all those garbage strings) ends in malloc magic error. That code runs fine if executed directly from the menu. Regards, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Solaris boot

2008-07-17 Thread Patrick Georgi
hile being ELF), I reported that issue, no idea when they catch up. And when this is worked around (I patched out the test in grub2), it still doesn't run, maybe because some tables are missing in grub2's multiboot implementation (e820? no idea, didn't investigate further)

Re: Next release?

2008-07-15 Thread Patrick Georgi
no idea if that applies to grub2 or not. as for the start/_start tests, I merely let configure default to _start if no other symbol was found, which might break grub-emu, but builds the target system grub just fine here. with i386-elf, the target compiler has no crt*.o anyway.

grub_term.checkkey behaviour in GRUB2

2008-06-02 Thread Patrick Georgi
Hi, I'm working on a multiplexer terminal device (which sends requests to several terminals in the backend, eg. console and serial in parallel) and ran into different behaviour in checkkey on console and serial. console's checkkey consumes the keypress it returns (if there is one), serial's

ata on i386-linuxbios

2008-05-01 Thread Patrick Georgi
Hi, The ata driver fails on i386-linuxbios on real hardware because grub_millisleep is stubbed, and real hardware relies on some timing (other than qemu ;-) ). After I added the mdelay function from libpayload and let grub_millisleep run that (and added initialisation, of course), things are r

Booting Linux from coreboot+grub2

2008-05-01 Thread Patrick Georgi
Hi, I just want to report that booting linux from grub2/i386-linuxbios doesn't work in my tests. To solve this, I'd propose to start from the i386-efi loader, which (other than the i386-pc loader which is currently used by the linuxbios platform) doesn't use the real mode code of linux (which

Issue with OpenSolaris kernels on GRUB2

2008-04-19 Thread Patrick Georgi
fails), and only if not, tries ELF. I'm not sure if that change in behaviour is intended, which is why I ask here. If the new behaviour is to stay, making the aout parser more robust, and fail with a more meaningful error, might be a good idea. Thanks, Patrick Georgi __

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 3/3: grub-mkimage should create streamable ELFs

2008-01-16 Thread Patrick Georgi
Am Wed, 16 Jan 2008 14:47:38 +0100 schrieb Robert Millan: > What do you mean "splits" ? Is ELF supported as a build option? You give it an ELF file and it adds per-segment files to the LAR image. Mostly transparent to the user. Regards, P

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 1/4: Find tables

2008-01-15 Thread Patrick Georgi
7;d go with just "LBIO" for the time being, it will take a while until the rename is completed anyway. If things change, I'll tell you, okay? Regards, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 3/3: grub-mkimage should create streamable ELFs

2008-01-15 Thread Patrick Georgi
this kind of setup, after all. And if that libbfd-change fixes this issue, all the better. Regards, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 2/4: Keyboard controller

2008-01-15 Thread Patrick Georgi
;,"a","l" because of table mismatch. Regards, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 3/3: grub-mkimage should create streamable ELFs

2008-01-12 Thread Patrick Georgi
), which might help as inspiration. Regards, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 2/4: Keyboard controller

2008-01-12 Thread Patrick Georgi
Hi, second installement of my mini-series: The AT keyboard driver assumes that the keyboard is set to scancode set #1. It seems like many keyboards use set #2 (or even #3) by default now, and some 8042-emulating chipsets don't enable translation (to #1) by default. The BIOS then enables it to

Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 1/4: Find tables

2008-01-12 Thread Patrick Georgi
d 0x10 at a 16 byte boundary. To find it, checking for the "LBIO"-signature (as is done already) should be enough. Regards, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Strong Crypto Support for GRUB2

2007-09-03 Thread Patrick Georgi
not enough information to create _this_ particular (ie. the standard's) table. Regards, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] generic ELF version of grub-mkimage

2007-08-30 Thread Patrick Georgi
nction pointers. 4. Undefine the old macros in this file as a debugging aid (there should be any need for them) Comments are very appreciated. Regards, Patrick Georgi # # # rename "util/powerpc/ieee1275/grub-mkimage.c" # to "util/elf/grub-mkimage.c" # # add_dir "uti

Re: [PATCH] make grub2 compile with libc-less crosscompilers

2007-06-04 Thread Patrick Georgi
h that takes this into account, if my guesses are correct, but I'd need some more insights in what exactly is required. Thanks, Patrick Georgi ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] make grub2 compile with libc-less crosscompilers

2007-05-31 Thread Patrick Georgi
Hi, any more comments or questions on this patch, so I can improve it if necessary? Thanks, Patrick Georgi Index: aclocal.m4 === RCS file: /sources/grub/grub2/aclocal.m4,v retrieving revision 1.6 diff -u -r1.6 aclocal.m4

Re: TPM chip and Grub bootloader

2007-05-31 Thread Patrick Georgi
s I didn't look too deep into the mud created by those in the media industry that tried to coerce the TCG into implementing their wet dream of an ultimately locked down consumer world. Patrick Georgi ___ Grub-devel mailing list Grub-deve

Re: TPM chip and Grub bootloader

2007-05-25 Thread Patrick Georgi
ia player intrusion proof (right in front of the press that took their wet dreams at face value and part of the specs), and that some misleading and downright wrong papers by opponents (the infamous "tcpa faq") became popular. Patrick Georgi _

Re: [PATCH] make grub2 compile with libc-less crosscompilers

2007-05-19 Thread Patrick Georgi
Yoshinori K. Okuji schrieb: On Saturday 19 May 2007 17:30, Patrick Georgi wrote: the target compiler that link libc (and potentially even more libs) - which don't exist in my configuration. As those are not necessary, I decided to modify grub2 instead of messing around even more with th

[PATCH] make grub2 compile with libc-less crosscompilers

2007-05-19 Thread Patrick Georgi
e defined name is used. This should guarantee that this change doesn't affect any system where grub2 built before. Comments welcome! Regards, Patrick Georgi Index: aclocal.m4 === RCS file: /sources/grub/grub2/aclocal.m4,