[Skiboot] [PATCH 1/7] mambo: Use alternate skiboot.lid with SKIBOOT

Michael Neuling mikey at neuling.org
Tue Oct 20 15:48:58 AEDT 2015


Make it possible to use an alternate skiboot.lid by setting the
SKIBOOT environment variable.

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 external/mambo/skiboot.tcl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 2d14be6..cfae489 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -17,6 +17,9 @@ mconfig stop_on_ill MAMBO_STOP_ON_ILL false
 
 # Location of application binary to load
 mconfig boot_image SKIBOOT ../../skiboot.lid
+if { [info exists env(SKIBOOT)] } {
+    mconfig boot_image SKIBOOT env(SKIBOOT)
+}
 
 # Boot: Memory location to load boot_image, for binary or vmlinux
 mconfig boot_load MAMBO_BOOT_LOAD 0
-- 
2.1.4



More information about the Skiboot mailing list