configs: Add earlycon to default kernel_cmd.
authorChris January <chris.january@arm.com>
Wed, 17 Jun 2020 13:57:33 +0000 (14:57 +0100)
committerChris January <chris.january@arm.com>
Thu, 9 Jul 2020 07:25:57 +0000 (07:25 +0000)
The earlyprintk kernel command line argument does not take a value on Arm.
Rather pass early console name using the earlycon command line argument.

Change-Id: Ie14fc425e87c50a0b59fa4270a3743ed4fe97589
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31074
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/example/arm/fs_bigLITTLE.py

index 228d11c7f1808d78d85b4f18ac340fd8d9e2a20b..29f5c6b78f7a9739c47e0e74b9696d082accc7c4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017, 2019 ARM Limited
+# Copyright (c) 2016-2017, 2019-2020 ARM Limited
 # All rights reserved.
 #
 # The license below extends only to copyright in the software and shall
@@ -219,7 +219,8 @@ def build(options):
     m5.ticks.fixGlobalFrequency()
 
     kernel_cmd = [
-        "earlyprintk=pl011,0x1c090000",
+        "earlyprintk",
+        "earlycon=pl011,0x1c090000",
         "console=ttyAMA0",
         "lpj=19988480",
         "norandmaps",