Bugfix: no cursor on command line

2009-01-27 Thread phcoder
Testing grub I noticed this bug. Here is bugfix Vladimir 'phcoder' Serbinenko Index: normal/cmdline.c === --- normal/cmdline.c(revision 1959) +++ normal/cmdline.c(working copy) @@ -148,6 +148,7 @@ { static char cm

Re: [PATCH] remove target_os

2009-01-27 Thread Vesa Jääskeläinen
Javier Martín wrote: > A, say, AMD64 Linux cross compiler hosted on x86 Cygwin would have > $build=i686-pc-cygwin and $host=amd64-linux-gnu. Thus, no conflict ought > to arise even with cross compilation enabled. > > AFAIK, the full power of $build+$host+$target only matters when building > _compi

Re: State of GRUB on PowerPC

2009-01-27 Thread Vesa Jääskeläinen
Michel Dänzer wrote: > P.S. Please reconsider automatically rejecting posts from > non-subscribers. I co-moderate half a dozen mailing lists, only costs me > a couple of minutes a day thanks to a nice tool called 'listadmin'. grub-devel is a subscriber only list.

Re: State of GRUB on PowerPC

2009-01-27 Thread Michel Dänzer
On Tue, 2009-01-27 at 18:54 +0200, Vesa Jääskeläinen wrote: > Michel Dänzer wrote: > > P.S. Please reconsider automatically rejecting posts from > > non-subscribers. I co-moderate half a dozen mailing lists, only costs me > > a couple of minutes a day thanks to a nice tool called 'listadmin'. > >

Re: [PATCH] remove target_os

2009-01-27 Thread Christian Franke
Javier Martín wrote: Unfortunately, gcc has no '-fno_os' option to specify the bare CPU as target. Might -ffreestanding be what you are looking for? The option '-ffreestanding' is the same as '-fno-hosted'. According to gcc (4.3.1) source, '-fno-hosted' clears variable 'flag_hosted

Re: [PATCH] remove target_os

2009-01-27 Thread Javier Martín
El mar, 27-01-2009 a las 18:51 +0200, Vesa Jääskeläinen escribió: > Javier Martín wrote: > > A, say, AMD64 Linux cross compiler hosted on x86 Cygwin would have > > $build=i686-pc-cygwin and $host=amd64-linux-gnu. Thus, no conflict ought > > to arise even with cross compilation enabled. > > > > AFA

Re: [PATCH] remove target_os

2009-01-27 Thread Javier Martín
El mar, 27-01-2009 a las 18:21 +0100, Christian Franke escribió: > Javier Martín wrote: > >> Unfortunately, gcc has no '-fno_os' option to specify the bare CPU as > >> target. > >> > > > > Might -ffreestanding be what you are looking for? > > > > > > The option '-ffreestanding' is the sam

Re: [PATCH] remove target_os

2009-01-27 Thread Christian Franke
Javier Martín wrote: El mar, 27-01-2009 a las 18:21 +0100, Christian Franke escribió: Javier Martín wrote: Unfortunately, gcc has no '-fno_os' option to specify the bare CPU as target. Might -ffreestanding be what you are looking for? The option '-ffreestandin

GRUB 2 for DEC Alpha?

2009-01-27 Thread Matt Turner
Hi, I learned today that GRUB 2 aims to be cross platform and already supports in some form PPC. Is there any interest in supporting the DEC Alpha (SRM) platform? According to the Current Status [*] page, BSD partition maps are already supported, so maybe the only thing to be done is the SRM-spe

Re: GRUB 2 for DEC Alpha?

2009-01-27 Thread Vesa Jääskeläinen
Matt Turner wrote: > Hi, > > I learned today that GRUB 2 aims to be cross platform and already > supports in some form PPC. > > Is there any interest in supporting the DEC Alpha (SRM) platform? If you are planning to provide the code for it and maintain it :) (or someone else). > Alpha users cu

Re: Bugfix: no cursor on command line

2009-01-27 Thread Vesa Jääskeläinen
phcoder wrote: > Testing grub I noticed this bug. Here is bugfix > Vladimir 'phcoder' Serbinenko > > Index: normal/cmdline.c > === > --- normal/cmdline.c(revision 1959) > +++ normal/cmdline.c(working copy) > @@ -148,6 +148,7 @

Re: Bugfix: no cursor on command line

2009-01-27 Thread phcoder
I do not remember seeing a problem here. So what is actually the problem and how to reproduce it? I booted GRUB2 by GRUB-Legacy, command prompt appeared and worked but there were no cursor. I think the same problem appears when the user opens command line from the menu. Vladimir 'phcoder' Ser

Re: Bugfix: no cursor on command line

2009-01-27 Thread Vesa Jääskeläinen
phcoder wrote: >> I do not remember seeing a problem here. So what is actually the problem >> and how to reproduce it? > > I booted GRUB2 by GRUB-Legacy, command prompt appeared and worked but > there were no cursor. I think the same problem appears when the user > opens command line from the menu

Re: [PATCH] remove target_os

2009-01-27 Thread Javier Martín
El mar, 27-01-2009 a las 20:56 +0100, Christian Franke escribió: > Javier Martín wrote: > > El mar, 27-01-2009 a las 18:21 +0100, Christian Franke escribió: > > > >> Javier Martín wrote: > >> > Unfortunately, gcc has no '-fno_os' option to specify the bare CPU as > target. >

Grub 2 command : uppermem (patch proposal)

2009-01-27 Thread Bandan Das
Hello List, I was going through the Grub 2 TODO here : http://grub.enbug.org/TodoList and I see that one of the many commands that need to be implemented is "uppermem". Having played around with uppermem quite a bit (thanks to the weird systems I have to work with) on Grub Legacy, I was wonder

Re: [PATCH] caseless uuid detection, fixed wrong behaviour for strncasecmp, added strcasecmp

2009-01-27 Thread Pavel Roskin
On Mon, 2009-01-26 at 19:28 +0100, Daniel Mierswa wrote: > On 26.01.2009 05:41, Pavel Roskin wrote: > > I'll appreciate if you write your Changelog entries according to the GNU > > coding standards. In particular, please don't abbreviate function > > names. > Ok, second try. I should have told yo

Re: [PATCH] caseless uuid detection, fixed wrong behaviour for strncasecmp, added strcasecmp

2009-01-27 Thread Pavel Roskin
On Tue, 2009-01-27 at 20:49 -0500, Pavel Roskin wrote: > > > We have a very similar function search_fs_uuid() in disk/fs_uuid.c, and > > > it still uses grub_strcmp(). Should it be using grub_strcasecmp() as > > > well? Can we export that function to reuse it in commands/search.c? P.S. The reus

Re: Bugfix: no cursor on command line

2009-01-27 Thread phcoder
Sorry it seems that my fs was corrupted which caused failure at install. fsck and reinstall fixed the problem Thanks Vladimir 'phcoder' Serbinenko Vesa Jääskeläinen wrote: phcoder wrote: I do not remember seeing a problem here. So what is actually the problem and how to reproduce it? I booted

xnu support

2009-01-27 Thread phcoder
Hello, I'm working on xnu (darwin kernel, under OSI approved APSL) support and would like to discuss some interfaces about it. Issue 1) First in xnu world booter hands the loading of compressed hibernation image. Resuming doesn't need to load the kernel conventional way. And trying to resume fro