public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] nand_scan() in ARM9 S3C2410
@ 2009-09-19 22:08 J.Hwan.Kim
  2009-09-21  7:24 ` Minkyu Kang
  0 siblings, 1 reply; 4+ messages in thread
From: J.Hwan.Kim @ 2009-09-19 22:08 UTC (permalink / raw)
  To: u-boot

Hi, everyone

I'm using u-boot for ARM9 S3C2410.
My tool chain is ELDK4.2.

I defined configuration "CONFIG_NAND_CMD, 
CONFIG_SYS_MAX_NAND_DEVICE    1,
and CONFIG_SYS_NAND_BASE 0x4E00000C" for nand_init().

It works well until the routine reaches nand_scan() which is in nand_base.c
When nand_scan() is called, the system hangs.

For test, When I written dummy function is nand_base.c and
called the dummy function from nand.c, the system is down.

My u-boot is using relocation to SDRAM from NAND.
The address of nand_scan() is 0x31F85894.
(TEXT_BASE is 0x31F80000  and SDRAM start from 0x30000000)
I'm sured that the binary data of u-boot.bin (address 0x5894) is same
with SDRAM data in 0x31F85894.
I think the relocation is  OK.

When I attached the routines of nand_base.c to nand.c,
the nand_scan() function passed.

Is there any hint for this problem?

Thanks in advnace.

Regards,
J.Hwan Kim

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

end of thread, other threads:[~2009-09-21 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-19 22:08 [U-Boot] nand_scan() in ARM9 S3C2410 J.Hwan.Kim
2009-09-21  7:24 ` Minkyu Kang
2009-09-21  8:04   ` kevin.morfitt at fearnside-systems.co.uk
2009-09-21 13:10     ` J.Hwan.Kim

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