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 04682C05027 for ; Mon, 23 Jan 2023 20:04:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E8E5F85795; Mon, 23 Jan 2023 21:04:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="O6p65MeG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E593C85794; Mon, 23 Jan 2023 21:04:08 +0100 (CET) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 66423856E3 for ; Mon, 23 Jan 2023 21:04:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clamor95@gmail.com Received: by mail-wr1-x42a.google.com with SMTP id z5so11915758wrt.6 for ; Mon, 23 Jan 2023 12:04:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=r2JPrvvdR5cPe/IVGBVTQWnGodwCgXeIgofnvlupVms=; b=O6p65MeGmve/odnpjbZIWarZ+oklZtulyKXd+sVe7jEwt60S/AF/VnK9U8ivkHdSnp VHiauimodfD8oQgtQAL9JjxHPBo1KLBKCw6m2oyIxKlj8hVUwbZmZL8NVxm1dFO/JgbQ Vr+nXHo4DzrWruXNq5ywriBfycY6S7lFo8EbEcFOAI1cDfAWh3kUeGxLc/ScegDD+eoM fkpWqEobZPlYz8PxRORuOlhtZiaw0D+q+TvZvA8UEM31RFNec8rJikjjn38XB9qpOcQE +0S2IK8GrGYU5yOQTAhWhnYEX2pRpFpNuB4rIwXhe5Lj9LhudPeqMRCu5FEUTsGzMj7x ksWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=r2JPrvvdR5cPe/IVGBVTQWnGodwCgXeIgofnvlupVms=; b=SeeYk7aXCpBqfVVA0YiOAvjb07txPrvwTRNPAuunbLfcBhw4O0RTTZdiHPOOhxy64K W7W460ITs4ingQJjZCRRPzll/QfbLGpvIZVyrhVnYhPYZpl+psDmSzoIXyJGisoXK+QW yN/GFCAreFHsUYniUFxF6oYJwcqYvuO/oJeYvddNTQikGDoj12IoPGqIxIKHrnlaGYL1 qjlFb+OZeLf6O++CrBFFXtyuG7HDiDk0EZGv4gCF2f+//wjnWZYuDpyHL1abhM0IRAiB I7/jjxa00J74thG3mOx/Xl89QUvVzGfYIXxmw6q3YAPVmxn/6Op4kiJmv21QPWIGaSY4 OIIA== X-Gm-Message-State: AFqh2kp3OovHYx+f3Qkxw1IOb4JJ7AcPuGoWjhVY/8Kg2MfzeTIbeD3A +erkisBIilbvaJVlZ0zTJrs= X-Google-Smtp-Source: AMrXdXtXEEaQbutHa5C89ylcn1C2wJKc6itIov11AcirJwvMgWzzAvpfzamQmfBEK7+iFD1ZorNJmQ== X-Received: by 2002:a5d:6a0b:0:b0:2be:5bec:c4a8 with SMTP id m11-20020a5d6a0b000000b002be5becc4a8mr10530737wru.47.1674504245800; Mon, 23 Jan 2023 12:04:05 -0800 (PST) Received: from DESKTOP-BE01SG2.localdomain ([91.204.85.69]) by smtp.gmail.com with ESMTPSA id h14-20020a5d430e000000b002366e3f1497sm221779wrq.6.2023.01.23.12.04.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 12:04:05 -0800 (PST) From: Svyatoslav Ryhel To: Lukasz Majewski , Simon Glass , Ilias Apalodimas , Heinrich Schuchardt , Masahisa Kojima , Ashok Reddy Soma , John Keeping , Marek Vasut , Svyatoslav Ryhel , =?UTF-8?q?Jonas=20Schw=C3=B6bel?= , Maxim Schwalm , Hector Palacios Cc: u-boot@lists.denx.de Subject: [PATCH v1 0/2] CMD commands improvements Date: Mon, 23 Jan 2023 22:03:52 +0200 Message-Id: <20230123200354.3642-1-clamor95@gmail.com> X-Mailer: git-send-email 2.25.1 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.6 at phobos.denx.de X-Virus-Status: Clean - add new command 'continue' which stops performing script until any key is pressed by user. It is useful for keeping logs in output device until user allows to continue script run. - add ability for 'ums' command to interrupt run of usb mass storage with any key. This is especially useful on devices with limited input capabilities like tablets and smatphones which have only gpio keys in direct access. Current implementation uses Kconfig entry. Svyatoslav Ryhel (2): cmd: exit: add continue on key press command cmd: ums: abort mounting by pressing any key cmd/Kconfig | 6 ++++++ cmd/exit.c | 17 +++++++++++++++++ cmd/usb_mass_storage.c | 9 +++++++++ 3 files changed, 32 insertions(+) -- 2.25.1