2008-11-28 08:10:49     my uboot can't boot up on my board

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

2008-11-28 08:10:49     my uboot can't boot up on my board

chen shevchenko (CHINA)

Message: 65962   

 

       my board :fFLASH  is am29lv320 . CPU is bf549.uart  is  uart1 in rs232 mode.

 

        at frist ,i download my led_test.ldr in my flash ,this code can boot up .in addition i also test usb_code.all of these can boot up and  run is ok.

 

        but  i download my uboot.ldr in my flash ,i can't see any informations in my PC-uart.

 

       then i write a little code in start of the file "start.s ",this code is let some led light or down .and have a  while(1). i also see the led light ,so i estimate that uboot can't bootup. . my bootmode is 0001 16bit extern flash mode.

 

       please tell why uboot can't bootup. and which point i will be carfully in my board.

QuoteReplyEditDelete

 

 

2008-11-28 12:18:42     Re: my uboot can't boot up on my board

Robin Getz (UNITED STATES)

Message: 65975   

 

Chen:

 

Have a look at:

 

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:debugging

 

There are lots of pointers there.

 

-Robin

QuoteReplyEditDelete

 

 

2008-11-29 09:03:36     Re: my uboot can't boot up on my board

chen shevchenko (CHINA)

Message: 66029   

 

robin :

 

             thank you very much.

 

            the page of that link is very useful for me.

QuoteReplyEditDelete

 

 

2008-12-01 13:43:50     Re: my uboot can't boot up on my board

Robin Getz (UNITED STATES)

Message: 66104   

 

Chen:

 

No problem - let us know if that does or does not work for you.

 

-Robin

QuoteReplyEditDelete

 

 

2008-12-02 00:26:09     Re: my uboot can't boot up on my board

chen shevchenko (CHINA)

Message: 66115   

 

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:debugging

 

i follow this link 's way to test my uboot .find my uboot is sure bootup ,i set my one led light in initcode(),

 

but i other code set another led light in start.s is no done.

 

i also use hp-usb-ice debug my bf549 find in 0xffa00000 this start address is

 

------------------------------------------------------------------------------------------------------------------

 

0xffa00000  P0.L = 0x0

 

0xffa000004 P0.H = 0x3fa;

 

0xffa000008  jump (P0)

 

0xffa00000a  nop;

 

0xffa00000c [--sp]=B0

 

0xffa00000e [--sp]=B1

 

.......

 

-----------------------------------------------------------------------------------------------------------------------

 

this code is can't run,because 0x3fa0000 is not any thing,  then i set PC register to 0xffa0000a ,that code is initcode,

 

but i run initcode()done ,the code is run awaly.

 

this code in bf548ezkit is ok  and at 0xffa00000 is not like this .

QuoteReplyEditDelete

 

 

2008-12-02 00:36:25     Re: my uboot can't boot up on my board

Mike Frysinger (UNITED STATES)

Message: 66116   

 

you either arent using correct clock settings or VDSP is screwing things up for you.  it tends to program both clocks and memory automatically.

 

verify your clock and memory settings are sane.

QuoteReplyEditDelete

 

 

2008-12-02 01:10:51     Re: my uboot can't boot up on my board

chen shevchenko (CHINA)

Message: 66117   

 

this bf548-dima.h is base on bf548-ezkit.h .

 

modification:  clk 20M-->27M   pllmult -->15    sdram --->32M   flash sector number--->71  and other ,

 

please help me check this h file .otherwise can you give some advise for my board .

 

bf548-dima.h

QuoteReplyEditDelete

 

 

2008-12-02 01:33:46     Re: my uboot can't boot up on my board

Mike Frysinger (UNITED STATES)

Message: 66118   

 

flash and any other setting doesnt matter right now.  if the initcode isnt seting up external memory, then your memory settings dont matter.  read the datasheets for the memory part you're using as well as the exact Blackfin variant.

QuoteReplyEditDelete

 

 

2008-12-02 01:37:26     Re: my uboot can't boot up on my board

Mike Frysinger (UNITED STATES)

Message: 66119   

 

you should also be reading the documentation as it already explains this:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:porting

Attachments

Outcomes