From patchwork Thu Sep 21 19:37:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 113929 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp2407013qgf; Thu, 21 Sep 2017 12:39:37 -0700 (PDT) X-Received: by 10.80.183.35 with SMTP id g32mr2357369ede.48.1506022777865; Thu, 21 Sep 2017 12:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506022777; cv=none; d=google.com; s=arc-20160816; b=J1co8N2XQ/pMODEPhapIp8e+uPVuCubueEsPwfJrGtTRGB7jjB9nwAUe/D7TUi2ioW NadjOosB5yVZMrNuxNBuB5FiNdMo4/JnbFgXnKbdO8RlQfJNuCK7uionTLIkCcYGWMh2 JlxNESV0zfqMZmCmdJStB/NOHMVz3HFdPa20up3M1r4dIIzUY5syXbKoVFUs9rVCdPY2 b7TvvC7cATxWiN0DqCnOjsRxOU6+HnLYNaCnWKJeL2csG2dUQX1Iy9EVhEbaHhEnuvGy Ujq9M13vNyUGRufhUCz0Ab7F+oe33e2Qb4iTcQvtfbIVnwh2g/QDVoj/TYcpiUPo23xM xX7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=WR4ivZtS1IkzYZv1uUrV+NmkgESpxyFkrzyqTcq4HhE=; b=SrPhICHd5Wr/nqlLx9/wmCbRNlSlGSn1xMdULN+c8MhkN65P9CtgCl5iZg1jt/b352 CxysaUsPU6cOD23qL054UO+hjhoISBmHiPXIK2wQFqyvBQwOnNdLDjtqMgagR9M19sOI ItHvrp04S767Gvn4/QsBcuAtsw5ybcv3bdjWmbtXdWmbspPnaQh8dwEBEUkYWdlwP/EV 5XzhKqYx1cis67v7IS6gvDIsh87F68s8W9IzfmXUZJOS+R8CgkioPLxU9vFyOIH+IUpN uz3JJWvYhhldbTTGe4vhWhTqAZ5doVKi5BQOdJUj1c7F50lfgN1G79BkI76RdgELwvDr ImSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jEAHXNAd; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 60si2029edb.246.2017.09.21.12.39.37; Thu, 21 Sep 2017 12:39:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jEAHXNAd; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 71A9EC21EA5; Thu, 21 Sep 2017 19:38:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id AF402C21F39; Thu, 21 Sep 2017 19:38:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5ED86C21DEF; Thu, 21 Sep 2017 19:38:12 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by lists.denx.de (Postfix) with ESMTPS id EFB3CC21F07 for ; Thu, 21 Sep 2017 19:38:08 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id b127so6754784lfe.9 for ; Thu, 21 Sep 2017 12:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DRXhzDZEUb9xNU95YU0wxdRHD+2nnac5WDIj4xKu2po=; b=jEAHXNAdwCNWcYRgjzRbk3+ciDkHFrfExuL1ozjzs3G3Svi6+34YtFdNo1RPJJN9Of 47JBvdKCkioyqJmEW+Nj8IOnz5ZdRjIoXQIwy0/jOfhyvyWyd0azTwSFYCx8PKTDKV0+ N221ExSH1qIYGkFNHsHkKEr0eww9+lLYgObAM= 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:in-reply-to :references; bh=DRXhzDZEUb9xNU95YU0wxdRHD+2nnac5WDIj4xKu2po=; b=ks5SyF6qvL2dF7PRnxqWdpribf40jc8ptavmReuaPMKYtCwV1x2P6X+C+QsxlcfMjM 7Rzbze7EIXmJW2FE0BuH5Fes6uwbsIn5OhU8ux7PmUW4aLnCxE8V5i3+n2Zeas3+xq6/ 58CrOFWjtOaXLe8bmUoa9Pulw4o4IMMLqca89LUcEagsYIz/TbNksfZN1JVEhUzBWsRw 8aUcLjBLedRentNgHA96TpHEIwxX1WZMs6yeGthpdHSkxnayXuwl/jStlJ6ceN7ayJRZ 7AGVtSEzhKtrhYRCKScrPJZX8UkfrL7L2Y4MNB3RiUNkMNxnimk2RHUl+PPsn+C3OM3X zo3w== X-Gm-Message-State: AHPjjUi0de/Bc5pvVBIKESQDmUpsm8Txb+7pBESNdA/Y76Y6MdYV3D+V RjQQLxU1sgIcNv7XlmXjBUFFNlgE8/E= X-Google-Smtp-Source: AOwi7QBYEHjl4TqYKqSJTmY8lKEie1QbBJD/k9IYu8YKMCCOK61a4yyiWDKX9wPDhSjpNbrCs72Ldw== X-Received: by 10.25.21.8 with SMTP id l8mr1228929lfi.7.1506022688149; Thu, 21 Sep 2017 12:38:08 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id c185sm339159lfd.67.2017.09.21.12.38.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Sep 2017 12:38:07 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Thu, 21 Sep 2017 22:37:59 +0300 Message-Id: <20170921193759.3914-5-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170921193759.3914-1-semen.protsenko@linaro.org> References: <20170921193759.3914-1-semen.protsenko@linaro.org> Cc: Tom Rini , Praneeth Bajjuri Subject: [U-Boot] [PATCH 4/4] env: ti: boot: Show boot status information X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add tracing printings to Linux/Android boot commands, so that we can see what's going on. Helps to trace possible bugs on early stages and improves the output for user (which is especially useful, because we have a bunch of boot commands executing one by one). Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini --- include/environment/ti/boot.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 2306d3cdf0..799d9840aa 100644 --- a/include/environment/ti/boot.h +++ b/include/environment/ti/boot.h @@ -30,11 +30,13 @@ "optargs=\0" \ "dofastboot=0\0" \ "emmc_linux_boot=" \ + "echo Trying to boot Linux from eMMC ...; " \ "setenv mmcdev 1; " \ "setenv bootpart 1:2; " \ "setenv mmcroot /dev/mmcblk0p2 rw; " \ "run mmcboot;\0" \ "emmc_android_boot=" \ + "echo Trying to boot Android from eMMC ...; " \ "setenv eval_bootargs setenv bootargs $bootargs; " \ "run eval_bootargs; " \ "setenv mmcdev 1; " \ @@ -49,7 +51,6 @@ "part size mmc ${mmcdev} ${boot_part} boot_size; " \ "mmc read ${fdtaddr} ${fdt_start} ${fdt_size}; " \ "mmc read ${loadaddr} ${boot_start} ${boot_size}; " \ - "echo Booting from eMMC ...; " \ "bootm $loadaddr $loadaddr $fdtaddr;\0" #ifdef CONFIG_OMAP54XX