[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] u-boot print the message "## Unknown FLASH on Bank 0", flash-init() fail
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: Re: [microblaze-uclinux] u-boot print the message "## Unknown FLASH on Bank 0", flash-init() fail
- From: Childhood Hwang <childhood.hwang@xxxxxxxxx>
- Date: Fri, 21 Aug 2009 15:17:07 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Vfm1KUq64glA/iCSKIRPKiV2tonTKojcalVnC4b2nP0=; b=JWuEYlfFOdnt4TP3QlbaK15q2PZVPSrBeyxBxw2MppN/YWUWoyE0/PFNmboUue11Uz 0jyZ/ZAHrvDeE2FkdEiUn0H0aRYEAZxFpZOv4FLjNFVCMq6h1sj53xyVFgfP8GgRpyCG TuGg4nDPI36exIA+hxxx5/MOLRLJ/DpkB+k5s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=veI7cu3R+z/EDxlBSKXsX8AcCYjExwDkFbDpSOLaJOE5mSsQNRN1TByPflx4g+8/1W iy+SzHb6sPfq4WpYDPQ4HdrQaG9l/fAcS48xGkdn5tenMbQko7O+DuWYp9rFQDO/P4x4 Y+BDefJpDDO0zx0pGKheaOFbXGMwIt3pq9wVI=
- In-reply-to: <4A8E385F.309@xxxxxxxxxxxxx>
- References: <f4b46ce60908202052q5de5b6e2rfcf175ee96ce66c3@xxxxxxxxxxxxxx> <4A8E385F.309@xxxxxxxxxxxxx>
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx
Hi, Michal:
I am trying to test the flash of my board now , it may cost some period of time.
Thanks for your advice.
Rgs.
Childhood
2009/8/21 Michal Simek <michal.simek@xxxxxxxxxxxxx>:
> Hi,
>
> Childhood Hwang wrote:
>> Hi, all:
>> I am trying to boot 'u-boot' on a new board by I got the following
>> message in flash_init(), i.e. flash_init() return failure.
>> I am using the ../u-boot/drivers/cfi_flash.c, is it correct ? Or I
>> have to write my own flash_init() etc. In flash_detect_cfi()
>> funtion, u-boot can't detect the infomation of the flash, and the
>> flash on my board is TE28F256J3C-125, in 8 bits data
>> bus width.
>
> CFI driver should cover it. You don't need to write your own driver.
> I should try to use latest U-BOOT and see if is solve
> the problem. If is the custom board, you should check that your flash is ok.
>
> Regards,
> Michal
>
>>
>>
>> FS-BOOT: System initialisation completed.
>> FS-BOOT: No existing image in FLASH. Starting image download.
>> FS-BOOT: Waiting for SREC image....
>> FS-BOOT: Image download successful.
>> FS-BOOT: Warning image location differ from default boot location.
>> Image will not boot automatically after POR.
>> FS-BOOT: Press 'n' to boot old image.
>> FS-BOOT: Use new image.
>> FS-BOOT: Booting image...
>> SDRAM :
>> Enabling caches :
>> Icache:OK
>> Dcache:OK
>> U-Boot Start:0x91fc0000
>> Malloc Start:0x91f80000
>> Board Info Start:0x91f7ffd0
>> Boot Parameters Start:0x91f6ffd0
>> FLASH:
>> fwc addr 82000000 cmd 0 0 8bit x 8 bit
>> fwc addr 82000055 cmd 98 98 8bit x 8 bit
>> is= cmd 51(Q) addr 82000010 is= ff 51
>> fwc addr 82000000 cmd 0 0000 16bit x 8 bit
>> fwc addr 820000aa cmd 98 9898 16bit x 8 bit
>> is= cmd 51(Q) addr 82000020 is= ffff 5151
>> fwc addr 82000000 cmd 0 0000 16bit x 16 bit
>> fwc addr 820000aa cmd 98 0098 16bit x 16 bit
>> is= cmd 51(Q) addr 82000020 is= ffff 0051
>> fwc addr 82000000 cmd 0 00000000 32bit x 8 bit
>> fwc addr 82000154 cmd 98 98989898 32bit x 8 bit
>> is= cmd 51(Q) addr 82000040 is= ffffffff 51515151
>> fwc addr 82000000 cmd 0 00000000 32bit x 16 bit
>> fwc addr 82000154 cmd 98 00980098 32bit x 16 bit
>> is= cmd 51(Q) addr 82000040 is= ffffffff 00510051
>> fwc addr 82000000 cmd 0 00000000 32bit x 32 bit
>> fwc addr 82000154 cmd 98 00000098 32bit x 32 bit
>> is= cmd 51(Q) addr 82000040 is= ffffffff 00000051
>> is= cmd 51(Q) addr 82000080 is= cmd 51(Q) addr 82000080 is= cmd 51(Q)
>> addr 82000080 is= cmd 51(Q) addr 82000080 not found
>> ## Unknown FLASH on Bank 0 - Size = 0xb8080070 = 117440512 MB
>> ETHERNET: MAC:00:0a:35:00:22:01
>>
>> *** Warning - bad CRC, using default environment
>>
>> Hit any key to stop autoboot: 0
>> ## Booting image at 82080000 ...
>> Bad Magic Number
>> U-Boot>
>>
>> Rgs.
>> Childhood Hwang
>> ___________________________
>> 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/
>>
>>
>
> --
> Michal Simek, Ing. (M.Eng)
> PetaLogix - Linux Solutions for a Reconfigurable World
> w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
> ___________________________
> 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/
>
>
___________________________
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/