From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.38.98; helo=nam02-bl2-obe.outbound.protection.outlook.com; envelope-from=christopher.co@microsoft.com; receiver=edk2-devel@lists.01.org Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0098.outbound.protection.outlook.com [104.47.38.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3ACF321154131 for ; Fri, 21 Sep 2018 01:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AnOAcO2pxrPh+4K8KBCXjHlQvTjAfscLldyW+LhsnII=; b=jjWjMojdmzL44XPzh3mI/clVRi+3aD+DGXjoz2ux6XprSksnnwwkes9V04waPu8LO3hMXoM56cQ4Fw9q5BkT1EnDEc504Ngi7OuBRcOgwNprwKM/jmmGLKGbgAyHD3aEK40x0b0gd0sp9PXLIOYFAbNpibEkawsSPx72dobP0JM= Received: from DM5PR2101MB1128.namprd21.prod.outlook.com (52.132.133.20) by DM5PR2101MB0727.namprd21.prod.outlook.com (10.167.110.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.6; Fri, 21 Sep 2018 08:26:25 +0000 Received: from DM5PR2101MB1128.namprd21.prod.outlook.com ([fe80::81f8:300e:d90:d49]) by DM5PR2101MB1128.namprd21.prod.outlook.com ([fe80::81f8:300e:d90:d49%3]) with mapi id 15.20.1164.008; Fri, 21 Sep 2018 08:26:25 +0000 From: Chris Co To: "edk2-devel@lists.01.org" CC: Ard Biesheuvel , Leif Lindholm , Michael D Kinney Thread-Topic: [PATCH edk2-platforms 27/27] Platform/Solidrun: Add i.MX 6Quad Hummingboard Edge dsc and fdf files Thread-Index: AQHUUYTFZjTgWr07WEubP9Gjs1/giw== Date: Fri, 21 Sep 2018 08:26:19 +0000 Message-ID: <20180921082542.35768-28-christopher.co@microsoft.com> References: <20180921082542.35768-1-christopher.co@microsoft.com> In-Reply-To: <20180921082542.35768-1-christopher.co@microsoft.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR17CA0054.namprd17.prod.outlook.com (2603:10b6:300:93::16) To DM5PR2101MB1128.namprd21.prod.outlook.com (2603:10b6:4:a8::20) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2001:4898:80e8:8:388a:edc9:7085:c18] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0727; 6:10jKN86b0VlhbXxD4fVxujc7Ewpaw8Sm/lw29jIBJk2Ey15rV0brkxRg6tVhHXV0tI1W4OOtVmylNCZNNM1DNK8kaAjAtpCv+fzFrYJDxzwc0S+c0l6mghdDJY0LOCrQc2h8Kkgw/K7Mx2YlhwgU3NC2ZY6E8YcQAgT2qRTGiRwjIF06jfA4K7uMBrDt2+1Z432YOT8JG0ddX2Nswp3RyJs2IF26i+r6YWwOdCAwIB/YgDPzirwHChJoIoXJLxdl7gMXsfcUsW5NG0/da1rcxFlRqbK8d9RiC3riVKzA58ZbTP6ggmW6c6ZYe5N8Yg684nZjv3lT6R20Mr3/vXbCT0AUis/0DQBdA9Y3USaqkRhsq3AMTXnEgebqOZOWdgr2grK5BZXeItVYI7oVbTeBQZnRp+gogvQzvMUc12cKlVN5r7yWgfl8gF3TpHASgB8RU9X3R492j+XN2OpmIEp/cg==; 5:rOT0Uo1cDbN2vlwKxwg4NEmEUxGokiV4HFFjp69sZ2hJVqzOXP1gUdLZzrfwxIF0IGr8zpDtNmZQ9+zgmp3sRrnEzWuphZ44tbLSzso7UN1bwPdoGQvLE9kKBUI+cWvpMNrf1pNO5mAmNT8x0mzIy6FKU1f5t/I29ZI4RRc5yTI=; 7:F1HfYS8saJQ/dxubGYTELbT+bPRuYstRwl5Xh/ArjzwQhwMOl8Tw3ZKyy2ZBxrjvSyh8To93/QiCieWNOshOMNOeXTYp6M/EA7CSl0Z7pVqHOmZZRMHPXWmfWIA2JW40PFCFE7A7Tqd6H45EWt1nYkGz1JHVa2+RdoIO0EOGhP1fig5Ssd87bUQmCgT9UUb7ERqdQYf0hMnuHV50wGo3YXrY+mci3EAC3m6I4sPZgN1lceRf+2evLGymtbpC/ZQN x-ms-office365-filtering-correlation-id: 6b9dbb55-58ff-40b3-7ab9-08d61f9be7fa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:DM5PR2101MB0727; x-ms-traffictypediagnostic: DM5PR2101MB0727: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(105169848403564)(28532068793085)(89211679590171)(12401385986421)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(2280164)(944501410)(52105095)(2018427008)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201708071742011)(7699051)(76991041); SRVR:DM5PR2101MB0727; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0727; x-forefront-prvs: 0802ADD973 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(1496009)(39860400002)(396003)(136003)(376002)(366004)(346002)(85664002)(199004)(189003)(8676002)(81156014)(25786009)(446003)(2900100001)(102836004)(46003)(52116002)(6346003)(81166006)(11346002)(105586002)(2351001)(8936002)(386003)(4326008)(76176011)(6506007)(10090500001)(5250100002)(7736002)(2616005)(486006)(305945005)(53376002)(6116002)(186003)(16799955002)(1076002)(2501003)(476003)(6916009)(6666003)(99286004)(22452003)(97736004)(45954006)(71200400001)(71190400001)(72206003)(478600001)(966005)(6306002)(10290500003)(5640700003)(14454004)(36756003)(86362001)(19627235002)(575784001)(6436002)(15188155005)(2906002)(86612001)(106356001)(54906003)(316002)(6486002)(5024004)(256004)(6512007)(14444005)(68736007)(5660300001)(53936002)(60540400001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0727; H:DM5PR2101MB1128.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christopher.Co@microsoft.com; x-microsoft-antispam-message-info: Dif4nIYbV1oewZkVljTCoXXNfNhbKW7ZFAVwSf3LJNkiOk7ZXOWIKisZGf6SU9uUH1my5nn+D8fVOsXkspVB5n7YEL/V196VdVGf0vLtzo+rdYuDKprWeztvwQms5+T283guK321C3asNMBAC+3Jq9qkJbbKhopinEichKJLeNfVNs9nLVVY6CG2AgN3LgY2nfGPRBX7gQIGjhEfp8uKdqA1y8Fu+xFvJmKspuifsRKJZnOQcPSVmEJj7bGgmNKwjm7Akp/WW5ezYglv/QWQDulu+0kkJhmgzHfwxLGbPqNzK+VIxLZVT60JmN5x7vWR0U5/Egp9D39fJKM35lf5z0L6EJnYergtADZesfMH2qx0XisgwW1yTAKTnhuKv5iNHIMj+8YofEtZ16Qk5DknpHeeDuQBRCRZyMnoOZ5RZU7VhnseBYA4VS6Er42tmdaQAELRBa9ZtNrot7megwg4SuG2Aq6Zx5Op6iZrLIcEZasm0b3n5RTh7gVKX2HPHohMSIW14DVeiB9KymLwF86JECx3FPyUOZjLoj5ovnSyILhXFu3ewHF/HOuHc83bfehd spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b9dbb55-58ff-40b3-7ab9-08d61f9be7fa X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2018 08:26:19.5285 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0727 Subject: [PATCH edk2-platforms 27/27] Platform/Solidrun: Add i.MX 6Quad Hummingboard Edge dsc and fdf files X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2018 08:26:27 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This adds the dsd and fdf definitions for Solidrun's i.MX 6Quad Hummingboard Edge platform. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Christopher Co Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Platform/SolidRun/HummingBoardEdge_iMX6Q_2GB/HummingBoardEdge_iMX6Q_2GB.ds= c | 141 ++++++++++++++++++++ Platform/SolidRun/HummingBoardEdge_iMX6Q_2GB/HummingBoardEdge_iMX6Q_2GB.fd= f | 117 ++++++++++++++++ 2 files changed, 258 insertions(+) diff --git a/Platform/SolidRun/HummingBoardEdge_iMX6Q_2GB/HummingBoardEdge_= iMX6Q_2GB.dsc b/Platform/SolidRun/HummingBoardEdge_iMX6Q_2GB/HummingBoardEd= ge_iMX6Q_2GB.dsc new file mode 100644 index 000000000000..5e203bc92447 --- /dev/null +++ b/Platform/SolidRun/HummingBoardEdge_iMX6Q_2GB/HummingBoardEdge_iMX6Q_2= GB.dsc @@ -0,0 +1,141 @@ +# +# HummingBoard Edge board description +# The board is iMX6 Quad with 2GB DRAM +# +# Copyright (c) 2018 Microsoft Corporation. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the B= SD License +# which accompanies this distribution. The full text of the license may = be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IM= PLIED. +# + +##########################################################################= ###### +# +# Board [Defines] Section +# +##########################################################################= ###### + +[Defines] + DEFINE BOARD_NAME =3D HummingBoardEdge_iMX6Q_2GB + DEFINE IMX_FAMILY =3D IMX6DQ + DEFINE IMX_CHIP_TYPE =3D QUAD + DEFINE DRAM_SIZE =3D DRAM_2GB + BOARD_DIR =3D Platform/SolidRun/$(BOARD_NAME) + FLASH_DEFINITION =3D $(BOARD_DIR)/$(BOARD_NAME).fdf + +##########################################################################= ###### +# +# Platform Description +# +##########################################################################= ###### +!include Silicon/NXP/iMX6Pkg/iMX6CommonDsc.inc + +[LibraryClasses.common] + ArmPlatformLib|$(BOARD_DIR)/Library/iMX6BoardLib/iMX6BoardLib.inf + +[Components.common] + # Display Support +!if $(CONFIG_HEADLESS) =3D=3D FALSE + MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf + MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf + MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf + !if $(IMX_FAMILY) =3D=3D IMX6SX + # + # Use board-specific GOP for SoloX + # + $(BOARD_DIR)/Drivers/GraphicsOutputDxe/GraphicsOutputDxe.inf + !else + Silicon/NXP/iMX6Pkg/Drivers/GopDxe/GopDxe.inf + !endif +!endif + + # ACPI Support + MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf + MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf + $(BOARD_DIR)/AcpiTables/AcpiTables.inf + + # SMBIOS Support + Silicon/NXP/iMX6Pkg/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.inf + MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf + +##########################################################################= ###### +# +# Board PCD Sections +# +##########################################################################= ###### + +######################## +# +# iMX6Pkg PCDs +# +######################## +[PcdsFixedAtBuild.common] + +# SMBIOS Type0 Strings +gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"SolidRun" +gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|0x00000001 # FirmwareRe= vision 0.1 + +# SMBIOS Type1 Strings +giMX6TokenSpaceGuid.PcdSystemFamily|L"HummingBoard" +giMX6TokenSpaceGuid.PcdSystemManufacturer|L"SolidRun" +giMX6TokenSpaceGuid.PcdSystemProductName|L"HummingBoard-Edge i4Pro" +giMX6TokenSpaceGuid.PcdSystemSkuNumber|L"MSMX6QDW00D02GE008E00CH" +giMX6TokenSpaceGuid.PcdSystemVersionNumber|L"1.4" +giMX6TokenSpaceGuid.PcdSystemUuid|{0xfa,0x00,0xe9,0x0f,0x97,0x4a,0x40,0x6f= ,0xaf,0x0f,0x4a,0xd4,0x66,0x50,0xbe,0x5a} + +# SMBIOS Type2 Strings +giMX6TokenSpaceGuid.PcdBoardAssetTag|L"0" +giMX6TokenSpaceGuid.PcdBoardLocationInChassis|L"Open Board" +giMX6TokenSpaceGuid.PcdBoardManufacturer|L"SolidRun" +giMX6TokenSpaceGuid.PcdBoardProductName|L"HummingBoard-Edge i4Pro" +giMX6TokenSpaceGuid.PcdBoardVersionNumber|L"1.4" + +# SMBIOS Type3 Strings +giMX6TokenSpaceGuid.PcdChassisAssetTag|L"0" +giMX6TokenSpaceGuid.PcdChassisManufacturer|L"SolidRun" +giMX6TokenSpaceGuid.PcdChassisVersionNumber|L"1.4" + +# SMBIOS Type4 Strings +giMX6TokenSpaceGuid.PcdProcessorAssetTag|L"0" +giMX6TokenSpaceGuid.PcdProcessorManufacturer|L"NXP" +giMX6TokenSpaceGuid.PcdProcessorPartNumber|L"i.MX 6Quad" +giMX6TokenSpaceGuid.PcdProcessorSocketDesignation|L"FCPBGA" +giMX6TokenSpaceGuid.PcdProcessorVersionNumber|L"1.0" + +# SMBIOS Type16 +giMX6TokenSpaceGuid.PcdPhysicalMemoryMaximumCapacity|0x200000 # 2GB + +# SMBIOS Type17 +giMX6TokenSpaceGuid.PcdMemoryBankLocation|L"Bank 0" +giMX6TokenSpaceGuid.PcdMemoryDeviceLocation|L"On SoM" + +# +# USB EHCI Controller (USB_UH1) +# +giMX6TokenSpaceGuid.PcdEHCIBase|0x02184200 + +# +# Enable uSDHC2 and uSDHC3 Controllers. +# On HummingBoardEdge, SDCard slot is attached to uSDHC2 +# with CD wired to SD2_CD_B, eMMC is attached to uSDHC3 +# +giMXPlatformTokenSpaceGuid.PcdSdhc2Enable|TRUE +giMXPlatformTokenSpaceGuid.PcdSdhc2CardDetectSignal|0xFFFF # Use uSDHC int= ernal CD circuit +giMXPlatformTokenSpaceGuid.PcdSdhc3Enable|TRUE + +# +# UART initialization required +# +giMXPlatformTokenSpaceGuid.PcdSerialRegisterBase|0x02020000 # UART1 +giMXPlatformTokenSpaceGuid.PcdKdUartInstance|1 # UART1 + +# +# GPIO reset pin (PERST) +# +giMX6TokenSpaceGuid.PcdPcieResetGpio|TRUE +giMX6TokenSpaceGuid.PcdPcieResetGpioBankNumber|2 +giMX6TokenSpaceGuid.PcdPcieResetGpioIoNumber|11 diff --git a/Platform/SolidRun/HummingBoardEdge_iMX6Q_2GB/HummingBoardEdge_= iMX6Q_2GB.fdf b/Platform/SolidRun/HummingBoardEdge_iMX6Q_2GB/HummingBoardEd= ge_iMX6Q_2GB.fdf new file mode 100644 index 000000000000..f40ee824e1e3 --- /dev/null +++ b/Platform/SolidRun/HummingBoardEdge_iMX6Q_2GB/HummingBoardEdge_iMX6Q_2= GB.fdf @@ -0,0 +1,117 @@ +# +# iMX6 Quad Hummingboard FLASH layout +# +# Copyright (c) 2018 Microsoft Corporation. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the B= SD License +# which accompanies this distribution. The full text of the license may = be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IM= PLIED. +# + +##########################################################################= ###### +# +# FD Section +# The [FD] Section is made up of the definition statements and a +# description of what goes into the Flash Device Image. Each FD section +# defines one flash "device" image. A flash device image may be one of +# the following: Removable media bootable image (like a boot floppy +# image,) an Option ROM image (that would be "flashed" into an add-in +# card,) a System "Flash" image (that would be burned into a system's +# flash) or an Update ("Capsule") image that will be used to update and +# existing system flash. +# +##########################################################################= ###### + +[FD.iMXBoard_EFI] +!if $(IMX_FAMILY) =3D=3D IMX6SX +BaseAddress =3D 0x82004000|gArmTokenSpaceGuid.PcdFdBaseAddress #The bas= e address of UEFI image +!else +BaseAddress =3D 0x10820000|gArmTokenSpaceGuid.PcdFdBaseAddress #The bas= e address of UEFI image +!endif +Size =3D 0x001D0000|gArmTokenSpaceGuid.PcdFdSize #The siz= e in bytes of UEFI image +ErasePolarity =3D 1 +BlockSize =3D 0x1 +NumBlocks =3D 0x001D0000 + +##########################################################################= ###### +# +# Following are lists of FD Region layout which correspond to the location= s of different +# images within the flash device. +# +# Regions must be defined in ascending order and may not overlap. +# +# A Layout Region start with a eight digit hex offset (leading "0x" requir= ed) followed by +# the pipe "|" character, followed by the size of the region, also in hex = with the leading +# "0x" characters. Like: +# Offset|Size +# PcdOffsetCName|PcdSizeCName +# RegionType +# +##########################################################################= ###### +0x00000000|0x001D0000 # 1792Kb for the Pei phase boot + +gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize +FV =3D FVMAIN_COMPACT + +##########################################################################= ###### +# +# FV Section +# +# [FV] section is used to define what components or modules are placed wit= hin a flash +# device file. This section also defines order the components and modules= are positioned +# within the image. The [FV] section consists of define statements, set s= tatements and +# module statements. +# +##########################################################################= ###### +[FV.FvMain] +BlockSize =3D 0x1 +NumBlocks =3D 0 # This FV gets compressed so make it just= big enough +FvAlignment =3D 8 # FV alignment and FV attributes setting. +ERASE_POLARITY =3D 1 +MEMORY_MAPPED =3D TRUE +STICKY_WRITE =3D TRUE +LOCK_CAP =3D TRUE +LOCK_STATUS =3D TRUE +WRITE_DISABLED_CAP =3D TRUE +WRITE_ENABLED_CAP =3D TRUE +WRITE_STATUS =3D TRUE +WRITE_LOCK_CAP =3D TRUE +WRITE_LOCK_STATUS =3D TRUE +READ_DISABLED_CAP =3D TRUE +READ_ENABLED_CAP =3D TRUE +READ_STATUS =3D TRUE +READ_LOCK_CAP =3D TRUE +READ_LOCK_STATUS =3D TRUE + + # + # ACPI + # + INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf + INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf + INF RuleOverride=3DACPITABLE $(BOARD_DIR)/AcpiTables/AcpiTables.inf + +!if $(CONFIG_HEADLESS) =3D=3D FALSE + INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf + INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf + INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe= .inf + !if $(IMX_FAMILY) =3D=3D IMX6SX + # + # Use board-specific GOP for SoloX + # + INF $(BOARD_DIR)/Drivers/GraphicsOutputDxe/GraphicsOutputDxe.inf + !else + INF Silicon/NXP/iMX6Pkg/Drivers/GopDxe/GopDxe.inf + !endif +!endif + + # + # SMBIOS Support + # + INF Silicon/NXP/iMX6Pkg/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.inf + INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf + +!include Silicon/NXP/iMX6Pkg/iMX6CommonFdf.inc --=20 2.16.2.gvfs.1.33.gf5370f1