FreeBSD-10-STABLE hangs when booting from BeagleBone Black eMMC

Ian Lepore ian at FreeBSD.org
Tue Apr 29 19:09:38 UTC 2014


On Tue, 2014-04-29 at 15:02 -0400, Winston Smith wrote:
> On Tue, Apr 29, 2014 at 11:22 AM, Ian Lepore <ian at freebsd.org> wrote:
> > This may be the problem -- ubldr's behavior for finding and using dtb
> > files is more complex than it used to be.  It may be that it used to
> > claim to find and use the u-boot dtb, but it was really using a static
> > dtb compiled into the kernel.  Now if u-boot provides a valid dtb it'll
> > actually get used, even if kernel has a static dtb compiled in.
> 
> After more testing, it appears the eMMC was somehow corrupted.  I
> initially used Tim's copy-to-emmc.sh script to set up the eMMC -- I
> got a couple of lock reversal errors (still haven't figured out how to
> disable WITNESS via the make cmd line) and saw this issue.
> 
> I then rewrote the img to /dev/mmcsd1 and it was able to bring up the
> eMMC.  I tried Tim's script again and this time didn't get lock
> reversal errors and it's also able to boot from eMMC.
> 
> So I don't know if there was some corruption ... I'll keep testing.
> 
> But anyway, I can now boot 10-STABLE from eMMC.
> 
> Thanks!
> 

You can't disable WITNESS from the command line, but it should be off by
default in the stable branches.  In general if there's anything you need
to change about a kernel config, you create your own config that
includes the standard one and makes changes, like:

   include BEAGLEBONE
   nooption WITNESS
   nodevice usb
   # and so on

-- Ian




More information about the freebsd-arm mailing list