From: wind_embedded <wind_embedded@sina.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] ppc, flash init on mpc8247, Unknown FLASH on Bank 0
Date: Wed, 13 Oct 2010 16:12:29 +0800 [thread overview]
Message-ID: <000e01cb6aae$60f7d6e0$a744fea9@E43A> (raw)
In-Reply-To: <20101013060227.DC5E214F310@gemini.denx.de>
Dear "wind_embedded",
In message <000001cb6a92$34979570$a744fea9@E43A> you wrote:
>
> Before I use VxWorks, it works fine. When I port u-boot, my project
> based on IDS8247. I changed configuration in IDS8247.h and updated
> flash.c, after I compiled u-boot, I burned u-boot.bin into AM29LV040B.
> Console output(DEBUG is defined):
You must never copy any code without trying to understand it. When
adapting code from another board, you need to understand not only your
own hardware in detail, but also the hardware you are copying from.
In your case, you should not use the old flash driver in flash.c at
all. Remove that file, and use the CFI flash driver instead.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You don't have to stay up nights to succeed; you have to stay awake
days.
Dear Wolfgang Denk:
Because AM29LV040B driver has been used on VxWorks and it works
fine, so code of flash.c is taken from AM29LV040B driver. I think it
should be good, but bad!
Best regard
prev parent reply other threads:[~2010-10-13 8:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 4:50 [U-Boot] ppc, flash init on mpc8247, Unknown FLASH on Bank 0 wind_embedded
2010-10-13 5:27 ` Graeme Russ
2010-10-13 8:03 ` [U-Boot] 答复: " wind_embedded
2010-10-13 8:27 ` [U-Boot] " Graeme Russ
2010-10-13 8:27 ` [U-Boot] 答复: " Wolfgang Denk
2010-10-14 13:38 ` [U-Boot] 答复: " wind_embedded
2010-10-14 14:51 ` [U-Boot] " Graeme Russ
2010-10-13 5:36 ` Heiko Schocher
2010-10-13 8:08 ` [U-Boot] 答复: " wind_embedded
2010-10-13 6:02 ` [U-Boot] " Wolfgang Denk
2010-10-13 8:12 ` wind_embedded [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='000e01cb6aae$60f7d6e0$a744fea9@E43A' \
--to=wind_embedded@sina.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