mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Teresa Remmet <t.remmet@phytec.de>
To: Barebox List <barebox@lists.infradead.org>,
	Sascha Hauer <s.hauer@pengutronix.de>
Subject: AM335x broken
Date: Mon, 11 Feb 2019 15:44:28 +0100	[thread overview]
Message-ID: <21f6fae81ddfaa473b00005ce2e44b692f7861c8.camel@phytec.de> (raw)

Hello,

AM335x is broken on current master in multiple ways. 
NAND and and SPI boot are not working right now as the image size can
not be found:

barebox 2019.01.0-00305-g96abbe544e19 #1682 Mon Feb 11 15:20:00 CET
2019


Board: Phytec phyCORE AM335x
nand: ONFI flash detected
nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron
MT29F4G08ABADAH4), 512Mi
B, page size: 2048, OOB size: 64
booting from NAND
failed to get image size
trying to load image from backup partition.
failed to get image size
booting failed

I bisected the issue down to:
commit 5c0e16591d9471a345b77a41fde76de34f301f6b
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Wed Jan 16 10:15:55 2019 +0100

    images: Drop unnecessary fix_size
    
    Now that we compile the compressed binary into the decompressor we
    no longer need fix_size but can use the linker to fill in the image
    size into the binary.
    
    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Reverting this patch helps. But what is the correct solution?

The other problem was introduced by the lastest device tree update from
kernel. The device tree includes have been changed to use the
interconnect target module hierarchy. So neither MLO or barebox are
starting. I will send fixes for this shortly.

Regards,
Teresa






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

             reply	other threads:[~2019-02-11 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-11 14:44 Teresa Remmet [this message]
2019-02-11 19:21 ` Sascha Hauer
2019-02-13  8:20   ` Teresa Remmet

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=21f6fae81ddfaa473b00005ce2e44b692f7861c8.camel@phytec.de \
    --to=t.remmet@phytec.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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