mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Andreas Geisenhainer <Andreas.Geisenhainer@atsonline.de>
To: barebox@lists.infradead.org
Subject: Oselas 2018.12.0 toolchain seems to break barebox for AM335x
Date: Mon, 8 Jul 2019 16:15:00 +0200	[thread overview]
Message-ID: <875f8014-b696-b0dc-3c9b-0a9e2d573aa6@atsonline.de> (raw)

Hello barebox mailinglist.

While updating my local ptxdist setup I ran into the following problem.

Updating the toolchain to OSELAS_2018.12.0 and copiling barebox
it decided not to start anymore. To my surprise, compiling the
exact same source with the previous OSELAS toolchain (2018.02.0)
just works.
I installed the toolchains through the official debian repository.

We're still running an older barebox (2015.09), so i grabed a
stock, barebox 2019.06.1 and it produces the exact same behaviour.

We're running barebox an a Phytec PhyCORE AM335x platform, and the
behaviour does emerge for the default "barebox-am335x-phytec-phycore.img"
image from barebox.

* Exhibit A: barebox 2019.06.1 compiled with OSELAS_2018.12.0 (gcc 8.2.1)
----------------------------------8<-------------------------------------
barebox@sbo800:/mnt/10.0.1.6/rootbootm -vv -c barebox_2019.06.1_k1.img

Loading ARM barebox image 'barebox_2019.06.1_k1.img'
using internal devicetree
OS image not yet relocated
Passing control to OMAP barebox handler
exitcall-> devices_shutdown+0x1/0x24
exitcall-> arch_shutdown+0x1/0x1c
---------------------------------->8-------------------------------------

* Exhibit B: barebox 2019.06.1 compiled with OSELAS_2018.02.0 (gcc 7.3.1)
----------------------------------8<-------------------------------------
barebox@sbo800:/mnt/10.0.1.6/rootbootm -vv -c barebox_2019.06.1_k2.img

Loading ARM barebox image 'barebox_2019.06.1_k2.img'
using internal devicetree
OS image not yet relocated
Passing control to OMAP barebox handler
exitcall-> devices_shutdown+0x1/0x24
exitcall-> arch_shutdown+0x1/0x1c
start.c: memory at 0x80000000, size 0x20000000
start.c: found Compressed DTB in boarddata, copying to 0x9fdfd040
start.c: initializing malloc pool at 0x8fefe820 (size 0x0fefe820)
start.c: starting barebox...
----------------------------------<8-------------------------------------

What's the best course of action to debug this further?

There's a slight possibility for a barebox config option to be the culprit,
since i copied our local config into the extracted archive.
But it does not really explain why this breaks.

kind regards
Andreas Geisenhainer

-- 
        _
   __ _| |_ ___
  / _` | __/ __|
| (_| | |_\__ \
  \__,_|\__|___/
Elektronik GmbH


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2019-07-08 14:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-08 14:15 Andreas Geisenhainer [this message]
2019-07-10  7:58 ` Sascha Hauer
2019-07-10  8:14   ` Andreas Geisenhainer
2019-10-25  8:48     ` Andreas Geisenhainer
2019-11-12  7:48       ` Andreas Geisenhainer
2019-11-12 11:00         ` Sascha Hauer
2019-11-12 14:37           ` Andreas Geisenhainer

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=875f8014-b696-b0dc-3c9b-0a9e2d573aa6@atsonline.de \
    --to=andreas.geisenhainer@atsonline.de \
    --cc=barebox@lists.infradead.org \
    /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