beaglebone black: MMC partition switch failed

Otacílio otacilio.neto at bsd.com.br
Tue Apr 18 17:26:56 UTC 2017


Em 18/04/2017 13:57, Ian Lepore escreveu:
> On Tue, 2017-04-18 at 13:54 -0300, Otacílio wrote:
>> Em 18/04/2017 12:51, Glen Barber escreveu:
>>> On Tue, Apr 18, 2017 at 08:42:58AM -0700, jungle Boogie wrote:
>>>> On 15 April 2017 at 18:50, jungle boogie <jungleboogie0 at gmail.com
>>>>> wrote:
>>>>>
>>>>> Hi All,
>>>>>
>>>>> It's been awhile since I've been able to run FreeBSD on my BBB.
>>>>> It was
>>>>> failing somewhere, but I didn't have good serial cable to see
>>>>> what was
>>>>> happening.
>>>>>
>>>>> Using the latest freebsd head image:
>>>>> FreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170413-r316750.img
>>>>>
>>>>> I'm writing it to my microSD card:
>>>>> sudo dd if=FreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170413-
>>>>> r316750.img
>>>>> of=/dev/sdf bs=8M
>>>>> 128+0 records in
>>>>> 128+0 records out
>>>>> 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.01005 s, 1.1 GB/s
>>>>>
>>>>>
>>>>> Putting it in the BB and holding s2 for three seconds as
>>>>> mentioned in the
>>>>> FBSD Journal article[0].
>>>>>
>>>>> Upon doing so, I see this:
>>>>> U-Boot SPL 2017.01-rc3 (Apr 13 2017 - 12:30:59)
>>>>> 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 ###
>>>>>
>>>> Anyone have recommendations on how to fix this?
>>> There appears to be an issue with the 20170413 image.  Please check
>>> if
>>> the FreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170405-
>>> r316508.img.xz
>>> image works.
>>>
>>> Glen
>>>
>> I tested them a few days ago and none of them worked. I also
>> compiled
>> locally and it does not work, even an image generated for the RPI3
>> prints the same error message.
> The 20170405 image Glen mentioned works fine, I just DLed and tested
> it.
>
> -- Ian


You're right I downloaded it now, I recorded the SD and it worked. I did 
not understand what happened the other time. Maybe the problem was 
between the seat and the computer.

Sorry for the noise



More information about the freebsd-arm mailing list