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.25058.1633281859825438832 for ; Sun, 03 Oct 2021 10:24:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=bF50SWcb; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0910c1de46=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 193ET3ob011913; Sun, 3 Oct 2021 17:24:18 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=/0wj+rLqQBSLLiByHlVzzDlMkHUq+qQuZzr9Dkwh94A=; b=bF50SWcbhYr8XaKjYLlXl8YHJJdoG5Z3/geKgaJnGDk4wj2svBLe8+asjsSlFM1F46wV 2lQaDZC2LC/eJZ/tOHOEhn5cMdPZ0CiZZ0gFp5MS0ZcRwg0B3hfzA+QJ2x/5ylRUPjR8 czaqN7P+FK69RXpiIXdN6fcbpo8RE4xitOETEFIjDuLKqBDctYCzHFgPww2Z9idydOsZ Z3/ensEhJJnbiazAckA96qgU++2je/SKMR49gshuHJjSSWr2bs/kl0+B/FV8e20YcaXy s0wWO/NJmUJCnGVTGQrwydU9Kp2RAQtMiOesP+7esPSDKR310SRTJmbT7dpgof/SHXvk UQ== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 3bfeak0mdw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 03 Oct 2021 17:24:18 +0000 Received: from G9W8456.americas.hpqcorp.net (g9w8456.houston.hp.com [16.216.161.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3425.houston.hpe.com (Postfix) with ESMTPS id DE4519D; Sun, 3 Oct 2021 17:24:17 +0000 (UTC) Received: from G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) by G9W8456.americas.hpqcorp.net (2002:10d8:a15f::10d8:a15f) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sun, 3 Oct 2021 17:24:17 +0000 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (15.241.52.11) by G9W8454.americas.hpqcorp.net (16.216.161.4) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Sun, 3 Oct 2021 17:24:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fbIRJB148ztccT1CQwIq6HeejKwX0B6EyBBSLaOa1A3p6Ux2ys48QB37tJ5F2NXKhIzZGFpvCPpLsROYPrlvvSnTtQD9B0MeJ/argq+VzX1KRtI3grH5/TBmeKAL9rvIiU7rNE0HeXh+aWHSoByliJC9nzDCnAq0fu5UWEQB4y5XiUcHQf0nVO/paULyZYOnQDTiXvPJ8GOTdgtevJp+iil9f5kKPyOpujUR0NwpQQFFHcjlo2Mz4/937InQssskkGrJ0hPWwFbTEhGkySNItDK0cQR1PW/pXCE3LConomUvMa5UzX8Ly5C4LTUeWydfowgzkwIN48xLoQpdRI8CzQ== 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=/0wj+rLqQBSLLiByHlVzzDlMkHUq+qQuZzr9Dkwh94A=; b=RCeVkYkBd8c9A1UBlQmqUaC0yz4G0RM9+BUrWlP+wgewuwPIV0KyLoN6jwGPpwc/gQCANMYtaFZQFZIE7P7Od+a/idZcdHI+TWuVX3nQfMHbnYXKfq2PR//DDznaoS8qouK6wBmGb7dLCIzuJKo6tkEXFR15fVNhSHK+5yvriXu7UGN3I8cifHZocOT4uWEVBA1S6T/1ynENaIRBAM8CZ1SmqTLKCunUEBMJcLBc1TQCh8LJCxGYZGdR0x6tF8GTh+n8ubHEN9Yx+y1IcBV3X2yIkJ+lChN2pwDQZqEjcUwmrSFT/9fPNKc8WOIcS3KqBBGC7TzKZ0z3AAUWOtsk2A== 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 DF4PR8401MB1276.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Sun, 3 Oct 2021 17:24:16 +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; Sun, 3 Oct 2021 17:24:16 +0000 From: "Daniel Schaefer" To: CC: Abner Chang , Sunil V L , Leif Lindholm Subject: [PATCH v1 1/5] U540, U500: Add filesystem drivers Date: Mon, 4 Oct 2021 01:23:55 +0800 Message-ID: <20211003172359.1622768-2-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211003172359.1622768-1-daniel.schaefer@hpe.com> References: <20211003172359.1622768-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: HK2PR02CA0212.apcprd02.prod.outlook.com (2603:1096:201:20::24) To DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) MIME-Version: 1.0 Received: from localhost.localdomain (123.193.59.220) by HK2PR02CA0212.apcprd02.prod.outlook.com (2603:1096:201:20::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Sun, 3 Oct 2021 17:24:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7351fc3e-bb40-4bfd-d94c-08d98692a01b X-MS-TrafficTypeDiagnostic: DF4PR8401MB1276: 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: WPUY1OXh6oVvijaIXN65LAUt15NwKHWqWLcKnsM6g/8USlXhaVTTgZqBbTTdX2MUQJ7OzDFJ1CqfDeofiHASph/XthOYhlfpqbJndlfMM0poFP6PYjgzvqgZvXkxf0qELFYO8p7ZN/+tf9iY4zPsctOtoxv0xWvoMQtxTJR+9irwg6czPWzZD5Y8e6YTsZoW6RX3+K5HmgNsrTs28LBwzVvb8kK/QddUSdYijcT7Rsp7yv9swy+a5t+d5FvN9TgRKkvNPHigk70GXAX+9G/aAjRKnQbKJUvaDxcPAXc+uFUepDynoy5xOhfNJGRnG2fXkyBa9CbuK2ENyKkzjTT7rtp7MiuPCPcIpw/xdgKQHecLoGT2k9hnSlYZsOc+D3IZg3WuZXo2fD70lJxrUwGKjT3yIB9FvPXHfZA3TDkYs73TDNNnOdvBlQkhpwJvl3uYkTF6fXhLqV+K9v7Qq+Emv4Eo2PAeBSAdFduKB0zYutKSI2AB+kkpY3fmU0my6KKUGA25hGbhesaK9yG4hxXj105/Jfo3GF9ENam/izpuB4TMHk9L8IiLgYzcfNZTADJ5tgiChljaNp73mZUYpqPqz7REk51vujpwWpPrhf60iUnXKDyVQn6pNf+p5kJwLIrBuqg7hcmHIgudut5yDpuRpFORg/+nCA2RKrds3uvQzbx8WwuJogpyf6qcakZRlmpler9x3Y2tsQnumH+udG+VJw== 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)(36756003)(83380400001)(1076003)(6512007)(44832011)(66946007)(66556008)(508600001)(66476007)(54906003)(6486002)(2906002)(316002)(38350700002)(8676002)(2616005)(52116002)(6506007)(956004)(26005)(186003)(6916009)(4326008)(38100700002)(6666004)(8936002)(86362001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?0p71Itq95PDSafKrtp2muf6hxYBCJVvVgA+ge6zuuPbto7pl/cIWUhbZXDLf?= =?us-ascii?Q?M25+eIDH4fCc+Q9/lANbIn82wuahY9HEZVbUT5uIZS2AVws4KVr05abDrdcP?= =?us-ascii?Q?SPY109emRDYptkmJrbGuBr8TJJs0/TsbRzzIIXfakxzy+jNlcu5lXLfVfrYR?= =?us-ascii?Q?5igU4lWh8GIWceOYZ6DvOW+UOUCE6QRy7MU2ieAJFxkPBcyd6t8SMWJagkY1?= =?us-ascii?Q?CYM3iNSStvk3oEO2UzYSpxqkoTOfxdehbh83Cvgoac7CE41XecNHkFXcuokd?= =?us-ascii?Q?yYNZkawduiyuSbHNG2qXXTlwGUfmKLdzE1LV19S23wl7ZS2wbLaDszztwfVz?= =?us-ascii?Q?ZGtyZiXs1wH4lXqR6qPFqSmnIK4vj14mIj+NoEM+3YdlnXkOJXsir9bLhW8E?= =?us-ascii?Q?4e/DsXUWvWY8iBXq4cJXhEj/v7Dzq51w/g5DPUO2q0FOvREQoz9Gs1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PjZ?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7351fc3e-bb40-4bfd-d94c-08d98692a01b X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2021 17:24:16.0781 (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: UKmCBMtBYRJdQZihG2F8jfpytgMzKY245DRLedf0xwBYO6GvNeqRUzRIpQS9rbUCdPfMbFkWmc36/KfoE1vEfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB1276 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: Hb30Z9YITp7TZTcOsP1czZSfF2CL_vvT X-Proofpoint-GUID: Hb30Z9YITp7TZTcOsP1czZSfF2CL_vvT 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-03_08,2021-10-01_02,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-2110030125 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 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