[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] u-boot print the message "## Unknown FLASH on Bank 0", flash-init() fail



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.


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/