[Skiboot] [PATCH] external/mambo: Update PVR value

Samuel Mendoza-Jonas sam.mj at au1.ibm.com
Thu Aug 20 17:15:43 AEST 2015


Running little-endian kernels in mambo requires HILE to be set properly,
which requires a bump in the machine's pvr value to a DD2.x chip.

Reported-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Samuel Mendoza-Jonas <sam.mj at au1.ibm.com>
---
 external/mambo/skiboot.tcl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index c6e303b..2d14be6 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -171,6 +171,7 @@ mysim memory fread $mconf(payload_addr) $payload_size $mconf(payload)
 for { set i 0 } { $i < $mconf(threads) } { incr i } {
     mysim mcm 0 cpu 0 thread $i set spr pc $mconf(boot_pc) 
     mysim mcm 0 cpu 0 thread $i set gpr 3 $mconf(epapr_dt_addr)
+    mysim mcm 0 cpu 0 thread $i set spr pvr 0x4b0201
     mysim mcm 0 cpu 0 thread $i config_on    
 }
 
-- 
2.5.0



More information about the Skiboot mailing list