mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
run: comments
This commit is contained in:
4
run
4
run
@@ -192,9 +192,9 @@ def main(args, extra_args=None):
|
|||||||
elif common.is_arm:
|
elif common.is_arm:
|
||||||
if args.kvm:
|
if args.kvm:
|
||||||
cmd.extend(['--cpu-type', 'ArmV8KvmCPU', common.Newline])
|
cmd.extend(['--cpu-type', 'ArmV8KvmCPU', common.Newline])
|
||||||
# TODO why is it mandatory to pass mem= here? Not true for QEMU.
|
|
||||||
# Anything smaller than physical blows up as expected, but why can't it auto-detect the right value?
|
|
||||||
cmd.extend([
|
cmd.extend([
|
||||||
|
# TODO why is it mandatory to pass mem= here? Not true for QEMU.
|
||||||
|
# Anything smaller than physical blows up as expected, but why can't it auto-detect the right value?
|
||||||
'--command-line', 'earlyprintk=pl011,0x1c090000 lpj=19988480 rw loglevel=8 mem={} root=/dev/sda {}'.format(memory, kernel_cli), common.Newline,
|
'--command-line', 'earlyprintk=pl011,0x1c090000 lpj=19988480 rw loglevel=8 mem={} root=/dev/sda {}'.format(memory, kernel_cli), common.Newline,
|
||||||
'--dtb-filename', os.path.join(common.gem5_system_dir, 'arm', 'dt', 'armv{}_gem5_v1_{}cpu.dtb'.format(common.armv, args.cpus)), common.Newline,
|
'--dtb-filename', os.path.join(common.gem5_system_dir, 'arm', 'dt', 'armv{}_gem5_v1_{}cpu.dtb'.format(common.armv, args.cpus)), common.Newline,
|
||||||
'--machine-type', common.machine, common.Newline,
|
'--machine-type', common.machine, common.Newline,
|
||||||
|
|||||||
Reference in New Issue
Block a user