run: comments

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-28 00:00:00 +00:00
parent c76e700903
commit bf54be658e

2
run
View File

@@ -192,9 +192,9 @@ def main(args, extra_args=None):
elif common.is_arm:
if args.kvm:
cmd.extend(['--cpu-type', 'ArmV8KvmCPU', common.Newline])
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?
cmd.extend([
'--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,
'--machine-type', common.machine, common.Newline,