From: Anton Blanchard
Fix some more warnings when casting.
Signed-off-by: Ram Pai
From: Anton Blanchard
---
grub-core/disk/ieee1275/ofdisk.c | 2 +-
grub-core/lib/powerpc/relocator.c | 8
grub-core/net/drivers/ieee1275/ofnet.c | 2 +-
3 files changed, 6 insertions(+), 6 de
set the ABI version to 0x02 in the e_flag of the PPC64LE ELF image.
Signed-off-by: Ram Pai
---
include/grub/elf.h| 1 +
util/grub-mkimagexx.c | 4
2 files changed, 5 insertions(+)
diff --git a/include/grub/elf.h b/include/grub/elf.h
index caa7963..bee7583 100644
--- a/include/grub/elf.
grub segfaults if initrd is specified before specifying
the kernel. The problem is the initrd module sees that kernel is not
specified and takes the fail path. In the fail path it checks if anything has
be malloc'ed. Unfortunately the variable that it looks to check for is a
uninitialized stac
From: Anton Blanchard
Add a trampoline so a 64bit grub can call a 32 bit OF
Signed-off-by: Ram Pai
From: Anton Blanchard
---
grub-core/Makefile.core.def | 2 +
grub-core/kern/powerpc/ieee1275/entry.S | 150 +++
include/grub/powerpc/ieee1275/ieee1275
On 26.02.2014 03:58, Mroczek, Joseph T wrote:
>> From: Peter Jones
>> Sent: Tuesday, February 25, 2014 2:12 PM
>>
>> This is version 4.
>>
>> Changes from version 1:
>> - handles SHIFT as a modifier
>> - handles F11 and F12 keys
>> - uses the handle provided by the system table to find our _EX prot
.TOC. symbol is special in ppc64le . It maps to the
address of the .toc section.
Signed-off-by: Ram Pai
---
grub-core/kern/dl.c | 34 +-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/grub-core/kern/dl.c b/grub-core/kern/dl.c
index de2d0ed..ce2ff3
the .toc section in powerpc64le modules are sometimes
not aligned on a four byte boundary. This fails the module linker especially
when processing R_PPC64_TOC16_LO_DS, since the addresses are expected to be
aligned on 4byte boundary.
Signed-off-by: Ram Pai
---
grub-core/kern/dl.c | 5 +
From: Anton Blanchard
ppc64 doesn't need libgcc routines
Signed-off-by: Ram Pai
From: Anton Blanchard
---
include/grub/libgcc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/grub/libgcc.h b/include/grub/libgcc.h
index fdc6611..69a95bc 100644
--- a/include/grub/l
From: Anton Blanchard
powerpc64 is not necessarily BigEndian anymore! :)
Signed-off-by: Ram Pai
---
include/grub/powerpc/types.h | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/include/grub/powerpc/types.h b/include/grub/powerpc/types.h
index 7a2fc6b..ab138d4 10
grub-install can now recognize and install a LE grub boot loader
Signed-off-by: Ram Pai
---
include/grub/offsets.h | 5 +
include/grub/util/install.h | 1 +
util/grub-install-common.c | 1 +
util/grub-install.c | 15 +--
util/mkimage.c | 19 +
Power7 cannot handle VSX instructions correctly. It
segfaults. This patch is applicable only for power7 systems.
Signed-off-by: Ram Pai
---
grub-core/fs/fshelp.c | 10 ++
grub-core/kern/term.c | 11 +++
grub-core/normal/term.c | 42 ++
GRUB_ELF_R_PPC_* processing is applicable only for 32 bit bootloader.
Signed-off-by: Ram Pai
---
grub-core/kern/powerpc/dl.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/grub-core/kern/powerpc/dl.c b/grub-core/kern/powerpc/dl.c
index 3a7fa3e..7677e5a 100644
--- a/gru
From: Anton Blanchard
Add ppc64 relocations
Signed-off-by: Ram Pai
From:Anton Blanchard
---
grub-core/kern/powerpc/dl.c | 179 +---
include/grub/elf.h | 3 +
2 files changed, 172 insertions(+), 10 deletions(-)
diff --git a/grub-core/ker
From: Anton Blanchard
Use FUNC_START/FUNC_END for powerpc function definitions
Signed-off-by: Ram Pai
From:Anton Blanchard
---
grub-core/kern/powerpc/cache.S | 6 --
grub-core/lib/powerpc/setjmp.S | 8 +---
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/grub-core/
all parameter to firmware calls should to be BigEndian
and the results should be CPU endian.
Signed-off-by: Ram Pai
---
grub-core/disk/ieee1275/nand.c | 41 +-
grub-core/disk/ieee1275/ofdisk.c | 22 --
grub-core/kern/ieee1275/ieee1275.c | 132 +++
From: Anton Blanchard
Add 64bit support to powerpc startup code
Signed-off-by: Ram Pai
From: Anton Blanchard
---
grub-core/kern/powerpc/ieee1275/startup.S | 30 ++
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/grub-core/kern/powerpc/ieee1275/start
From: Anton Blanchard
If the target pointer size doesn't match the IEEE1275 cell size, we
need to cast twice to avoid a warning.
Signed-off-by: Ram Pai
From: Anton Blanchard
---
grub-core/disk/ieee1275/ofdisk.c | 4 ++--
grub-core/kern/ieee1275/ieee1275.c | 30 +++--
From: Anton Blanchard
ppc64 needs to find the address of the toc and opd sections.
Create grub_dl_find_section_addr to do this.
We also need grub_dl_find_section, so make it global.
Signed-off-by: Ram Pai
From: Anton Blanchard
---
grub-core/kern/dl.c | 27 ++-
include
From: Anton Blanchard
Add powerpc64 types
Signed-off-by: Ram Pai
From: Anton Blanchard
---
include/grub/powerpc/types.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/grub/powerpc/types.h b/include/grub/powerpc/types.h
index a098ae6..7a2fc6b 100644
--- a/include/grub/pow
From: Anton Blanchard
Fix powerpc setjmp/longjmp 64bit issues
Signed-off-by: Ram Pai
From: Anton Blanchard
---
grub-core/lib/powerpc/setjmp.S | 94 +++---
1 file changed, 52 insertions(+), 42 deletions(-)
diff --git a/grub-core/lib/powerpc/setjmp.S b/gru
powerpc64 LE's linker knows how to handle the undefined
symbol .TOC. in grub modules. So just ignore that symbol during build.
Signed-off-by: Ram Pai
---
grub-core/gensyminfo.sh.in | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/grub-core/gensyminfo.sh.in b/grub-core/ge
Add a new architecture to the build process
Signed-off-by: Ram Pai
Signed-off-by: Tomohiro B Berry
Signed-off-by: Thomas Falcon
---
Makefile.am | 4
config.h.in | 4
configure.ac| 10 +++---
gentpl.py | 7 --
The following patches enable grub to support
64bit Little Endian Power architecture.
Anton Blanchard (12):
Add IEEE1275_ADDR helper
Fix some more warnings when casting.
Add powerpc64 types
Fix warnings when building powerpc linux loader 64bit
Fix powerpc setjmp/longjmp 64bit issues
Add
Build LE grub as O1 until we add savegpr and restgpr
Signed-off-by: Ram Pai
From: Anton Blanchard
---
configure.ac | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 09e9dfb..10856be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7
From: Anton Blanchard
Fix warnings when building powerpc linux loader 64bit
Signed-off-by: Ram Pai
From: Anton Blanchard
---
grub-core/loader/powerpc/ieee1275/linux.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/grub-core/loader/powerpc/ieee1275/linux.c
b/grub-co
25 matches
Mail list logo