[#7562] uboot_SPI_test_fail

Document created by Aaronwu Employee on Sep 26, 2013
Version 1Show Document
  • View in full screen mode

[#7562] uboot_SPI_test_fail

Submitted By: ren qiang

Open Date

2012-12-24 02:35:56     Close Date

2013-01-04 02:29:51

Priority:

Medium     Assignee:

Scott Jiang

Category:

N/A     Fixed In Release:

2012R2-RC3

Found In Release:

2012R2-RC3     Status:

Closed

Board:

N/A     Processor:

BF518

Silicon Revision:

    Resolution:

Assigned (Not Start)

Is the bug repeatable?:

N/A     

Summary: uboot_SPI_test_fail

Details:

 

U-Boot 2012.07-rc2 (ADI-2012R2)-00005-g0afea1e-dirty (Dec 24 2012 - 14:26:18)

 

CPU:   ADSP bf518-0.0 (Detected Rev: 0.2) (parallel flash boot)

Board: ADI BF518F EZ-Board board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz

RAM:   64 MiB

Flash: 4 MiB

MMC:   Blackfin SDH: 0

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready                                                       

Net:   bfin_mac                                                                

Hit any key to stop autoboot:  0                                               

bfin> tftp 0x2000000 u-boot.bin                                                

Using bfin_mac device                                                          

TFTP from server 10.100.4.174; our IP address is 10.100.4.50                   

Filename 'u-boot.bin'.                                                         

Load address: 0x2000000                                                        

Loading: T ########################################                            

done                                                                           

Bytes transferred = 203348 (31a54 hex)                                         

bfin>                                                                          

bfin>                                                                          

bfin> go 0x2000000                                                             

## Starting application at 0x02000000 ...                                      

                                                                               

                                                                               

U-Boot 2012.07-rc2 (ADI-2012R2)-00005-g0afea1e-dirty (Dec 24 2012 - 15:47:20)  

                                                                               

CPU:   ADSP bf518-0.0 (Detected Rev: 0.2) (spi flash boot)                     

Board: ADI BF518F EZ-Board board                                               

       Support: http://blackfin.uclinux.org/                                   

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz                             

RAM:   64 MiB                                                                  

Flash: 4 MiB                                                                   

MMC:   Blackfin SDH: 0                                                         

SF: Unsupported manufacturer ff                                                

*** Warning - spi_flash_probe() failed, using default environment              

                                                                               

In:    serial                                                                  

Out:   serial                                                                  

Err:   serial                                                                  

KGDB:  [on serial] ready                                                       

Warning: Generating 'random' MAC address                                       

Net:   bfin_mac                                                                

Hit any key to stop autoboot:  0                                               

bfin> set ipaddr 10.100.4.50                                                   

bfin> set serverip 10.100.4.174                                                

bfin> save                                                                     

Saving Environment to SPI Flash...                                             

SF: Unsupported manufacturer ff                                                

*** Warning - spi_flash_probe() failed, using default environment              

                                                                               

bfin> print                                                                    

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask)f

autoload=no                                                                    

baudrate=57600                                                                 

bootargs=root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600

bootcmd=run ramboot                                                            

bootdelay=5                                                                    

flashboot=bootm 0x20100000                                                     

gatewayip=192.168.0.1                                                          

hostname=bf518f-ezbrd                                                          

ipaddr=192.168.0.15                                                            

loadaddr=0x1000000                                                             

loads_echo=1                                                                   

nc=set ncip ${serverip};set stdin nc;set stdout nc;set stderr nc               

netmask=255.255.255.0                                                          

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsve3

nfsboot=tftp $(loadaddr) $(nfsfile);run nfsargs;run addip;bootm                

nfsfile=vmImage                                                                

ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=seria0

ramboot=tftp $(loadaddr) $(ramfile);run ramargs;run addip;bootm                

ramfile=uImage                                                                 

rootpath=/romfs                                                                

serverip=192.168.0.2                                                           

ubootfile=u-boot.ldr                                                           

update=tftp $(loadaddr) $(ubootfile);sf probe 2;sf erase 0 0x40000;sf write $(l)

                                                                               

Environment size: 1038/8188 bytes 

 

Follow-ups

 

--- ren qiang                                                2012-12-24 04:35:00

"ADZS——BF526——EZBRD" have the same problem.

 

--- ren qiang                                                2012-12-26 01:24:28

“BF533-STAMP” have the same problem. 

 

--- Mingquan Pan                                             2013-01-04 03:36:02

This is because the spi flash needs JP 16 enabled to work.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes