From patchwork Thu Dec 7 13:34:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kalyan-nagabhirava X-Patchwork-Id: 120975 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8365817qgn; Thu, 7 Dec 2017 05:36:35 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ0fA+uvW9XxSOgpjkmQbsN57SZ8gihnNuZgJc4fSxHopEaQ8Y6M8lpBzrkybamMK7wbiC8 X-Received: by 10.101.101.154 with SMTP id u26mr25718918pgv.416.1512653795101; Thu, 07 Dec 2017 05:36:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512653795; cv=none; d=google.com; s=arc-20160816; b=u/NMrXnV4ef3DtfkfGq6aaDUrwEAVT7+klKZFPAPnyKdPl05aHB9ezI1nlFavu3YlJ o76bl9bPewVYSI4WZ2t05g2699Fs+MfpEoc6ZXYx8vBP521y2ojF8sLEyvliT+JQEgeg c3rnG05C7tfDAdxeGCx2tgXskJwPq6qtRBzODIvXE8DB3xEf9hqyE11huJglsf48hKkU JpYn6FbW/wv7jK7Zr/oB0QOJJFyx8vHhAR8WgcDAEaQDFAs7diJ2UXLRg5IGAyKX1XpW O6fvcl0wITZrk05cEdokhe8ULeF5/u1dV+I9lDYzQzY9Mv1SMayt3rssiA/QRQqRaMOS OBJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=jSJxV2DMWKIk0trcgbCiZY0NIGVopU38UEUd8/aXDsA=; b=KdSGz6z8cBX24yIJFQ2XBHBgdmOLlf14pceEvMwaUyagJpHFnC3B6mcb8Wt519MiZc Yiz1IZkSoAW+px8gxl3y6G7xV4b+66A0r3VBJEuneCoTZDqR+Kz+Nu3nsZzGuD0jM2pG 07QEHuKuIaWPDmpqNC6HhCpjx1UOy5ThfFQbtQMg1tGfLmTj36kj78eC32e3iyqmwaZA K10Up3O07JwRKoSnOdXJv7qsLsf0mSegOMIoyqMslYKZWKzYMlirZbwS0yvdtS8GSHxA Kj6ydNkfbN97w02cpd1cZVs1/XNS8JrSKofu/kMrUZdivqUpZn6x3+lNppQkjLfMxsNl zIgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=C45e+ydZ; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id r3si3748764plb.307.2017.12.07.05.36.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 05:36:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=C45e+ydZ; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 91FFB21B0285F; Thu, 7 Dec 2017 05:32:00 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c00::243; helo=mail-pf0-x243.google.com; envelope-from=kalyankumar.nagabhirava@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1B3CD21B02855 for ; Thu, 7 Dec 2017 05:31:58 -0800 (PST) Received: by mail-pf0-x243.google.com with SMTP id p84so4706363pfd.3 for ; Thu, 07 Dec 2017 05:36:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=GnmjMOoVz2/3fz1k7isoB6BcTR65Y8DWH8Jdx/5uqaw=; b=C45e+ydZnSqGSDTIawT0GIWaRVwyT5ixw8AOFeD+mfbSf1iwD31YHaYqQkmJW2EibT Qu9Rj0KtfLf/J29yBYNwDhq1+8Mfsl8wKs1PC/3cM4uYd4zPd0LoUP/f//FG3GdGQ3KE hblEiLtLvskjhQ/dVs5RODN8ve/uSdU3hxDMc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=GnmjMOoVz2/3fz1k7isoB6BcTR65Y8DWH8Jdx/5uqaw=; b=YAwoMDPaHflNycRcqlfgpx+aXHEyKhobaxB8Ir5ab+Qfx6FlQqlpx7l4FOEd1ihwHz 6SN8xS6qO8Xy/XrjxzqY1zgE1gPMl9I+wEo5zS+Pvv6W75PhL6VakkJnlXcfEA+eOGUK KmCl5T+MLmLkVBIqguumWsJqtNPwqifAOUP5jR7aXIpWaouugTU6GxCUw33a2aVdXL94 qjRB7v89K6st0ArGPrJK7xsxyXS08bVEZv7UB05UDPmDpN6MIerMIR3heXuSBKULQZw0 smRjseu9jcOBnUgfhr2a7ew9GB5Qb50O4mh69wEaI2DcoFe+BteLqbNJtgFNZfiESfSB 8NGQ== X-Gm-Message-State: AJaThX5JcyEG3aJdVKGXZQSRjpoErf6Tl3pk5K9c58OJxy3uqWrb3+eu adBrcU4DbnraZWCU7aKq+K5dKLrpROQ= X-Received: by 10.99.150.9 with SMTP id c9mr25097729pge.386.1512653791508; Thu, 07 Dec 2017 05:36:31 -0800 (PST) Received: from localhost.localdomain ([220.225.120.129]) by smtp.gmail.com with ESMTPSA id o70sm10477059pfk.79.2017.12.07.05.36.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Dec 2017 05:36:30 -0800 (PST) From: kalyan-nagabhirava To: edk2-devel@lists.01.org Date: Thu, 7 Dec 2017 19:04:24 +0530 Message-Id: <20171207133424.24674-4-kalyankumar.nagabhirava@linaro.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171207133424.24674-1-kalyankumar.nagabhirava@linaro.org> References: <20171207133424.24674-1-kalyankumar.nagabhirava@linaro.org> Subject: [edk2] [PATCH v2 3/3] EmbeddedPkg: Httpimage downlaod application X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: kalyan-nagabhirava --- EmbeddedPkg/Application/Dri/Dri.inf | 56 ++++++++++++++++++++ EmbeddedPkg/Application/Dri/Dri.c | 26 +++++++++ 2 files changed, 82 insertions(+) -- 2.15.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/EmbeddedPkg/Application/Dri/Dri.inf b/EmbeddedPkg/Application/Dri/Dri.inf new file mode 100644 index 000000000000..d6f24b48a6b3 --- /dev/null +++ b/EmbeddedPkg/Application/Dri/Dri.inf @@ -0,0 +1,56 @@ +# +# Copyright (c) 2016-2017, Linaro Limited. All rights reserved. +# Copyright (c) 2016-2017, comcast . All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ + +[Defines] + INF_VERSION = 0x00010006 + BASE_NAME = RdkDriLoader + FILE_GUID = 081ba18a-d71e-40a7-99a9-cdb86463966d + MODULE_TYPE = UEFI_APPLICATION + VERSION_STRING = 1.0 + ENTRY_POINT = DriEntryPoint + +[Sources] + Dri.c + +[Packages] + ArmPkg/ArmPkg.dec + ArmPlatformPkg/ArmPlatformPkg.dec + EmbeddedPkg/EmbeddedPkg.dec + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + ShellPkg/ShellPkg.dec + SecurityPkg/SecurityPkg.dec + CryptoPkg/CryptoPkg.dec + NetworkPkg/NetworkPkg.dec + EmbeddedPkg/Library/RdkBootManagerLib/RdkBootManagerLib.dec + +[Guids] + gEfiCertX509Guid + gEfiCertPkcs7Guid + gEfiCustomModeEnableGuid + gEfiImageSecurityDatabaseGuid + gFdtTableGuid + +[LibraryClasses] + RdkBootManagerLib + UefiApplicationEntryPoint + +[Protocols] + gEfiBlockIoProtocolGuid + gEfiDevicePathToTextProtocolGuid diff --git a/EmbeddedPkg/Application/Dri/Dri.c b/EmbeddedPkg/Application/Dri/Dri.c new file mode 100644 index 000000000000..affbac08b602 --- /dev/null +++ b/EmbeddedPkg/Application/Dri/Dri.c @@ -0,0 +1,26 @@ +/* +# Copyright (c) 2016-2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# + */ +#include + +EFI_STATUS +EFIAPI +DriEntryPoint ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + EFI_STATUS Status; + + Status = RdkHttpBoot (); + return Status; +}