From owner-freebsd-arm@freebsd.org Tue Apr 18 17:30:08 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E4E2D4439E for ; Tue, 18 Apr 2017 17:30:08 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CCA3F67; Tue, 18 Apr 2017 17:30:08 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id l189so73300334ywb.0; Tue, 18 Apr 2017 10:30:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PImhRU1WBGiRW0QRjGtqOKB4bkCOJbFQ22KN5wMd0TM=; b=R79MH3+q1OH462n9jRiUsPvaD4KiWdowgKeJ8sk/PmX74HUewYG85Z64XMxaUf/c98 KXSNaLTWXKtK13qpXa05TeDoWppHE0yTOrtxx8p3/yIqBIi5bQgIeaAVgWFRMXTdQpXP XW2/daIRQS9wfUZwAAy0enQtxhjpxega9hEHtLNFke18TMyCKYoFmT2JroHxwAR9Gm1Y L8QfovOLDjfrvplOwBUMvwT8AEF02ES/5xv1/ibLALw+qUOhe7l34x8h/FzDIn23Amxa F8MJUJU8U44mMGoTQNVQYvzjSq49mlB0gaHdWHqvvu6Q9gk/zzg9xm4Ay8ChlWCbkYI+ SBbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PImhRU1WBGiRW0QRjGtqOKB4bkCOJbFQ22KN5wMd0TM=; b=MucbfviS9TT7cW5EXQnhIzqKFH2XBvPCMUtY5rO+FTfkFqXAZT2CLZiott/MIsOac0 1SYLyS5yct6Rb+aAibBXCY1GUxes5vlCFEooSQdnPSFLe/M+aALvxx8Hq8XSXFRrAvMP m8GJlENJ3ETCoF9PPinzkxlJH7Ow1s087sfiMKvZApGeSTGjrCvL+ZCgnvFyCRZpNR8v KCr9BXEe1Ws1tfpbvk3BkRVFIwjbJrm7CnJsoBRiTmEunFLMGk/8f2AFwqsQ/cHecFTv i4e1pJA61PM8SMScwCqzhqEIsu52kfETHtteaEM2i46sn04xSsAID09loRN/NOzuKaCT NLMw== X-Gm-Message-State: AN3rC/4zcNxrabUcToAFa/6APTXrMse4FTAiaStWEZJvNJMh/aGbHhgZ 6HIzVvXPF1xCSqrvHuonN8xA4Yd1gUPjc00= X-Received: by 10.129.4.134 with SMTP id 128mr22711738ywe.109.1492536607157; Tue, 18 Apr 2017 10:30:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.193.70 with HTTP; Tue, 18 Apr 2017 10:30:06 -0700 (PDT) In-Reply-To: <1492534652.96207.28.camel@freebsd.org> References: <5bac0dbc-6d2b-c757-0cd3-babbd048cfd2@gmail.com> <20170418155102.GO2455@FreeBSD.org> <1492534652.96207.28.camel@freebsd.org> From: jungle Boogie Date: Tue, 18 Apr 2017 10:30:06 -0700 Message-ID: Subject: Re: beaglebone black: MMC partition switch failed To: Ian Lepore Cc: =?UTF-8?B?T3RhY8OtbGlv?= , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2017 17:30:08 -0000 On 18 April 2017 at 09:57, Ian Lepore wrote: > The 20170405 image Glen mentioned works fine, I just DLed and tested > it. Thanks for the confirmation, but that means something different is happening to my BBB. I wrote that build to my SD card, put it in the BBB, held down s2, powered it up: U-Boot SPL 2017.01-rc3 (Apr 05 2017 - 05:21:19) Trying to boot from MMC1** First descriptor is NOT a primary desc on 0:1 ** MMC partition switch failed *** Warning - MMC partition switch failed, using default environment ** Partition 1 not valid on device 0 ** spl_register_fat_device: fat register err - -1 spl_load_image_fat: error reading image u-boot.img, err - -1 MMC partition switch failed *** Warning - MMC partition switch failed, using default environment spl: no partition table found SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### This says U-Boot 2017.01, is that the uboot version? If I boot the BBB up without a card and halt the boot process, I get a u-boot prompt. >From there, I can check the version: U-Boot 2013.04-dirty (Jul 10 2013 - 14:02:53) arm-angstrom-linux-gnueabi-gcc (Linaro GCC 4.7-2013.02-01) 4.7.3 20130205 (prerelease) GNU ld (GNU Binutils) 2.22 Does this version need to be more recent for it to read data from the SD card? Thanks!