public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] 440EPX is not booting from 1Gb/128MB NAND flash
Date: Mon, 11 Feb 2008 17:26:11 +0100	[thread overview]
Message-ID: <200802111726.12126.sr@denx.de> (raw)
In-Reply-To: <e9eeaac20802110643i49c9bc56w8beffb9ce857142d@mail.gmail.com>

Hi Nikhil,

On Monday 11 February 2008, Nikhil Gautam wrote:
> I bypassed the function nand_is_bad_block( ) and also my image is now
> padded correctly. But still the problem is that SPL doesn't copy the
> U-boot image correctly onto the RAM. It copies the first page of first
> block from NAND flash again and again.

Now this could be an indication for what is going wrong here.

> This must be because of some configuration of NDFC done by SPL because
> I can see that IPL copied the first 4K (2 pages) correctly from NAND
> flash to RAM. But there aren't many NDFC or NAND configuration
> parameter that I can change.
>
> Have anyone seen this kind of problem before?

No.

But as mentioned above, if you see the same 2k page multiple times, it seems 
that the addressing in nand_command() (nand_boot.c) is not correct for those 
2k page devices. And looking at nand_base.c you will notice two different 
implementations for nand_command:

nand_command() and
nand_command_lp()   (lp for Large Page)

I suggest you take a look at this and merge the needed changes into 
nand_boot.c

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-02-11 16:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e9eeaac20802061636t14229054yebb41fa38dc5bffe@mail.gmail.com>
2008-02-07  0:38 ` [U-Boot-Users] 440EPX is not booting from 1Gb/128MB NAND flash Nikhil Gautam
2008-02-07  5:24   ` Stefan Roese
2008-02-07 23:46     ` Nikhil Gautam
2008-02-08  4:50       ` Stefan Roese
2008-02-08 22:57         ` Nikhil Gautam
2008-02-09  5:51           ` Stefan Roese
2008-02-11 14:43           ` Nikhil Gautam
2008-02-11 16:26             ` Stefan Roese [this message]
2008-02-12  1:16               ` Nikhil Gautam
2008-02-12  5:12                 ` Stefan Roese
2008-02-12  6:02                   ` Wolfgang Denk
2008-02-12  6:11                     ` Stefan Roese
2008-02-12 22:31                       ` Wolfgang Denk
2008-02-13 23:16                         ` Nikhil Gautam
2008-02-14  5:36                           ` Stefan Roese

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=200802111726.12126.sr@denx.de \
    --to=sr@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