From patchwork Tue Aug 6 20:27:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 170681 Delivered-To: patches@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp6160627ile; Tue, 6 Aug 2019 13:27:33 -0700 (PDT) X-Received: by 2002:a65:41c6:: with SMTP id b6mr4569313pgq.269.1565123253760; Tue, 06 Aug 2019 13:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565123253; cv=none; d=google.com; s=arc-20160816; b=SWagpQCqnNgHaSUz+RnqyvIhxu/8vd2c0uyr65YkJYh+sEawqw8EfLVu6zkdneMC7+ nFO1Y6hRh2VsXvAl8gaVqmlP8WIOC+BNViYKuI99CMWPbaCW1CK9ccfyIbIKmzkjhL/C 7z6ISUXtkSXSkEEq6NCUsX9Rr70MZo/JoY2Exd+M/+LK+XG/n6dy3BzyWeqLZaSQgze8 mIYqAKoNjVtbZ+oI/m1KLCMUt3YNCgnq8Q/MqMYZ3uNiZt5UvD4VpwRun6rOEXsBVMmq k4z9+6g5GWUjArNblOBhAl0chggJXZLjuHaUNmi+MgtKc09ENO9fwAgkohOGnttdmtdi MqXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=Jby3YwaCUfWYOGBN46+31NbA00UFQdxIkABUw11qaFU=; b=UalU6YiSKNfCofLZYBA0wnk1V0z+ScA5rJ+uDzwO0qXwVFPt3a6FcWge8Lcd4C1Xo0 GWFvty+yCZjBEsV1XVyL+7JyiDUW+vm8BiqUBiwQnamPlwTqY4UU7dGOzCPuQycRAwRa SjE/kEqlxRXZxIAqwQ1jLPHrh6ViMUyHidq1oWnEdmSEZiviGRQkzdMhnXEV5opmJ3QR UKRziXos8oUCJqTPhHpsTTTy+yoHVgs6ZbkqHaJep+q8LOPaoOySjumBAHMlRw49ahjA uhsxXq3IiR9rskYqWx8IqqnpplePAWEc0409cOIrK0iIklXyunqn2USC4Iiu9dlwdQWP lOWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dCN3rgaB; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 36sor104520735pla.71.2019.08.06.13.27.33 for (Google Transport Security); Tue, 06 Aug 2019 13:27:33 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dCN3rgaB; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Jby3YwaCUfWYOGBN46+31NbA00UFQdxIkABUw11qaFU=; b=dCN3rgaBzn7opqEVdVeHBYnRFL4CtEecJat7IoyVh8hWc1P7e93Jnx0mujXMq4Ckmd oJCH9OdEW42KxXaSDSk7Y9TeG9x1mgXXMx48LyQ3ebPHzaRv9Mf4i6b6Sxgc8BkXGvlS HC/iv1RVDdCUXC8l9/mJ0q7vAigrKOaQxHwTf0cPO1fZQc1WB1S66YSofu4bvubA89Fu 9jEhWeochav5XWzCYKQWN59JU0vLtW6S7IKvo2TLp+rm5eTuvwyxCFmR5iY4rPyJgUV6 wKI12y1M1bq2LF7oden042tQeRNZkRRgBEUpUOU09IcwI7wREV2pj/VKRFiAuWrq1ned bsiA== 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=Jby3YwaCUfWYOGBN46+31NbA00UFQdxIkABUw11qaFU=; b=TdYlIpQV5tkd36CS/voaAnP8gnFYGK67s+MxtPyoBwDrdhunC1B4vY0UV6qxJyT1YP WmzxkrvVGBypJQVttxQmNxfiw1k5odtoCjACYZMNZ3SRP4wjcV0/xtyZB1CKgbQ4vU4l YyBqGHfIZtFBQrwk2kqLWrk0CmbBLeXCNfR9rY9KBSn1JMoib56X0f1w2djz0t/2UD6X LGyfOAJwOdDnUIVIbaDUiTBAMBm2qoIsZZTOCyojmVGOH+WfAxQ8gYSDnmJ5dz8P+mLu JYnyLU9sDkGDMV+BdX7PWNsZfNi4vDFUKPoXt+TXEhW81ec25crpzAhDmJUQ1gVOucjE UNAw== X-Gm-Message-State: APjAAAWDpwclbARHy1/vN4AqYpLiyJX8RXuP4GcE23PrpviVUkZiN5ho GkVlOiUgtPlUkgt/mAZlUH477BUW X-Google-Smtp-Source: APXvYqwangNpvsk1XJAKfCjf3knA/cnFWV9fuGGz/2Jq+fpk6sVrt0jQvnFnBQmpROSpZSiXteCihw== X-Received: by 2002:a17:902:b20d:: with SMTP id t13mr4612367plr.229.1565123253202; Tue, 06 Aug 2019 13:27:33 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id u3sm22705704pjn.5.2019.08.06.13.27.31 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 06 Aug 2019 13:27:32 -0700 (PDT) From: John Stultz To: Nicolas Dechense Cc: John Stultz , Bjorn Andersson , Amit Pundir Subject: [PATCH] QcomModulePkg: LinuxLoader: Add explicit message on serial line as to boot mode keys Date: Tue, 6 Aug 2019 20:27:29 +0000 Message-Id: <20190806202729.129262-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 Pressing will force the loader to enter fastboot mode, and similarly with and , so lets make these helpful keys more discoverable with an explicit message on the serial line. Cc: Bjorn Andersson Cc: Amit Pundir Cc: Nicolas Dechense Signed-off-by: John Stultz --- QcomModulePkg/Application/LinuxLoader/LinuxLoader.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c b/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c index db37872d8..307052dc3 100644 --- a/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c +++ b/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c @@ -185,6 +185,7 @@ LinuxLoaderEntry (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) FindPtnActiveSlot (); } + DEBUG ((EFI_D_INFO, "Press to enter fastboot, to enter recovery, or to enter EmergencyDLOAD\n")); Status = GetKeyPress (&KeyPressed); if (Status == EFI_SUCCESS) { if (KeyPressed == SCAN_DOWN)