From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web08.7301.1627362718798654720 for ; Mon, 26 Jul 2021 22:11:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=Q3eyz3T0; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: ray.ni@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10057"; a="209258467" X-IronPort-AV: E=Sophos;i="5.84,272,1620716400"; d="scan'208";a="209258467" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2021 22:11:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,272,1620716400"; d="scan'208";a="566411465" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 26 Jul 2021 22:11:57 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 26 Jul 2021 22:11:57 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Mon, 26 Jul 2021 22:11:57 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 26 Jul 2021 22:11:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QQqwZiIw7ZUJ7Xp5M5cNsmD52bsbwpUpDOMj41QG0/gIclEuNTvZvZw1NMFyLVGFuMTfgO05sfm02xXuveXbuZViftm//jHs5/Zc5Gh5NBuEDhtyStuXm9T7IrKjlF8n6x6JHkhmqJaOb45tb6MkJVTUJslgYHy2cdUIbpJYG1eYXDjP3j0sOaA7K6sQ2GlDZBuNSg+tH/J/w6etVJcleSP61gdtf376iJWTxAV384fIqrksn/m/PLKfG0w1PjYwk9QXARd9jr86cOZqi8ijsCnCCxMnVHqjs6LrBx82mc4HtpE9dVU7nfzs8AeJvPTGVCXmLwakgzapfI0A+j3YKw== 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-SenderADCheck; bh=gJ3SB5kIaGrU9CEyAuVcB03IiCDM4aIHERJdB32Sp9c=; b=F2RNdmT0c+PIfv84zp4Rks4Zwp3rQijNO8ZYSpRptLyjHY41dV83vWDDn3bUROpybnbZT89aSUSsKvHK5D4reW+v/Z/LSWcDvuPz3gnv6Ih2MGZmn2NKsUjD0GI2GqP07cXa9dNh/GJoP2zAHrsaMQfFCYP/eu4dTTyhnvoYm2VOOlKCy3bJ3m5gJCZUYi6T0Omr3UVh0DKLSvtobNbhcZdldChtYtf0+ZesMQDEpIK0FOMLXmHUDzuwXL1gfXO2A2x9lvDWNsjslc8ajZHDNfv38hhRXYPP2Z8E3qZngmUvfNvFWEuBi9VuKUEcaQiftxM4Qz30/ahuzfql4Mn7fg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gJ3SB5kIaGrU9CEyAuVcB03IiCDM4aIHERJdB32Sp9c=; b=Q3eyz3T0ceflYensAE1h6gUNOTOeXWBYLNYAXI+7MsJqSFAqG8q1FPVGs7ydlN0Ctzrrg/Re1aFZ5vl20euvdfmKRdcZKz/05m+VD19hUGA2tiBJc+X9Ni4G0acpmNry0vHWIlRHISVp65qZfZgBjswHiO4JLa+oeBw74pTdGzY= Received: from CO1PR11MB4930.namprd11.prod.outlook.com (2603:10b6:303:9b::11) by MWHPR1101MB2222.namprd11.prod.outlook.com (2603:10b6:301:57::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.29; Tue, 27 Jul 2021 05:11:46 +0000 Received: from CO1PR11MB4930.namprd11.prod.outlook.com ([fe80::dc21:42bd:8553:2869]) by CO1PR11MB4930.namprd11.prod.outlook.com ([fe80::dc21:42bd:8553:2869%2]) with mapi id 15.20.4352.031; Tue, 27 Jul 2021 05:11:46 +0000 From: "Ni, Ray" To: "S, Ashraf Ali" , "devel@edk2.groups.io" CC: "Kumar, Rahul1" , "De, Debkumar" , "Han, Harry" , "West, Catharine" , "V, Sangeetha" Subject: Re: [PATCH v2 2/2] UefiCpuPkg: ResetVector Tool additional debug prints Thread-Topic: [PATCH v2 2/2] UefiCpuPkg: ResetVector Tool additional debug prints Thread-Index: AQHXf558E3QctjPwwE64E0KO7T+w5qtWTIpg Date: Tue, 27 Jul 2021 05:11:46 +0000 Message-ID: References: <20210723084023.22157-1-ashraf.ali.s@intel.com> <20210723084023.22157-2-ashraf.ali.s@intel.com> In-Reply-To: <20210723084023.22157-2-ashraf.ali.s@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c98501af-be83-477d-9419-08d950bd0848 x-ms-traffictypediagnostic: MWHPR1101MB2222: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:480; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: N4ID0di0XpZbEvRl7VNL8tVYSAJmM7hwvzlxIF8FKagjTQF78ubOKdBKE8xOhNnBDM/NtdLO91t/HZQNm64BXreVZ7EP2efpyXh52hUU2b9eaHqKWQarsLR5QHMf+2PF9TKKMAp2jyVod3w+IVPmlDCkPvqGh9YUNckqFQOOYIP/aya6CIi5l+H3KbLhSGUSw6WiEtOK5lv4JdQeFZAj3uhoZ2rBjdHhGv4cBmpHawVt9wiPZUbtH4YF70P8wWH+xh6i4JOhtxzvHITwGj+EIMPXT/XtJn3QHWQWzFxM4j7A5FH01KaFwhxNagMwgJobYvu5lUwOGhaRevoVNugKUU0xWnkEyFLu79aESUaABA6k9hWLSL85h3OJ0H4+VQF5DJCeGeqGgcag2NYHFn+H07Uja41JJMnohlAHtVuSEeWYEvwnvUx02+k+qtB+/gRQ0zxYUyY9s5LCZtnvqeWRCYmA8HfAOoKRIFiDIWg+EuPFkAZoaFBfxgcLsP/IUQGNXf8Kw5w/OZxzyKF3IVdY+qkyFYPDbX8MoT9XRv0i2bAbo5sLuI9QCMmDINUJvhTjunzwJPPVbUf9/ASGjTKQVxZjwvCXHCxksoOYvFrAZCRtuqVF40a996WCsT31j8BjJDovHs7Z6iurwYoNkfaOOR3PsnDaB8lssxLrt49pSW8nsUnaHtXmcwQTxb5ApYYk40XqzrGr/g0pzMRuxI/0uCptFqdPckJl888RAe732h6d0Qiag3qHw0i7uyXWqYsq/xtzuZnGTFuzCMIwbrKtsRJYBxxMqvOLbO9GD9pjzpU= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB4930.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(5660300002)(86362001)(54906003)(33656002)(66556008)(8676002)(8936002)(508600001)(6506007)(83380400001)(52536014)(4326008)(66446008)(66476007)(66946007)(76116006)(110136005)(71200400001)(316002)(186003)(64756008)(19627235002)(38100700002)(122000001)(55016002)(26005)(9686003)(107886003)(2906002)(53546011)(7696005)(38070700004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?d84hBBh6WWd+PZoX6eZ+4G84jiD9K6ItaarJMUOG517hiiVf4+o9rRXczaDE?= =?us-ascii?Q?U6Yj4ukgdWff4Ko/qHDFoVzXI3antkjKRHFbMsHIx4UhqDGXnO4RpuZUl1ff?= =?us-ascii?Q?V7eWMhpZsaf4PBX7mpPL5xecqO4rZ9n3XzrhEqBm3K+6FCeyZ0zX2Ns2XTTr?= =?us-ascii?Q?ubJ3ccgQUae/6rfrV39fT4E+7dO6GlCo7Us8CXXXoFbGJOP12tMzsEida2eQ?= =?us-ascii?Q?Q69VtRnY09Q89umRmNRKzzg9HgUdeDeob9gw5ilOWEsYlun4B/PtBvZYhcgS?= =?us-ascii?Q?FfLSZgdOgdIYM7WpvlSMyf1qxfReL37LBrOZclXNHtBSWLo2sAPUfno094kp?= =?us-ascii?Q?0u99UfDDXRbE+F49XcuHlqIHWhc9nkGQKXxG3teWi495M5aETa2u9W33G23A?= =?us-ascii?Q?b3Z+r4obdtUNYlInII+uvnDLajfgcRjIFxYvron0hvRObn/enIHbVdxu+5cq?= =?us-ascii?Q?eO9v7E9ShueJM2h7WizV6y7tIG32jWRgB7yCrhnPHpDT8BcNbscTAWswnUI2?= =?us-ascii?Q?73i6O9EgN4QvSPdcNHW8VgAasBkq+PaQmhq7ZW5yKQOVq6kDoB9xdtaGLYjn?= =?us-ascii?Q?YxXqwDjZVRjdeIh3ar86VFfHG0kZL6Xb4DfUj26pvEsapWnRpCtbIsRyIQLc?= =?us-ascii?Q?LI36B67uEWwqZxvBMjeki6PmAGe2dLWpmv2g7h5OHIwYoJyYJlI+Wn0HrD/m?= =?us-ascii?Q?bYTjGMLHad+UGt9e+0f8RIRpg2n2vPlS73yNgSmNCzSUScn9BSOHtggObAdA?= =?us-ascii?Q?qoZFyHKYhgWetlOcroy3hMsEhKw+JrUv5YDkRobCDTuxtanxlx6FpbORMYaz?= =?us-ascii?Q?Kkczg1p+h1b/QpAoCUyJQ0wvwKS4ZuC1jSO38OzITF0OeFKjlsvtvPIpVnJv?= =?us-ascii?Q?b2f/849LtI7hBfXMXk+hsjkPccaEXBGeSXbU184OPHpvFlackzG4NRLj/pXq?= =?us-ascii?Q?534Wx10mvJI+Y1d8So0dF9nFpM+hFimuwhIuN8/1U5q2N+1bY6A9goH2OJfW?= =?us-ascii?Q?K9WIWDot7YUpoDtVFFC/trqb59XXP6B3qmxHjIrDb89DQYRkjP6IhD2GileL?= =?us-ascii?Q?MwB+LYx4RFeP1K0oRpnvQuWTLYB8O3TkBBExeKIrk+imfPW5Hq5sfsSJTfVs?= =?us-ascii?Q?cG8uOGJ7uSjK4ZuS6x+5Vo2XdLW6ZfyS8ijFca9Vno5osOzq35ja+mqc4mnH?= =?us-ascii?Q?FKxXDSO/3BhE6iCXVpww04o/k1iMKkJQqVMRbXKsUISSOAIBs96bXCfJwmP9?= =?us-ascii?Q?ELpHZ26Wa5PjiSfGTcH6E0xJK37U2KDS1pVyzlW+M+j5x6qgN1xfKTFyZBxi?= =?us-ascii?Q?RYYF0MxZovgmYpAQLxA5rjeI?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4930.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c98501af-be83-477d-9419-08d950bd0848 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2021 05:11:46.6177 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Qg0ivECuZ/dIOprX5zNGMDWS4YWM/QRJhj1P332sTJfJhKGEoQhEz8iReKh8EW3OKR1t/Whr2yDmHP2sbZ1n/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2222 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: S, Ashraf Ali > Sent: Friday, July 23, 2021 4:40 PM > To: devel@edk2.groups.io > Cc: S, Ashraf Ali ; Ni, Ray ; K= umar, Rahul1 ; De, > Debkumar ; Han, Harry ; West,= Catharine ; V, > Sangeetha > Subject: [PATCH v2 2/2] UefiCpuPkg: ResetVector Tool additional debug pri= nts >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3506 >=20 > Before executing the nasm command, added print statement to know what > commands are executing. > before printing the output file need check the status of command which > is executed. if the status is 0 then only print the output file name. >=20 > Cc: Ray Ni > Cc: Rahul Kumar > Cc: Debkumar De > Cc: Harry Han > Cc: Catharine West > Cc: Sangeetha V > Signed-off-by: Ashraf Ali S > --- > UefiCpuPkg/ResetVector/Vtf0/Build.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/UefiCpuPkg/ResetVector/Vtf0/Build.py b/UefiCpuPkg/ResetVecto= r/Vtf0/Build.py > index 55f4edd87b..b791d32762 100644 > --- a/UefiCpuPkg/ResetVector/Vtf0/Build.py > +++ b/UefiCpuPkg/ResetVector/Vtf0/Build.py > @@ -32,9 +32,12 @@ for arch in ('ia32', 'x64'): > '-o', output, > 'Vtf0.nasmb', > ) > + print(f"Command : {' '.join(commandLine)}") > ret =3D RunCommand(commandLine) > + if ret !=3D 0: > + print(f"something went wrong while executing {commandLine[-1= ]}") > + sys.exit() > print('\tASM\t' + output) > - if ret !=3D 0: sys.exit(ret) >=20 > commandLine =3D ( > 'python', > -- > 2.30.2.windows.1