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

Chris Smart chris at distroguy.com
Fri Sep 23 16:22:53 AEST 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.
---
 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