From patchwork Tue Jun 20 11:49:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 105999 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp1326573qgd; Tue, 20 Jun 2017 04:51:29 -0700 (PDT) X-Received: by 10.84.194.226 with SMTP id h89mr34223803pld.58.1497959489186; Tue, 20 Jun 2017 04:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497959489; cv=none; d=google.com; s=arc-20160816; b=TsVJCe0/Shq2MOkpltS59PsVVw4FhoUrZNH2ocfcaqEpHzjziDTs5dcGkj7pz6PqNE hafpv8IG0BHcT1aPrleYDEOP/1KmCxa1WPS3GPuxiG4+jby8Kjb3uWMJ9+QfdDNRY1Ni MOCIfmuyj5sh7SQg16M3wI6RTDhaZR3evwHTAxbLiGNqVVp2Su7tiCRopBTPIIfgmrCt z74rmrXL6gBO3fzZFgx4k0C1UXADBCID7RbHSvUmXIFRediNX+MqSwKDMTxzvBtRTsaU HW/BnKJ3iPXDghrILF+HWv7FmHLmB8vt13I1W5AgCgQXj+uXdNuut1M7JJcnev8rSY4c T7MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=YW4rN0aoD5uthpN8AwuscJ03oVb0D1B0eTlO7+5VRcQ=; b=ZxbIQlgHRq4eXinMxib+frdpoSEl9dFU0vLWXTd99I8XCKFn6lNv792CrBLbrDhzg+ X5SdbUlrwQw0T8ed52OBQ7zuiHocfvlfire1EGKX/rXhhQese6WWKGa8H5fsK9ob4kMM 3PgcD4Du8qVF+ZXR7uibdxHqAZvhBQnyPioSbP21gZkMhheQcZxSi9Afp9NlbUFlR/h6 vdGXj9NCpnzQUkdn9FgBYZMN7Zfy01WH6RWbdkTSFJo03ubC/8OnSU/WJuoiLyp6IlPs 5HSnJKrGsyGUGQWEUN1uFrk4FGEjBQlPTfwPrVaKH0cTSkCESYTvmjqJhvVW78XIxQy9 gNkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=aIh58g8J; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id h66si10268059pfa.285.2017.06.20.04.51.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:51:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=aIh58g8J; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 99D0321C8F61F; Tue, 20 Jun 2017 04:50:05 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E9A0E2095D215 for ; Tue, 20 Jun 2017 04:50:04 -0700 (PDT) Received: by mail-wr0-x235.google.com with SMTP id r103so90458006wrb.0 for ; Tue, 20 Jun 2017 04:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=tVgBDaVSvxoEBqFWtrFUkj8rL9RjTUerhjZQnOW8U8c=; b=aIh58g8JWUf+J0ycxCvWqynmF4IMGEBJ1uRThGW7TaeYmcT129lTfLw00wN2bmP8X7 /zwDUMxTBkL5GoaBIoSBoFnDwzngVNC6MJW6CKjZX+PRa5S4IpNqUspcn6ZwodQmoBdm oUhGCbVEE1BvV/lqWG+cHvzR1GgCblF40Mz2g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tVgBDaVSvxoEBqFWtrFUkj8rL9RjTUerhjZQnOW8U8c=; b=GDpa0SM+oBCoWLKZ6fHyyu+R3mEGvV0/uIG6zR72TceKvLb1j+sitI/IY8F0IWg6XM HU+kNFTkefjNCAXJdhkvuyn8AXTGTpwZfwDwr7GsF0ubYWRsx9DIKvzC1KABHUlGMYMe qqBYXFSu7dA8v4PT+TWlGpbBPdN5bBywnswP39HhFezbkfEVXL/Yam7f8YkRjaen/YL9 XmmOBWQ2V8+19Xu4aZNBSFmNDP0hFugfygj/FtUPLV1AppHHp5J5iItdW7PfB89pwxhj UU1gOtiC6aAe4vDk25dMVvCgVyGhzViUpRos3sUrEeftWr0+cKj2MlZfE8pRRQiz89M+ b2mw== X-Gm-Message-State: AKS2vOwNfP9d+rnHy/3N3hMusNFwUVxklD/Txqasq1g4CHkY0SPJZRi0 d27XedUIxnuy/DTiuL9IcA== X-Received: by 10.223.169.138 with SMTP id b10mr19602834wrd.29.1497959485890; Tue, 20 Jun 2017 04:51:25 -0700 (PDT) Received: from mohikan.hemma.eciton.net (cpc92316-cmbg19-2-0-cust118.5-4.cable.virginm.net. [82.12.0.119]) by smtp.gmail.com with ESMTPSA id 130sm10124838wms.30.2017.06.20.04.51.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:51:25 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Tue, 20 Jun 2017 12:49:24 +0100 Message-Id: <20170620114924.25645-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [edk2-share PATCH] UefiDriverWizard: update supported targets X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael D Kinney , Jordan Justen MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Add AARCH64 target architecture to scripts, tooltips and templates. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm --- I was just having a snoop around the TianoCore github area. Could not find any details on how to contribute to this repository, but would be nice to have it up to date. (Although I guess RISC-V would also be useful at this point.) DriverDeveloper/UefiDriverWizard/Templates/Package.dsc | 4 +++- DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp | 2 +- DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py | 2 +- DriverDeveloper/UefiDriverWizard/launch.py | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) tification device producing the User Credential Protocol", u"Non standard boot device producing Load File Protocol", u"Platform driver producing the EDID Override Protocol"]; -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/DriverDeveloper/UefiDriverWizard/Templates/Package.dsc b/DriverDeveloper/UefiDriverWizard/Templates/Package.dsc index ae3326e..966b91c 100644 --- a/DriverDeveloper/UefiDriverWizard/Templates/Package.dsc +++ b/DriverDeveloper/UefiDriverWizard/Templates/Package.dsc @@ -33,7 +33,7 @@ PLATFORM_VERSION = <> DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/<> - SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC|ARM + SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC|ARM|AARCH64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULT @@ -68,3 +68,5 @@ [Components.EBC] [Components.ARM] + +[Components.AARCH64] diff --git a/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp b/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp index 1ed2d06..679ada0 100644 --- a/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp +++ b/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp @@ -1780,7 +1780,7 @@ 0 - "All CPU Architectures" "IA32" "X64" "IPF" "EBC" "ARM" + "All CPU Architectures" "IA32" "X64" "IPF" "EBC" "ARM" "AARCH64" 1 1 diff --git a/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py b/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py index d5deb2a..f1d9d6c 100644 --- a/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py +++ b/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py @@ -264,7 +264,7 @@ class NewUefiDriver ( wx.Dialog ): self.m_staticText7.Wrap( -1 ) bSizer4.Add( self.m_staticText7, 0, wx.ALL, 5 ) - UefiDriverCpuArchitectureChoices = [ u"All CPU Architectures", u"IA32", u"X64", u"IPF", u"EBC", u"ARM" ]; + UefiDriverCpuArchitectureChoices = [ u"All CPU Architectures", u"IA32", u"X64", u"IPF", u"EBC", u"ARM", u"AARCH64" ]; self.UefiDriverCpuArchitecture = wx.CheckListBox( self, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,120 ), UefiDriverCpuArchitectureChoices, 0 ) bSizer4.Add( self.UefiDriverCpuArchitecture, 0, wx.ALL, 5 ) diff --git a/DriverDeveloper/UefiDriverWizard/launch.py b/DriverDeveloper/UefiDriverWizard/launch.py index 0729559..dfcab7a 100644 --- a/DriverDeveloper/UefiDriverWizard/launch.py +++ b/DriverDeveloper/UefiDriverWizard/launch.py @@ -419,7 +419,7 @@ class MyApp(wx.App): if 'All CPU Architectures' in Config.UefiDriverCpuArchitecture: self.InsertLines(DscFileList[0], '[Components]\n', [' ' + UefiDriverPath + '/' + Config.UefiDriverName + '.inf\n']) else: - for Arch in ['IA32', 'X64', 'IPF', 'EBC', 'ARM']: + for Arch in ['IA32', 'X64', 'IPF', 'EBC', 'ARM', 'AARCH64']: if Arch in Config.UefiDriverCpuArchitecture: self.InsertLines(DscFileList[0], '[Components.' + Arch + ']\n', [' ' + UefiDriverPath + '/' + Config.UefiDriverName + '.inf\n']) break @@ -745,7 +745,7 @@ class MyApp(wx.App): def GenerateTestCases(): UefiDriverTypeChoices = [ u"UEFI Driver Model Device Driver", u"UEFI Driver Model Bus Driver", u"UEFI Driver Model Hybrid Driver", u"Root Bridge Driver", u"Service Driver", u"Initializing Driver" ] UefiDriverCommonFeaturesChoices = [ u"Unloadable", u"Driver Supported EFI Version Protocol", u"HII Packages for Strings, Fonts, or Images", u"Service Binding Protocol" ]; - UefiDriverCpuArchitectureChoices = [ u"All CPU Architectures", u"IA32", u"X64", u"IPF", u"EBC", u"ARM" ]; + UefiDriverCpuArchitectureChoices = [ u"All CPU Architectures", u"IA32", u"X64", u"IPF", u"EBC", u"ARM", u"AARCH64" ]; UefiDriverDriverModelFeaturesChoices = [ u"Component Name 2 Protocol", u"Component Name Protocol", u"Driver Family Override Protocol", u"Driver Diagnostics 2 Protocol", u"Driver Diagnostics Protocol", u"HII Packages for forms and HII based configuration ", u"Driver Configuration 2 Protocol", u"Driver Configuration Protocol", u"Driver Health Protocol", u"Bus Specific Driver Override Protocol" ]; UefiDriverConsumedProtocolsChoices = [ u"PCI Driver that consumes the PCI I/O Protocol", u"USB Driver that consumes the USB I/O Protocol", u"SCSI Driver that consumes the SCSI I/O Protocol", u"ATA Driver that consumes the ATA Pass Thru Protocol"]; UefiDriverProducedProtocolsChoices = [ u"Keyboard producing Simple Text In Protocol", u"Keyboard producing Simple Text In Ex Protocol", u"Mouse producing Simple Pointer Protocol", u"Tablet producing Absolute Pointer Protocol", u"Text Console producing the Simple Text Output Protocol", u"Byte stream device (i.e. UART) producing Serial I/O Protocol", u"Graphics Console producing the Graphics Output Protocol", u"Mass Storage Device producing Block I/O Protocol", u"Mass Storage Device producing Block I/O 2 Protocol", u"Mass Storage Device producing Storage Security Command Protocol", u"Network Interface Card producing NII/UNDI", u"Network Interface Card producing Simple Network Protocol", u"USB Host Controller producing the USB Host Controller 2 Protocol", u"ATA Host Controller producing the ATA Pass Thru Protocol", u"SCSI Host Controller producing the SCSI Pass Thru Protocol", u"SCSI Host Controller or ATA Host Controller producing the Extended SCSI Pass Thru Protocol", u"User iden