sparc64 - second stage sector corruption
PATCH 1/1 sparc64 - second stage sector corruption
Correct the end of the bootpath property. The OBP property "bootpath" call was clearing kernel_byte which is the second stage boot sector.
The property value for boot_path is also limited in size. It should be larger in size.
Signed-off-by Bob Picco <[email protected]>
Signed-off-by Allen Pais <[email protected]>
--- grub-core/boot/sparc64/ieee1275/boot.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
grub-core/boot/sparc64/ieee1275/boot.S +1 -1
@@ -44,8 +44,8 @@ pic_base: . = _start + GRUB_BOOT_MACHINE_BOOT_DEVPATH boot_path: . = _start + GRUB_BOOT_MACHINE_KERNEL_BYTE -kernel_byte: .xword (2 << 9) boot_path_end: +kernel_byte: .xword (2 << 9) kernel_address: .word GRUB_BOOT_MACHINE_KERNEL_ADDR #else #define boot_path (_start + 512 + SCRATCH_PAD_BOOT_SIZE)
Signature · 1 line
1.7.10.4