[#4858] characters are easily missing when copy to u-boot on 527 and 548

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

[#4858] characters are easily missing when copy to u-boot on 527 and 548

Submitted By: Vivi Li

Open Date

2009-02-05 03:56:25     Close Date

2009-04-14 03:50:14

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

N/A     Processor:

BF548

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: characters are easily missing when copy to u-boot on 527 and 548

Details:

 

In latest u-boot trunk, on bf527 board, copy characters to u-boot, characters are easily missing with different combination of icache/dcache settings.

 

If we use u-boot with default clock and default icache/dcache settings, characters are seldom missing.

--

U-Boot 2008.10-svn1642 (ADI-2009R1-pre) (Feb  5 2009 - 16:12:39)

 

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

Board: ADI BF527 EZ-Kit board

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

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:22:FE:BD:7C

Hit any key to stop autoboot:  0

bfin>

bfin>

bfin> 123456789012345678901234567890123456789012345678901234567890

Unknown command '123456789012345678901234567890123456789012345678901234567890' - try 'help'

bfin> 123456789012345678901234567890123456789012345678901234567890

Unknown command '123456789012345678901234567890123456789012345678901234567890' - try 'help'

bfin>

bfin> icache off

Instruction Cache is OFF

bfin> dcache on

Data (writethrough) Cache is ON

bfin> 1234567890

Unknown command '1234567890' - try 'help'

bfin> 123456790

Unknown command '123456790' - try 'help'

bfin>

bfin> icache on

Instruction Cache is ON

bfin> dcache off

Data (writethrough) Cache is OFF

bfin> 12345678901234567890

Unknown command '12345678901234567890' - try 'help'

bfin> 12345678901234567800

Unknown command '12345678901234567800' - try 'help'

bfin>

bfin> icache off

Instruction Cache is OFF

bfin> dcache off

Data (writethrough) Cache is OFF

bfin> 1234567890

Unknown command '1234567890' - try 'help'

bfin> 123456890

Unknown command '123456890' - try 'help'

bfin>

--

 

Bellow is the example when Clock setting is not the default one, all combination of icache/dcache settings will fail.

--

U-Boot 2008.10-svn1632 (ADI-2009R1-pre) (Feb  5 2009 - 15:45:03)

 

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

Board: ADI BF527 EZ-Kit board

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

Clock: VCO: 400 MHz, Core: 200 MHz, System: 100 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:22:FE:BD:7C

Hit any key to stop autoboot:  0

bfin> 12345678901234567890abcde

Unknown command '12345678901234567890abcde' - try 'help'

bfin> 12345678901234567890abcee

Unknown command '12345678901234567890abcee' - try 'help'

bfin>

bfin> icache on

Instruction Cache is ON

bfin> dcache off

Data (writethrough) Cache is OFF

bfin> 12345678901234567890abcde

Unknown command '12345678901234567890abcde' - try 'help'

bfin> 1234567890134567890abcee

Unknown command '1234567890134567890abcee' - try 'help'

bfin>

bfin> icache off

Instruction Cache is OFF

bfin> dcache on

Data (writethrough) Cache is ON

bfin> 12345678901234567890abcde

Unknown command '12345678901234567890abcde' - try 'help'

bfin> 123567901345789abcee

Unknown command '123567901345789abcee' - try 'help'

bfin>

bfin> icache off

Instruction Cache is OFF

bfin> dcache off

Data (writethrough) Cache is OFF

bfin> 12345678901234567890abcde

Unknown command '12345678901234567890abcde' - try 'help'

bfin> 123567902346790bcde

Unknown command '123567902346790bcde' - try 'help'

bfin>

--

 

Follow-ups

 

--- Vivi Li                                                  2009-02-12 05:25:49

For BF548-EZKIT, when icache is off, the following combination of clocks will

have character missing problem. Default config is ok.

VCO: 525 Mhz, CCLK: 525 Mhz, SCLK: 87.500 Mhz

VCO: 375 Mhz, CCLK: 93.750 Mhz, SCLK: 46.875 Mhz

VCO: 375 Mhz, CCLK: 187.500 Mhz, SCLK: 93.750 Mhz

 

--- Mike Frysinger                                           2009-03-26 16:13:26

can you try again ?  i made a change to our serial driver that should speed

things up at the expense of a little less reliable output in the extreme case

...

 

--- Vivi Li                                                  2009-04-14 03:50:13

OK. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes