All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ada Wu <musicguitar17@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] A problem with u-boot on smdk2410 used nand flash(smart media card)
Date: Tue, 21 Dec 2004 13:09:24 +0800	[thread overview]
Message-ID: <70882d0604122021091dc76868@mail.gmail.com> (raw)

Hi all,
I have a problem with u-boot on smdk2410, i used a nand flash(smart media card).
I had make an "u-boot.bin " image, and download with jtag to the nand
flash. But, that was no any out put signal on the screen.
I just used the "make smdk2410_config", but I didn't change any file.

After that method failed. Then i thought, how can I enable the nand flash?
So I added some things in "smdk2410.h", which are 
CONFIG_COMMANDS \
               (CONFIG_CMD_DFL	 | \
                CFG_CMD_CACHE	 | \
	CFG_CMD_NAND	 | \
	CFG_CMD_REGINFO  | \
	CFG_CMD_DATE	 | \
	CFG_CMD_ELF)

Is that a correct direction to boot on nand flash?
I assume that is a correct direction, but that is some error with compiling.
Such constants or marcos are not defined:
#define SECTORSIZE 512
#define ADDR_COLUMN 1
#define ADDR_PAGE 2
#define ADDR_COLUMN_PAGE 3
#define NAND_ChipID_UNKNOWN 0x00
#define NAND_MAX_FLOORS 1
#define NAND_MAX_CHIPS 1
#define NAND_WAIT_READY(nand)
#define WRITE_NAND_COMMAND(d, adr)
#define READ_NAND(adr)
..............................etc....

Where can I find the header file for smdk2410 with nand flash?
or How can i find make such definition for nand flash? and where
should i add such definition?
Thanks!!

             reply	other threads:[~2004-12-21  5:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-21  5:09 Ada Wu [this message]
2004-12-21  9:25 ` [U-Boot-Users] A problem with u-boot on smdk2410 used nand flash(smart media card) Wolfgang Denk
2004-12-24 18:46   ` Ada Wu

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=70882d0604122021091dc76868@mail.gmail.com \
    --to=musicguitar17@gmail.com \
    --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.