Re: disk/device enumeration within grub

2015-10-16 Thread Manoel Rebelo Abranches
use direct root=hd0,msdosX but this is not recommended due to device name instability. Regards, Manoel R. Abranches On Fri, Oct 16, 2015 at 11:00 AM Stuart Weaver wrote: > Hi all, > > > > My current setup is a device that has eMMC and occasionally a USB both > with GRUB installed

Network branch

2011-05-17 Thread Manoel Rebelo Abranches
: 1 - Support for PXE. 2 - Support for ipv6. 3 - Other protocols beside TFTP, like DHCP and TCP based protocols. -- Best regards, Manoel R. Abranches Software Engineer - LTC - IBM - Brazil ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gn

Re: [PATCH] fix load of RHEL ans SUSE images by correctly calculate ELF entry point

2010-11-04 Thread Manoel Rebelo Abranches
lue '1' to GRUB_MEMORY_AVAILABLE. On 10/19/2010 11:46 AM, Manoel Rebelo Abraches wrote: This is another version to the same fix. The first patch 01_mem.patch creates a new function to allocate memory using the "available" property in the "memory" node. The second patch 0

Re: [PATCH] fix load of RHEL ans SUSE images by correctly calculate ELF entry point

2010-10-19 Thread Manoel Rebelo Abraches
st (made accordingly with sparc implementation) The patch was made passing -Bbp to diff as suggested by Vladimir. I tested with RHEL/SUSE images and some RHEL/SUSE kernel I had and worked correctly. Before the images failed to boot. Thank you for reviewing this. On Mon, 2010-09-27 at 04:29

Re: [RFT] Reed-Solomon

2010-09-27 Thread Manoel Rebelo Abraches
You can see a explanation at http://lists.gnu.org/archive/html/grub-devel/2010-09/msg00205.html -- Best Regards, Manoel Rebelo Abranches Software engineer IBM - Linux Technology Center - Brazil ___ Grub-devel mailing list Grub-devel@gnu.org http

[PATCH] fix load of RHEL ans SUSE images by correctly calculate ELF entry point

2010-09-27 Thread Manoel Rebelo Abraches
the adress linuxaddr + entry + (PhysAddr- Entry), where Entry is the Entry point address in the ELF header. (PhysAddr- Entry) gives the offset where the linux entry point is located after linuxaddr. -- Best Regards, Manoel Rebelo Abranches Software engineer IBM - Linux Technology Center - Brazil ==

Build fails in PowerPC

2010-09-17 Thread Manoel Rebelo Abraches
E_EMPTY \ { 0x0, 0x0, 0x0, \ { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } \ } This code compiles fine in x86, is that a gcc bug? I'm using gcc 4.4.3 -- Best Regards, Manoel Rebelo A

Re: status of grub netboot in GRUB2

2010-09-01 Thread Manoel Rebelo Abraches
tml > > > > - but they are all years ago ... > > > > Or - is there any kind of netboot functionality in GRUB2 or being > > worked on by anyone? > > > > John Lumby > > > > > > ___ > >

Re: grub2 on power6 box.

2010-07-30 Thread Manoel Rebelo Abraches
On Wed, 2010-07-28 at 10:45 -0400, Lennart Sorensen wrote: > On Wed, Jul 28, 2010 at 05:27:33PM +0300, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: > > On 07/23/2010 11:02 PM, Lennart Sorensen wrote: > > > So how would one explain to grub-install that it needs part_msdos when > > > the partition

Re: grub2 on power6 box.

2010-07-23 Thread Manoel Rebelo Abraches
> error: no device is set. > Entering rescue mode... > > > > grub rescue> > > So what do I do then to get it to know what device to use? > -- Best Regards, Manoel Rebelo Abranches Software engineer IBM - Linux Technology Center - Brazil ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] delete and backspace; unimplemented keys

2010-02-16 Thread Manoel Rebelo Abraches
Hi. As talked with phcoder in #grub on freenode, there is a cleaner version of the first patch, taking in consideration the recent changes in ofconsole. There is also a little fix to get the "~" character when the "DEL" key is pressed. On Thu, 2010-02-11 at 16:36 -0200, Ma

[PATCH] delete and backspace; unimplemented keys

2010-02-11 Thread Manoel Rebelo Abraches
d prevent garbage to show up in the screen. This patch was tested in both P5 and P6 machines. Please review and let me know your opinion about it. Thank you. -- Best Regards, Manoel Rebelo Abranches Software engineer IBM - Linux Technology Center - Brazil # Bazaar merge directive format 2 (Bazaar

Re: [PATCH]: grub: Fix type of 'actual' size arguments to ieee1275 interfaces.

2009-04-09 Thread Manoel Rebelo Abranches
_t. > > * kern/ieee1275/openfw.c (grub_children_iterate): Likewise. > > (grub_devalias_iterate): Likewise. > > Ping? Review appreciated, thanks! > > > ___ > Grub-devel mailing list > Grub-devel@gn

Re: [PATCH] add clear screen command

2009-04-09 Thread Manoel Rebelo Abranches
ink this overhead is not very relevant since this module won't go in the image (created by grub-mkimage). Also it will be consistent with the other commands and better organized(the halt command is actually very similar). -- Best Regards, Manoel Rebelo Abranches IBM Linux Technology Center B

Re: [PATCH]: grub: Fix ieee1275 call block typing.

2009-04-09 Thread Manoel Rebelo Abranches
ne as grub_unit32_t type. > > Ping? I'm touching non-sparc code so at least one review would > be appreciated before I check this in. > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Best Regards, Manoel R

Re: [BUGFIX]

2009-04-02 Thread Manoel Rebelo Abranches
eee1275.rmk has two > > kernel_elf_HEADERS in the first place ? > > > I have no idea, I was hoping that someone more familiar with build > system could tell me why it's done so > -- Best Regards, Manoel Rebelo Abranches IBM Linux Technology Center Brazil _

Re: Where?

2009-02-13 Thread Manoel Rebelo Abranches
> > > > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Best Regards, Manoel Abranches IBM Linux Technology Center Brazil ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: State of GRUB on PowerPC

2008-12-19 Thread Manoel Rebelo Abranches
on so I can't tell at the moment. > - why wasn't search.mod loaded? I think the search module isn't working in powerrPC, i have to look better at it. > - what to do about second-boot confusing search? > > Ah, also, my menu appears as white o

Re: [PATCH] --build-id= none in newer ld versions PowerPC

2008-12-11 Thread Manoel Rebelo Abranches
There are any objections for this patch? Without this grub wont work in PowerPC when using newer ld version. thanks On Thu, 2008-12-04 at 12:08 -0200, Manoel Rebelo Abranches wrote: > Hi made a patch to add --build-id=none to TARGET_LDFLAGS instead of > MODULE_LDFLAGS. with this it is pas

Re: [PATCH] --build-id= none in newer ld versions PowerPC

2008-12-04 Thread Manoel Rebelo Abranches
There is already code > adding -Wl,--build-id=none to TARGET_LDFLAGS. It's a macro > grub_PROG_LD_BUILD_ID_NONE in aclocal.m4. What's wrong with it? Does > it fail to add -Wl,--build-id=none on PowerPC or is TARGET_LDFLAGS not > used to link kernel.elf? > > What are t

Re: [PATCH] Compilation PowerPC64

2008-12-03 Thread Manoel Rebelo Abranches
om 0x20 to 0x10 makes > _start equal 0x10 and resolves the "out of memory" problem. > > The "addr" variable comes from HEAP_MIN_SIZE, and it's also 0x20. > > I'm testing PowerPC code in qemu, which doesn't provide the memory > in

Re: [PATCH] --build-id= none in newer ld versions PowerPC

2008-12-02 Thread Manoel Rebelo Abranches
g with it? Does > it fail to add -Wl,--build-id=none on PowerPC or is TARGET_LDFLAGS not > used to link kernel.elf? > > What are the symptoms caused by not using -Wl,--build-id=none? > -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Ce

Re: device.map

2008-12-02 Thread Manoel Rebelo Abranches
11:35 -0500, Pavel Roskin wrote: > On Tue, 2008-12-02 at 14:09 -0200, Manoel Rebelo Abranches wrote: > > Can someone show me where grub2 uses device.map? I'm having a hard time > > finding it in source. > > include/grub/util/misc.h: > > #define DEFAULT_DEVICE_

device.map

2008-12-02 Thread Manoel Rebelo Abranches
Can someone show me where grub2 uses device.map? I'm having a hard time finding it in source. Thanks. -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil ___ Grub-devel mailing list Grub-devel@g

Re: [PATCH] --build-id= none in newer ld versions PowerPC

2008-12-01 Thread Manoel Rebelo Abranches
On Mon, 2008-12-01 at 19:01 +0200, Vesa Jääskeläinen wrote: > Manoel Rebelo Abranches wrote: > > This patch add --build-id=none option to newer ld versions when linking > > kernel.elf. > > This prevents grub-mkelfimage to behave wrongly. > > > > if test "x

[PATCH] --build-id= none in newer ld versions PowerPC

2008-12-01 Thread Manoel Rebelo Abranches
This patch add --build-id=none option to newer ld versions when linking kernel.elf. This prevents grub-mkelfimage to behave wrongly. -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil Index: aclo

Re: ld option --build-id=none

2008-11-28 Thread Manoel Rebelo Abranches
kernelelf_LDFLAGS in the conf/powerpc-ieee1275.rm file. Thanks in advance for the help. On Fri, 2008-11-28 at 21:17 +0100, Robert Millan wrote: > 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 > >

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 ve

ld option --build-id=none

2008-11-28 Thread Manoel Rebelo Abranches
,-Ttext,0x20,-Bstatic Should I move it from conf/powerpc-ieee1275.rmk to the configure script? -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil ___ Grub-devel mailing list Grub-devel@gnu.or

Re: G5 powerpc64 undefined reference to `grub_machine_mmap_iterate'

2008-11-28 Thread Manoel Rebelo Abranches
> Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Compilation PowerPC64

2008-11-28 Thread Manoel Rebelo Abranches
My patch only corrects the compilation error introduced by revision 1924. I have tested it in both P5 and P6 machines and all worked right. On Mon, 2008-11-24 at 16:30 -0500, Pavel Roskin wrote: > On Mon, 2008-11-24 at 17:58 -0200, Manoel wrote: > > This patch corrects compilation in

[PATCH] Compilation PowerPC64

2008-11-24 Thread Manoel
This patch corrects compilation in PowerPC64 due to some recent changes. -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil Index: conf/powerpc-ieee1275.rmk === --- conf/powerpc-ieee12

[PATCH] GRUB2 keyboard fixes on PowerPC64

2008-11-18 Thread Manoel
This patch prevents that fancy characters show up in screen when keys that the virtual terminal doesn't understand are pressed. -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil Index: term/ieee1275/

[PATCH] Grub2 running address on PowerPC64

2008-11-18 Thread Manoel
same address used by Yaboot and is know to work well. the makefile must be regenerated using the command: $ ruby genmk.rb < conf/powerpc-ieee1275.rmk> conf/powerpc-ieee1275.mk -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil Index:

Re: PPC64 mlongcall gcc flag

2008-11-06 Thread Manoel
MIN_SIZE)) > /* only limit ourselves when we can afford to */ > > Argueably, this is not my best piece of code... today I'd have implemented a > payload relocator (like the one used by loader/i386/pc/multiboot.c) just so we > can happily use everything in /

Re: PPC64 mlongcall gcc flag

2008-11-05 Thread Manoel
e have a > runtime ELF linker in a bootloader? > > At any rate, the point of having dynamically loadable modules is so you > can only load the ones you need. On that scale I think the size increase > is less of an issue. > > > Maybe there is a way to keep the modules and the

Re: PPC64 mlongcall gcc flag

2008-11-04 Thread Manoel
sorry, forgot the patch. On Tue, 2008-11-04 at 16:18 -0200, Manoel wrote: > I did this patch to add a gcc flag to the modules compilation. Is that > the correct place to put this flag? > > Also I would like to know what the command "cursor-on" and "cursor-off"

PPC64 mlongcall gcc flag

2008-11-04 Thread Manoel
y in PowerPC machine? Or is it unnecessary in PowerPC firmware? -- Best Regards, Manoel Abranches <[EMAIL PROTECTED]> IBM Linux Technology Center Brazil ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: PPC64

2008-11-04 Thread Manoel
it will be passed to all gcc calls by default? On Mon, 2008-10-27 at 13:19 -0400, Pavel Roskin wrote: > On Fri, 2008-10-24 at 19:53 -0200, Manoel wrote: > > Changing the load-base worked in the P5 machine but when I tested in the > > P6 machine I got the following message: >

Re: Question about static compiling

2008-10-25 Thread Manoel
test with, etc. I > had the svn version of 1886. > > Many thanks for taking the time to read this, > Joe > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Best Regards, Manoel Abranches <[EMAIL PROTE

Re: PPC64

2008-10-24 Thread Manoel
2008-10-23 at 16:00 -0200, Manoel wrote: > > > > I talked with some folks at #pppc64 on freenode an they suggest that > > the > > OF is loading things in the wrong place could a problem with my > > load-base: > > > > real-base

Re: svn timed out

2008-10-24 Thread Manoel
ed on. > > > > > > I have also installed grub2(v1.96, source compiled by me) as the boot > > loader. > > Hello, > > Don't use the 1.96 release from february but trunk SVN version. > There were many bugfixes since then and I think even in the png module &

Re: PPC64

2008-10-24 Thread Manoel
008-10-23 at 16:00 -0200, Manoel wrote: > > > > I talked with some folks at #pppc64 on freenode an they suggest that > > the > > OF is loading things in the wrong place could a problem with my > > load-base: > > > > real-base

Re: PPC64

2008-10-23 Thread Manoel
On Tue, 2008-10-21 at 15:52 -0500, Hollis Blanchard wrote: > Please CC me, since I'm no longer subscribed to grub-devel. > > > From: Manoel <[EMAIL PROTECTED]> > > To: The development of GRUB 2 > > Subject: Re: PPC64 > > Date: Tue, 21 Oct 2008 14:43:25

Re: PPC64

2008-10-21 Thread Manoel
Hi Hollis, On Mon, 2008-10-20 at 14:32 -0500, Hollis Blanchard wrote: > On Mon, 2008-10-20 at 17:18 -0200, Manoel wrote: > > > > I'm working in a project to use grub2 to boot some ppc machines(p6 , p5 > > and so on) and we had some difficulties with a grub modules

PPC64

2008-10-20 Thread Manoel
; is showed in attachment readelf.txt If you could help me, I will appreciate it. Thanks in advance! Best regards. Abranches, Manoel R. cursor-on, unknown wordWelcome to GRUB! search= 0x38f4c end =0x24098 gap =0x8000 align=0x1000 base_mod=0x2d000 modinfo = 0x2d000 modinfo->magic = 0x3063 modi