Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2599
-gerrit
commit 5cd63752e94ba16c996310ceb07fae7f22ea1752 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Wed Mar 6 20:02:24 2013 +0200
Add parameters file
Move parameters that control the verbosity of the replayer script in a separate file.
Change-Id: Iccf2b50874849228c51d99fa33dc3e86d9d584cb Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- SerialICE/simba/memory.lua | 11 +++++------ SerialICE/simba/serialice.lua | 19 +------------------ SerialICE/simba/user_env.lua | 20 ++++++++++++++++++++ 3 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/SerialICE/simba/memory.lua b/SerialICE/simba/memory.lua index b05f09c..fd47cbd 100644 --- a/SerialICE/simba/memory.lua +++ b/SerialICE/simba/memory.lua @@ -53,7 +53,7 @@ function new_car_region(start, size) f.size = size f.pre = car_qemu_only f.post = car_post - f.hide = true + f.hide = hide_car enable_hook(mem_hooks, f) SerialICE_register_physical(start, size) end @@ -101,12 +101,11 @@ function mem_smi_vga(f, action) return true end
- filter_ram_low = { name = "MEM", pre = mem_ram_low, post = mem_post, - hide = true, + hide = hide_ram, base = 0x0, size = 0xa0000 } @@ -115,7 +114,7 @@ filter_smi_vga = { name = "SMI_VGA", pre = mem_smi_vga, post = mem_post, - hide = true, + hide = hide_smi_vga, base = 0x000a0000, size = 0x00010000, } @@ -124,7 +123,7 @@ filter_ram_low_2 = { name = "MEM", pre = mem_ram_low, post = mem_post, - hide = true, + hide = hide_ram, base = 0xc0000, size = 0x20000 } @@ -139,7 +138,7 @@ filter_ram_high = { name = "MEM", pre = mem_target_only, post = mem_post, - hide = true, + hide = hide_ram_high, base = 0x100000, size = 0xd0000000 - 0x100000 } diff --git a/SerialICE/simba/serialice.lua b/SerialICE/simba/serialice.lua index 434556f..2a8fae0 100644 --- a/SerialICE/simba/serialice.lua +++ b/SerialICE/simba/serialice.lua @@ -24,24 +24,6 @@
io.write("SerialICE: Starting LUA script\n")
- --- Set to "false" to show undecoded access for the specified class -hide_rom_access = 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 @@ -57,6 +39,7 @@ 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..2a631d5 --- /dev/null +++ b/SerialICE/simba/user_env.lua @@ -0,0 +1,20 @@ +-- 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 +