2008-07-19 08:32:04     Booting in uClinux

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

2008-07-19 08:32:04     Booting in uClinux

Appalayagari Sreedhar (INDIA)

Message: 59129   

 

Hi,

 

In my custom board, Blackfin is connected in the BMODE : 00

 

I am doing booting from flash like this,

 

in u-boot cmd_bootm.c file , I am reading the entire binary file into the CFG_LOAD_ADDR and doing the crc  checking and as follows similar like "tftp 0x1000000 uImage;bootm" its working for me.

 

Is this correct or is there any way to do it. I have gone through the blackfin booting process documents EE-240 EE-239 I am bit confused with the BMode 00 booting in uClinux.

 

Can anyone correct me/suggest me the method in uClinux.

 

Thanks and Regards,Sreedhar

QuoteReplyEditDelete

 

 

2008-07-19 12:43:28     Re: Booting in uClinux

Mike Frysinger (UNITED STATES)

Message: 59133   

 

EE app notes have no bearing on Linux at all.  U-Boot handles the whole Linux loading/booting process.

 

there is no real "correct" way for loading/booting files.  tftp;bootm is pretty common.

QuoteReplyEditDelete

 

 

2008-07-22 10:37:21     Re: Booting in uClinux

Appalayagari Sreedhar (INDIA)

Message: 59227   

 

Hi Mike,

 

Thankyou very much. Can you clear me one point whether the idea of reading the entire binary from flash into the sdram location(CFG_LOAD_ADDR) and booting from that location is correct?.

 

Best Regards,Sreedhar.

QuoteReplyEditDelete

 

 

2008-07-22 22:00:27     Re: Booting in uClinux

Mike Frysinger (UNITED STATES)

Message: 59250   

 

CFG_LOAD_ADDR is a default value.  you should use getenv("loadaddr") and then fall back to CFG_LOAD_ADDR.

Attachments

    Outcomes