2009-03-10 10:29:03     U-BOOT boot from U-BOOT but not in boot mode 0

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

2009-03-10 10:29:03     U-BOOT boot from U-BOOT but not in boot mode 0

Jean-Francois Argentino (FRANCE)

Message: 70702   

 

Hello,

 

 

 

I need to flash for the first time u-boot on a CM-BF537E. To do this:

 

1°) I set boot mode to 7 (boot from UART) on my board.

 

2°) I load an U-BOOT ldr file through the UART.

 

3°) I open a minicom and load the U-BOOT image I want to burn into the RAM with ymodem

 

4°) I copy the RAM content to the flash location 0x2000000, if I make a "go 20000000", my new U-BOOT is running OK

 

5°) I set my board back to booting mode 0, but there nothing to do, I can't connect to my board, no serial terminal!

 

If I boot with an U-BOOT through the UART (boot mode 7), and if I take a look to some bytes at flash address 0x20000000, it looks the same that if a look into the U-BOOT binary file with an hex-editor (except for the endianness).

 

Does anybody can help me to solve this issue?

 

 

 

remarks: the U-BOOT images I'm using are:

 

http://blackfin.uclinux.org/gf/download/frsrelease/395/4878/u-boot-cm-bf537e-uart-2008R1.5.ldr in boot mode 7; and

 

http://blackfin.uclinux.org/gf/download/frsrelease/405/5343/u-boot_cm-bf537e.bin is the one I try to boot in boot mode 0.

 

 

TranslateQuoteReplyEditDelete

 

 

2009-03-16 03:35:00     Re: U-BOOT boot from U-BOOT but not in boot mode 0

Mike Frysinger (UNITED STATES)

Message: 71005   

 

that u-boot.bin isnt from us so we cant tell you why it isnt working.  you can either use the files from our release, or you can debug things.

QuoteReplyEditDelete

 

 

2009-03-16 04:23:26     Re: U-BOOT boot from U-BOOT but not in boot mode 0

Jean-Francois Argentino (FRANCE)

Message: 71020   

 

If you're talking about this one:

 

http://blackfin.uclinux.org/gf/download/frsrelease/395/4882/u-boot-cm-bf537e-bypass-2008R1.5.bin

 

I've try it too, with the same problem... But thanks anyway.

TranslateQuoteReplyEditDelete

 

 

2009-03-16 04:29:58     Re: U-BOOT boot from U-BOOT but not in boot mode 0

Mike Frysinger (UNITED STATES)

Message: 71021   

 

ive tested every binary on that page so i know they work ...

 

after you've written the flash, try using cmp.b to make sure the binary that is in external memory matches exactly the one in parallel flash

QuoteReplyEditDelete

 

 

2009-03-16 13:20:09     Re: U-BOOT boot from U-BOOT but not in boot mode 0

Jean-Francois Argentino (FRANCE)

Message: 71046   

 

I've done it too, and there's no problem, I compare the flash content with the file content too, and there's no difference, excepting the endianness, but I'm assuming it's OK since if a run "go 2000000", the u-boot image run properly...

 

For now I just have one tinyboard to test on, I will receive plenty of during this week to test the same thing on another boards, but it looks (for me) as if the BFIN isn't able to boot from the flash memory. Do you have any trick to help me confirm that fact quicly and easily?

 

I'll try to flash the memory with the JTAG adapter as soon as possible, but I'm very busy these days.

 

Anyway, thank you for the help.

TranslateQuoteReplyEditDelete

 

 

2009-03-16 14:18:23     Re: U-BOOT boot from U-BOOT but not in boot mode 0

Jean-Francois Argentino (FRANCE)

Message: 71047   

 

I've forget to point out the fact that the blackfin BF537E I'm using are in rev 0.3, and it's quite new at bluetechnix, so maybe one difference between us us the bfin revision, but i'm not sure this is really significant for my problem...

TranslateQuoteReplyEditDelete

 

 

2009-03-17 11:23:02     Re: U-BOOT boot from U-BOOT but not in boot mode 0

Mike Frysinger (UNITED STATES)

Message: 71116   

 

i meant literally use the u-boot command "cmp.b" to do the compare.  there should be no difference between external memory and flash.  endianness makes no sense because the file is a flat binary.  the Blackfin proc is also little endian, so unless you're using a powerpc as your desktop system, you're most likely to be the same endian.

QuoteReplyEditDelete

 

 

2009-03-17 11:26:32     Re: U-BOOT boot from U-BOOT but not in boot mode 0

Mike Frysinger (UNITED STATES)

Message: 71117   

 

there shouldnt be a problem with using a 0.2 binary on a 0.3 proc.  we do it on the bf537-stamp all the time.

 

that doesnt mean though that something else hasnt changed on the module (like a different flash part) ...

 

you could ask the bluetechnix guys directly

Attachments

    Outcomes