Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2014 13:09:34 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Winston Smith <smith.winston.101@gmail.com>
Cc:        FreeBSD ARM <freebsd-arm@FreeBSD.org>
Subject:   Re: FreeBSD-10-STABLE hangs when booting from BeagleBone Black eMMC
Message-ID:  <1398798574.22079.34.camel@revolution.hippie.lan>
In-Reply-To: <CADH-AwEkWZEKCws-=q8fvx5=W1%2BSzBtbXy6GmhNBWto1Bcp=hw@mail.gmail.com>
References:  <CADH-AwHvaVqycykONkzRsj7oD3xSi8hszvc_Wf4obC=Y_qPiaQ@mail.gmail.com> <1398618984.61646.165.camel@revolution.hippie.lan> <CADH-AwE%2B5=A4aiqbTYqor1Any1JGNhz4LHOJwfyykYU92UpirQ@mail.gmail.com> <1398624759.61646.174.camel@revolution.hippie.lan> <CADH-AwG%2BsaqXO4FYG65WMOuFyDzjbhF=a=-p3Y3En3zbcgyd6A@mail.gmail.com> <1398648505.61646.189.camel@revolution.hippie.lan> <CAD44qMX%2BhoeZ6yBD0v52xfoo5CXiUHgMz9qLa-=qhGYhhPUt1Q@mail.gmail.com> <CADH-AwEHRKSx11yjC5%2BkmYA4Q3Oh4VWpp-pr31eWwNc0bf0vUw@mail.gmail.com> <1398732508.61646.245.camel@revolution.hippie.lan> <CADH-AwHQjieXo-WgHkrc2wxwELwvrkg2spYucsZzRegvx9wWsA@mail.gmail.com> <1398784968.22079.13.camel@revolution.hippie.lan> <CADH-AwEkWZEKCws-=q8fvx5=W1%2BSzBtbXy6GmhNBWto1Bcp=hw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Tue, 2014-04-29 at 15:02 -0400, Winston Smith wrote:
> On Tue, Apr 29, 2014 at 11:22 AM, Ian Lepore <ian@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




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1398798574.22079.34.camel>