G5 powerpc64 undefined reference to `grub_machine_mmap_iterate'

2008-11-28 Thread peter cros
After Revision 1924 Harmonize ieee1275's grub_available_iterate() with the generic grub_machine_mmap_iterate() Attempting to make Rev 1928, configuration ieee1275 on G5 powerpc64 I am stuck with this error: kernel_elf-kern_ieee1275_init.o: In function `grub_claim_heap':

Re: G5 powerpc64 undefined reference to `grub_machine_mmap_iterate'

2008-11-28 Thread Manoel Rebelo Abranches
I have already sent a patch to correct this. look at the email with subject [PATCH] Compilation PowerPC64. It should work for you. On Sat, 2008-11-29 at 00:12 +1100, peter cros wrote: After Revision 1924 Harmonize ieee1275's grub_available_iterate() with the generic

ld option --build-id=none

2008-11-28 Thread Manoel Rebelo Abranches
In the file conf/powerpc-ieee1275.rmk I need in newer ld versions to have: kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \ -Wl,-N,-S,-Ttext,0x20,-Bstatic,--build-id=none and in older versions: kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \

Re: [PATCH] (ata.mod) avoid passing grub_errno to upper layer

2008-11-28 Thread Robert Millan
On Tue, Nov 25, 2008 at 10:17:17PM +0100, Yoshinori K. Okuji wrote: On Saturday 22 November 2008 16:35:09 Robert Millan wrote: When an error is detected by ata.mod during drive scan, it will pass it to the upper layer. This results in GRUB aborting when trying to enter normal mode, even if

Re: grub.elf? As in How do I create that?

2008-11-28 Thread Robert Millan
On Sat, Nov 22, 2008 at 09:33:11PM -0500, Gregg Levine wrote: On Sat, Nov 22, 2008 at 2:58 PM, Robert Millan [EMAIL PROTECTED] wrote: On Wed, Nov 12, 2008 at 08:05:24PM -0500, Gregg Levine wrote: Hello! You did reply on the coreboot list, however I am still working out how to build the

Re: [PATCH] Compilation PowerPC64

2008-11-28 Thread Robert Millan
On Mon, Nov 24, 2008 at 04:30:45PM -0500, Pavel Roskin wrote: On Mon, 2008-11-24 at 17:58 -0200, Manoel wrote: This patch corrects compilation in PowerPC64 due to some recent changes. The compilation problems exist even when compiling for 32-bit PowerPC. However, I'm getting errors in qemu

Re: [PATCH] Compilation PowerPC64

2008-11-28 Thread Robert Millan
On Mon, Nov 24, 2008 at 05:58:23PM -0200, Manoel wrote: This patch corrects compilation in PowerPC64 due to some recent changes. Thanks. Committed with some adjustments. Btw, please include a ChangeLog entry next time! -- Robert Millan The DRM opt-in fallacy: Your data belongs to us. We

Re: [PATCH] grub-install on coreboot

2008-11-28 Thread Robert Millan
Committed (after adjusting indentation) On Sat, Nov 22, 2008 at 04:53:14PM +0100, Robert Millan wrote: Hi, This patch implements grub-install on coreboot. Since there's no pre-defined boot protocol on this platform, we simply generate a usable Multiboot image and dump it to /boot. User

Re: ld option --build-id=none

2008-11-28 Thread Manoel Rebelo Abranches
But it is only passed in modules compilation. I need it when creating kernel.elf as well. On Fri, 2008-11-28 at 20:59 +0100, Robert Millan wrote: On Fri, Nov 28, 2008 at 01:21:43PM -0200, Manoel Rebelo Abranches wrote: In the file conf/powerpc-ieee1275.rmk I need in newer ld versions to

Re: [PATCH] Corrections to affs and sfs

2008-11-28 Thread Robert Millan
On Sat, Nov 22, 2008 at 08:55:19PM +0100, Krzysztof Smiechowicz wrote: Hello, I would like to submit the following patch: * fs/affs.c: Return failure when directory iteration failed. * fs/sfs.c: Return failure when directory iteration failed. Correct order in which btree nodes are read.

Re: ld option --build-id=none

2008-11-28 Thread Robert Millan
On Fri, Nov 28, 2008 at 06:11:12PM -0200, Manoel Rebelo Abranches wrote: But it is only passed in modules compilation. I need it when creating kernel.elf as well. I assume we want this for every *_elf target? Then we shouldn't be restricting it to modules (perhaps this comes from the

Re: ld option --build-id=none

2008-11-28 Thread Manoel Rebelo Abranches
Its not necessary when creating the .o object files, only when linking then to create the final kern.elf. That is done changing the variable kernel_elf_LDFLAGS in conf/powerpc-ieee1275.rmk. but I dont know how to use the grub_cv_prog_ld_build_id_none variable in aclocal.m4 to change

Re: [RFC] Multi-terminal support (Re: [PATCH] terminal split)

2008-11-28 Thread Robert Millan
On Tue, Nov 25, 2008 at 10:23:52PM +0100, Yoshinori K. Okuji wrote: I've been thinking... what if we make this generic? I.e. with an event loop, then terminals can register their poll functions to it, and write their stuff to a shared resource the rest of GRUB can read from. For

Re: ld option --build-id=none

2008-11-28 Thread Robert Millan
On Fri, Nov 28, 2008 at 06:30:22PM -0200, Manoel Rebelo Abranches wrote: Its not necessary when creating the .o object files, only when linking then to create the final kern.elf. That is done changing the variable kernel_elf_LDFLAGS in conf/powerpc-ieee1275.rmk. but I dont know how to use