From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] 2017.05-RC3 hanging on DM3730
Date: Tue, 25 Jul 2017 06:10:01 +0300 [thread overview]
Message-ID: <20170725061001.03217b4d@i7> (raw)
In-Reply-To: <CAHCN7xJKDoWLmRN9-KDjjGhziNXixdeGLxWwoN7EH3NUPdG-oA@mail.gmail.com>
On Thu, 4 May 2017 18:38:39 -0500
Adam Ford <aford173@gmail.com> wrote:
> On Thu, May 4, 2017 at 6:08 PM, Tom Rini <trini@konsulko.com> wrote:
> > On Thu, May 04, 2017 at 05:58:47PM -0500, Adam Ford wrote:
> >> On Thu, May 4, 2017 at 4:27 PM, Tom Rini <trini@konsulko.com> wrote:
> >> > On Thu, May 04, 2017 at 04:06:33PM -0500, Adam Ford wrote:
> >> >
> >> >> Tom,
> >> >>
> >> >> I re-synced my U-boot trunk today and did a clean build and found that
> >> >> SPL isn't able to load U-Boot.
> >> >>
> >> >> U-Boot SPL 2017.05-rc3 (May 04 2017 - 15:48:21)
> >> >>
> >> >>
> >> >> I haven't had a chance yet to bisect the issue. Do you know when you
> >> >> plan to do the 2017.05 release? I'd like to try and locate the issue
> >> >> before the final release.
> >> >
> >> > I'd like to do the release on Monday. Can you please start bisecting?
> >>
> >> I bisected it since I won't have time tomorrow or this weekend.
> >>
> >> Commit 7584f2e0fb0f ("arm: omap3: Compile clock.c with -marm option to
> >> unbreak OMAP3530") seems to break the OMAP3630 (DM3730) in that
> >> nothing boots at all:
> >>
> >> (dead)
> >>
> >>
> >> Commit 19a75b8cf8d1("arm: omap3: Bring back ARM errata workaround
> >> 725233") at least shows some activity, but not enough to do anything:
> >>
> >> U-Boot SPL 2017.03-00007-g19a75b8 (May 04 2017 - 17:53:10)
> >>
> >> (dead)
> >>
> >> I am wondering if other OMAP36/37 devices have had any issues?
> >
> > My bbXM is working. Can you try and see which of the errata is breaking
> > your particular setup? Thanks!
>
> It appears to be a toolchain issue. I use Buildroot which builds
> everything from scratch. I specify some items like glibc, gcc version,
> binutils, etc.
>
> I am not sure why the removal of "CFLAGS_clock.o += -marm" causes an issue.
>
> When I built it with Linaro 2016.11 it worked, but that version is
> tuned for a corex-A9, but it proves the code is ok. Sorry for the
> noise.
Hello,
It is actually unlikely to be a toolchain issue, but more like
some racy code in U-boot, which happens to be timing sensitive. As
the commit message [1] says, it was not a proper fix but a quick and
dirty workaround. More information is also available in the mailing
list archive [2].
Anyway, thanks a lot for your feedback. It's good to know that DM3730
is also affected. Because this clearly rules out any possible impact
of some Thumb2 errata (OMAP3530 had an old bug ridden Cortex-A8, but
DM3730 has the latest revision of it).
Right now the OMAP3 clock code has some sort of a timing sensitive
latent bug and it may potentially blow up on any future toolchain
update (regardless of the use of the ARM or Thumb2 mode). So it's
best if somebody finds the root cause and fixes it. But I guess,
OMAP3 is very old and does not get much love nowadays.
1. http://git.denx.de/?p=u-boot.git;a=commit;h=7584f2e0fb0f
2. https://lists.denx.de/pipermail/u-boot/2017-March/283078.html
--
Best regards,
Siarhei Siamashka
next prev parent reply other threads:[~2017-07-25 3:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-04 21:06 [U-Boot] 2017.05-RC3 hanging on DM3730 Adam Ford
2017-05-04 21:27 ` Tom Rini
2017-05-04 22:58 ` Adam Ford
2017-05-04 23:08 ` Tom Rini
2017-05-04 23:38 ` Adam Ford
2017-07-25 3:10 ` Siarhei Siamashka [this message]
2017-07-25 3:14 ` Adam Ford
2017-05-05 3:55 ` Heiko Schocher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170725061001.03217b4d@i7 \
--to=siarhei.siamashka@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox