[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux]U-boot hang in function flash_detect_cfi(...), need your help.
- To: microblaze-uclinux <microblaze-uclinux@xxxxxxxxxxxxxx>
- Subject: [microblaze-uclinux]U-boot hang in function flash_detect_cfi(...), need your help.
- From: Childhood Hwang <childhood.hwang@xxxxxxxxx>
- Date: Thu, 12 Nov 2009 16:26:41 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=1O30cWVLZ5NCathp4lAKkv8SFUjsjqq7NIhXHgshOfo=; b=SD5jQsUepVuUjDrfD1xtmcFBBQlcOpXN5AC6lDhgHij8TV/0PGUu1cMEdoOTB4za0/ VpkNh1LYoHqRfrRw1Rw8l5DoEsCfBTkK8C3DmIMkLbInHQrxqlzRmJrlOjH0ix2R4aNK HpyiadlkufI0VHMvi0rP1nX+agm04UfWEav3s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Guz/DJahXH806NAWQ0LZIePz82deY9BonkE3WqwKKOmCbU+P6/866iFlr36Swsre+S Odm9lxyBj1vHD9/01z75J5n4RcHz3n1AoQJMAsGvp9hcyvZ2U9FsC0MtaAN88CSS4Yb7 Jk2WlYoqfbm45sIQO+NEJukVc0O9AQ5MGVwGo=
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx
Hello all:
The function flash_readarray_mode(...) of fs-boot set an value
0xFFFFFFFF, What is it for ?
/*!
* This routine send a command to the CUI
* to put the FLASH into Read Array mode.
*
* @param addr - Memory address of FLASH device
*
* @return none
*/
static void flash_readarray_mode(unsigned long flash_addr)
{
/*
* We assume it is all CFI FLASH
* Write 32-bit to take care off all flash
* configurations.
*/
*((volatile unsigned long *)(flash_addr)) = 0xFFFFFFFF;
}
I am trying to initialize a flash during u-boot phase, but u-boot hang
in function flash_detect_cfi(...).
This flash works well when I use it as the flash memory to boot u-boot
and the kernel.
Should anyone help me about initialization of an flash ?
Thanks for your help.
Rgs.
Childhood.
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/