diff mbox

v2 mambo: Add section for kernel command line boot args

Message ID 20161001221121.GA6618@distroguy.com
State Accepted
Headers show

Commit Message

Chris Smart Oct. 1, 2016, 10:11 p.m. UTC
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@distroguy.com>
---
Changes since v1:
 - Addded signed off by

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

Comments

Balbir Singh Oct. 4, 2016, 2:19 a.m. UTC | #1
On 02/10/16 09:11, Chris Smart wrote:
> 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@distroguy.com>
> ---

Yep, we've had to search it all the time otherwise

Acked-by: Balbir Singh <bsingharora@gmail.com>
Stewart Smith Oct. 11, 2016, 5:46 a.m. UTC | #2
Chris Smart <chris@distroguy.com> writes:
> 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@distroguy.com>

looks good, merged to master as of d8b7ad297887f681bef06df684acb8ea97171bda
diff mbox

Patch

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)]