Booting on RPI2 with uSD and USB

Ian Lepore ian at freebsd.org
Wed Jan 10 02:26:51 UTC 2018


On Tue, 2018-01-09 at 18:17 -0800, Tom Sparks wrote:
> I use RPI's with FreeBSD around YC pretty extensively and I found a fun one
> today when I was trying out the ARMv7 builds for the RPI2.
> 
> Typically I have a micro SD for the root disk, then a USB flash for data
> and swap. I'd never had a problem before with previous builds but it seems
> that there's a new probe-ordering issue somewhere. I put a new snapshot
> onto the micro sd, booted, and then the loader tried to boot off of the USB
> (which failed). It looks like disk0 is being defined as the USB instead of
> the microsd after the loader comes in.
> 
> Anyone else seen this?
> 

You can make ubldr use the sdcard anyway; at the u-boot prompt do

  setenv loaderdev mmc
  saveenv

-- Ian


More information about the freebsd-arm mailing list