Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2017 11:35:02 -0500
From:      Kyle Evans <kevans91@ksu.edu>
To:        Warner Losh <imp@bsdimp.com>
Cc:        <meloun.michal@gmail.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: RPi2 snapshot for armv7 won't boot.
Message-ID:  <CACNAnaGG856HZzJQWnoeVAr95PhH=M5n_88a%2Bb51gQ_C%2BLr6RA@mail.gmail.com>
In-Reply-To: <CANCZdfohMrBsE0B%2BW4S%2B21OvwrzB%2Bb6uo-K9v6RZdUeWVO1R1g@mail.gmail.com>
References:  <86fu9xmx3u.fsf@elm.localnet> <5B61C831-45A1-454F-B38B-DCE40B969F95@dsl-only.net> <CACNAnaG6-TLv=Q9oJ8Uux6vGnXEY6FEcfoANrNzb=4MDUWpVCA@mail.gmail.com> <bcf050db-b79c-9a5e-e4cd-f627bf9552be@gmail.com> <CANCZdfohMrBsE0B%2BW4S%2B21OvwrzB%2Bb6uo-K9v6RZdUeWVO1R1g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 2, 2017 at 11:31 AM, Warner Losh <imp@bsdimp.com> wrote:

> On Wed, Nov 1, 2017 at 11:28 PM, Michal Meloun <melounmichal@gmail.com>
> wrote:
>
> >
> >
> > On 02.11.2017 2:53, Kyle Evans wrote:
> > > On Nov 1, 2017 6:24 PM, "Mark Millard" <markmi@dsl-only.net> wrote:
> > >
> > > On 2017-Nov-1, at 3:51 PM, Carl Johnson <carlj@peak.org> wrote:
> > >
> > >> I had previously tried to upgrade my RPi2 12.0-CURRENT system from
> armv6
> > >> to armv7, but it then refused to boot.  This time I downloaded the
> > >> latest snapshot (r325156 from 20171030) and it also refuses to boot
> for
> > >> exactly the same reason.  In every case the kernel loads, but then it
> > >> reports that init has died, and then panics and drops into kdb.  It
> > >> gives a stack backtrace, but that doesn't mean anything to me.
> > >>
> > >> Is this just me, or is anybody else having this problem?  If others
> have
> > >> the problem, is there some workaround to get it working?
> > >>
> > >> Thanks in advance for any ideas.
> > >
> > > Others are also seeing the problem, not just on
> > > RPI2's.
> > >
> > > It looks like it broke between:
> > >
> > > -r324743 and -r325156
> > >
> > > someplace relative to whatever is causing the
> > > init problem.
> > >
> > > Details that lead me to that conclusion, if
> > > you care. . .
> > >
> >
> > The r324938 breaks all statically linked binaries (init, /rescue/*, ...).
> > I have prepared patch, but I need a day or two for more testing on other
> > arches.
> > https://github.com/strejda/tegra/commit/67ea3325c50770b5031ef02882b2dc
> > cdd1f7611f
> >
> > Michal
>
>
> To be extra sure, have we tried to back out this one change against the tip
> of -head to confirm? It's pretty trivial.
>
> Warner
>
>
For what it's worth: I didn't try backing out the change, but I can confirm
that the above-mentioned patch does fix it -- I applied it just a bit ago.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaGG856HZzJQWnoeVAr95PhH=M5n_88a%2Bb51gQ_C%2BLr6RA>