From: J.Hwan.Kim <frog1120@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] nand_scan() in ARM9 S3C2410
Date: Sun, 20 Sep 2009 07:08:13 +0900 [thread overview]
Message-ID: <4AB5564D.1090109@gmail.com> (raw)
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
next reply other threads:[~2009-09-19 22:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-19 22:08 J.Hwan.Kim [this message]
2009-09-21 7:24 ` [U-Boot] nand_scan() in ARM9 S3C2410 Minkyu Kang
2009-09-21 8:04 ` kevin.morfitt at fearnside-systems.co.uk
2009-09-21 13:10 ` J.Hwan.Kim
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=4AB5564D.1090109@gmail.com \
--to=frog1120@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox