Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 13:55:59 +0000
From:      =?UTF-8?Q?Otac=C3=ADlio_de_Ara=C3=BAjo_Ramos_Neto?= <otacilio.neto@bsd.com.br>
To:        Oleksandr Tymoshenko <gonzo@bluezbox.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD 12 r312227 dont boots on Beaglebone black
Message-ID:  <CAFt_gkwAsJuRLWH=Te7ifSfPkGj6gki=-3=9etd-dFX3tpXZZQ@mail.gmail.com>
In-Reply-To: <20170128035431.GA13176@bluezbox.com>
References:  <51d197a2-1332-617a-32a8-9901f474afa2@bsd.com.br> <20170125221350.GA92571@bluezbox.com> <3ad9c97c-e40c-0a37-f603-a08b5a72ebd3@bsd.com.br> <20170127013142.GA2921@bluezbox.com> <13aa921f-b65f-8bf6-f298-ccb286c7ed6e@bsd.com.br> <20170127020035.GA3187@bluezbox.com> <55637733-f4f5-6bcc-1d00-4c4b7d1b1b3d@bsd.com.br> <20170127022746.GA3433@bluezbox.com> <20170128035431.GA13176@bluezbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Em s=C3=A1b, 28 de jan de 2017 00:54, Oleksandr Tymoshenko <gonzo@bluezbox.=
com>
escreveu:

> Oleksandr Tymoshenko (gonzo@bluezbox.com) wrote:
> > Otac=C3=ADlio (otacilio.neto@bsd.com.br) wrote:
> > > Em 26/01/2017 23:00, Oleksandr Tymoshenko escreveu:
> > > > Otac=C3=ADlio (otacilio.neto@bsd.com.br) wrote:
> > > >> Em 26/01/2017 22:31, Oleksandr Tymoshenko escreveu:
> > > >>> Otac=C3=ADlio (otacilio.neto@bsd.com.br) wrote:
> > > >>>> Em 25/01/2017 19:13, Oleksandr Tymoshenko escreveu:
> > > >>>>> Otac=C3=ADlio (otacilio.neto@bsd.com.br) wrote:
>
> ... skipped ...
>
> > > >>>> I have applied the patch and now I'm getting this error. Some
> hints?
> > > >>> FreeBSD uses dtb names that do not match upstream ones. After
> updating
> > > >>> to 2017.01 that change was lost in progress. Possible workaround
> (HACK
> > > >>> ALERT!!!) would be to do something like this:
> > > >>>
> > > >>> =3D> setenv findfdt 'setenv fdtfile beaglebone-black.dtb'
> > > >>> =3D> saveenv
> > > >>>
> > > >>> Copy-paste to U-Boot serial console does not work for me on BBB, =
so
> > > >>> you'll have have to enter these commands
> > > >>>
> > > >>> I will submit update to u-boot ports so all these workarounds wil=
l
> > > >>> not be required.
> > > >>>
> > > >> I'm getting this:
> > > >>
> > > >> Type '?' for a list of commands, 'help' for more detailed help.
> > > >> loader> setenv findfdt 'setenv fdtfile beaglebone-black.dtb'
> > > >> Error: stack underflow
> > > >> loader>
> > > > No, setenv/saveenv should be done in u-boot. But this gave me
> > > > an idea. You can also mount root partition on SD card and
> > > > add following line to /boot/loader.conf:
> > > >
> > > > fdt_file=3D"beaglebone-black.dtb"
> > > >
> > > > That should do the trick as well
> > > >
> > > I have added
> > >
> > > fdt_file=3D"bboneblk.dtb"
> > >
> > > (because this is the name that I found on fat partition) to
> > > /boot/loader.conf but still getting
> >
> > No, in this case it's not about what's on FAT it's what in
> > /boot/dtb/ on root partition. That's where loader looks for
> > DTB files.
> >
> > I don't have crochet setup handy right now so can't check
> > end-to-end procedure, but I'll do it tomorrow.
>
> I tried building crochet image from scratch and can confirm
> that adding fdt_file=3D"beaglebone-black.dtb" to /boot/loader.conf
> works around this issue. Proper fix should be available soon.
>
> --
> gonzo
>

This works for me also.
Thanks a lot!

[]'s
-Otacilio

>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFt_gkwAsJuRLWH=Te7ifSfPkGj6gki=-3=9etd-dFX3tpXZZQ>