gem5: test out panic_on_panic

patches: create patche/manual patch dir, put all patch directories under
patches/ subdir
This commit is contained in:
Ciro Santilli
2018-08-11 14:14:57 +01:00
parent fbbfe98bfd
commit 539b176e1d
11 changed files with 68 additions and 34 deletions

View File

@@ -0,0 +1 @@
https://github.com/cirosantilli/linux-kernel-module-cheat#patches-buildroot

View File

@@ -0,0 +1 @@
https://github.com/cirosantilli/linux-kernel-module-cheat#patches-global

View File

@@ -0,0 +1 @@
https://github.com/cirosantilli/linux-kernel-module-cheat#patches-manual

View File

@@ -0,0 +1,13 @@
diff --git a/configs/example/arm/fs_bigLITTLE.py b/configs/example/arm/fs_bigLITTLE.py
index 7d66c03a6..d71e714fe 100644
--- a/configs/example/arm/fs_bigLITTLE.py
+++ b/configs/example/arm/fs_bigLITTLE.py
@@ -194,7 +194,7 @@ def build(options):
"norandmaps",
"loglevel=8",
"mem=%s" % default_mem_size,
- "root=/dev/vda1",
+ "root=/dev/vda",
"rw",
"init=%s" % options.kernel_init,
"vmalloc=768MB",

View File

@@ -0,0 +1,11 @@
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 4031fd05e..0f502a34a 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -395,5 +395,6 @@ if buildEnv['TARGET_ISA'] == "arm" and options.generate_dtb:
sys = getattr(root, sysname)
sys.dtb_filename = create_dtb_for_system(sys, '%s.dtb' % sysname)
+test_sys.panic_on_panic = True
Simulation.setWorkCountOptions(test_sys, options)
Simulation.run(options, root, test_sys, FutureClass)