From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (NAM04-DM6-obe.outbound.protection.outlook.com [40.107.102.55]) by mx.groups.io with SMTP id smtpd.web10.1631.1630528114586582567 for ; Wed, 01 Sep 2021 13:28:34 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=nfUbR7Mm; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.102.55, mailfrom: jbrasen@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W4Gr084kaFNqok39J5E8yTGrw/MxdLlU3ioyIlNR58O96LIWZZ/k3kd2PfNJSk0Tn04d25rD8TTd1nc52irgIvKmiwZ9GPC1tBSwY4vEEQO4kWjd5gPKt2k+Myp+p/7fQdQCi6m5FdA45jTqV5Tgrp9DRtYFaK4KlZTitPKAQkY8880XOnSX+ahR+POC0G6QDRid2Z8BltCjq5MuFtiEDYgKxXuSrI+FnJlwvuM3oK8morXqUSD2quh3bjzGZHd05KncTr76QLePl525h3h5UEmjHO7+UHPJbvblUgCu5oed2fvDWj05/wOxjo3FdqNy7vl1oyEakInRactyGxMRiQ== 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=78PQwB67Wm57ILBtaT23OK/jgMm2kh8hRc5djC+ay+I=; b=eMQCdv1livcV8wmhf2rIZl5xBQYrEiIAeninXfG9+Xgpmbdzd+QKUoALLRjPd74diNwzkECooJdCO+sKG+TeKBlC210QnV8uXDtE2cvglFiSRFX9Ixg22NFDnySjb2I0eConECm+tbzFiqRavuqO9tHYBEanSpk2QI1WyONsSFUG6V3XDeEXObENR7U8a08AaJyOohba5NRVZoIqLgOM1ncF3/pSWo5Ko+99oZ1wFpEPQEnChzq1ba1k9QtcKl/FADZlK6zMptJd9bmTQjKZQQqWEemkkSVTHWjX2nSaZFCb7lQu8rqcmXH85Bvp45H5l2LKSTUr7R1mOqX2t88YBg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.35) smtp.rcpttodomain=hpe.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=78PQwB67Wm57ILBtaT23OK/jgMm2kh8hRc5djC+ay+I=; b=nfUbR7Mmi3FkXI34tpO2oqsCA2e4clpR8wDEk4mSaUfYO8jAgUMzpmw2roab6+p7Cqv9i3J07tz0WV8Mrw/LLBOKeC0UlTvmmo+uB3I9RewDdRE0TFrFUAiKtekSjg1NN3zRZHl85vEmY3/bSXGriT5zB0vf/8pOSeOt6TPnJzZQCpWoQxn4epQL2O+/gPazKIAxIvMI1TmCZSQ/Ef940HSqUvmXmwvhP8zozMv39nglJXHXgwuyxx69jA3i5TCORMpSiUWOpDjsagSQA/Z/tn3N0zgRaKXhy5Au0q1NwjoaZzsbhcozxxwQWAWclkcE7PkskFH4m6hAOoweCSl1CA== Received: from BN0PR04CA0097.namprd04.prod.outlook.com (2603:10b6:408:ec::12) by DM5PR12MB1515.namprd12.prod.outlook.com (2603:10b6:4:6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Wed, 1 Sep 2021 20:28:33 +0000 Received: from BN8NAM11FT033.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ec:cafe::3d) by BN0PR04CA0097.outlook.office365.com (2603:10b6:408:ec::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Wed, 1 Sep 2021 20:28:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.35) smtp.mailfrom=nvidia.com; hpe.com; dkim=none (message not signed) header.d=none;hpe.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.35 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.35; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.35) by BN8NAM11FT033.mail.protection.outlook.com (10.13.177.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4478.19 via Frontend Transport; Wed, 1 Sep 2021 20:28:32 +0000 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Sep 2021 20:28:31 +0000 Received: from build-jbrasen-20210819T103534360.nvidia.com (172.20.187.6) by mail.nvidia.com (172.20.187.10) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 1 Sep 2021 20:28:31 +0000 From: "Jeff Brasen" To: CC: , , , , Jeff Brasen Subject: [PATCH v2 0/2] AndroidBootImgLib improvements Date: Wed, 1 Sep 2021 20:28:25 +0000 Message-ID: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-NVConfidentiality: public Return-Path: jbrasen@nvidia.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: db10a6fb-d97f-43d6-f6e3-08d96d871166 X-MS-TrafficTypeDiagnostic: DM5PR12MB1515: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lj8U7Kd3RwXq5IFoR988JrDhKQTzxIuAvCa4aBjwW1lrFxksXVUmR4uuxYHfXV4pmmmayzFT5qVq6yrpCNtD02DMOYEdSbGUjIfE2CB2MyFgJd4L5GDCl4F561pRN877B7GKcVL1p/acXEjUcvWcV7XokJA/DxrunSO+pl3bwRpRU+ZgTq58AwZZP41qXVYgMFta9DdBV7w/QZ/ZrNETu547/DvUkBrsOQlsLPzk9z3TyVJwW5MeUtbs22/ZvAEr93ArabvbK7WflQQM9hqCsUYR9RB3TbXTwsi1wc/jL/nVUzaTok37G2U9fBLzwVBbgtSCtb1kZg73Zeo4nus3Gk8tcmqs3Aw8T3tmnUZv+qzgIBX2yeANzGQ/lkC1dADNvEPzWcq8DuixbJa8C6+IZMveGs6AQGloSAZCvZMm2T4Iyk4uy5ZBOpXAgH5mNF1jpVyb25S+V8IG6zn0ARWcM00NUOfE6VuoVSCVVthSC/fShpVL08kP0aJnjn+RilvC1vxbGAhsXkZ77t8gUONEvlukbjwwwjv2Fwfs2n3oVqZ7YrrfCTRGA17hy943ATnkziC3WmGLdqzEKcsH0xledxSVFPLthYcvmL6e7g/NBJVpKO+iDvvt7ez6JzHCvhRtLxD4ckgb8C5aDub+h/fZNVlt19pcUqq7oA1qnlBZEAtHAcjtX23obW9Q0Bx9v+ywpAkGSiwFfEfto+7zHQNZoQ== X-Forefront-Antispam-Report: CIP:216.228.112.35;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:schybrid02.nvidia.com;CAT:NONE;SFS:(4636009)(36840700001)(46966006)(7636003)(86362001)(70586007)(6916009)(82310400003)(8676002)(316002)(508600001)(6666004)(356005)(54906003)(107886003)(5660300002)(296002)(36756003)(70206006)(36906005)(4326008)(36860700001)(26005)(47076005)(8936002)(336012)(4744005)(7696005)(2616005)(2906002)(186003)(426003)(83380400001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2021 20:28:32.4951 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db10a6fb-d97f-43d6-f6e3-08d96d871166 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.112.35];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT033.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1515 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Added support for using loadfile2 approach for passing ramdisk to linux. Created patch series for general error handling improvments based on review feedback. [v2] -Added review feedback -General improvements to error handling [v1] - Intial revision Jeff Brasen (2): EmbeddedPkg: AndroidBootImgBoot error handling updates EmbeddedPkg: Add LoadFile2 for linux initrd EmbeddedPkg/EmbeddedPkg.dec | 1 + .../AndroidBootImgLib/AndroidBootImgLib.inf | 3 + .../AndroidBootImgLib/AndroidBootImgLib.c | 193 +++++++++++++++--- 3 files changed, 171 insertions(+), 26 deletions(-) --=20 2.17.1