From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hqnvemgate26.nvidia.com (hqnvemgate26.nvidia.com [216.228.121.65]) by mx.groups.io with SMTP id smtpd.web11.11653.1581111145272110638 for ; Fri, 07 Feb 2020 13:32:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nvidia.com header.s=n1 header.b=QcOAd4ri; spf=pass (domain: nvidia.com, ip: 216.228.121.65, mailfrom: jbrasen@nvidia.com) Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 07 Feb 2020 13:32:10 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 07 Feb 2020 13:32:24 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 07 Feb 2020 13:32:24 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 7 Feb 2020 21:32:24 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 7 Feb 2020 21:32:24 +0000 Received: from jbrasen-ux.nvidia.com (Not Verified[10.28.48.132]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Fri, 07 Feb 2020 13:32:24 -0800 From: "Jeff Brasen" To: CC: , , Jeff Brasen Subject: [PATCH] ArmPlatformPkg/Ds5: Increase path length to 400 Date: Fri, 7 Feb 2020 14:32:08 -0700 Message-ID: <62e4d256aa2ceaa2633293325a664069b854ae8b.1581110894.git.jbrasen@nvidia.com> X-Mailer: git-send-email 2.17.1 X-NVConfidentiality: public Return-Path: jbrasen@nvidia.com MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1581111130; bh=InZx9LZgMbx+IIr4NFNeDjg6JEsKHd6Wnxgn4vTqmBQ=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=QcOAd4riNUm/V0zQFO/MBUfbS+gnIwJv4SIqR7ycTUcZbSEwv22DCUcmNg4S7pbT5 Pv4nvT7CThRUnu5Itl8xlr7bLo3FZZtyioYWAhMXi2F6VRKGTEjXbmOcC8qhcNlkkc 5xO+WQcqBrq2RZ++eqx3+Um7AoO4kcyPiVNBk5uIz3Z0Uf8gTuB9dmRrcCG/CdelTy yY5phY+WUCmw5sNpixw0jtQrNDKPiLyRJGd4vgZAMK54kNeOrOj/MMaM9UnHnxULN+ cbml2d0mpAzyqVkFH9JpOPUyTRs+LNEMF/hz4/JKNAPJ2+06xGO1U3RrxSDfUgTpOs ETYlh9zboqVmA== Content-Type: text/plain Increase length of path that can be read from system from 200 to 400 to allow for longer build paths. Signed-off-by: Jeff Brasen --- ArmPlatformPkg/Scripts/Ds5/firmware_volume.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArmPlatformPkg/Scripts/Ds5/firmware_volume.py b/ArmPlatformPkg/Scripts/Ds5/firmware_volume.py index 9c06835776..c6d1ca830a 100644 --- a/ArmPlatformPkg/Scripts/Ds5/firmware_volume.py +++ b/ArmPlatformPkg/Scripts/Ds5/firmware_volume.py @@ -81,7 +81,7 @@ class EfiSectionTE: filename = self.base_te + debug_rva + 0xc else: filename = self.base_te + debug_rva + 0x10 - filename = struct.unpack("200s", self.ec.getMemoryService().read(filename, 200, 32))[0] + filename = struct.unpack("400s", self.ec.getMemoryService().read(filename, 400, 32))[0] return filename[0:string.find(filename,'\0')] def get_debug_elfbase(self): @@ -119,7 +119,7 @@ class EfiSectionPE32: filename = self.base_pe32 + debug_rva + 0xc else: filename = self.base_pe32 + debug_rva + 0x10 - filename = struct.unpack("200s", self.ec.getMemoryService().read(str(filename), 200, 32))[0] + filename = struct.unpack("400s", self.ec.getMemoryService().read(str(filename), 400, 32))[0] return filename[0:string.find(filename,'\0')] def get_debug_elfbase(self): @@ -154,7 +154,7 @@ class EfiSectionPE64: filename = self.base_pe64 + debug_rva + 0xc else: filename = self.base_pe64 + debug_rva + 0x10 - filename = struct.unpack("200s", self.ec.getMemoryService().read(str(filename), 200, 32))[0] + filename = struct.unpack("400s", self.ec.getMemoryService().read(str(filename), 400, 32))[0] return filename[0:string.find(filename,'\0')] def get_debug_elfbase(self): -- 2.17.1