From patchwork Fri Feb 9 17:31:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 127879 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp832058ljc; Fri, 9 Feb 2018 09:31:50 -0800 (PST) X-Google-Smtp-Source: AH8x2278LqfAu6/lMKLsZxDl67lD2NtMuIH4z4fvHULJ25m4KvRqS7JaVOCSFy5ivOE4LV/u1Non X-Received: by 2002:a17:902:1703:: with SMTP id i3-v6mr3215590pli.145.1518197510844; Fri, 09 Feb 2018 09:31:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518197510; cv=none; d=google.com; s=arc-20160816; b=Qe6MSHiAV7BvEkACKgN+fM71RGyrAahgLROGhuAeyOiWbKpAZbVPXJhf3a/jT1hV55 BdavRozHjSo5XcdbTgCoo2SRAoEJbjWobi5nLH3dZhbaTraYVJgS8QS5dYc8QEhohIhO 7ieTiAJwD16apY0LyJi3nnCbdu/ML9+EJFepHTV3Uv0NDc0vh51wkK60QNVFSOvTD4bx Vgn7o1kYZ3OlsqFwZeSRdXz4NY3D0uf5zsd1dz4tWhyPyniaojC5k/LBudlCAeWLr6r2 4zH7wCgRKdsdmOzgHHQXqujZEvry18si2I4x/y2pq2rP1ffHibkhvtBA6L2g+SsfgJw5 /vHA== 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:cc :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=V3Rr90zWqN3Yu/mu9dkeD9NYdpRQTgkeOWxLPX1+YV8=; b=iVWaZuyl14Qa82OWfR7LM1NtHP7rxcqfh1alkEUdUm0RbWXAdVsB0qtbmybpHu+Oro 5HiPWvxFM9A41H+5xUOw083zdhxs4+E88RaQnieO9uEGBNiXiL1Hgp9/UBkmBa7hTVf9 pJkKc2MCe9fZ6JkE1nssl+5hmKs1FR9Z1WnGkMVQ1Mn3zNz+gL+tKu/AhHS1734ZagCw BsX0xYdG+k37MK3phcHqgcPZzYdymmjxFdCE2UHulRz61Lz6YkPFrEft1HV1P5LWO72e 7GnqYwsVFujrHBLymzVFNk4LDi6UlL6P/fc4aBVgbwwkcnKxsRuNUcJGCnSqLGGbdb2A PdIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HQmrKVBI; 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 b74si167685pga.503.2018.02.09.09.31.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 09:31:50 -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=HQmrKVBI; 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 0275621F0DA7F; Fri, 9 Feb 2018 09:26:04 -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:c01::244; helo=mail-pl0-x244.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) (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 AE6C2223DB787 for ; Fri, 9 Feb 2018 09:26:02 -0800 (PST) Received: by mail-pl0-x244.google.com with SMTP id 13so1764742plb.5 for ; Fri, 09 Feb 2018 09:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ovldh3K6kVIvBU7QL9GxWd6zZ8lLndHd9nWSmgtfzbc=; b=HQmrKVBI4cfB6f2zocfFYQm0oug6G6RXq1DGYln1s7JEKUNmCqV0+bcnVYnbb3BKrA otPXodhR0Klh8DmrtzWRynLxdvtomHPksSgmTVGTzl0BKy66uOxaKDGgqYocgeZqQ/vE Y5s3bQKG9llFXctQtiCIQx3XGuidVrH3YewGw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ovldh3K6kVIvBU7QL9GxWd6zZ8lLndHd9nWSmgtfzbc=; b=mZAqxb6+N/+/LwoXUSU02Ns6PygeAd7XKFGp/hs73eGtomtxLiVFSUJTTwUfPjTkto gZFwsBDwMcgCShqRlMYB7l7Y51FXksD9hZFoc/0n8W+mP8c9S/bFhFeCYSvDKviFxeED ySU39OQgReJoKh6yA74Z1T3rl7578aHZWysxdBragPunm0TzOc4Vlh2gKaj5YDP0cNZS MBNmpBJnqr7YOtOHJ/84aFziVpkZAmtgybx5cq07TMgr+ueMpjoOiFvWvGb9aZhSnn3a u98AxZHK48GOtcIDiXa5wzfhF9dbJcSBm4WXiT7wTbSCQmbxV4+LBXEsJxqXfUnEDgl1 U0DA== X-Gm-Message-State: APf1xPCN5Rtj7VBMnKToQibm9yMYB4ECUKMW1jkYqK8yvqPI/oHv0cKt T28C4tDqrVfGDTa/coNCUdAIeBHjRBs= X-Received: by 2002:a17:902:67:: with SMTP id 94-v6mr3221715pla.183.1518197508508; Fri, 09 Feb 2018 09:31:48 -0800 (PST) Received: from localhost.localdomain ([64.64.108.141]) by smtp.gmail.com with ESMTPSA id b123sm7001993pfb.179.2018.02.09.09.31.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Feb 2018 09:31:47 -0800 (PST) From: Haojian Zhuang To: edk2-devel@lists.01.org, linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, ard.sheuvel@linaro.org, heyi.guo@linaro.org Date: Sat, 10 Feb 2018 01:31:06 +0800 Message-Id: <1518197467-32526-4-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518197467-32526-1-git-send-email-haojian.zhuang@linaro.org> References: <1518197467-32526-1-git-send-email-haojian.zhuang@linaro.org> Subject: [edk2] [PATCH v2 3/4] Platform/Hisilicon: move out dxe runtime lib from common file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haojian Zhuang MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" With the SerialPortLib and DebugLib, Dxe runtime driver can't be executed well on HiKey. Serial logs are missing. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/D02/Pv660D02.dsc | 2 ++ Platform/Hisilicon/D03/D03.dsc | 1 + Platform/Hisilicon/D05/D05.dsc | 1 + Silicon/Hisilicon/Hisilicon.dsc.inc | 2 -- 4 files changed, 4 insertions(+), 2 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Hisilicon/D02/Pv660D02.dsc b/Platform/Hisilicon/D02/Pv660D02.dsc index 9e826ae..018e149 100644 --- a/Platform/Hisilicon/D02/Pv660D02.dsc +++ b/Platform/Hisilicon/D02/Pv660D02.dsc @@ -80,6 +80,8 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf + SerialPortLib|Silicon/Hisilicon/Library/Dw8250SerialPortRuntimeLib/Dw8250SerialPortRuntimeLib.inf + DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf [BuildOptions] GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/Silicon/Hisilicon/Pv660/Include diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc index c496306..b9bce66 100644 --- a/Platform/Hisilicon/D03/D03.dsc +++ b/Platform/Hisilicon/D03/D03.dsc @@ -97,6 +97,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf SerialPortLib|Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.inf + DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf [BuildOptions] GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/Silicon/Hisilicon/Hi1610/Include diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc index 0792b08..dfee09b 100644 --- a/Platform/Hisilicon/D05/D05.dsc +++ b/Platform/Hisilicon/D05/D05.dsc @@ -105,6 +105,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf + DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf [BuildOptions] GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/Silicon/Hisilicon/Hi1616/Include diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc b/Silicon/Hisilicon/Hisilicon.dsc.inc index 5766829..b5b9e7e 100644 --- a/Silicon/Hisilicon/Hisilicon.dsc.inc +++ b/Silicon/Hisilicon/Hisilicon.dsc.inc @@ -208,8 +208,6 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf - SerialPortLib|Silicon/Hisilicon/Library/Dw8250SerialPortRuntimeLib/Dw8250SerialPortRuntimeLib.inf - DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf [LibraryClasses.AARCH64] ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf