public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: xiangfu_gmail <xiangfu.z@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-BOOT] nand merge problem
Date: Tue, 26 May 2009 17:12:01 +0800	[thread overview]
Message-ID: <4A1BB261.7080808@gmail.com> (raw)
In-Reply-To: <4A1B9E53.20406@gmail.com>

xiangfu_gmail wrote:
> Hi
> I have try to merge Ingenic U-boot (1.1.6) with upstream.
> but I have some problem
Hi I rewrite the jz_hwcontrol to :
--
static void jz_hwcontrol(......)
{	......
	if (ctrl & NAND_CTRL_CHANGE) {
		if (ctrl & NAND_NCE)
			REG_EMC_NFCSR |= EMC_NFCSR_NFCE1;
		else
			REG_EMC_NFCSR &= ~EMC_NFCSR_NFCE1;

		if (ctrl & NAND_CLE)
		......
	}
}
and
" nand->cmd_ctrl =  jz_hwcontrol; " in board_nand_init

but it's still not work:
the error message:
--
NAND:  nand_get_flash_type: second ID read did not match ff,ff against
00,00
No NAND device found!!!

0 MiB
--

what can cause this problem?

thanks

  reply	other threads:[~2009-05-26  9:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26  7:46 [U-Boot] [U-BOOT] nand merge problem xiangfu_gmail
2009-05-26  9:12 ` xiangfu_gmail [this message]
2009-05-26 21:17   ` Scott Wood
2009-05-27  0:41     ` xiangfu_gmail
2009-05-27 14:34       ` Scott Wood
     [not found]         ` <00ab01c9e19b$b2488f50$3e03a8c0@st.jz.com>
2009-05-31  8:09           ` xiangfu
2009-06-01 16:54             ` Scott Wood
2009-06-02  2:42               ` xiangfu
2009-06-06 14:46               ` [U-Boot] console_init_r problem with ingenic jz4740 cpu xiangfu
2009-06-10  9:14               ` [U-Boot] lcd logo color not correct xiangfu
2009-06-10 14:26                 ` xiangfu

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=4A1BB261.7080808@gmail.com \
    --to=xiangfu.z@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