Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5358FEB64D9 for ; Sat, 17 Jun 2023 10:50:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 127D686258; Sat, 17 Jun 2023 12:50:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="K6lBi9Sn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD3F48479F; Sat, 17 Jun 2023 12:50:05 +0200 (CEST) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6FD6B86258 for ; Sat, 17 Jun 2023 12:50:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3f9002a1a9bso7251885e9.1 for ; Sat, 17 Jun 2023 03:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1686999001; x=1689591001; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hELoRe8+xjEC+1+3Sio1GRW0WHmO3C+6WWIw7Lc0urg=; b=K6lBi9SnVdTkCQJNKYb6Hen50MEIUjat2RKp2LzJxivoCumtEi79rtQdK88I5W3bCT Izk6V64RvhroT6+bGXoJHeTDCq025XX1fY7EFqh9IOyikuM45pmWaytDwWKCY9Xw7emB sRlo7H8y/G0Pi7ZFrNkPZfe+vSOe7dJ3bsY28= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686999001; x=1689591001; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hELoRe8+xjEC+1+3Sio1GRW0WHmO3C+6WWIw7Lc0urg=; b=kGhr5oXjPT9cLLzewTW1ZpP70qQPhS0kJdZMSCr/g3wbculM+mq697W5iWNrzD317G EX1GpgF7BVrDYTsmosCuf+xKO11b6kh/HVHR6aiPs1DxYLgJQFFfRBIqx9zyzeVR1LN1 cB3ZHid7IBgZVxlfNZC5VtxW6k44TF7JNZew2Y7sOelholfZWLNBlL3Higbkii6goOsN PZcUQbGt8v42iBPrgNzjHWwHtZ7lAbMluZIr2UY1NegVKECUsxQKte6cqwbQmpXaq593 2wXaIan8Jft1ScRYR0NiY4fJjbbb2sWx2TiOVwq76t9gnHwJp4B/PvE8+vj1ojfzrthK EXJA== X-Gm-Message-State: AC+VfDwODgiy1ifj+fE3CPCW+JC6ySr38z45TQqMLafdQsLWysemTeRg fQCmCsn189DacLjvh645qonk0LgJKYxmZqccxNg= X-Google-Smtp-Source: ACHHUZ7P5U0UGhHS8WdFGmkT1Mby4+3IwVu+LLHX6y/1+G5Js2eOkcD9wF9KHLkGZavedrJhFufpdw== X-Received: by 2002:a7b:ca5a:0:b0:3f4:e7c2:607d with SMTP id m26-20020a7bca5a000000b003f4e7c2607dmr3958163wml.13.1686999001495; Sat, 17 Jun 2023 03:50:01 -0700 (PDT) Received: from sjg1.roam.corp.google.com (79-67-123-132.dynamic.dsl.as9105.com. [79.67.123.132]) by smtp.gmail.com with ESMTPSA id l22-20020a7bc356000000b003f7e4d143cfsm4735171wmj.15.2023.06.17.03.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jun 2023 03:50:01 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: =?UTF-8?q?Pali=20Roh=C3=A1r?= , Simon Glass Subject: [PATCH 0/6] nokia_nx51: Attempts to debug keyboard Date: Sat, 17 Jun 2023 11:49:47 +0100 Message-ID: <20230617104956.1402370-1-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This series is an attempt to get the keyboard working properly with bootmenu. It fixes the board's tstc() function, which should be in drivers/input It also adjusts stopping of the menu autodelay - it should only stop when a whole escape sequence is received, not when the first escape character is received. That is pretty minor, so we could drop that patch. This series also adds some debugging output. This seems to make things work correctly, suggesting that there is some other problem. I also see this message fairly often: cyclic function rx51_watchdog took too long: 10000us vs 1000us max Simon Glass (6): menu: Re-enable the ANSI codes nokia_rx51: Correct tstc() implementation bootmenu: Cancel delay only when a real key is pressed boobtmenu: Add debugging getch: debugging menu: Add debugging board/nokia/rx51/rx51.c | 3 +++ cmd/bootmenu.c | 19 ++++++++++++------- common/cli_getch.c | 23 ++++++++++++++++++++--- common/menu.c | 7 ++++++- 4 files changed, 41 insertions(+), 11 deletions(-) -- 2.41.0.162.gfafddb0af9-goog