From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: Jordan Justen , Michael D Kinney 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-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: , X-List-Received-Date: Tue, 20 Jun 2017 11:50:05 -0000 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(-) 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 identification 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