From patchwork Sat Nov 2 22:38:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1188480 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="HqVhokv/"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 475DWB28J7z9sPF for ; Sun, 3 Nov 2019 09:39:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 727CC89E6A; Sat, 2 Nov 2019 22:38:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cByvCHZcKHio; Sat, 2 Nov 2019 22:38:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B3BC3896AC; Sat, 2 Nov 2019 22:38:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id BD5801BF30E for ; Sat, 2 Nov 2019 22:38:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BAB44896AC for ; Sat, 2 Nov 2019 22:38:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fFlhTc4tNmQr for ; Sat, 2 Nov 2019 22:38:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f193.google.com (mail-qt1-f193.google.com [209.85.160.193]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 11DDB896A5 for ; Sat, 2 Nov 2019 22:38:56 +0000 (UTC) Received: by mail-qt1-f193.google.com with SMTP id c26so18129079qtj.10 for ; Sat, 02 Nov 2019 15:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C+Hzr07oAzXZ9Zt8MzntIyeNwYm24bRqoPElbskThVc=; b=HqVhokv/7XB9tgw5Pbd2MioehLCTl3W7balUi+sn+5TQAEU21y/IgJfuEe0EGs/uBm FlC5lAOsPYYTZ2cSt9wazSBBjieQZVp9HwDCD4NqyGAC3yTKB9l3IjS7hGst4BvlSWXy u08XPO2fWmvwn7fIkoYiYuS5Q9uL6wK/EdNOdvG+FZAx+cCDslz2J0uG3Aa1zifrQ2tN 2KJltWDrewx6cbIwPEFQ5IZO4ILFhBo8TwIls8dSi2MTtLbXRQJrgha/ERfBelIcjl1R m6DXphxoHt0PedtuRpN9TYWDbCxN0/WCskXH1CgEoj3+CvuQRmxcCHYVJ2ITpUKgHtIy WbJQ== 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=C+Hzr07oAzXZ9Zt8MzntIyeNwYm24bRqoPElbskThVc=; b=hO4MCvgyj4nlQv06vAQkkHPuWECuhTjrZKxGpJ1tUO/RV4KXDZ31MZoqytegtFnG+u j6bJY874hGTxyUgDoUwAQGUOPXe5qoqVdKG/nHOQeu3cHqtHOA1IlUN4hcILBON9MUtp FhtE+R6OUbilXWe9wGKDRdG2Xm30uqptnDpy80mNxzMkwTmsYcNrMGabjD2ISoQ9kjDa 9oSxYJURXTV23c8dqGSCTsDWnEkAELfcb4ZpvLa6Zngi5EgoDWsBAP03FWbwIT4Vnp/0 FHIFY4gzrysChXLbvIhr74qokhE6RKs/ZAWhrVO/tplXOZT00F/MY6QaCn363oQYv0Uc LyQA== X-Gm-Message-State: APjAAAV+3rIQbLChnghQgx/P85ORYQdSCmtsURpe2+1NaMSv7amK3xp5 aNt83dP9eFJ9dwqOn6gHhcLrplwaawQ= X-Google-Smtp-Source: APXvYqwlTAPKGkuoV4AXE7eQppaQEQlxjI7t/YJLS9o9VwT4khJ6BbzUlYPM5cfs8eiATMpeRKxb+w== X-Received: by 2002:ad4:42b4:: with SMTP id e20mr9100405qvr.85.1572734334724; Sat, 02 Nov 2019 15:38:54 -0700 (PDT) Received: from casantos.casantos.org ([179.176.186.241]) by smtp.gmail.com with ESMTPSA id 132sm6050580qki.114.2019.11.02.15.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2019 15:38:54 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Sat, 2 Nov 2019 19:38:38 -0300 Message-Id: <20191102223839.16262-2-unixmania@gmail.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20191102223839.16262-1-unixmania@gmail.com> References: <20191102223839.16262-1-unixmania@gmail.com> Subject: [Buildroot] [PATCH 1/2] board/beaglebone: fix boot on BeagleBone Black X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlos Santos , Lothar Felten MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos Commit 68b5b79b2f has set the getty port to the default console but left "ttyO0" in bootargs, in the U-Boot environment. Use "ttyS0", instead. Also set loadaddr to 0x82000000 and fdtaddr to 0x88000000, replacing the ancient U-Boot 2013.10-dirty default values that cause system hangs. Signed-off-by: Carlos Santos --- board/beaglebone/uEnv.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/board/beaglebone/uEnv.txt b/board/beaglebone/uEnv.txt index a665f20889..8fce54d87e 100644 --- a/board/beaglebone/uEnv.txt +++ b/board/beaglebone/uEnv.txt @@ -3,6 +3,9 @@ devtype=mmc bootdir= bootfile=zImage bootpartition=mmcblk0p2 +console=ttyS0,115200n8 +loadaddr=0x82000000 +fdtaddr=0x88000000 set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi -set_bootargs=setenv bootargs console=ttyO0,115200n8 root=/dev/${bootpartition} rw rootfstype=ext4 rootwait +set_bootargs=setenv bootargs console=${console} root=/dev/${bootpartition} rw rootfstype=ext4 rootwait uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}