[U-Boot] Error: No NAND device found during Reset

rudresh rudresh.tk at lntemsys.com
Wed Mar 18 15:28:23 CET 2009


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 at 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.



More information about the U-Boot mailing list