All of lore.kernel.org
 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: Thu, 7 Feb 2008 06:24:35 +0100	[thread overview]
Message-ID: <200802070624.35405.sr@denx.de> (raw)
In-Reply-To: <e9eeaac20802061638t6b9ec359xfeda12c0d9dcaf4@mail.gmail.com>

On Thursday 07 February 2008, Nikhil Gautam wrote:
>  I am trying to boot my board which is based on Sequoia 440EPX. The
>  only difference between my board and the reference board is that I
>  have a 1 Gb NAND flash ( NAND01GW3B2A) instead of 256Mb flash present
>  on reference board.
>
>  In U-boot I have changed the board configuration file to reflect correct
> specs.
>
>   * Now the NAND chip has to be defined (no autodetection used!)
>   */
>  #define CFG_NAND_PAGE_SIZE      (2048)          /* NAND chip page
> size          */
>  #define CFG_NAND_BLOCK_SIZE     (128 << 10)     /* NAND chip block
> size         */
>  #define CFG_NAND_PAGE_COUNT     (64)            /* NAND chip page
> count         */
>  #define CFG_NAND_BAD_BLOCK_POS  (5)             /* Location of bad
> block marker */
>  #define CFG_NAND_4_ADDR_CYCLE                   /* Fourth addr used
> (>32MB)     */
>
>  I have also changed the eeprom configuration word to
>  0x87788252
>  0x0947D010
>  0xA0A82358
>  0x0D050000
>
>  Is there any other place where some NAND configuration is defined?

Could be that nand_spl/nand_boot.c needs to be changed to support booting from 
2k page sized devices too. It was only tested on 512 byte page devices till 
now.

I can only recommend to debug using an BDI2000. But you have probably already 
realized, that NAND booting debugging is not that easy.

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-07  5:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07  0:36 440EPX is not booting from 1Gb/128MB NAND flash Nikhil Gautam
2008-02-07  0:38 ` [U-Boot-Users] " Nikhil Gautam
2008-02-07  5:24   ` Stefan Roese [this message]
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
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=200802070624.35405.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 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.