From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web08.7686.1633345673946651801 for ; Mon, 04 Oct 2021 04:08:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=kF9y/hE6; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=091174733e=daniel.schaefer@hpe.com) Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1949WF7t026360; Mon, 4 Oct 2021 11:07:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=A4d5ylTga5k7d6TgNaDFfniU8ftFxTGk6a3ej1HRLQ8=; b=kF9y/hE6SmArajVPoTNkVC36Agoz70IHLsfYv6ARZFFeRvuNCtkVAN0c03EIKM3Mqo25 mH9P/kRwzR7jcxKFEpGXGe4LA3ZLU1Suw7J44BU33TiSqhndKmtJW6F1kwwmzfVk+/dn XGsdds0krgp4/k94g7QEITeG3LYEI39YgII5CU7rJwZO7Q4vjBp5PR9A89pqHH2j6nJ7 1aTROpbTye9ZCTWa5Q6qdQ2VVUQXV24zSfNbNdk3G9dlsmtA+6u16k3IeSCuKtTrrXIq VWsGOoWdHkOjdrHai5vo06WJfX5wWXdJlTtvUM/ItnTDl/IN8bU3llWbNbQZDX3jjk6Z yw== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0a-002e3701.pphosted.com with ESMTP id 3bfk9x4aqc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Oct 2021 11:07:53 +0000 Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (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 C06335C; Mon, 4 Oct 2021 11:07:52 +0000 (UTC) Received: from G4W9333.americas.hpqcorp.net (16.208.32.119) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 4 Oct 2021 11:07:52 +0000 Received: from G4W10204.americas.hpqcorp.net (2002:10cf:5210::10cf:5210) by G4W9333.americas.hpqcorp.net (2002:10d0:2077::10d0:2077) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 4 Oct 2021 11:07:52 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (15.241.52.10) by G4W10204.americas.hpqcorp.net (16.207.82.16) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Mon, 4 Oct 2021 11:07:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WOEt82Sa5wOw3kPnpMGMMiYxyHkZKUBMGYSewPmLy1fzznz8Dh6jvhRUmKzL3sEt7JG+8Vm+9WpBOVVJZLPW8+JepThFHvt/bfKhnt9QwyfyCKkEbcWJn/iYcK2mBZGU/7SrSBsznNcb5V2ial9SDklg/BdAry1PQnbSMI1092TxZ4FGDIQfopKnNpwXLM+E0w/UazdURtPOJtztQR9R+J1wi3+B5O3u/rEEa6KqxVxqImYJoIu4O3dCOsRaeJo3PhA8Zi0uOQvGkWeQfDZ+9go4mDe4FbtP98Q5V1QU2mZbdJSYR1Crnvgf+hKOO/ObSBi6JOLyDTAHs3emaaxRFQ== 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=A4d5ylTga5k7d6TgNaDFfniU8ftFxTGk6a3ej1HRLQ8=; b=Hpwq3UdDN5cXvZ17BDRoZb+RjoysQtSeMv1b60SSVFiMWxIdHJb/x17WvrAFrjPhAl8ysTMgxD7C2OYZhLZrojCLacACZ08xXQxwH1hQdfBWOCyMeGMoynfifIAbQeuiDFZNMkuu25gmibDVXxLmOI4+1h/HbOf9O9cu4bX9kuIBM8+/KdT6o4U7ehnuQ7ffPuvXWQ7vSrYOTntZchAdZPqxu66v4HigbSaeay6oqWSkMsJAUPnGrxFsCNvdn6W1ogTMMCVYzqFQkPG2otlpQABeHkUdpCj8+09u9dv9KbeIXflmQtfyRJaEwu0XJ2c+BzVJZ36Ng2H00y6Nl+JUzA== 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: ventanamicro.com; dkim=none (message not signed) header.d=none;ventanamicro.com; dmarc=none action=none header.from=hpe.com; Received: from DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) by DF4PR8401MB0844.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Mon, 4 Oct 2021 11:07:50 +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:07:50 +0000 Message-ID: <267ceb27-1c8a-c7ac-73ba-e80f9981be84@hpe.com> Date: Mon, 4 Oct 2021 19:07:44 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH v1 3/5] U540, U500: Add initrd command to boot Linux To: Sunil V L CC: , Abner Chang , Leif Lindholm References: <20211003172359.1622768-1-daniel.schaefer@hpe.com> <20211003172359.1622768-4-daniel.schaefer@hpe.com> <20211004104526.GC83401@sunil-ThinkPad-T490> From: "Daniel Schaefer" In-Reply-To: <20211004104526.GC83401@sunil-ThinkPad-T490> X-ClientProxiedBy: SN7PR04CA0113.namprd04.prod.outlook.com (2603:10b6:806:122::28) To DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) MIME-Version: 1.0 Received: from [192.168.100.176] (123.193.59.220) by SN7PR04CA0113.namprd04.prod.outlook.com (2603:10b6:806:122::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.15 via Frontend Transport; Mon, 4 Oct 2021 11:07:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c4d891a0-c98d-4b11-fcc1-08d98727347b X-MS-TrafficTypeDiagnostic: DF4PR8401MB0844: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:119; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DyMsikIRMGG4O6sCJtlhAS2z/FOnuTQcGlUtA39R19JptTLJNvY0yIszIF9vJCg2JVFKsLTw+CDJXsdAmiVCdUZLJvGFIuf/b6CHYnOImKjDwsscyrtP05BuFkWMbFvfTssttxJSWNuxP64IW3geqYJOPBmBjPsmPFhJx+VBZOv75R0iV4IYL+XGjKAhqL843xHmfoPEuh7IcjJHSD2p5yqAtqzbgOxDjNcpN2bxz2pQQ7T/4XWER+uiuj/ngDU9NZGMsgDSVX+PowCQF2uLm3uGIgdQ4wlSgPWgsJrkfSqYSmOQFhvO/20dzB9YFBpuVhBLbz1JXgpmxIMyHIUFO/F7PvR2CE7bpE5w58hmgN8BiGOiKGiGe2BLg8oqHm1MrdFUy4mJWjXdypt5MXHJK3yNrYSIqi1rapBTmpNL/5wvkntL60LVgwRZmXlVWlieb4DT5or2MpOAflVhhzUjVaKB63eUvSjMBz/oNH88JIZ1tsFdaypUcFHv05Cf/S9SuUH84DQeBA40RCQgpkZ1EHlqIcqTd/okDNA2C0gKYEwYxe3FB8vv1FPMrfuppUtQh7Yz7qf+sSPdhYA3obpUHV3OAhqaxp2ggQs8DxBRlQJ96DU/vpVUQ94zl+zcENehNbfAfX/KFsfJ19Iwmy5AUQIgZFjmHWR6kwsWvOdNVI29UzZ67IW+p4ZVoz6D1qDaWgrGXcbXnS6QKGZK0EvOTwVArG8e9qcLKUL028AJaWZr7B4OHZzJSkIoVSDHpEX/ 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)(31696002)(2906002)(508600001)(6666004)(66946007)(66556008)(66476007)(8676002)(16576012)(316002)(4326008)(26005)(5660300002)(31686004)(186003)(38100700002)(36756003)(54906003)(956004)(44832011)(53546011)(86362001)(6486002)(6916009)(8936002)(2616005)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RVJLMmpCVUlNYlMvUnpRWG5XQzkxRnZMR0RBK3RHejhVeHlRdUkvRDNDL3hm?= =?utf-8?B?elVDTmRScWs1OU1uTThGSHQ5Wi90U08xQmw0akFRWUd1UC9PeW1GV0RQcWpt?= =?utf-8?B?N0tGMTRHeGVCT0R4NHNZT0I0R1RkWEJkRVN1NW9LdTF0eXFzdzJ5VUIzYVp0?= =?utf-8?B?SllNT3pzenpMVzJqMXUxeDUzcFgzY2thNUpQaFpxaVhVaFdsalhvbXJuanhD?= =?utf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SM1BxTk5yL083eU41?= =?utf-8?B?T2ZRdjE0Sm9wOUpRbm10alFQdFEvV202K0lEaWNDL0p3L1p1ZEQ4bTJVSXZo?= =?utf-8?B?TkJ0VnRFT1p3ZmJoak80SnZTdjlVOHFZL1VxM3o3SG9SejVqTDhzMkhGUVdG?= =?utf-8?B?aFN2R1Y5QmJQWEVFVkhnYm5qclFDbDMyNE1NUGJ4bWl0Tlpuc3BwNXBKZG11?= =?utf-8?B?WTk2Nk5nVVBsRnc3Rk9ScExBKzRQdzczaERkYndVTXprbzRXdVJsQ2psWXNa?= =?utf-8?B?aXBZd0xlYUhVZTBtVG5hVGRrRTlJajJiUlNhNnVzeHlRUERkRkdQOHZsSlRC?= =?utf-8?B?cURaTUhmdjMwNzVEMUNDdFVSUTIwbVIrd1NIOWZheGJZSEU5LzhLZmNrR3Bl?= =?utf-8?B?RjNyYk5WeExLUHhjSnVSaFJ6RHpUeGc3bGFxWnZ2d1AyZ0NsbUtsYWltSWN4?= =?utf-8?B?Rll4c0hGNjhJczQybVVza0dsVEZXWHVISGhyaE85WVArNjhmSlZkNVlrR241?= =?utf-8?B?OXJ2dzZlQmRYU0xNYW5uYzhxUTVBTFFIdGNFbW1JelVnUlNWZjVpL2tQU010?= =?utf-8?B?Y29LZ1dwY2dkVUlmcjM3SUtuVTFteXFLcDFPZ2xWdkRiaTY0ZEtSQU9uNWhF?= =?utf-8?Q?GWVeir93TyGB3DirbexaLVtHXx0Pyk35W1lcct9?= X-MS-Exchange-CrossTenant-Network-Message-Id: c4d891a0-c98d-4b11-fcc1-08d98727347b 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:07:50.5190 (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: FnXRunlZFUkUcFd1MkY84dybzeVCGVkxmoWTkwv/rXPHl4qj3bs/O84WsnpgJfQIPWVGCLi/3Vk6NuvmvrCnEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0844 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: vWdBoc8MPRg2ie0rARlsGD1t4ussKbZz X-Proofpoint-ORIG-GUID: vWdBoc8MPRg2ie0rARlsGD1t4ussKbZz 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 priorityscore=1501 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 clxscore=1015 adultscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110040077 Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/4/21 18:45, Sunil V L wrote: > On Mon, Oct 04, 2021 at 01:23:57AM +0800, Daniel Schaefer wrote: >> 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 | 1 + >> Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 7 +++++++ >> Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf | 1 + >> 4 files changed, 16 insertions(+) >> >> diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc >> index cdc1b9ee8f..23f50ab2c4 100644 >> --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc >> +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc >> @@ -513,6 +513,13 @@ >> FatPkg/EnhancedFatDxe/Fat.inf >> MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf >> >> + OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf { >> + >> + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE >> + >> + ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf > Do we need to add UefiShellLib.inf here? Same question for other changes > too. You're right. We don't, if we add it to the regular libraries. Neither do we need it for ShellPkg/Application/Shell/Shell.inf I'll remove it. >> + } >> + >> ShellPkg/Application/Shell/Shell.inf { >> >> ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf >> diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf >> index f262e4fe17..5f3ac8e0b7 100644 >> --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf >> +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf >> @@ -187,6 +187,7 @@ INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf >> >> INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf >> >> +INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf >> INF ShellPkg/Application/Shell/Shell.inf >> >> # >> diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc >> index be70ef5294..850d60afa2 100644 >> --- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc >> +++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc >> @@ -512,6 +512,13 @@ >> FatPkg/EnhancedFatDxe/Fat.inf >> MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf >> >> + OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf { >> + >> + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE >> + >> + ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf >> + } >> + >> ShellPkg/Application/Shell/Shell.inf { >> >> ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf >> diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf >> index c0ce09fcee..a1a4b342e3 100644 >> --- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf >> +++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf >> @@ -187,6 +187,7 @@ INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf >> >> INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf >> >> +INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf >> INF ShellPkg/Application/Shell/Shell.inf >> >> # >> -- >> 2.33.0 >>