[Skiboot] [PATCH] v2 mambo: Add section for kernel command line boot args

Chris Smart chris at distroguy.com
Sun Oct 2 09:11:27 AEDT 2016


Users can set kernel command line boot arguments for Mambo in a tcl
script.

This adds a place holder at the bottom of the skiboot.tcl script so
that users know what format to use.

Signed-off-by: Chris Smart <chris at distroguy.com>
---
Changes since v1:
 - Addded signed off by

 external/mambo/skiboot.tcl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index e9aea028edcc..f906f05be81a 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -243,6 +243,10 @@ for { set c 0 } { $c < $mconf(cpus) } { incr c } {
     mysim of addprop $cpu_node array "ibm,ppc-interrupt-server#s" irqreg
 }
 
+# Kernel command line args, appended to any from the device tree
+# e.g.: of::set_bootargs "xmon"
+of::set_bootargs ""
+
 # Load images
 
 set boot_size [file size $mconf(boot_image)]
-- 
2.9.3



More information about the Skiboot mailing list