public inbox for u-boot@lists.denx.de
 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: Sat, 25 Dec 2004 02:46:20 +0800	[thread overview]
Message-ID: <70882d06041224104637f44da@mail.gmail.com> (raw)
In-Reply-To: <20041221092544.3CF79C1430@atlas.denx.de>

Thanks for you suggestion. 
I created a new header file for some definitions of nand flash.
That might work, but there is a compile error that i don't know how to solve it.
When compiled(make) to the last "u-boot" binary file, then that can
not find `__readwrite_bug'.


The error message is :

/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3 -lgcc --end-group \
                -Map u-boot.map -o u-boot
common/libcommon.a(cmd_nand.o): In function `nand_write_page':
/home/music/u-boot/u-boot-1.1.1/common/cmd_nand.c:1066: undefined
reference to `__readwrite_bug'
/home/music/u-boot/u-boot-1.1.1/common/cmd_nand.c:1080: undefined
reference to `__readwrite_bug'
make: *** [u-boot] Error 1

I think that problem comes from /asm-arm/io.h
And I can not find any function about "__readwrite_bug()". so I can't slove it.
My u-boot version is 1.1.1.
What can I do for this error?
Thanks!!



On Tue, 21 Dec 2004 10:25:39 +0100, Wolfgang Denk <wd@denx.de> wrote:
> In message <70882d0604122021091dc76868@mail.gmail.com> you wrote:
> >
> > 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.
> 
> What makes you think that this should work?
> 
> > Where can I find the header file for smdk2410 with nand flash?
> 
> Create one.
> 
> > or How can i find make such definition for nand flash? and where
> > should i add such definition?
> 
> Have a look at what other boards with NAND support are doing, try  to
> understand this, and then copy and adapt these settings.
> 
> For a start, I recommend to RTFM (see doc/README.nand).
> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> It is necessary to have purpose.
>        -- Alice #1, "I, Mudd", stardate 4513.3
>

      reply	other threads:[~2004-12-24 18:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=70882d06041224104637f44da@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox