[SerialICE] Patch set updated for serialice: b676c48 Add runtime parameters file

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Wed Mar 13 10:00:29 CET 2013


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2599

-gerrit

commit b676c485e43c27a5f81cd7a1eb2e5a2bb8cc5076
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Wed Mar 6 20:02:24 2013 +0200

    Add runtime parameters file
    
    Move parameters that control the verbosity of the replayer script
    in a separate file. Also set default of log_everything = false,
    as this is generally how one wants replay to behave.
    
    Change-Id: Iccf2b50874849228c51d99fa33dc3e86d9d584cb
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
 SerialICE/simba/memory.lua    | 10 ----------
 SerialICE/simba/serialice.lua | 33 +--------------------------------
 SerialICE/simba/user_env.lua  | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+), 42 deletions(-)

diff --git a/SerialICE/simba/memory.lua b/SerialICE/simba/memory.lua
index bb09aef..c375166 100644
--- a/SerialICE/simba/memory.lua
+++ b/SerialICE/simba/memory.lua
@@ -132,16 +132,6 @@ filter_ram_low_2 = {
 	size = 0x20000
 }
 
--- 3.25GB RAM. This is handled by SerialICE.
--- FIXME: use TOLM here
-
-tolm = 0xd0000000
-top_of_qemu_ram = 0x800000
-
--- We refrain from backing up most of memory in Qemu because Qemu would
--- need lots of ram on the host and firmware usually does not intensively
--- use high memory anyways.
-
 filter_ram_high_qemu = {
 	name = "RAM",
 	pre = mem_qemu_only,
diff --git a/SerialICE/simba/serialice.lua b/SerialICE/simba/serialice.lua
index 2427ed5..4905da1 100644
--- a/SerialICE/simba/serialice.lua
+++ b/SerialICE/simba/serialice.lua
@@ -24,42 +24,11 @@
 
 io.write("SerialICE: Starting LUA script\n")
 
-
--- Set to "false" to show undecoded access for the specified class
-hide_rom_access = true
-hide_ram_low = true
-hide_ram_high = true
-hide_smi_vga = true
-hide_pci_io_cfg = true
-hide_pci_mm_cfg = true
-hide_nvram_io = true
-hide_i8042_io = false
-hide_i8237_io = true
-hide_i8254_io = true
-hide_i8259_io = true
-hide_superio_cfg = true
-hide_smbus_io = true
-hide_mainboard_io = true
-
--- Set to "true" to log every memory and IO access
-log_everything = true
-
-
--- Use lua table for NVram
--- RTC registers 0x0-0xd go to HW
-cache_nvram = false
-
--- SMSC 0x07, Winbond 0x06 ?
-DEFAULT_SUPERIO_LDN_REGISTER = 0x07
-
-rom_size = 4 * 1024 * 1024
-rom_base = 0x100000000 - rom_size
-
-
 -- --------------------------------------------------------------------
 -- This initialization is executed right after target communication
 -- has been established
 
+dofile("user_env.lua")
 dofile("interface.lua")
 dofile("output.lua")
 dofile("hooks.lua")
diff --git a/SerialICE/simba/user_env.lua b/SerialICE/simba/user_env.lua
new file mode 100644
index 0000000..ff9f64d
--- /dev/null
+++ b/SerialICE/simba/user_env.lua
@@ -0,0 +1,36 @@
+-- Set to "true" to show all memory and IO access in output
+log_everything = false
+
+-- Set to "false" to show undecoded access for the specified class
+hide_rom_access = true
+hide_ram_low = true
+hide_ram_high = true
+hide_smi_vga = true
+hide_car = true
+hide_pci_io_cfg = true
+hide_pci_mm_cfg = true
+hide_nvram_io = true
+hide_i8042_io = false
+hide_i8237_io = true
+hide_i8254_io = true
+hide_i8259_io = true
+hide_superio_cfg = true
+hide_smbus_io = true
+hide_mainboard_io = true
+
+-- Use lua table for NVram
+-- RTC registers 0x0-0xd go to HW
+cache_nvram = false
+
+-- SMSC 0x07, Winbond 0x06 ?
+DEFAULT_SUPERIO_LDN_REGISTER = 0x07
+
+-- FIXME: Use bios file image size here.
+rom_size = 4 * 1024 * 1024
+rom_base = 0x100000000 - rom_size
+
+-- We refrain from backing up most of memory in Qemu because Qemu would
+-- need lots of ram on the host and firmware usually does not intensively
+-- use high memory anyways.
+top_of_qemu_ram = 0x800000
+tolm = 0xd0000000



More information about the SerialICE mailing list