From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::235; helo=mail-wm0-x235.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 CAE0F223972A1 for ; Wed, 7 Feb 2018 07:45:08 -0800 (PST) Received: by mail-wm0-x235.google.com with SMTP id b21so4213916wme.4 for ; Wed, 07 Feb 2018 07:50:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=42wCvjlstNMCbsYzOBL4vQgyvIGnUbvgLevsiiLj/Wk=; b=kEk8o+s9ePLn6z+2r+P3sKUuT4QQ65E7AIQBpcZ8ZDmxtcxxfdL2euMnaoOt9CLZS1 1nT/bo5cpGTFpjo8DQHlEjCfl9vzzXvdm+0wY2WOSsNTQOfSe7ZK80YPOSWCeO9jF09L lTMLP1Sm3fHM9kBNC4FamHeG52gq8EBnU7r1w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=42wCvjlstNMCbsYzOBL4vQgyvIGnUbvgLevsiiLj/Wk=; b=dRsId/x2X+C9Ys3bHgKEZzyFyD3zV988FO2ZrjxS+zrjZk7HBwIKZisGl3kBtex3li 18YDzzsGGfFIamrbkq/kDNJ2Bp7bRYds4x78IrCabOSsyDVZy6W8P6zAQDSwjM/lofjp Hez3RDdIuevkLl4mwtSOCDJZTRViTKQ0C+pU5OCbP4tG48UNFN6VvovgPaj8pSk0JtUE aC/W4t2iQErHRJ5BAt4d3AP6wV5Z+PO08Kjv7ULIJt9HF8JVEAg1TMn0tI4jlC5tMKzQ igRpYrClZ5YpM1nl6TEyueym6wIfTq6ECpuW8WcrUKxaxTarSUSMzEGS2YbmzlCpAs6/ MlsA== X-Gm-Message-State: APf1xPDLQYJdmiUqeTHJtdreC3GJgrjTyd8UtvYXpYS3+kmjg9lHzqzG zhvTE439fOAQIFqVIoY+aFuKwxjyOhNgwt1yeQk1yuRP X-Google-Smtp-Source: AH8x2266SOcTQaqtWeKC6JgW9y1Zpp/skmmkNHzlFCUo4TenSUgNnXD3fB6Va6HFZZEZ/twFL6Yh6mGmJIuIxQjTIq4= X-Received: by 10.28.213.129 with SMTP id m123mr4756934wmg.91.1518018651367; Wed, 07 Feb 2018 07:50:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.132.12 with HTTP; Wed, 7 Feb 2018 07:50:50 -0800 (PST) From: Haojian Zhuang Date: Wed, 7 Feb 2018 23:50:50 +0800 Message-ID: To: edk2-devel-01 , Linaro UEFI Mailman List Cc: Leif Lindholm , Ard Biesheuvel Subject: [issue] Arrow key can't be read on tty terminal in release build 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: Wed, 07 Feb 2018 15:45:09 -0000 Content-Type: text/plain; charset="UTF-8" Hi all, I have an issue on tty terminal. I setup PL011 serial console as the tty terminal on HiKey platform. When it's built in debug mode, arrow key works well. When it's built in release mode, arrow key can't work. For example, DOWN key is gotten in terminal with "~[B" value in debug build. DOWN key is gotten in terminal with "~" value in release build. These values are fetched by GetOneKeyFromSerial(). But I can't find any difference on PL011 serial driver between debug and release mode. Do you have any idea on this? Best Regards Haojian