From patchwork Tue Jul 7 16:56:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 50845 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2E1AE229FC for ; Tue, 7 Jul 2015 16:57:12 +0000 (UTC) Received: by wgjx7 with SMTP id x7sf62821423wgj.3 for ; Tue, 07 Jul 2015 09:57:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=NsKIM5d6grqKS90TBSYc+YIO3X/dK98sMHMig/czlE4=; b=JU8+W/dYx+jql+aq0ET+PpLhLS1cor5W+Kzbxqo/npQk59PtfPIrUzeXVqqiphHWqF pSJ2yj0GnyyWkKqOEQSx/K/oR2K6CRixsGiMf8ZNzNHLXAtzPxD4DEnnze1WGNZw5VaY OkBCKWKB8NcBrn6WxVHLvOUiAOKCk0zgYajIvp6z2BEhsz8YDZQ2BpeHJqdUT9MPUmgW zVsU9rxATb0cm8mtN6j/USJ/g7bKHH89k8r+BVkchUEEuvkqFjRiqcxmSGYuMVDJaska K+mDsXP4wS0EUn9e7v3McxdR4w5Mql7Z8bLwxOZxOdJIvNtBLJwNP+6dkTDTeO6juDDs DVxw== X-Gm-Message-State: ALoCoQmDw/crk6YFBb0F0E3Hf5qO8Ol45jIxSj7aFVzv9yg0QN3iZ457Cg5GQoNSoZ/pHWqVw41L X-Received: by 10.180.105.226 with SMTP id gp2mr31441129wib.1.1436288231512; Tue, 07 Jul 2015 09:57:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.230 with SMTP id y6ls891283lae.20.gmail; Tue, 07 Jul 2015 09:57:11 -0700 (PDT) X-Received: by 10.152.207.105 with SMTP id lv9mr4994141lac.10.1436288231281; Tue, 07 Jul 2015 09:57:11 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id t14si1487485lal.178.2015.07.07.09.57.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 09:57:11 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by laar3 with SMTP id r3so204109221laa.0 for ; Tue, 07 Jul 2015 09:57:11 -0700 (PDT) X-Received: by 10.152.4.163 with SMTP id l3mr4981788lal.35.1436288231177; Tue, 07 Jul 2015 09:57:11 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2519026lbb; Tue, 7 Jul 2015 09:57:10 -0700 (PDT) X-Received: by 10.107.148.65 with SMTP id w62mr8170963iod.47.1436288229521; Tue, 07 Jul 2015 09:57:09 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id 81si20705166iop.43.2015.07.07.09.57.08 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 07 Jul 2015 09:57:09 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZCWB2-0002xK-2s; Tue, 07 Jul 2015 16:57:00 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZCWB1-0002xD-L3 for edk2-devel@lists.sourceforge.net; Tue, 07 Jul 2015 16:56:59 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.220.44 as permitted sender) client-ip=209.85.220.44; envelope-from=heyi.guo@linaro.org; helo=mail-pa0-f44.google.com; Received: from mail-pa0-f44.google.com ([209.85.220.44]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZCWB0-0003Yk-Uz for edk2-devel@lists.sourceforge.net; Tue, 07 Jul 2015 16:56:59 +0000 Received: by pacgz10 with SMTP id gz10so42387186pac.3 for ; Tue, 07 Jul 2015 09:56:53 -0700 (PDT) X-Received: by 10.68.167.197 with SMTP id zq5mr10824658pbb.85.1436288213299; Tue, 07 Jul 2015 09:56:53 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by mx.google.com with ESMTPSA id i4sm22505073pdk.74.2015.07.07.09.56.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jul 2015 09:56:52 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.sourceforge.net Date: Wed, 8 Jul 2015 00:56:29 +0800 Message-Id: <1436288191-16773-2-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436288191-16773-1-git-send-email-heyi.guo@linaro.org> References: <1436288191-16773-1-git-send-email-heyi.guo@linaro.org> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1ZCWB0-0003Yk-Uz Subject: [edk2] [PATCH 1/3] ArmVirtPkg: Make terminal type consistent X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: heyi.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Change default terminal type to be VT100, to make it consistent with default ConIn/ConOut device path. I can't say this is a bug, as we can pass the whole console device path to ConnectController, and TerminalDxe driver will pick up the terminal in the remaining device path. However, in rare circumstances, the console devices may be disconnected with the driver, and they will be ignored by ConPlatformDxe until we pass the device path explicitly just as BDS. Changing default terminal type to be the same with console device path could help serial terminal be reconnected with normal connect controller operation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo --- ArmVirtPkg/ArmVirtQemu.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index 0671469..0f104f3 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -140,6 +140,8 @@ # gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenVt100()" gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenVt100()" + ## Terminal Type - VT100, consistent with ConOut/ConIn Device Path. + gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3 #