[Skiboot] [PATCH 2/2] external/mambo: Load skiboot already offset
Michael Neuling
mikey at neuling.org
Fri Jan 15 12:04:06 AEDT 2016
Load skiboot already offset at 768MB so that it doesn't need to
relocate itself. This shaves about 1M instructions off boot time.
Signed-off-by: Michael Neuling <mikey at neuling.org>
---
external/mambo/skiboot.tcl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 83d295b..d3b4120 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -22,10 +22,10 @@ if { [info exists env(SKIBOOT)] } {
}
# Boot: Memory location to load boot_image, for binary or vmlinux
-mconfig boot_load MAMBO_BOOT_LOAD 0
+mconfig boot_load MAMBO_BOOT_LOAD 0x30000000
# Boot: Value of PC after loading, for binary or vmlinux
-mconfig boot_pc MAMBO_BOOT_PC 0x10
+mconfig boot_pc MAMBO_BOOT_PC 0x30000010
# Payload: Allow for a Linux style ramdisk/initrd
if { ![info exists env(SKIBOOT_ZIMAGE)] } {
--
2.5.0
More information about the Skiboot
mailing list