diff options
author | Michael Neuling <mikey@neuling.org> | 2016-04-15 14:43:41 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-04-18 13:33:24 -0700 |
commit | 72bf5b7ba57e81829d6a7656c63cefa1cd651e0d (patch) | |
tree | 36ab51055394ac47a242601c8adff8230a8ca45d /external/mambo/skiboot.tcl | |
parent | 7478d2da61879f0f6a24b9ad9583810451f31801 (diff) | |
download | skiboot-72bf5b7ba57e81829d6a7656c63cefa1cd651e0d.zip skiboot-72bf5b7ba57e81829d6a7656c63cefa1cd651e0d.tar.gz skiboot-72bf5b7ba57e81829d6a7656c63cefa1cd651e0d.tar.bz2 |
mambo: Increase memory to 4GB and change memory map
Increase memory in the sim to 4GB up from 1GB. We need to turn off
the small RAM and ROM in mambo as that sits at 3.75GB currently. We
don't use these currently.
Also change where we put the CPIO to give ourselves more space.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/mambo/skiboot.tcl')
-rw-r--r-- | external/mambo/skiboot.tcl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index 861218b..7b28d6f 100644 --- a/external/mambo/skiboot.tcl +++ b/external/mambo/skiboot.tcl @@ -11,7 +11,7 @@ proc mconfig { name env_name def } { mconfig cpus CPUS 1 mconfig threads THREADS 1 -mconfig memory MEM_SIZE 1G +mconfig memory MEM_SIZE 4G # Should we stop on an illeagal instruction mconfig stop_on_ill MAMBO_STOP_ON_ILL false @@ -77,6 +77,8 @@ myconf config enable_rtas_support false myconf config processor/cpu_frequency 512M myconf config processor/timebase_frequency 1/1 myconf config enable_pseries_nvram false +myconf config machine_option/NO_RAM TRUE +myconf config machine_option/NO_ROM TRUE # We need to be DD2 or greater on p8 for the HILE HID bit. if { $env(SIMHOST) == "pegasus" } { @@ -171,7 +173,7 @@ if { [info exists env(SKIBOOT_INITRD)] } { set cpio_file $env(SKIBOOT_INITRD) set chosen_node [mysim of find_device /chosen] set cpio_size [file size $cpio_file] - set cpio_start 0x10000000 + set cpio_start 0x80000000 set cpio_end [expr $cpio_start + $cpio_size] mysim of addprop $chosen_node int "linux,initrd-start" $cpio_start mysim of addprop $chosen_node int "linux,initrd-end" $cpio_end |