Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2017 18:50:29 -0700
From:      jungle boogie <jungleboogie0@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   beaglebone black: MMC partition switch failed
Message-ID:  <5bac0dbc-6d2b-c757-0cd3-babbd048cfd2@gmail.com>

next in thread | raw e-mail | index | archive | help
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 ###


I can boot u-boot and see the version:
U-Boot# 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

I can boot without an SD card and see armstrong. I just can't boot from 
the SD card.


Do I need to upgrade/downgrade u-boot to fix this?

ANY help will be appreciated! I want FreeBSD running again on my BBB.


Thanks,
JB


[0] 
https://www.freebsdfoundation.org/wp-content/uploads/2015/12/vol1_no1_beaglebone_dkr.pdf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5bac0dbc-6d2b-c757-0cd3-babbd048cfd2>