From: Richard Cooper Date: Fri, 5 Jun 2020 14:27:45 +0000 (+0100) Subject: configs: Updated DTB warnings in fs.py for Arm platforms. X-Git-Tag: v20.1.0.0~514 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d24ad1cdebcd55265ffbd3fd7cd9af6fb220218a;p=gem5.git configs: Updated DTB warnings in fs.py for Arm platforms. fs.py warns when an Arm platform is being created without a DTB file, if the platform does not support the automatic creation of a DTB. Updated the list of supported platforms with recent additions in order to remove incorrect and potentially confusing warnings. Change-Id: I549124a1afbc36e313f614dccab17973582bc3f7 Reviewed-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30575 Tested-by: kokoro Maintainer: Giacomo Travaglini --- diff --git a/configs/example/fs.py b/configs/example/fs.py index 6643d35c4..d39feee5c 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -1,4 +1,4 @@ -# Copyright (c) 2010-2013, 2016, 2019 ARM Limited +# Copyright (c) 2010-2013, 2016, 2019-2020 ARM Limited # Copyright (c) 2020 Barkhausen Institut # All rights reserved. # @@ -366,8 +366,11 @@ if options.frame_capture: if buildEnv['TARGET_ISA'] == "arm" and not options.bare_metal \ and not options.dtb_filename: - if options.machine_type not in ["VExpress_GEM5", "VExpress_GEM5_V1"]: - warn("Can only correctly generate a dtb for VExpress_GEM5_V1 " \ + if options.machine_type not in ["VExpress_GEM5", + "VExpress_GEM5_V1", + "VExpress_GEM5_V2", + "VExpress_GEM5_Foundation"]: + warn("Can only correctly generate a dtb for VExpress_GEM5_* " \ "platforms, unless custom hardware models have been equipped "\ "with generation functionality.")