From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.51]) by mx.groups.io with SMTP id smtpd.web11.20132.1593441163118775736 for ; Mon, 29 Jun 2020 07:32:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=nrAr1bIq; spf=pass (domain: arm.com, ip: 40.107.2.51, mailfrom: pierre.gondois@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pNMALliMzNXpVbXsCl6FVAPnd/lA++ns26JrF8EMVt8=; b=nrAr1bIqbb38a1JG2Z8wBKakJARGS9+1HkkqJm55SLDmW9kQxYi70uC50XoQ8y6kBat3dQDZtIHN8+mpsRWEj4gTQOPuq7ICysALDDQ2gELNbGsO+TeioNJypKvpAOZ4+JQ954aJcYXrC1oe519OT4JDir6ZUNSXHe6kzZxr9o0= Received: from AM6P192CA0037.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::14) by AM6PR08MB5111.eurprd08.prod.outlook.com (2603:10a6:20b:e9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.23; Mon, 29 Jun 2020 14:32:39 +0000 Received: from AM5EUR03FT018.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:82:cafe::ea) by AM6P192CA0037.outlook.office365.com (2603:10a6:209:82::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.20 via Frontend Transport; Mon, 29 Jun 2020 14:32:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT018.mail.protection.outlook.com (10.152.16.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.20 via Frontend Transport; Mon, 29 Jun 2020 14:32:39 +0000 Received: ("Tessian outbound 1e00bf306733:v60"); Mon, 29 Jun 2020 14:32:39 +0000 X-CR-MTA-TID: 64aa7808 Received: from eee2c0969780.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id FC8C0713-8B75-4BF6-9A5B-153C4AD71D4E.1; Mon, 29 Jun 2020 14:32:34 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id eee2c0969780.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 29 Jun 2020 14:32:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R8nBBh+GpbiiTETdzPdWgN7DZ8Nf/szgmAIK/vU2jbekqZvT6Y3/Ga0/2QoTaLcnaZXr5xHTNOGPg3ec/2U00i45uecf2MCf/Akw35uNZWon2gCK0PGdcaio8HlO8ikcZkyC0g3LZNElxBqBbFNLO/qdmM/jthOWblSrPDAVwLLk4/7sshLSQ6aZV5oVc7Dl3rGMVZHjQiZdVC8+EaYazGw7iZFoJR2639X9lR/58UFJHfd2jfj3OtK9M0nCKIztsfaXkxM2HZSb7yW0UFOGQQH8RyMwWyaza5GH/rlYTWXK7nIswu1DbGw/AbaBdqSsyEulZQ6jk76yN24qLyUd4w== 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=pNMALliMzNXpVbXsCl6FVAPnd/lA++ns26JrF8EMVt8=; b=Krb2cSAXjloDdvcx3ygikQoFVhsbRqrmu544rHlaWFE+jd5OyDDU3WYKWaE6ugtOD1LR0bL7429kXEaHfEkaAgJ/rvChe55vPDJiExRojSGJ6FdqNUkLeBJpsa7BBedojyFfAc5l4KggYUFDtDusPYp8exRlxjS2ER2uxaLpXjewA6ArZ3He/yzNMpfusvKXTTlh+TEcGSCYn2LP6aTVEcyZMz45Mc4dgoh7kdEn0N+lAp32N9pNE9Iacm8S1/5tQ/PE4IcsiwHPidmIiK9OohcwGToDv7jXE+lJPhK+afD/LnApbxBplyXzGxm2MDbsi/jc4BF+Eb8wlTOjIP3ucA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pNMALliMzNXpVbXsCl6FVAPnd/lA++ns26JrF8EMVt8=; b=nrAr1bIqbb38a1JG2Z8wBKakJARGS9+1HkkqJm55SLDmW9kQxYi70uC50XoQ8y6kBat3dQDZtIHN8+mpsRWEj4gTQOPuq7ICysALDDQ2gELNbGsO+TeioNJypKvpAOZ4+JQ954aJcYXrC1oe519OT4JDir6ZUNSXHe6kzZxr9o0= Received: from DB7PR08MB3113.eurprd08.prod.outlook.com (2603:10a6:5:20::21) by DB6PR0801MB2102.eurprd08.prod.outlook.com (2603:10a6:4:7a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.24; Mon, 29 Jun 2020 14:32:32 +0000 Received: from DB7PR08MB3113.eurprd08.prod.outlook.com ([fe80::4178:71bd:a2a4:78bf]) by DB7PR08MB3113.eurprd08.prod.outlook.com ([fe80::4178:71bd:a2a4:78bf%7]) with mapi id 15.20.3131.026; Mon, 29 Jun 2020 14:32:32 +0000 From: "PierreGondois" To: "Feng, Bob C" , "devel@edk2.groups.io" CC: Sami Mujawar , Tomas Pilar , "Gao, Liming" , nd Subject: Re: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into OBJ file Thread-Topic: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into OBJ file Thread-Index: AQHWSgcbhBvrM/rS80+2kILO/iMwR6jn4K0AgAEs9RCABJtcgIACA8aA Date: Mon, 29 Jun 2020 14:32:31 +0000 Message-ID: References: <20200624090837.124392-1-pierre.gondois@arm.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 8c9f588a-4a1f-4236-a75a-b905c13eb350.0 x-checkrecipientchecked: true Authentication-Results-Original: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [217.140.106.52] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c277a60c-c3b1-4553-4802-08d81c3946a8 x-ms-traffictypediagnostic: DB6PR0801MB2102:|AM6PR08MB5111: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000; x-forefront-prvs: 044968D9E1 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: z80nAAm5v/e/FiLCTT9YlXiS5BxS0oI+a0yd+9fFeKBQ44QlXOB79ejR7m2r4FzJNLF2v2q4E26RRa6mGhJQlQoLLGQmTqJ8AxiRJ9IYg6PdBsOrrSrJT+qLdHkavmLDAQcZV5pW4Gqrj879oau1u/zHYzRzROEM/6q0ubuXD8OtKC2ziECBkjfq+hbgOS89bdJEGAgkDKLMYbvmWo82KjeORsZMUsEOrdW9JJUU3KBiRvmZYXOlLVFd5teTG30zYaPS71/b1LEiin6+v/HK/qGEE/Y8VhJ5jO6ubJfV3Xse8MCcIrn3covPPNfxZQml5yU8YfysH6bN2JZqt3m4mMo7860OS/KXrCmzL0jkDOTrW7JlLBaT5ag9byfR9LcUZ92b8TTKAnUA0tz9Q5Aqlw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3113.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(5660300002)(478600001)(8676002)(52536014)(4326008)(316002)(7696005)(66446008)(83380400001)(64756008)(76116006)(66946007)(66556008)(66476007)(2906002)(966005)(86362001)(55016002)(53546011)(6506007)(30864003)(8936002)(71200400001)(110136005)(186003)(9686003)(26005)(33656002)(54906003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: W/u/11NyNU5/QXelqE/iNBxk1F7idkHaPW5eBhgAg1jKWQSwfpOwlm0Ee2tKFEYC+fNrVt64cHrLWPzhn1ZUOMXDr8nPh6BFFo80jGlp9rCyxFKPq8GyRWp59fEjtXTNyLrv82LY4I6cVfX3VlDjKYDd3CLw6GeQjUFGrnhoPJS1Ymmg4Q326UkmbwVl1XzTzNcBYM5CDcq1H53yw5ckwhagy+k13kEHNsIwHZhzFZnhWY0alH3QJ6qk7lxvPtNFQVQ63Ra8eaXWV41Lg6IsGPGjEnkj32BOpkzqP5yuLmN92+Xf7E4qynVyJ1JpEeP2xFARweSXwynYuAxqH0Pf1S4mrqT8bYQSSv/Il7eMoe7BoLXj8OzVPmS0FFtI2GlUoXnwY+P/jp5kT2Nj2/260g9ApyVNBYujiUW8PR+r4ZMsT6o+Woo/wmtjVfIrGPtGmMZfJ1YKSZFgoTch6CkxJ+4O/90OUv59BQHkOIEKWcRkoQBIyK3ta98n1lUJCFiu MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2102 Original-Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; Return-Path: Pierre.Gondois@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(346002)(136003)(396003)(376002)(46966005)(966005)(82310400002)(53546011)(478600001)(54906003)(110136005)(86362001)(52536014)(6506007)(36906005)(5660300002)(33656002)(336012)(8676002)(30864003)(70206006)(8936002)(2906002)(47076004)(70586007)(356005)(7696005)(26005)(83380400001)(9686003)(55016002)(4326008)(81166007)(82740400003)(316002)(186003);DIR:OUT;SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: cc107174-5471-4e38-a07a-08d81c394225 X-Forefront-PRVS: 044968D9E1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Nq3V5+heUzpoN0B78DrI4QA/rRw6lQUQQmfeletQXMnJK04toWpqwWsuKQFfvkd+Z3kc7/cHtw3hRNie84rFSgqwK6OdIv/IvTpdVZg5ND7kbgY/zneapgU6+ZKOpYvRK5UcQBhsI0q0LZHI1htt/McuUcT9FtaWI48IKor6iSGYkCMebccLvEf5h52TZkwasbTlCHYjTJCG6W9fgt0ZxCeuu6pNZYV9+1AyUF+IIhH+FQCVolOhlatbcbhO9KsNp1a6bp3AxwoZQK6ZUYgmJDPpw6MHo/4xbmH6JAlhe+abv9jdqsDg5LpL8KZRwymPo0/qULK3jy1zcc0KODjajEGBfP6NgzHKyqDos3nmh/TMfiSwAXjwFS2wFelNaVAk2Wb2r2eas5BZk4B3oeV3sE2ulXCasWA1GNt7hN025d9imAWQrOehhw5PIDbLMmx4SfOIvRt9LBRjJaRNRLuOWy2UJsaQE9MGkKECrW7dcag= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2020 14:32:39.6362 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c277a60c-c3b1-4553-4802-08d81c3946a8 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5111 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Bob, I actually found more files having a LF line ending by running the followi= ng command: for file in `git ls-files`; do if [ "${file##*.}" !=3D bin ] && [ "${file#= #*.}" !=3D bmp ] && [ "${file##*.}" !=3D a ] && [ "${file##*.}" !=3D lib ] = && [ "${file##*.}" !=3D cer ] && [ "${file##*.}" !=3D pyd ] &&[ "${file##*.= }" !=3D pem ] && [ "${file##*.}" !=3D raw ]; then file $file | grep -v "CRL= F" | grep -v ": directory"; fi; done The command list files referenced in git, then excludes files with specifi= c extensions, excludes directories, and excludes files with CRLF line endin= gs. I believe some of them should have CRLF line endings if this is the defaul= t in edk2. I am mainly thinking about the ".rtf", ".py" and ".txt" files. F= or the actual bash scripts, maybe a ".gitattributes" file can be created in= edk2 to explicitly make them use LF line endings. This can be done by sett= ing this attribute: "eol=3Dlf". This ".gitattributes" file would then be parsed by the PatchCHeck.py scrip= t not to trigger an error for files having the later attribute. Regards, Pierre List of files obtained by running the command above, (maybe it needs some = more filters): BaseTools/Bin/CYGWIN_NT-5.1-i686/BootSectImage: Bourne-Again shell script,= ASCII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/BuildEnv: Bourne-Again shell script, ASCI= I text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/Ecc: Bourne-Again shell script, ASCII tex= t executable BaseTools/Bin/CYGWIN_NT-5.1-i686/EfiLdrImage: Bourne-Again shell script, A= SCII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/EfiRom: Bourne-Again shell script, ASCII = text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenCrc32: Bourne-Again shell script, ASCI= I text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenDepex: Bourne-Again shell script, ASCI= I text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenFds: Bourne-Again shell script, ASCII = text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenFfs: Bourne-Again shell script, ASCII = text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenFv: Bourne-Again shell script, ASCII t= ext executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenFw: Bourne-Again shell script, ASCII t= ext executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenPage: Bourne-Again shell script, ASCII= text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenSec: Bourne-Again shell script, ASCII = text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GenVtf: Bourne-Again shell script, ASCII = text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/GnuGenBootSector: Bourne-Again shell scri= pt, ASCII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/LzmaCompress: Bourne-Again shell script, = ASCII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/LzmaF86Compress: Bourne-Again shell scrip= t, ASCII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/RunBinToolFromBuildDir: Bourne-Again shel= l script, ASCII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/RunToolFromSource: Bourne-Again shell scr= ipt, ASCII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/Split: Bourne-Again shell script, ASCII t= ext executable BaseTools/Bin/CYGWIN_NT-5.1-i686/TargetTool: Bourne-Again shell script, AS= CII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/TianoCompress: Bourne-Again shell script,= ASCII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/Trim: Bourne-Again shell script, ASCII te= xt executable BaseTools/Bin/CYGWIN_NT-5.1-i686/VfrCompile: Bourne-Again shell script, AS= CII text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/VolInfo: Bourne-Again shell script, ASCII= text executable BaseTools/Bin/CYGWIN_NT-5.1-i686/build: Bourne-Again shell script, ASCII t= ext executable BaseTools/BinWrappers/PosixLike/BPDG: Bourne-Again shell script, ASCII tex= t executable BaseTools/BinWrappers/PosixLike/Brotli: Bourne-Again shell script, ASCII t= ext executable BaseTools/BinWrappers/PosixLike/BrotliCompress: Bourne-Again shell script,= ASCII text executable BaseTools/BinWrappers/PosixLike/DevicePath: Bourne-Again shell script, ASC= II text executable BaseTools/BinWrappers/PosixLike/Ecc: Bourne-Again shell script, ASCII text= executable BaseTools/BinWrappers/PosixLike/EfiRom: Bourne-Again shell script, ASCII t= ext executable BaseTools/BinWrappers/PosixLike/GenCrc32: Bourne-Again shell script, ASCII= text executable BaseTools/BinWrappers/PosixLike/GenDepex: Bourne-Again shell script, ASCII= text executable BaseTools/BinWrappers/PosixLike/GenFds: Bourne-Again shell script, ASCII t= ext executable BaseTools/BinWrappers/PosixLike/GenFfs: Bourne-Again shell script, ASCII t= ext executable BaseTools/BinWrappers/PosixLike/GenFv: Bourne-Again shell script, ASCII te= xt executable BaseTools/BinWrappers/PosixLike/GenFw: Bourne-Again shell script, ASCII te= xt executable BaseTools/BinWrappers/PosixLike/GenPatchPcdTable: Bourne-Again shell scrip= t, ASCII text executable BaseTools/BinWrappers/PosixLike/GenSec: Bourne-Again shell script, ASCII t= ext executable BaseTools/BinWrappers/PosixLike/GenerateCapsule: Bourne-Again shell script= , ASCII text executable BaseTools/BinWrappers/PosixLike/LzmaCompress: Bourne-Again shell script, A= SCII text executable BaseTools/BinWrappers/PosixLike/LzmaF86Compress: Bourne-Again shell script= , ASCII text executable BaseTools/BinWrappers/PosixLike/PatchPcdValue: Bourne-Again shell script, = ASCII text executable BaseTools/BinWrappers/PosixLike/Pkcs7Sign: Bourne-Again shell script, ASCI= I text executable BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys: Bourne-Again sh= ell script, ASCII text executable BaseTools/BinWrappers/PosixLike/Rsa2048Sha256Sign: Bourne-Again shell scri= pt, ASCII text executable BaseTools/BinWrappers/PosixLike/Split: Bourne-Again shell script, ASCII te= xt executable BaseTools/BinWrappers/PosixLike/TargetTool: Bourne-Again shell script, ASC= II text executable BaseTools/BinWrappers/PosixLike/TianoCompress: Bourne-Again shell script, = ASCII text executable BaseTools/BinWrappers/PosixLike/Trim: Bourne-Again shell script, ASCII tex= t executable BaseTools/BinWrappers/PosixLike/UPT: Bourne-Again shell script, ASCII text= executable BaseTools/BinWrappers/PosixLike/VfrCompile: Bourne-Again shell script, ASC= II text executable BaseTools/BinWrappers/PosixLike/VolInfo: Bourne-Again shell script, ASCII = text executable BaseTools/BinWrappers/PosixLike/build: Bourne-Again shell script, ASCII te= xt executable BaseTools/BuildEnv: ASCII text BaseTools/Source/C/VfrCompile/Pccts/KNOWN_PROBLEMS.txt: data BaseTools/Source/C/VfrCompile/Pccts/history.ps: PostScript document text c= onforming DSC level 3.0 BaseTools/Source/Python/Ecc/CParser3/__init__.py: empty BaseTools/Source/Python/Ecc/CParser4/__init__.py: empty BaseTools/Source/Python/Eot/CParser3/__init__.py: empty BaseTools/Source/Python/Eot/CParser4/__init__.py: empty BaseTools/Source/Python/Pkcs7Sign/TestRoot.cer.gEfiSecurityPkgTokenSpaceGu= id.PcdPkcs7CertBuffer.inc: ASCII text, with very long lines, with no line t= erminators BaseTools/Source/Python/Pkcs7Sign/TestRoot.cer.gFmpDevicePkgTokenSpaceGuid= .PcdFmpDevicePkcs7CertBufferXdr.inc: ASCII text, with very long lines, with= no line terminators BaseTools/UserManuals/Build_Utility_Man_Page.rtf: Rich Text Format data, v= ersion 1, unknown character set BaseTools/UserManuals/EfiRom_Utility_Man_Page.rtf: Rich Text Format data, = version 1, unknown character set BaseTools/UserManuals/GenCrc32_Utility_Man_Page.rtf: Rich Text Format data= , version 1, unknown character set BaseTools/UserManuals/GenDepex_Utility_Man_Page.rtf: Rich Text Format data= , version 1, unknown character set BaseTools/UserManuals/GenFds_Utility_Man_Page.rtf: Rich Text Format data, = version 1, unknown character set BaseTools/UserManuals/GenFfs_Utility_Man_Page.rtf: Rich Text Format data, = version 1, unknown character set BaseTools/UserManuals/GenFv_Utility_Man_Page.rtf: Rich Text Format data, v= ersion 1, unknown character set BaseTools/UserManuals/GenFw_Utility_Man_Page.rtf: Rich Text Format data, v= ersion 1, unknown character set BaseTools/UserManuals/GenPatchPcdTable_Utility_Man_Page.rtf: Rich Text For= mat data, version 1, unknown character set BaseTools/UserManuals/GenSec_Utility_Man_Page.rtf: Rich Text Format data, = version 1, unknown character set BaseTools/UserManuals/Intel_UEFI_Packaging_Tool_Man_Page.rtf: Rich Text Fo= rmat data, version 1, unknown character set BaseTools/UserManuals/LzmaCompress_Utility_Man_Page.rtf: Rich Text Format = data, version 1, unknown character set BaseTools/UserManuals/PatchPcdValue_Utility_Man_Page.rtf: Rich Text Format= data, version 1, unknown character set BaseTools/UserManuals/SplitFile_Utility_Man_Page.rtf: Rich Text Format dat= a, version 1, unknown character set BaseTools/UserManuals/TargetTool_Utility_Man_Page.rtf: Rich Text Format da= ta, version 1, unknown character set BaseTools/UserManuals/TianoCompress_Utility_Man_Page.rtf: Rich Text Format= data, version 1, unknown character set BaseTools/UserManuals/Trim_Utility_Man_Page.rtf: Rich Text Format data, ve= rsion 1, unknown character set BaseTools/UserManuals/UtilityManPage_template.rtf: Rich Text Format data, = version 1, unknown character set BaseTools/UserManuals/VfrCompiler_Utility_Man_Page.rtf: Rich Text Format d= ata, version 1, unknown character set BaseTools/UserManuals/VolInfo_Utility_Man_Page.rtf: Rich Text Format data,= version 1, unknown character set CryptoPkg/Library/Include/internal/dso_conf.h: C source, ASCII text CryptoPkg/Library/OpensslLib/process_files.pl: Perl script text executable EmbeddedPkg/Library/FdtLib/TODO: ASCII text EmbeddedPkg/Library/FdtLib/fdt_overlay.c: C source, ASCII text EmulatorPkg/Unix/.gdbinit: ASCII text EmulatorPkg/Unix/GdbRun.sh: ASCII text EmulatorPkg/Unix/Host/X11IncludeHack: ASCII text, with no line terminators EmulatorPkg/Unix/Xcode/xcode_project32/XcodeBuild.sh: Bourne-Again shell s= cript, ASCII text executable EmulatorPkg/Unix/Xcode/xcode_project32/xcode_project.xcodeproj/default.pbx= user: ASCII text EmulatorPkg/Unix/Xcode/xcode_project32/xcode_project.xcodeproj/project.pbx= proj: ASCII text EmulatorPkg/Unix/Xcode/xcode_project64/XcodeBuild.sh: Bourne-Again shell s= cript, ASCII text executable EmulatorPkg/Unix/Xcode/xcode_project64/xcode_project.xcodeproj/default.pbx= user: ASCII text EmulatorPkg/Unix/Xcode/xcode_project64/xcode_project.xcodeproj/project.pbx= proj: ASCII text EmulatorPkg/Unix/lldbinit: ASCII text EmulatorPkg/build.sh: Bourne-Again shell script, ASCII text executable OvmfPkg/QemuVideoDxe/VbeShim.sh: POSIX shell script, ASCII text executable OvmfPkg/build.sh: Bourne-Again shell script, ASCII text executable edksetup.sh: ASCII text -----Original Message----- From: Feng, Bob C =20 Sent: 28 June 2020 08:34 To: devel@edk2.groups.io; Pierre Gondois Cc: Sami Mujawar ; Tomas Pilar = ; Gao, Liming ; nd Subject: RE: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into O= BJ file Hi Pierre, I met a problem when I push your patch set. If I change the CRLF to a unix format EOL, the patch can't pass PatchCheck= .py. If I don't change the CRLF, The build on Linux will fail. So I can't make the patch set pass the CI. Could you share me how did you do to make your PR 729 pass? Thanks, Bob -----Original Message----- From: devel@edk2.groups.io On Behalf Of PierreGondo= is Sent: Thursday, June 25, 2020 5:31 PM To: devel@edk2.groups.io; Feng, Bob C Cc: Sami Mujawar ; Tomas Pilar = ; Gao, Liming ; nd Subject: Re: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into O= BJ file Hello Bob, I believe the line endings of the BaseTools/BinWrappers/PosixLike/AmlToC s= cript have been modified to CRLF when I sent the patch. I created a pull re= quest from the linked github branch noted in the patches. It is available a= t https://github.com/PierreARM/edk2/commits/803_Compile_AML_bytecode_array_= into_OBJ_file_v3 . The pull request is available here (to show the result o= f the CI tests) https://github.com/tianocore/edk2/pull/729 . Do you want a v4 or is it possible to pull the patches from the github rep= ository? Sorry for the inconvenience. Regards, Pierre -----Original Message----- From: devel@edk2.groups.io On Behalf Of Bob Feng vi= a groups.io Sent: 24 June 2020 16:16 To: devel@edk2.groups.io; Pierre Gondois Cc: Sami Mujawar ; Tomas Pilar = ; Gao, Liming ; nd Subject: Re: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into O= BJ file Hi Pierre, There are some build failed in OpenCI. Would you please check it? https://github.com/tianocore/edk2/pull/727 Thanks, Bob -----Original Message----- From: devel@edk2.groups.io On Behalf Of PierreGondo= is Sent: Wednesday, June 24, 2020 5:09 PM To: devel@edk2.groups.io Cc: Pierre Gondois ; sami.mujawar@arm.com; tomas.p= ilar@arm.com; Feng, Bob C ; Gao, Liming ; nd@arm.com Subject: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into OBJ f= ile Following the BZ at https://bugzilla.tianocore.org/show_bug.cgi?id=3D2425 This patch serie is a another way to solve the dependency of C files over = ASL files. With this new method, the dependency is resolved at the linking = stage. The last method to solve this dependency was to add the possibility to mod= ify INF files to depict such a dependency. This method was not accepted. Th= e discussion is available at https://edk2.groups.io/g/devel/topic/72655342#= 56658 The last patch modifying the INF specification and INF parsing are availab= le at: https://edk2.groups.io/g/devel/topic/72655342#56658 https://edk2.groups.io/g/devel/topic/72656060#56662 Pierre Gondois (4): BaseTools: Generate multiple rules when multiple output files BaseTools: Rename AmlToHex script to AmlToC BaseTools: Compile AML bytecode arrays into .obj file BaseTools: Fix string concatenation BaseTools/BinWrappers/PosixLike/{AmlToHex =3D> AmlToC} | 28= +++---- BaseTools/BinWrappers/WindowsLike/{AmlToHex.bat =3D> AmlToC.bat} | 0 BaseTools/Conf/build_rule.template | 15 += ++- BaseTools/Source/Python/{AmlToHex/AmlToHex.py =3D> AmlToC/AmlToC.py} | 82= ++++++++------------ BaseTools/Source/Python/AutoGen/BuildEngine.py | 2 += - BaseTools/Source/Python/AutoGen/GenMake.py | 6 += + BaseTools/Source/Python/AutoGen/ModuleAutoGen.py | 38 += ++++---- 7 files changed, 89 insertions(+), 82 deletions(-) rename BaseTools/BinW= rappers/PosixLike/{AmlToHex =3D> AmlToC} (97%) rename BaseTools/BinWrapper= s/WindowsLike/{AmlToHex.bat =3D> AmlToC.bat} (100%) rename BaseTools/Sourc= e/Python/{AmlToHex/AmlToHex.py =3D> AmlToC/AmlToC.py} (52%) -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'