All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPL boot with NAND on i.MX6 data abort
Date: Thu, 24 Sep 2015 11:25:38 +0200	[thread overview]
Message-ID: <5603C192.3070001@denx.de> (raw)
In-Reply-To: <56025C8A.6060101@sigmatek.at>

Hi Markus,

On 23/09/2015 10:02, Markus Stelzhammer wrote:
> Hi all,
> 
> 
> I'm currently working on the port of u-boot for our custom boards.
> Previously we were using u-boot based on v2013.04 without SPL for our
> boards (we have boards with SD also) and this worked for all of our
> devices.
> 
> As we now have new boards with different (bigger) RAM, I decided to use
> the newest bootloader (v2015.10) and enable SPL support.
> This is already working on a board with SD-Card but I'm not getting it
> to work on the boards with NAND.
> 
> When I try to boot, SPL is detecting and loading u-boot but u-boot
> throws a "data abort" during "ubifs mount".

u-boot ist also in NAND ? Then SPL has configured correctly the device
else u-boot was not loaded.

> The strange thing for me is that when I disable SPL, the board will boot
> properly.

You can try to follow the data abort and check which addresses are
involved. We cannot underestimate that the bug is still present in
u-boot, but it appears only together with SPL.

> 
> Could anyone give me a hint how I could trace this error?
> I can also provide logs or code snippets if needed!

Some initialization done previously in u-boot, is done now by SPL -
check your code if there is something missing.

As your board is not mainlined, we cannot help a much with code.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2015-09-24  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-23  8:02 [U-Boot] SPL boot with NAND on i.MX6 data abort Markus Stelzhammer
2015-09-24  9:25 ` Stefano Babic [this message]
2015-09-24 15:03   ` Markus Stelzhammer
2015-09-24 15:22     ` Heiko Schocher
2015-09-24 15:33     ` Stefano Babic

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=5603C192.3070001@denx.de \
    --to=sbabic@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.