Re: [PATCH 1/3] Improve genmoddep.awk

2009-06-30 Thread Bean
On Wed, Jul 1, 2009 at 12:51 PM, Pavel Roskin wrote: > Quoting Bean : > >> Perhaps you could also take a look at my previous patch >> >> [PATCH] Use symbol database to maintain module dependence >> >> It add a program grub-symdb to maintain symbol database and therefore >> eliminate def- and unf- f

Re: [PATCH 1/3] Improve genmoddep.awk

2009-06-30 Thread Pavel Roskin
Quoting Bean : Perhaps you could also take a look at my previous patch [PATCH] Use symbol database to maintain module dependence It add a program grub-symdb to maintain symbol database and therefore eliminate def- and unf- files, it also allows incremental build. grub-symdb would need to be

Re: [PATCH 1/3] Improve genmoddep.awk

2009-06-30 Thread Bean
Hi, Perhaps you could also take a look at my previous patch [PATCH] Use symbol database to maintain module dependence It add a program grub-symdb to maintain symbol database and therefore eliminate def- and unf- files, it also allows incremental build. On Wed, Jul 1, 2009 at 8:35 AM, Pavel Rosk

Re: Patch for make install

2009-06-30 Thread Pavel Roskin
On Tue, 2009-06-30 at 22:20 +0200, Yves BLUSSEAU wrote: > Hi, > > this patch correct installation of headers files on Mac OSX. > > Bug: >cp: ./include/grub/cpu is a directory (not copied). > > I have done a make install under OSX and linux after applying the > patch. Now it works on th

[PATCH 3/3] Use ELF symbols without "32" or "64"

2009-06-30 Thread Pavel Roskin
ChangeLog: * include/grub/elf.h: Define Elf_Sword and Elf_Xword. * kern/i386/dl.c: Use ELF symbols without "32" or "64". * kern/powerpc/dl.c: Likewise. * kern/sparc64/dl.c: Likewise. * kern/x86_64/dl.c: Likewise. --- include/grub/elf.h |4 kern/i3

[PATCH 2/3] Don't put modules without dependencies into moddep.lst

2009-06-30 Thread Pavel Roskin
ChangeLog: * genmoddep.awk: Don't output lines that contain to dependencies. --- genmoddep.awk |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/genmoddep.awk b/genmoddep.awk index db8e07e..1bdf7f1 100644 --- a/genmoddep.awk +++ b/genmoddep.awk @@ -66,6

[PATCH 1/3] Improve genmoddep.awk

2009-06-30 Thread Pavel Roskin
Avoid pipeline in its invocation. It's hard to get the result of a pipeline reliably. Eliminate the need in "und-*" files by caching and postprocessing undefined symbols. ChangeLog: * Makefile.in: Invoke genmoddep.awk without any pipelines. Eliminate UNDSYMFILES. * genmk

Re: Linux instrumentation for new loader

2009-06-30 Thread Arthur Marsh
Arthur Marsh wrote, on 01/07/09 06:18: Arthur Marsh wrote, on 01/07/09 03:21: Robert Millan wrote, on 01/07/09 00:10: These patches might be helpful in case someone runs in trouble with the new loader. They instrument Linux to obtain a screen_info structure dump, which can be used to compare

Re: Linux instrumentation for new loader

2009-06-30 Thread Arthur Marsh
Arthur Marsh wrote, on 01/07/09 03:21: Robert Millan wrote, on 01/07/09 00:10: These patches might be helpful in case someone runs in trouble with the new loader. They instrument Linux to obtain a screen_info structure dump, which can be used to compare the output of "linux16" vs "linux". T

Patch for make install

2009-06-30 Thread Yves BLUSSEAU
Hi, this patch correct installation of headers files on Mac OSX. Bug: cp: ./include/grub/cpu is a directory (not copied). I have done a make install under OSX and linux after applying the patch. Now it works on the 2 systems. Best Regards Yves Blusseau make_install.patch Descripti

Re: Linux instrumentation for new loader

2009-06-30 Thread Robert Millan
And this one should help in case Linux can't display anything after GRUB transfers control to it. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove

Re: Linux instrumentation for new loader

2009-06-30 Thread Arthur Marsh
Robert Millan wrote, on 01/07/09 00:10: These patches might be helpful in case someone runs in trouble with the new loader. They instrument Linux to obtain a screen_info structure dump, which can be used to compare the output of "linux16" vs "linux". This is with a Radeon 9200SE [RV280], which

Linux instrumentation for new loader

2009-06-30 Thread Robert Millan
These patches might be helpful in case someone runs in trouble with the new loader. They instrument Linux to obtain a screen_info structure dump, which can be used to compare the output of "linux16" vs "linux". -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide

Re: Anyone willing to sponsor an ARC case for grub2?

2009-06-30 Thread Vladimir 'phcoder' Serbinenko
> >  There's much that should be improved with respect to how zfs integrates > with GRUB. > Ok. If you have time you can look at zfs and nestpart branches in my repo (for grub2). I added the things like ls -l support and tab completion. Comments are welcome > >  I've never had any love for $ZFS-BOO

Re: Mac OSX Ports

2009-06-30 Thread Vladimir 'phcoder' Serbinenko
Hello. I'm happy that my effort to make grub2 compile with Apple's CC paid off. I personally don't care much about whether it compiles under OSX but the idea was to attract new developpers by doing so. If you came it means the effort paid off On Tue, Jun 30, 2009 at 11:35 AM, Yves BLUSSEAU wrote:

Mac OSX Ports

2009-06-30 Thread Yves BLUSSEAU
Hi, i'm currently trying to ports grub2 to Mac OSX (leopard). I can compil and build the code with XCode. I have add the necessary functions and calls to support OSX (like getting block counts of a block device with ioctl calls). The only problem is the hook nested functions. XCode disable n