From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8CCB3E007E4; Fri, 22 Aug 2014 20:24:37 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [198.47.26.152 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id ECCFAE007DD for ; Fri, 22 Aug 2014 20:24:25 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s7N3OLA0013733; Fri, 22 Aug 2014 22:24:21 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7N3OLj3005756; Fri, 22 Aug 2014 22:24:21 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Fri, 22 Aug 2014 22:24:20 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7N3OKkE015207; Fri, 22 Aug 2014 22:24:20 -0500 Date: Fri, 22 Aug 2014 23:24:20 -0400 From: Denys Dmytriyenko To: Maciej Borzecki Message-ID: <20140823032420.GZ23523@edge> References: <53ED13BE.2090809@pseudoterminal.org> <20140818141613.GI23523@edge> <5823428.XaY5WDaLTE@localhost.localdomain> MIME-Version: 1.0 In-Reply-To: <5823428.XaY5WDaLTE@localhost.localdomain> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-ti mailing list Subject: Re: BeagleBone Black , u-boot, and zImage X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2014 03:24:37 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Mon, Aug 18, 2014 at 04:45:16PM +0200, Maciej Borzecki wrote: > On Monday 18 of August 2014 10:16:14 Denys Dmytriyenko wrote: > > On Mon, Aug 18, 2014 at 09:34:58AM -0300, Diego Sueiro wrote: > > > On Mon, Aug 18, 2014 at 9:28 AM, Maciej Borzecki < > > > > > > maciej.borzecki@open-rnd.pl> wrote: > > > > Rough guess, but it looks like a default u-boot from eMMC. Try following > > > > official instruction to make it boot off SD card: > > > > https://www.yoctoproject.org/downloads/bsps/daisy16/beaglebone > > > > > > This should do the trick: > > > "Pressing the USER/BOOT button when powering on will temporarily change > > > the > > > boot order". > > > > The USER button may sometimes be tricky, as it preserves the state across > > reboots. So, if you already booted off of eMMC, holding the button and > > rebooting won't work - you'd have to unplug the power to completely turn it > > down and then power it up, while pressing the USER button. Making eMMC > > non-bootable is more reliable in many cases... > > Silly question, is there any requirement that partition block count must be > even for boot partition? > > For instance, I'm not able to boot using this partition layout, keep getting > CCC on serial console: > > Device Boot Start End Blocks Id System > /dev/mmcblk0p1 * 2048 22526 10239+ c W95 FAT32 (LBA) > /dev/mmcblk0p2 22528 116735 47104 83 Linux > > This one, almost works (u-boot runs, init fails mounting rootfs): > evice Boot Start End Blocks Id System > /dev/mmcblk0p1 * 2048 22527 10240 c W95 FAT32 (LBA) > /dev/mmcblk0p2 22528 116735 47104 83 Linux Have you tried the latest update to u-boot-ti-staging? There were couple fixes related to FAT and SD handling. -- Denys