mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5: test out panic_on_panic
patches: create patche/manual patch dir, put all patch directories under patches/ subdir
This commit is contained in:
1
patches/buildroot/README.adoc
Normal file
1
patches/buildroot/README.adoc
Normal file
@@ -0,0 +1 @@
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat#patches-buildroot
|
||||
1
patches/global/README.adoc
Normal file
1
patches/global/README.adoc
Normal file
@@ -0,0 +1 @@
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat#patches-global
|
||||
1
patches/manual/README.adoc
Normal file
1
patches/manual/README.adoc
Normal file
@@ -0,0 +1 @@
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat#patches-manual
|
||||
13
patches/manual/gem5-biglittle.patch
Normal file
13
patches/manual/gem5-biglittle.patch
Normal 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",
|
||||
11
patches/manual/gem5-panic.patch
Normal file
11
patches/manual/gem5-panic.patch
Normal 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)
|
||||
Reference in New Issue
Block a user