From patchwork Mon Dec 17 18:53:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 154034 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2803949ljp; Mon, 17 Dec 2018 10:53:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/URI8ieDBMn19AhwCTo3wLo9QHJe1J90unbKEdYeYmgSLEYXM1hXy42eg7PRilIYndpw8Yw X-Received: by 2002:a62:6e07:: with SMTP id j7mr14260025pfc.135.1545072839429; Mon, 17 Dec 2018 10:53:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545072839; cv=none; d=google.com; s=arc-20160816; b=ujH0JbtBBLQuK3TctQJVDpwahQCzdMV3wMZVgEL1PPchgwxhAE78sI7X3jsCHBNslg alq3JkcXbp/dcmd9NHZnu16JmifnPjNWpsCrcgpQPlKIs0Moo6wbwk9mW6qjxxrguhJD uCFEO6V/AN+xE1P0dPp+C4TvZz6cK5v+Hza5Ke1Lpbd5cJBLrkUdt9eVicBUAkIY5Hnh rwNWHmCpllBjeQQy4MCn0L+YLl4X047Tjlg+jDa+kLCJTEm0aAnDmWbAZ3G3pEjiFjSn ItmyEl685J7oVpI5FOYtL6H1mlcVe+PDemx0B9sYYQ2nv9Zhnqsb4D3maEQafI7e87Qy iSvw== 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:message-id:date:to:from:dkim-signature :delivered-to; bh=b45s+m2ZHb/h9PExPbuQu82tp7E9M6AaTkeftRY17X0=; b=OgxUyerVneX4S7pJ6QadzNBPy9HowmdGaepjp305I3rh5g3itJA6HpCGv9xARHBDTg Gy1YBH3ChlbOgWu9/qz9+muOmmzHXdpaZeJMueV7Wb1YCq+FDSwGE9PKtpt1FBbr1dkv PjGb6fEGNOz3xzwTQb+Uo76viCq0O2geZ7zn7gozxrALVT5SQ5XJTuFegO8FQUSeFPwq UK0MXUy5CYJo+fiSuVvrnUmL0eCYDVESuYy464ooSs/Z6cHgv1JwG7m650g7MMMl4sPE nCfOUgefjQkqja4wrZIp2YjWK96FmXMZ32NfMh4MmwboU/8AuTUr3QnhNsxoMwA2HBPd whUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RTYcftXw; 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 m8si11585928pgd.555.2018.12.17.10.53.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Dec 2018 10:53:59 -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=RTYcftXw; 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 071D42119BBC2; Mon, 17 Dec 2018 10:53:59 -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=2a00:1450:4864:20::544; helo=mail-ed1-x544.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (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 A8E372119BAD6 for ; Mon, 17 Dec 2018 10:53:57 -0800 (PST) Received: by mail-ed1-x544.google.com with SMTP id p6so11698139eds.0 for ; Mon, 17 Dec 2018 10:53:57 -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; bh=eXEoy6SKLgr82v4OZF8eij2+kRids140x2Q+1JPSSqY=; b=RTYcftXwEy5wc4fg3o723uiPZ+qO+LnyMAkiPnXHBWzQMK6rtJN4J8amfz4fQ9b/kf SbtaK4XRVRNAkFcBrfgo0s95ceOHlYc4JwhW+3Bpzd/wQu+3BVw8r8tARRWX/WCcLpzW INQr255vX5snCL7EeTwNs2L30SP7X0iQg8528= 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; bh=eXEoy6SKLgr82v4OZF8eij2+kRids140x2Q+1JPSSqY=; b=SjBAIYPbTTAtlXu06Os+jlDNIsrsLwnIu6MlodZhir9MAmLtOfk7r7Xbz0swaWkiRZ +OwJBiEpWTylnKEJqGaTJHgFeOUjSiJaGTqAxX2yWsQx6j3ytZX259gbOcMF6bmXXKpN gWeecooEGzDIWTlh39XnBw3dI7r7DIwzTGvBTRjC2Wk0XSM8+KIP5slRo+vdp315dsUm A0C3ZYh4GHyV3kiJ77dvxGAs02+c//3cXaplZzla+IRIxCesn902FmUZAeCmnpvJ3UaW yTJYllWusU9Ep1UIo1p8Lns7MyN6FhPZLbI8r9Xl7xLAymN3TuY9zj8IhT0V6zM4Vs0E SRYA== X-Gm-Message-State: AA+aEWa2SRKZZ1CXsBs6DrMF3hIFjv9HD8INRk5/YDXe/lpnlDDggOdh mMWaN8cPSqfzuRU3ye3jlvjhnkuC3UPGm696 X-Received: by 2002:a17:906:49c2:: with SMTP id w2-v6mr11030567ejv.117.1545072835874; Mon, 17 Dec 2018 10:53:55 -0800 (PST) Received: from mba13.arnhem.chello.nl (dhcp-077-251-017-237.chello.nl. [77.251.17.237]) by smtp.gmail.com with ESMTPSA id u33sm4106680edm.88.2018.12.17.10.53.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Dec 2018 10:53:55 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Mon, 17 Dec 2018 19:53:53 +0100 Message-Id: <20181217185353.24723-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Subject: [edk2] [PATCH] Platform/FVP-AArch64: use different serial ports for DEBUG and console X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 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" The FVP models expose several emulated serial ports, and always start with Xterm windows connected to at least two of them. So let's switch to the second one for DEBUG output, leaving the original one for console output via SerialDxe. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Leif Lindholm diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc b/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc index 7094e57ee13a..7db1c675c3d9 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc +++ b/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc @@ -125,7 +125,7 @@ gArmPlatformTokenSpaceGuid.PcdSP805WatchdogClockFrequencyInHz|24000000 ## PL011 - Serial Terminal - gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c090000 + gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c0a0000 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth|0 @@ -239,7 +239,10 @@ MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf - MdeModulePkg/Universal/SerialDxe/SerialDxe.inf + MdeModulePkg/Universal/SerialDxe/SerialDxe.inf { + + gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c090000 + } MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf