Re: disk/device enumeration within grub

2015-10-16 Thread Manoel Rebelo Abranches
As stated in documentation http://www.gnu.org/software/grub/manual/grub.html#Multi_002dboot-manual-config and hilighted below, you should use UUID instead of the hdx. Argument to search after –label is FS LABEL. You can also use UUIDs with –fs-uuid UUID instead of –label LABEL. You could also use

Network branch

2011-05-17 Thread Manoel Rebelo Abranches
I'm working in a NET branch (http://bzr.savannah.gnu.org/r/grub/branches/net/) and have submitted some patches for network booting using tftp protocol and Open Firmware as the card driver (the implementation is sufficiently generic to utilize usual card drivers). This has been tested in P5, P6

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

2010-11-04 Thread Manoel Rebelo Abranches
found_addr == -1) -{ - grub_error (GRUB_ERR_OUT_OF_MEMORY, "cannot claim memory"); + addr = grub_linux_claimmap_iterate (first_addr, size, 0x10); + if (addr == (grub_addr_t) -1) goto fail; -} grub_dprintf ("loader", "Loading initrd at 0x%x, s

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
actually is: /configure.ac:AC_INIT([GRUB],[1.96],[bug-g...@gnu.org]) configure is generated by the autogen.sh script. On Fri, 2009-02-13 at 10:13 +0100, phcoder wrote: > ./configure:577:PACKAGE_VERSION='1.96' > BandiPat wrote: > > Hey guys, where does it specify the initial screen border title? >

Re: State of GRUB on PowerPC

2008-12-19 Thread Manoel Rebelo Abranches
I'm working in a patch to make the install process better. I ĺl send it soon, once some license issues are resolved. On Fri, 2008-12-19 at 01:00 +0100, Jordi Mallach wrote: > Hello list, > > Many months after my last try, I've given GRUB2 a go on my G4-based Apple > laptop. > > For this, I used

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
Hi made a patch to add --build-id=none to TARGET_LDFLAGS instead of MODULE_LDFLAGS. with this it is passed to ld when linking kernel.elf. without this kernel.elf creates a additional LOAD segment with a virtual address in PhysAddr witch causes problem with OF and causes grub-mkelfimage to not work

Re: [PATCH] Compilation PowerPC64

2008-12-03 Thread Manoel Rebelo Abranches
Hi Pavel. The patch which changes the link address from 0x1 to 0x20 was sent by me. there was a overlapping of the load-base used in CHRP/PAPR machines 0x4000 and the link address of the ELF segments. The address used is the same that Yaboot uses but theoretically any address that don't cau

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

2008-12-02 Thread Manoel Rebelo Abranches
The variable TARGET_LDFLAGS. isnt set but MODULE_LDFLAGS is instead. if test "x$grub_cv_prog_ld_build_id_none" = xyes; then MODULE_LDFLAGS="$MODULE_LDFLAGS -Wl,--build-id=none" I could change to use TARGET_LDFLAGS if it wont brake other architectures. We were using PPC_BUILD_ID_FLAG becaus

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@gnu.org http://list

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: aclocal.m4

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
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 \ -Wl,-N,-S,-Tte

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 > grub_machi

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 PowerPC64 due