From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c05::22b; helo=mail-pg0-x22b.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com [IPv6:2607:f8b0:400e:c05::22b]) (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 4F397222DE12C for ; Mon, 12 Feb 2018 04:13:43 -0800 (PST) Received: by mail-pg0-x22b.google.com with SMTP id g2so7392255pgn.7 for ; Mon, 12 Feb 2018 04:19:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version; bh=0M/il+qEisRnPuabyaSzvZmbnp/R/zXOtPgIVO5xOOo=; b=PxWdMExbsMZ6Q4IRDFnjOesS9mR2I+htr3+89gKzzaNFvkYMxGbvOYOBOQig+EdTb3 qaPE6wuShIK9k3bZoFF1tnE9SerRb44aTE289kIR7yNgnz8z2qDkhk3EmhtScKPAY+f2 2qHMjiVPekC9rb8KwDQLUZFqR0wm7kD0pvB2o= 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:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version; bh=0M/il+qEisRnPuabyaSzvZmbnp/R/zXOtPgIVO5xOOo=; b=A3901mEznhWe77yZCNHHV45CQrk2K3f62Jybta/mp+TxbAnxhrZa+LkKtXr4cAA7IE s43r98VbWEJ5zB/Ly7D/xbgxEGR3+ADaigQV98WTtZ2vW9FyY5CJKDXnPjoXxtkFGtvw tFNQ+1cWeD//QR1kVE+tGS9jp0SP2f9aVBruM6pXce9+0r5rh5JiIRwg6p53Zxirqk0E qQQJSE/PcLjhYsUi2sMu+fdslzAlqAhmDGmih2UUCKn0L/SlYkdMPpGLMhoq1BJUIg7v JQvN5/wNTyzUxCsVPmoIPGFPnpHOw2tiFXBsr7TynFj3GJGoBp1Ii3bj7ZTbuRVXNGNu NoDw== X-Gm-Message-State: APf1xPAPg+6pcwfny/pkeyej8Mm/cHt8P4sHaRdRAt8CgcpL7Qs4W/+O u6CLLY3HQ94iklfRciPZJk0Q7Q== X-Google-Smtp-Source: AH8x2271bnklk9DqZ5baNvWhbmzSX2Fu1nSpKmpGsuvfu9cTcjkUeoi7lIvCHf2Rw/NFgqcnJ/rEXA== X-Received: by 10.101.80.72 with SMTP id k8mr9060688pgo.361.1518437972191; Mon, 12 Feb 2018 04:19:32 -0800 (PST) Received: from CY1PR15MB0730.namprd15.prod.outlook.com ([132.245.253.237]) by smtp.gmail.com with ESMTPSA id j7sm6191992pfh.39.2018.02.12.04.19.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Feb 2018 04:19:31 -0800 (PST) From: Haojian Zhuang To: Ard Biesheuvel , Haojian Zhuang CC: Leif Lindholm , "edk2-devel@lists.01.org" , "heyi.guo@linaro.org" , "linaro-uefi@lists.linaro.org" Thread-Topic: [edk2] [PATCH v2 3/4] Platform/Hisilicon: move out dxe runtime lib from common file Thread-Index: AQHTocvf6rQiVfNvrkKm7rrjsKoICaOgqkIAgAAAY8yAAAVaAIAAAyMp X-MS-Exchange-MessageSentRepresentingType: 2 Date: Mon, 12 Feb 2018 12:19:29 +0000 Message-ID: References: <1518197467-32526-1-git-send-email-haojian.zhuang@linaro.org> <1518197467-32526-4-git-send-email-haojian.zhuang@linaro.org> <20180212114506.gfu4hfz566jg7vvw@bivouac.eciton.net> , In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 MIME-Version: 1.0 Subject: Re: [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: , X-List-Received-Date: Mon, 12 Feb 2018 12:13:43 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >From: Ard Biesheuvel =0A= >Sent: Monday, February 12, 2018 12:05 PM=0A= >To: Haojian Zhuang=0A= >Cc: Leif Lindholm; edk2-devel@lists.01.org; heyi.guo@linaro.org; ard.sheuv= el@linaro.org; linaro-uefi@lists.linaro.org=0A= >Subject: Re: [edk2] [PATCH v2 3/4] Platform/Hisilicon: move out dxe runtim= e lib from common file=0A= >=0A= >On 12 February 2018 at 11:47, Haojian Zhuang w= rote:=0A= >>>From: Leif Lindholm =0A= >>>Sent: Monday, February 12, 2018 11:45 AM=0A= >>>To: Haojian Zhuang=0A= >>>Cc: edk2-devel@lists.01.org; linaro-uefi@lists.linaro.org; ard.sheuvel@l= inaro.org; heyi.guo@linaro.org=0A= >>>Subject: Re: [PATCH v2 3/4] Platform/Hisilicon: move out dxe runtime lib= from common file=0A= >>>=0A= >>>On Sat, Feb 10, 2018 at 01:31:06AM +0800, Haojian Zhuang wrote:=0A= >>>> With the SerialPortLib and DebugLib, Dxe runtime driver can't=0A= >>>> be executed well on HiKey. Serial logs are missing.=0A= >>>=0A= >>>"Can't be executed well"? Does this mean it crashes?=0A= >>=0A= >> No crash. Serial output are missing since SerialPortLib is different.=0A= >>=0A= >=0A= >Does this driver take care to only create serial output at boot time?=0A= >Does it, e.g., call EfiAtRuntime() or use a notification callback at=0A= >ExitBootServices to make absolutely sure the serial port is no longer=0A= >used?=0A= =0A= These drivers don't use serial port directly. But I tried to use DEBUG () = =0A= function to dump some debug informations in these drivers. I found =0A= that I can't output anything on serial console.=0A= =0A= Best Regards=0A= Haojian=