public inbox for u-boot@lists.denx.de
 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 17:33:56 +0200	[thread overview]
Message-ID: <560417E4.1010004@denx.de> (raw)
In-Reply-To: <560410B3.20900@sigmatek.at>

Hi Markus,

On 24/09/2015 17:03, Markus Stelzhammer wrote:
> Hi Stefano,
> 
> 
> Today I grabbed a different Hardware with a bigger NAND chip (512
> instead of 256MB).
> At this hardware, SPL is not able to jump to U-Boot. So currently I
> assume that I might have some problems when flashing.
> 

If you are not flashing correctly, SPL does not run. It looks like that
your board boots (SPL runs).

> Would you be so kind to review my header file if I miss something or if
> there is something completely wrong?! (I attached it)
> The commands I use to flash are the following:
> 
>> ./kobs-ng init -v -x SPL
>> nandwrite --start=0x11000 --pad /dev/mtd0 u-boot.uim                
> (I also tried to flash u-boot.bin and u-boot.imx)
> 
> The output I get at boot are the following, but then it stucks.
> .......
>>>spl:board_init_r()
> using memory 0x18300000-0x1b500000 for malloc()
> spl_init()
> boot device - 4
> spl: nand - using hw ecc
> NAND : 0x01:0xdc erasesize=1 (>>0)

erasesize = 1 ??

> writesize=-1 (>>0)
> oobsize=65535
> chipsize=1095216660225
> Not support the NAND chips whose oob size is larger then 1024 bytes!
> 1044479 MiB

This larger NAND cannot be recognized correctly - it is not a problem by
flashing.

You have to investigate why this NAND (even if ONFI) is not recognized,
but it is a different problem as the one you reported previously.

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
=====================================================================

      parent reply	other threads:[~2015-09-24 15:33 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
2015-09-24 15:03   ` Markus Stelzhammer
2015-09-24 15:22     ` Heiko Schocher
2015-09-24 15:33     ` Stefano Babic [this message]

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=560417E4.1010004@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox