public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: rudresh <rudresh.tk@lntemsys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Error: No NAND device found during Reset
Date: Wed, 18 Mar 2009 07:28:23 -0700 (PDT)	[thread overview]
Message-ID: <22579613.post@talk.nabble.com> (raw)
In-Reply-To: <22578494.post@talk.nabble.com>


I fix this issue by removing fixup for MPC8313ERDB REVA board in
board\mpc8313erdb\mpc8313erdb.c, now its working fine.

int checkboard(void)
{
	uint*	led_ptr;
	volatile immap_t *im = (immap_t *) CFG_IMMR;

	puts("Board: Freescale MPC8313ERDB\n");
#if 0	
	led_ptr = (uint*) (0xFA000000);

	/* fixup for MPC8313ERDB REVA board, ORx[FCM_BCTLD] need to be set;
	 * the default value of CFG_ORi_PRELIM[FCM_BCTLD] is clear
	 * that is ok for REVA1 and REVA2 board to identify NAND device
	 * SW4.3[REVA] 0 stands for REVA
	 * SW4.3[REVA] 1 stands for REVA1/REVA2
	 */
	if ( (*led_ptr & 0x1) == 0) {
#if defined(CFG_NAND_OR_PRELIM) && defined(CFG_NAND_BR_PRELIM)
#if !defined(CONFIG_NAND_U_BOOT ) 
	im->lbus.bank[1].or = CFG_NAND_OR_PRELIM | OR_FCM_BCTLD;
#else
#warning CONFIG_NAND_U_BOOT will not work on MPC8313ERDB REVA board
#endif
#endif
	}
	*led_ptr = 0x00000000;
#endif
	return 0;
}


Thanks
Rudresh Talkad


rudresh wrote:
> 
> i tried with u-boot 1.3.0 its working fine, but the client required u-boot
> 1.1.6 version. 
> 
> Thanks
> Rudresh
>  
> 
> wd wrote:
>> 
>> Dear rudresh,
>> 
>> In message <22577501.post@talk.nabble.com> you wrote:
>>> 
>>> In U-boot-1.1.6 , when i did reset the NAND device is not found("No NAND
>>> device found!!!") , if i Restart the board NAND device is detected .
>>> what
>>> exactly the problem? any patch for this 
>> 
>> U-Boot 1.1.6 is more than 2 years old. Please update to a recent
>> version and try again.
>> 
>> 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
>> What can it profit a man to gain the whole world and to come  to  his
>> property with a gastric ulcer, a blown prostate, and bifocals?
>>                                      -- John Steinbeck, _Cannery Row_
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error%3A-No-NAND-device-found-during-Reset-tp22577501p22579613.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

      parent reply	other threads:[~2009-03-18 14:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18 11:53 [U-Boot] Error: No NAND device found during Reset rudresh
2009-03-18 12:38 ` Wolfgang Denk
2009-03-18 12:52   ` rudresh
2009-03-18 13:56     ` Wolfgang Denk
2009-03-18 14:28     ` rudresh [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=22579613.post@talk.nabble.com \
    --to=rudresh.tk@lntemsys.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