[PATCH] Add specific functions for Apple Platforms

2014-06-22 Thread Yves Blusseau
This patch add specific functions for Apple platforms specific-apple-platforms-functions.patch Description: Binary data Can i commit it ? Regards, Yves___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Patch to compile grub2 with Apple compiler

2014-05-02 Thread Yves Blusseau
Le 20 avr. 2014 à 16:10, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com a écrit : On 12.04.2014 19:54, Yves Blusseau wrote: Le 12 avr. 2014 à 19:06, Andrey Borzenkov arvidj...@gmail.com a écrit : В Sat, 12 Apr 2014 13:27:57 +0200 Yves Blusseau bluss...@zetam.org пишет

Add specific functions for Apple Platforms

2014-05-02 Thread Yves Blusseau
This patch add specific functions for Apple platforms specific-apple-platforms-functions.patch Description: Binary data Regards, Yves___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
Le 10 avr. 2014 à 23:20, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com a écrit : On 09.04.2014 13:11, Yves Blusseau wrote: Is this patch ok ? Is yes can i commit it ? Did you test it? Yes i test it. Compile grub (EFI) on OSX 10.8.5 (Mountain Lion) with Xcode 5.1 and it's

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
The i386-pc version built from OSX doesn't work. It will only display Grub Loading… Regards, Yves smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
Le 12 avr. 2014 à 19:06, Andrey Borzenkov arvidj...@gmail.com a écrit : В Sat, 12 Apr 2014 13:27:57 +0200 Yves Blusseau bluss...@zetam.org пишет: The i386-pc version built from OSX doesn't work. It will only display Grub Loading… On which platform? i386-pc smime.p7s Description: S

Re: Patch to compile grub2 with Apple compiler

2014-04-09 Thread Yves Blusseau
Is this patch ok ? Is yes can i commit it ? declare-__bzero-apple-compiler.patch Description: Binary data Regards, Yves smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Yves Blusseau
if GRUB_UTIL is defined. Regards, Yves Le 7 avr. 2014 à 21:51, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com a écrit : On 07.04.2014 13:21, Yves Blusseau wrote: Hi, this is a patch to allow compilation of grub2 with Apple Compiler Why do you need this patch? __bzero shouldn't

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Yves Blusseau
Le 8 avr. 2014 à 11:00, Vladimir 'phcoder' Serbinenko phco...@gmail.com a écrit : On 8 Apr 2014 10:55, Yves Blusseau bluss...@zetam.org wrote: Hi Vladimir, this patch is needed because the declaration of __bzero must made also for non util AND util compilation: __bzero is used

Patch to compile grub2 with Apple compiler

2014-04-07 Thread Yves Blusseau
Hi, this is a patch to allow compilation of grub2 with Apple Compiler apple__bzero-declaration.patch Description: Binary data Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel

[PATCH] Fix print messages

2012-06-26 Thread Yves Blusseau
Hi, The attached patch fixes the printing of help messages on platform that have a shell that don't support the -n option in the built-in echo command. Yves. fix-print-messages.patch Description: Binary data smime.p7s Description: S/MIME cryptographic signature

[PATCH 2] Display the path of the file when file is not found

2011-06-26 Thread Yves Blusseau
* grub-core/fs/fat.c: Display the filename when file is not found. * grub-core/fs/fshelp.c: Likewise. * grub-core/fs/hfs.c: Likewise. * grub-core/fs/jfs.c: Likewise. * grub-core/fs/minix.c: Likewise. * grub-core/fs/ufs.c: Likewise. *

Re: Problem with at_keyboard module

2011-06-24 Thread Yves Blusseau
Le 20/06/2011 09:18, Yves Blusseau a écrit : Hi all, i have some problems with the at_keyboard module: when the at_keyboard is loaded in memory (via insmod or directly include in core.img) the keyboard is freezed when i start another kernel with multiboot command for example. My keyboard

Problem with at_keyboard module

2011-06-20 Thread Yves Blusseau
the terminal_input to at_keyboard. Regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Error: prefix not set

2011-06-20 Thread Yves Blusseau
the grub kernel is load normaly but when it switch to normal mode the error prefix not set is displayed on the screen. I have check and the prefix is good in the rescue shell and in normal mode. This message is only display if the normal module is include in core.img Regards, Yves Blusseau

Re: Your contributions to grub.enbug.org

2011-04-01 Thread Yves Blusseau
to the wiki, would you agree to consider that your contributor agreement covers wiki as well? No problem for me too. Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org http

[PATCH] Display the path of the file when file is not found

2010-09-25 Thread Yves Blusseau
* grub-core/fs/fat.c: Display the filename when file is not found. * grub-core/fs/fshelp.c: Likewise. * grub-core/fs/hfs.c: Likewise. * grub-core/fs/jfs.c: Likewise. * grub-core/fs/minix.c: Likewise. * grub-core/fs/ufs.c: Likewise. ---

[PATCH] Fix generation of kernel_syms.lst (bad ASM_PREFIX)

2010-09-25 Thread Yves Blusseau
* grub-core/Makefile.am (kernel_syms.lst): Fix value and position of ASM_PREFIX --- ChangeLog.fix-ASM_PREFIX |4 grub-core/Makefile.am|6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 ChangeLog.fix-ASM_PREFIX diff --git

[PATCH] Add missing includes.

2010-09-23 Thread Yves Blusseau
* grub-core/lib/LzmaEnc.c: Likewise. * grub-core/script/lexer.c: Likewise. * grub-core/script/yylex.l: Likewise. * util/grub-macho2img.c: Likewise. * util/grub-menulst2cfg.c: Likewise. * util/grub-mklayout.c: Likewise. * util/grub-mkpasswd-pbkdf2.c *

Re: grub2 bzr mainline make error

2010-09-21 Thread Yves Blusseau
Le 21/09/2010 10:38, KESHAV P.R. a écrit : Grub2 bzr mainline rev 2830 does not compile for both x86_64-efi and i386-pc. Seems like some error due to gnulib. I have attached the output while compiling for x86_64-efi. One include what wrong. Corrected in revision 2835. Regards, Yves Blusseau

Re: grub2 bzr mainline make error

2010-09-21 Thread Yves Blusseau
the output while compiling for x86_64-efi. One include what wrong. Corrected in revision 2835. New error Can you check with the release of revision 2839 ? Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list

[PATCH] Keep boot and grub directory names in sync with utils scripts

2010-09-19 Thread Yves Blusseau
* configure.ac: Define GRUB_BOOT_DIR_NAME and GRUB_DIR_NAME macros. * include/grub/emu/misc.h (DEFAULT_DIRECTORY): Use previous macros. --- configure.ac|4 include/grub/emu/misc.h |5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac

[PATCH] grub-editenv.c: Use argp instead of getopt.

2010-09-15 Thread Yves Blusseau
-editenv b/ChangeLog.argp-grub-editenv new file mode 100644 index 000..47fa789 --- /dev/null +++ b/ChangeLog.argp-grub-editenv @@ -0,0 +1,3 @@ +2010-09-14 Yves Blusseau bluss...@zetam.org + + * util/grub-editenv.c: Use argp instead of getopt. diff --git a/util/grub-editenv.c b/util/grub

[PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-14 Thread Yves Blusseau
new file mode 100644 index 000..0731c00 --- /dev/null +++ b/ChangeLog.argp-grub-setup @@ -0,0 +1,3 @@ +2010-09-14 Yves Blusseau bluss...@zetam.org + + * util/i386/pc/grub-setup.c: Use argp instead of getopt. diff --git a/util/i386/pc/grub-setup.c b/util/i386/pc/grub-setup.c index 987e2d0

[PATCH] * Makefile.util.def: Put the generated scripts nearby sources

2010-09-10 Thread Yves Blusseau
--- ChangeLog |4 Makefile.util.def | 20 ++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb6b19b..e9d0903 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-09-10 Yves Blusseau bluss...@zetam.org

[PATCH] Add new --boot-directory option to replace --root-directory

2010-09-08 Thread Yves Blusseau
* util/grub-install.in: Add new --boot-directory option * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/grub-mkconfig.in: Use new variable. --- ChangeLog.bootdir-option |5 + util/grub-install.in | 45

[PATCH 1/2] Define some useful variables

2010-09-08 Thread Yves Blusseau
* configure.ac: Define some useful variables. --- ChangeLog.new-variables |3 +++ configure.ac| 13 + 2 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 ChangeLog.new-variables diff --git a/ChangeLog.new-variables b/ChangeLog.new-variables

[PATCH] Bash completion script for util commands

2010-09-08 Thread Yves Blusseau
* Makefile.am: Add util/bash-completion.d directory * configure.ac: Likewise. * util/bash-completion.d/Makefile.am: New file. * util/bash-completion.d/grub-completion.bash.in: Likewise. --- util/bash-completion.d/Makefile.am | 13 +

[PATCH 2/2] Use new variable defined by configure.ac

2010-09-08 Thread Yves Blusseau
* util/grub-mkconfig.in: Use new variable. --- ChangeLog.use-new-variables |3 +++ util/grub-mkconfig.in | 16 +++- 2 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 ChangeLog.use-new-variables diff --git a/ChangeLog.use-new-variables

[PATCH 1/2] Define some useful variables

2010-09-06 Thread Yves Blusseau
* configure.ac: Define some useful variables. --- ChangeLog.new-variables |3 +++ configure.ac| 12 2 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 ChangeLog.new-variables diff --git a/ChangeLog.new-variables b/ChangeLog.new-variables

[PATCH 2/2] Use new variable defined by configure.ac

2010-09-06 Thread Yves Blusseau
* util/grub-mkconfig.in: Use new variable. --- ChangeLog.use-new-variables |3 +++ util/grub-mkconfig.in | 16 +++- 2 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 ChangeLog.use-new-variables diff --git a/ChangeLog.use-new-variables

[PATCH] Bash completion script for util commands

2010-09-06 Thread Yves Blusseau
* Makefile.am: Add util/bash-completion.d directory * configure.ac: Likewise. * util/bash-completion.d/Makefile.am: New file. * util/bash-completion.d/grub-completion.bash.in: Likewise. --- ChangeLog.completion.bash |6 Makefile.am

[PATCH] Add new --boot-directory option to replace --root-directory

2010-09-06 Thread Yves Blusseau
* util/grub-install.in: Add new --boot-directory option * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/grub-mkconfig.in: Use new variable. --- ChangeLog.bootdir-option |5 + util/grub-install.in | 46

Re: [PATCH 0/2] Add some usefull variables

2010-09-02 Thread Yves Blusseau
Le 02/09/2010 04:24, BVK Chaitanya a écrit : You forget to attach the patch? No the patchs (1 and 2) are on the ML smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org

[PATCH 0/2] Add some usefull variables

2010-09-01 Thread Yves Blusseau
-variables -- Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH 1/2] Define some usefull variables

2010-09-01 Thread Yves Blusseau
* configure.ac: Define some usefull variables. --- ChangeLog.new-variables |2 ++ configure.ac| 15 +++ 2 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 ChangeLog.new-variables diff --git a/ChangeLog.new-variables

[PATCH 2/2] Use the new created variables

2010-09-01 Thread Yves Blusseau
* util/grub-install.in: Use default variables. * util/grub-mkconfig.in: Likewise. * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. --- ChangeLog.use-new-variables |6 ++ util/grub-install.in| 19 +++

[PATCH] Bash completion script for util commands

2010-09-01 Thread Yves Blusseau
* Makefile.am: Add util/bash-completion.d directory * configure.ac: Likewise. * util/bash-completion.d/Makefile.am: New file. * util/bash-completion.d/grub-completion.bash.in: Likewise. --- ChangeLog.completion.bash |6 Makefile.am

[PATCH] Bash completion script for grub util commands

2010-08-11 Thread Yves Blusseau
create mode 100644 util/integration/completion/grub-completion.bash diff --git a/ChangeLog.completion.bash b/ChangeLog.completion.bash new file mode 100644 index 000..8b1fea9 --- /dev/null +++ b/ChangeLog.completion.bash @@ -0,0 +1,3 @@ +2010-08-11 Yves Blusseau bluss...@zetam.org

Found a regression

2010-08-01 Thread Yves Blusseau
list all the partitions by page (using return). Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Yves Blusseau
to use the version in /opt/local/lib instead of /usr/lib ? Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Yves Blusseau
there a VL_LIB_READLINE macro that check if readline compatible library exists and check if readline supports history. Perhaps that can help you. I will make a MacPorts file so that xorriso can be build without problems on OSX. Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic

Problem compiling grub 1.98 on MacOSX

2010-04-12 Thread Yves Blusseau
(__DWARF,__debug_line) collect2: ld returned 1 exit status make: *** [diskboot.exec] Error 1 If i had .byte 0 at the end of boot/i386/pc/diskboot.S the error is removed but the size of diskboot.img is 544 bytes instead of 512. Best regards, Yves Blusseau smime.p7s Description: S/MIME

Problem Compiling gnulib/getdelim on MacOSX

2010-04-12 Thread Yves Blusseau
to solve this problem on OSX.. Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Fix use of ENABLE_NLS (which is not always defined)

2010-01-25 Thread Yves Blusseau
, any objections ? Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: keyboard layouts

2010-01-13 Thread Yves Blusseau
/share/X11/xkb/symbols files and generates the files that Grub will read. Code to read this files would be much easier than before. Same thing. Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list

[PATCH] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
OSX, the macro add the proper compile and link flags (ex: -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation in OSX) Best Regards, Yves Blusseau PS: if it ok i'll commit this patch and will add another one to make on error if the intl library can't be use and show alternative to compile grub

[PATCH 1/3] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
From: Yves y...@yves.private.network 2009-12-31 Yves Blusseau bluss...@zetam.org * config.rpath: new file used to configure compilation with NLS --- ChangeLog.config.rpath |5 config.rpath | 666 2 files changed, 671

[PATCH 2/3] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
2009-12-31 Yves Blusseau yves.bluss...@zetam.org * configure.ac: check external intl library * Makefile.in: add compiler and linker flags to properly compile with intl library * include/grub/i18n.h: add a check to disable NLS * util/misc.c

[PATCH 3/3] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
2009-12-31 Yves Blusseau bluss...@zetam.org * util/mkisofs/mkisofs.c: fix a warning about a bad cast when NLS is disabled --- ChangeLog.bad-cast |6 ++ util/mkisofs/mkisofs.c |2 +- 2 files changed, 7 insertions(+), 1 deletions(-) create mode 100644

[PATCH] compilation with external intl library

2009-12-30 Thread Yves Blusseau
Mac OSX, the macro add the proper compile and link flags (ex: -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation in OSX) Best Regards, Yves Blusseau PS: if it ok i'll commit this patch and will add another one to make on error if the intl library can't be use and show alternative to compile

Compilation under MacOSX

2009-12-29 Thread Yves Blusseau
-util_grub_mkpasswd_pbkdf2.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [grub-mkpasswd-pbkdf2] Error 1 seems that the getline function is not defined anywhere. Best regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel

Re: [PATCH,HURD] Fix GNU/Hurd menu entry generation

2009-11-03 Thread Yves Blusseau
the wildcard in the hurd case: case ${BOOT} in ... ... hurd|***) cat EOF menuentry ${LONGNAME} (on ${DEVICE}) { EOF Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel

[Report] can't build the current svn version of grub2

2009-10-29 Thread Yves Blusseau
/lexer.c:25:29: erreur: grub_script.tab.h : Aucun fichier ou dossier de ce type script/sh/lexer.c: In function ‘grub_script_yylex’: Seems it doesn't find the file grub_script.tab.h Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature

Re: [Report] can't build the current svn version of grub2

2009-10-29 Thread Yves Blusseau
Vladimir 'phcoder' Serbinenko a écrit : Yves Blusseau wrote: Hi all, i can't compile the current version of grub2 on my linux system: gcc -Iscript/sh -I./script/sh -I. -I./include -I./include -Wall -W -DGRUB_LIBDIR=\/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\ -g -O2 -DGRUB_UTIL=1

[Report] Can't compile grub on OSX

2009-09-20 Thread Yves Blusseau
:226: warning: ‘shdr’ may be used uninitialized in this function make: *** [bsd_mod-loader_i386_bsd32.o] Error 1 Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http

Re: [PATCH] Change clean rules to properly remove files

2009-09-12 Thread Yves Blusseau
Le 6 sept. 09 à 16:57, Robert Millan a écrit : On Sun, Sep 06, 2009 at 02:19:54PM +0200, Yves Blusseau wrote: Is it ok to commit ? Please wait a few more days. It's doubtful that anyone would be interested (and capable) of reviewing ruby code, but it's still worth a try. If noone

Re: [PATCH] Change clean rules to properly remove files

2009-09-06 Thread Yves Blusseau
Le 2 sept. 09 à 18:48, Yves Blusseau a écrit : ChangeLog: 2009-09-02 Yves Blusseau bluss...@zetam.org Change clean rules to properly remove files * genmk.rb: add new clean rules * Makefile.in (clean): add the new targets (mostlyclean): likewise --- Makefile.in |4 ++-- genmk.rb

Re: [PATCH] Change clean rules to properly remove files

2009-09-06 Thread Yves Blusseau
Le 6 sept. 09 à 17:18, Duboucher Thomas a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Millan a écrit : On Sun, Sep 06, 2009 at 02:19:54PM +0200, Yves Blusseau wrote: Is it ok to commit ? Please wait a few more days. It's doubtful that anyone would be interested

Re: Report: compil error on OSX for target=i386

2009-09-06 Thread Yves Blusseau
Le 6 sept. 09 à 16:54, Robert Millan a écrit : On Sun, Sep 06, 2009 at 06:55:41AM +0200, Yves Blusseau wrote: Le 5 sept. 09 à 22:31, Robert Millan a écrit : On Sat, Sep 05, 2009 at 03:17:58PM +0200, Michal Suchanek wrote: Still the time and space required to build GCC is much larger than

[PATCH] Fix maintainer-clean rule

2009-09-05 Thread Yves Blusseau
ChangeLog: 2009-09-05 Yves Blusseau bluss...@zetam.org * Makefile.in (RMKFILES): add i386-qemu.rmk (MAINTAINER_CLEANFILES): add $(srcdir)/DISTLIST $(srcdir)/config.h.in $(srcdir)/stamp-h.in --- ChangeLog |6 ++ Makefile.in |5 +++-- 2 files changed, 9 insertions

Re: Report: compil error on OSX for target=i386

2009-09-05 Thread Yves Blusseau
Le 4 sept. 09 à 13:48, Robert Millan a écrit : On Thu, Sep 03, 2009 at 11:01:23PM +0200, Yves Blusseau wrote: It's much easier to make official GCC a build requirement. People hacking on GRUB source, or distributors (e.g. Fink) should have no problem with a dependency on GCC. So what you

Re: Report: compil error on OSX for target=i386

2009-09-05 Thread Yves Blusseau
it with software like Fink or MacPorts (http://www.macports.org/) Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Report: compil error on OSX for target=i386

2009-09-03 Thread Yves Blusseau
Le 1 sept. 09 à 13:46, Robert Millan a écrit : On Mon, Aug 31, 2009 at 11:10:17PM +0200, Yves Blusseau wrote: What about following compromise: diff --git a/loader/i386/linux.c b/loader/i386/linux.c index 4144384..1380eb8 100644 --- a/loader/i386/linux.c +++ b/loader/i386/linux.c @@ -543,7

[PATCH] Embedding loadenv module into grub-emu

2009-09-02 Thread Yves Blusseau
ChangeLog: 2009-09-02 Yves BLUSSEAU bluss...@zetam.org Embedding loadenv module into grub-emu * conf/i386-pc.rmk (grub_emu_SOURCES): add lib/envblk.c and commands/loadenv.c * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise

Re: [RFC] Eliminate NESTED_ATTR_FUNC

2009-09-01 Thread Yves Blusseau
Oh, I was wrong previously, gcc does respect __attribute__ ((__regparm__ (3))) flag (I forget to add -Os so it still uses stack to store value). And the bug is still there ! Try this test program: Compile with: gcc -m32 -mregparm=3 -Os test.c ./a.out 10 31 -6674368 gcc is 4.3.4 from debian.

Re: [Bug Report] loadenv module

2009-08-31 Thread Yves Blusseau
On Sat, Aug 29, 2009 at 10:03 PM, Yves Blusseaubluss...@zetam.org wrote: Hi, i have compiled the current version of grub2 under OSX. I have an error when using the loadenv module: I don't have any grub.cfg file. When i was at the prompt i do a save_env timeout and grub return me an out

Re: [RFC] Long environment variables.

2009-08-31 Thread Yves Blusseau
Currently we don't have a reliable autodetector to pass hardware info to xnu kernel. I wanted to let user specify it through environment variables - it allows user to e.g. correct wrong entry in dump at boot time. E.g: XNU.DeviceProperties.0.path.0=ACPI:167985616:0

Re: Report: compil error on OSX for target=i386

2009-08-31 Thread Yves Blusseau
(jmp *%2 : : b (0), S (real_mode_mem), g (params-code32_start)); + asm volatile (xorl %%ebx, %%ebx\n + jmp *%1 : : S (real_mode_mem), g (params-code32_start)); #endif Is this compromise acceptable? Compil and work on OSX. Is it ok to commit it ? Regards, Yves Blusseau

Re: [Bug Report] loadenv module

2009-08-29 Thread Yves Blusseau
in the environement. Another usefull information, the problem came from loadenv module compiled on OSX because if i take only the loadenv.mod compiled on linux it's work. Regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http

Re: pc.mod - part_msdos.mod (etc)

2009-08-28 Thread Yves Blusseau
As was discussed in http://www.mail-archive.com/grub-devel@gnu.org/msg06210.html I intend to prefix all partmap modules with part_ and rename pc to part_msdos. If anyone has an objection, please say it now. Is it normal that i see gpt when i do a lsmod instead of part_gpt ? Regards, Yves

Re: pc.mod - part_msdos.mod (etc)

2009-08-28 Thread Yves Blusseau
As was discussed in http://www.mail-archive.com/grub-devel@gnu.org/msg06210.html I intend to prefix all partmap modules with part_ and rename pc to part_msdos. If anyone has an objection, please say it now. Is it normal that i see gpt when i do a lsmod instead of part_gpt ? Sorry i made a

[Bug Report] loadenv module

2009-08-28 Thread Yves Blusseau
in the environement. Best regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Fix hfsplus.

2009-08-28 Thread Yves Blusseau
Le 22 août 09 à 21:43, Vladimir 'phcoder' Serbinenko a écrit : Hello. In multiple places hfsplus aborts if read_file returns 0. But in this case grub_error isn't set so the errors aren't propagated. Here is fix. Compiled and checked on OSX: great job, no more grub crash in case of

Re: Patch to compile boot.img properly on OSX

2009-08-15 Thread Yves Blusseau
Le 14 août 09 à 23:55, Pavel Roskin a écrit : On Thu, 2009-08-13 at 02:24 -0400, Pavel Roskin wrote: Since Yves is interested perhaps he could do the dirty job of applying repetitive fixes and testing different images? And submit a patch then? Fine with me. I have fixed the *.img files

Re: [PATCH] make search faster by first trying without module autoloading

2009-08-15 Thread Yves Blusseau
Le 14 août 09 à 17:58, Vladimir 'phcoder' Serbinenko a écrit : Hello. When search encounters an unknown filesystem or filesystem without partition it triggers fs module autoload which takes noticeable time. To improve the situation I propose (after discussing with Robert Millan) to first

Re: RFC: 1.97 roadmap

2009-08-12 Thread Yves Blusseau
, builds on existing facilities), although I agree with the suggestions from Robert/Pavel that the save step should be a single command/function. I use the vladimir patch in my grub and it work like a charm. I think it's a good approach too. Yves Blusseau smime.p7s Description: S/MIME

Bug report: crash of grub in case of AppleRaid partitions

2009-08-08 Thread Yves Blusseau
; + return grub_error (GRUB_ERR_BAD_FS, file not found); } but it told me that a lot of other places have the same bug. Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] ntldr support

2009-08-08 Thread Yves Blusseau
) that will try to detect the type of the bootloader. This is only my personal opinion. Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Report: compil error on OSX for target=i386

2009-08-08 Thread Yves Blusseau
: error: can't find a register in class ‘BREG’ while reloading ‘asm’ make: *** [linux_mod-loader_i386_linux.o] Error 1 Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-08 Thread Yves Blusseau
file without a problem. Yves Blusseau ChangeLog: * include/grub/symbol.h: add the LOCAL macro. * boot/i386/pc/boot.S: Rename all local labels starting with L_ with the new macro: LOCAL. --- boot/i386/pc/boot.S | 66 + include/grub

Re: [PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-08 Thread Yves Blusseau
and Linux: boot.img load perfectly. Need someonelse to test on cygwin and FreeBSD because i don't have this OS. Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

bootmgr support

2009-08-06 Thread Yves Blusseau
, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Support for OSX (replace the old one)

2009-07-19 Thread Yves Blusseau
Regards Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Support for OSX (replace the old one)

2009-07-19 Thread Yves Blusseau
Regards Yves Blusseau osx_support.diff Description: Binary data ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Support for OSX

2009-07-16 Thread Yves Blusseau
Hi, here's a patch so grub-setup can be compiled and work on MacOSX. The only problem remaining is trampoline (nested functions), because OSX don't want to execute code in the heap. Best Regards Yves Blusseau osx_support.diff Description: Binary data

Re: [PATCH] Support for OSX

2009-07-16 Thread Yves Blusseau
Le 16 juil. 09 à 21:19, Pavel Roskin a écrit : On Thu, 2009-07-16 at 19:45 +0200, Yves Blusseau wrote: Hi, here's a patch so grub-setup can be compiled and work on MacOSX. # if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) if (ioctl (fd, DIOCGMEDIASIZE, nr)) +# elif defined

Re: [PATCH] unused constants in i386/boot.h

2009-07-15 Thread Yves Blusseau
Pavel Roskin a crit: On Tue, 2009-07-14 at 19:37 +0200, Robert Millan wrote: On Sun, Jul 12, 2009 at 09:21:07AM -0400, Pavel Roskin wrote: Quoting Yves Blusseau bluss...@zetam.org: As long as boot/i386/pc/boot.S has the variables

Re: [PATCH] unused constants in i386/boot.h

2009-07-12 Thread Yves Blusseau
On Thu, Jul 09, 2009 at 10:45:43AM +0200, Yves Blusseau wrote: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head /head body bgcolor=#ff text=#00 div class=moz-text-flowed style=font-family: -moz-fixed; font-size: 13px; lang=x- westernHere's the patch to remove

[PATCH] unused constants in i386/boot.h

2009-07-09 Thread Yves Blusseau
Here's the patch to remove unused constants. The real constants used are GRUB_BOOT_MACHINE_KERNEL_ADDR and GRUB_BOOT_MACHINE_KERNEL_SEG. Best Regards, Yves Blusseau diff --git a/ChangeLog b/ChangeLog index 3fe273f..f8b098a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-09

Re: boot.img Fix

2009-07-08 Thread Yves BLUSSEAU
Pavel Roskin a crit: On Tue, 2009-07-07 at 10:08 +0200, Yves BLUSSEAU wrote: Hi, there is a "bug" in boot.img: if you install the boot.img into the volume boot sector of a FAT32 partition instead of MBR (i know it's a bad idea), you "destroyed" the

boot.img Fix

2009-07-07 Thread Yves BLUSSEAU
not want to change the working code of the boot. Now the bootloader (boot.img) can be install on any FAT volume partitions. Best Regards, Yves Blusseau commit 1890e0781d4e210c6076568a81899ed598319249 Author: Yves Blusseau cl7m42...@sneakemail.com Date: Tue Jul 7 10:04:33 2009 +0200

Mac OSX Ports

2009-06-30 Thread Yves BLUSSEAU
option or a linker option to fix this nested functions problem ? Also where or at who i can sent my OSX patchs for incorporating into the main trunk ? Thanks in advance, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel

Problem with gnu-setup

2009-06-27 Thread Yves BLUSSEAU
', core_path); grub_util_write_image (core_img, GRUB_DISK_SECTOR_SIZE * 2, fp); the core file is open in read mode so no datas can be written. I hope that this can help you. Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org