public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] A problem with u-boot on smdk2410 used nand flash(smart media card)
@ 2004-12-21  5:09 Ada Wu
  2004-12-21  9:25 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Ada Wu @ 2004-12-21  5:09 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-24 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-21  5:09 [U-Boot-Users] A problem with u-boot on smdk2410 used nand flash(smart media card) Ada Wu
2004-12-21  9:25 ` Wolfgang Denk
2004-12-24 18:46   ` Ada Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox