2010-10-19 05:56:51     whre to put u-boot in ezkitbf548

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

2010-10-19 05:56:51     whre to put u-boot in ezkitbf548

Bastian Ruppert (GERMANY)

Message: 94730   

 

Hello,

 

on an ezkit bf548 Board i try to boot the u-boot from flash memory.

 

I have problems there!

 

I followed the instructions on http://docs.blackfin.uclinux.org/doku.php?id=hw:boards:bf548-ezkit

 

I compiled a u-boot from url = http://git.denx.de/u-boot.git !

 

The u-boot repository is at commit b88c5988db176a0f9de5598d5167ee2498637d40 !

The build command was: make bf548-ezkit.

 

( .include/configs/bf548-ezkit.h:15#define CONFIG_BFIN_BOOT_MODE BFIN_BOOT_PARA)

 

Building u-boot works fine, and i loaded the u-boot.bin via uart in the ram.

 

go 0x100000 works!

 

I copied the u-boot to 0x20000000

 

go 0x20000000 gives the following output:

 

bfin> go 0x20000000

## Starting application at 0x20000000 ...

 

 

U-Boot 2010.03-00267-gb88c598 (Oct 19 2010 - 10:22:33)

 

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

Board: ADI BF548 EZ-Kit board

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

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

RAM:   64 MB

Flash: 16 MB

NAND:  256 MiB

MMC:  Blackfin SDH: 0

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   smc911x-0

Hit any key to stop autoboot:  0

bfin>

 

 

 

It seems OK so far.

 

Then i put the rotary switch (SW1) to 1 to and try to boot with no success. Nothing happens.

 

The same on rotary switch (SW1) to 7 or whatever.

 

Please tell me what i am doing wrong.

 

Please tell me where to find a brepbuild u-boot.bin!

 

Thank you,

 

Regards, Bastian.

QuoteReplyEditDelete

 

 

2010-10-19 08:26:08     Re: where to put u-boot in ezkitbf548

Bastian Ruppert (GERMANY)

Message: 94733   

 

Hello again,

 

i tried the u-boot ( 2008.10-2009R1.1-rc1 ) from the blackfin-page at:

 

http://blackfin.uclinux.org/gf/project/u-boot/frs/

 

and got a u-boot running with the following output:

 

[...]

 

Un-Protect Flash Bank # 1

................................................................................................................................... done

bfin> erase 0x20000000 0x200fffff

 

........ done

Erased 8 sectors

bfin> cp.b 0x1000000 0x20000000 0x3d8f4

Copy to Flash... done

bfin> cmp.b 0x1000000 0x20000000 0x3d8f4

Total of 252148 bytes were the same

bfin> go 0x20000000

## Starting application at 0x20000000 ...

 

 

U-Boot 2008.10 (ADI-2009R1.1-rc1) (Oct 19 2010 - 14:07:48)

 

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

Board: ADI BF548 EZ-Kit board

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

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

RAM:   64 MB

Flash: 16 MB

NAND:  256 MiB

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

Net:   Hit any key to stop autoboot:  0

 

... but booting after reset doesn`t work!

 

Any suggestions?

 

 

 

Cheers, Bastian.

QuoteReplyEditDelete

 

 

2010-10-19 08:48:22     Solved

Bastian Ruppert (GERMANY)

Message: 94734   

 

OK OK,

 

reading doku helps sometimes!

 

Testing with "go" for u-boot.bin files, and booting with .ldr files!

 

Sorry for the noise!

QuoteReplyEditDelete

 

 

2011-10-20 06:13:21     Re: Solved

asma chiha (TUNISIA)

Message: 104042   

 

hi Bastian,

 

i have the same problem with u-boot when i configure it to be loaded from burst flash, and i use the same board BF548, i would like to know how you make it work ,

 

Can you help me please

Attachments

    Outcomes