2011-05-16 10:49:12     Booting BF527 from a 16-bit parallell flash

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

2011-05-16 10:49:12     Booting BF527 from a 16-bit parallell flash

Julia Prigara (NORWAY)

Message: 100671   

 

Hi,

 

We have a custom board with a BF527 processor which is meant to boot from a S29GL512 16-bit parallel flash from Spansion. The BMODE pins are set to 0x1, but the processor won't boot !! I write u-boot.ldr to address 0x20000000 using the flashmem command and gnice tool. When I download u-boot.bin directly to SDRAM, U-boot starts as it should, reading the SYSCR register returns correct BMODE setting. I have also tried running bootldr 0x20000000 from the already loaded U-boot in RAM and it works fine as well. Reading the header of the flash ldr file returns

 

bfin> md 20000000 10

20000000: ada75001 ffa00000 00000000 00024640    .P..........@F..

20000010: adf00801 ffa00000 00000128 deadbeef    ........(.......

20000020: 01670570 ffc0e14a e10a6f46 95100a14    p.g.J...Fo......

20000030: 14034800 20096007 ffc0e14a 0a10e10a    .H...`. J.......

 

 

As far as I understand the highlighted byte stands for 8-bit DMA from an 8-bit flash, which is wrong in my case? If it is, how can I change it?

 

Regards,

 

Julia

QuoteReplyEditDelete

 

 

2011-05-16 13:33:33     Re: Booting BF527 from a 16-bit parallell flash

Mike Frysinger (UNITED STATES)

Message: 100677   

 

dump the ldr with `bfin-uclinux-ldr -qs u-boot.ldr`.  if the settings arent what you need, then set proper LDR_FLAGS in your u-boot board/<board>/config.mk file.  see board/bf537-stamp/config.mk as an example.

QuoteReplyEditDelete

 

 

2011-05-19 05:37:08     Re: Booting BF527 from a 16-bit parallell flash

Julia Prigara (NORWAY)

Message: 100748   

 

It worked, thanks!!

 

Julia

Attachments

    Outcomes