From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web09.7975.1633346932435558977 for ; Mon, 04 Oct 2021 04:28:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=ARKfAtxB; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=091174733e=daniel.schaefer@hpe.com) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19462Cnf013506; Mon, 4 Oct 2021 11:28:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=pps0720; bh=TUd5WS6NzrJ5pWBwPdPX1n0/vfjmXmhppnUrK3Hinrk=; b=ARKfAtxB5e9VNByJRxmC+yKrL1S072X0H4RzPtLIUjOyuKVGVAXDPkquub/S9LAku/KB hg8Feq/hWH/iZKgJjyVak0xyqdSsE5K+cFpRskz7FT8juXM5axZ5w5CmPVLwsQ87kyVw dYUiVxUMxNpImefCq/wTxW703TBY9/OifuWm7tefjmGlOyFvHi+oRFCn6rMHF8k1EPTO 2zy5ozlr9mRvHNeOmrAhjloGYlPF6D48qhrqY8/FNMm2XIAPyzlAF0lDumW7q9TFCITB gQevX+3nIgOr+6sZJIrxPtBdoH3I/DTBRgWKlv52QwbxCiFLE3/H7SxRB0mpyEwVUivj DQ== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 3bfeak5sry-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Oct 2021 11:28:50 +0000 Received: from G4W10204.americas.hpqcorp.net (g4w10204.houston.hpecorp.net [16.207.82.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 2373F5C; Mon, 4 Oct 2021 11:28:50 +0000 (UTC) Received: from G4W10205.americas.hpqcorp.net (2002:10cf:520f::10cf:520f) by G4W10204.americas.hpqcorp.net (2002:10cf:5210::10cf:5210) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 4 Oct 2021 11:28:49 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (15.241.52.12) by G4W10205.americas.hpqcorp.net (16.207.82.15) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Mon, 4 Oct 2021 11:28:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LiMI1gBdk1T2Voai4wSQojdFmUhvrLH/vCBsfyG+s4DpOiaqhIcRl58AySNBznSXbw40X11i1SgE4nSR6g01Uf24fXEbU/TPQbVJ1bC9Tl5aTmMgdwQrLaYC1SxMP7QGKgZEd+h76ZEthNXWBunRyJuSfhHWTXTD5Z08lB+4REBkHNwcc9IAqRiYgnq+fGuPCmG4SfgcuAbnlkJHgussqQO+13KKL5X44MPLl9j9q5iMlBrykttgFzSvf4lx/RQzLlysfXAfkExqszuQiWBlsU0aJGrphc00D41ncCUAI8gYv//cBiWEcwMYzfa91z71p6+IVOjGb6Z9egivGFRJ5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TUd5WS6NzrJ5pWBwPdPX1n0/vfjmXmhppnUrK3Hinrk=; b=RiditVBwQLbJDRok7jYahU79Xri+ghGd18qtMvUi+ARMUuljys8yluNTvIv/8qMyrxLxcAHI5Yz8ZRb0YMlKeocWCVqx5Ez2uJPrKYsyE4mKvF2DqqTg6A1wNOQkFOuRcL2cyozaYhOwAM2FTWdx193pxh9EN1McvHmEEMkMBp7hmFMdj1xLgVjmetGzxf0U/Hlfb4Ki9RaztDlMM7GyRMBHc6FUmq/pYCyllb2HsdtKXyy7ta9Ej8a00HUIEuJLKEdEN/l5oESemOXClkxp25O37hFsl0gSHfreU1Ty2EAeXIlMnvy7Tu5TQcThVu5WhfVS2/SEfhamJ137xKUyJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; Received: from DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) by DF4PR8401MB0425.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7605::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.19; Mon, 4 Oct 2021 11:28:48 +0000 Received: from DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM ([fe80::597f:4786:f1d6:8469]) by DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM ([fe80::597f:4786:f1d6:8469%3]) with mapi id 15.20.4566.022; Mon, 4 Oct 2021 11:28:48 +0000 From: "Daniel Schaefer" To: CC: Abner Chang , Sunil V L , Leif Lindholm Subject: [edk2-platforms] PATCH v2 1/5] U540, U500: Add filesystem drivers Date: Mon, 4 Oct 2021 19:28:25 +0800 Message-ID: <20211004112829.3385183-2-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211004112829.3385183-1-daniel.schaefer@hpe.com> References: <20211004112829.3385183-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: SA9PR13CA0004.namprd13.prod.outlook.com (2603:10b6:806:21::9) To DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) MIME-Version: 1.0 Received: from localhost.localdomain (123.193.59.220) by SA9PR13CA0004.namprd13.prod.outlook.com (2603:10b6:806:21::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.15 via Frontend Transport; Mon, 4 Oct 2021 11:28:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e58133d4-6686-40a2-9d49-08d9872a2227 X-MS-TrafficTypeDiagnostic: DF4PR8401MB0425: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:41; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AHwYeukLE5b54dzMBU6gjjHeo/UIxMe5yy5/J7Zu+9REDHbcDmfsVlzyzoQSDB6GJZiuistlS0NodjAqGqJCjYWh8v4s6r2iOcewB6sGjhc/cPsiqDrOHwrSCTokHlKsKKT/B8oft2xui/iiJMC/31MS+ZsE8Z8JYw0vYC2PDyZWNq0gfwg1YFLXzxL4S7JqkjEXy9PO32T+WREJFT5O4sSvm1QqokHgiVcl13pHPnRbn8JkkONkryrerSL9V/a+m8jv+/+oRdAC9+9YzYxjppxS4GdRbZffNsq+YVKAMefE8NXMBGebRAOVpx8PXHx3JJCFnpkdFYtWYLT2WOxyRjk/g5AZX9xIiCxC2yimRrx2NUy7VmUYENwyiyEitmvUqrrppo9YOcIAPZJHhkYH/ruKIK0ukluCAE9h/jEyUBirfqkQJVmWJ8OSnCpDfrUnIG7ttGLGFyR4/U5f+gm3RFQlgnD4ukpsulI4PQOT6yNtKsIEWFypUC5oMnS9av8nTedarDrbpvF/JIMEVLFvqiyTMx8KGKsFgnkJxjP4909WnZemnpvELrd/WkcfhFt/fCWC2QUWcvtwTwjwMmhCyPTk1ZrnoTl/XAFAnwQ9XDSRul4OsetRngUsZ6Ty/LX0xd0lHwwfj2PQyy/ivFztFA0COmPF49o6YlneV7MEcZaCvKHvVVq3J+TxZNA1Ttpyo28oI/07GWH31Q/OGmKtAw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(44832011)(83380400001)(5660300002)(8936002)(6486002)(38350700002)(26005)(2616005)(38100700002)(6666004)(6506007)(4326008)(186003)(316002)(52116002)(2906002)(66476007)(66556008)(36756003)(956004)(1076003)(6916009)(86362001)(508600001)(66946007)(6512007)(54906003)(8676002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?UbdcPpRoCyggo/XZIF+13BjrFh8PymwHfyHcVLYVChP6ymEn6o6OxXpHhLiL?= =?us-ascii?Q?Ok6LiVS+OAbJuPPg0KUS73uAgTUzzTy1+9gE6kEidGonWTQFl0EAbPVoaU3v?= =?us-ascii?Q?fCdmLWrDn5/4k9BIypH12Y+GwvPKaBNGNt4WhyK3lu15yJ0NBVzGHuJoQbim?= =?us-ascii?Q?0IJTnfOvfhIDMwSHy0QwQAcrjwZhHES3Fkenz0IJ9tzkNVXno/N11uSiZAjB?= =?us-ascii?Q?cu7XTrefidUJDi9UCePLGRHbbATUlcpyp+nTvbKpNNrccI2624ZzFiG+YXRr?= =?us-ascii?Q?0+pcfDc3enOngqEhLmfc2FQaL3qMf/5cOT2n/iE9pOnLEyG6XQfJy2WabLAJ?= =?us-ascii?Q?MekhE8ChnaFg2C0dC1G7iMuuUvmqObLpsEk+BBLYdSS+WtDU1LDPf29NKOcY?= =?us-ascii?Q?qW0pSEGKE4mXb8vqq8Ha6CQNY6HpHBPep3DwisqiGavSVvtnJv0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MS-Exchange-CrossTenant-Network-Message-Id: e58133d4-6686-40a2-9d49-08d9872a2227 X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2021 11:28:48.4372 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nv5N0ihKhEkMy4DcFHhoWrsBTnwGy9PifAzaaEN3EVfegPaRY8fQ3vvBfenuwGtgoH3mqednTN78ql7dvOmbOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0425 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: slO_YoX2BNDmIT8M91kS1dHoBviKL3LF X-Proofpoint-GUID: slO_YoX2BNDmIT8M91kS1dHoBviKL3LF X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-04_04,2021-10-04_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 spamscore=0 clxscore=1015 malwarescore=0 phishscore=0 impostorscore=0 adultscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110040079 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Not DiskIoDxe because we don't have a disk, just for loading from Ramdisks. Cc: Abner Chang Cc: Sunil V L Cc: Leif Lindholm Reviewed-By: Sunil V L Signed-off-by: Daniel Schaefer --- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 7 += +++++- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf | 4 += ++- Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 7 += +++++- Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf | 4 += ++- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/P= latform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc index 124f0d02cc..cdc1b9ee8f 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc @@ -1,7 +1,7 @@ ## @file=0D # RISC-V EFI on SiFive VC707 (U500) RISC-V platform=0D #=0D -# Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D +# Copyright (c) 2019-2021, Hewlett Packard Enterprise Development LP. All= rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -507,6 +507,11 @@ MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf=0D MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf=0D =0D + #=0D + # FAT filesystem + GPT/MBR partitioning + UDF filesystem=0D + #=0D + FatPkg/EnhancedFatDxe/Fat.inf=0D + MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf=0D =0D ShellPkg/Application/Shell/Shell.inf {=0D =0D diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf b/P= latform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf index dac6f85272..f262e4fe17 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf @@ -1,7 +1,7 @@ # @file=0D # Flash definition file on SiFive VC707 (U500) RISC-V platform=0D #=0D -# Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D +# Copyright (c) 2019-2021, Hewlett Packard Enterprise Development LP. All= rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -178,6 +178,8 @@ INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseD= xe.inf INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf=0D INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf=0D INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe= .inf=0D +INF FatPkg/EnhancedFatDxe/Fat.inf=0D +INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf=0D =0D !ifndef $(SOURCE_DEBUG_ENABLE)=0D INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf=0D diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U5= 40.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d= sc index db7905774a..be70ef5294 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc @@ -1,7 +1,7 @@ ## @file=0D # RISC-V EFI on SiFive Freedom U540 HiFive Unleashed RISC-V platform=0D #=0D -# Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D +# Copyright (c) 2019-2021, Hewlett Packard Enterprise Development LP. All= rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -506,6 +506,11 @@ MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf=0D MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf=0D =0D + #=0D + # FAT filesystem + GPT/MBR partitioning + UDF filesystem=0D + #=0D + FatPkg/EnhancedFatDxe/Fat.inf=0D + MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf=0D =0D ShellPkg/Application/Shell/Shell.inf {=0D =0D diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U5= 40.fdf b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.f= df index 5622e589d6..c0ce09fcee 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf +++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf @@ -1,7 +1,7 @@ # @file=0D # Flash definition file on SiFive Freedom U540 HiFive Unleashed RISC-V pl= atform=0D #=0D -# Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D +# Copyright (c) 2019-2021, Hewlett Packard Enterprise Development LP. All= rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -178,6 +178,8 @@ INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseD= xe.inf INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf=0D INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf=0D INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe= .inf=0D +INF FatPkg/EnhancedFatDxe/Fat.inf=0D +INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf=0D =0D !ifndef $(SOURCE_DEBUG_ENABLE)=0D INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf=0D --=20 2.33.0