2008-07-22 12:02:01     Default Load address

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

2008-07-22 12:02:01     Default Load address

Appalayagari Sreedhar (INDIA)

Message: 59238   




romfs size is 16MB in my project.


In board config file I have modified the CFG_LOAD_ADDR to 0x1200000 its properly booting.


do I need to modify both CONFIG_LOADADDR and CFG_LOAD_ADDR


or CFG_LOAD_ADDR alone works fine?


Can anyone explains for what this CONFIG_LOADADDR is used?


I have checked the u-boot documentation i could not find anything


Best Regards,Sreedhar




2008-07-22 13:50:58     Re: Default Load address


Message: 59241   




Use the source - that is what it is there for.


try something like:


rgetz@imhotep:~/blackfin/trunk/u-boot/u-boot-1.1.6> grep -Rl CONFIG_LOADADDR ./* | grep -v svn


and then


rgetz@imhotep:~/blackfin/trunk/u-boot/u-boot-1.1.6> grep -Rl CONFIG_LOAD_ADDR ./* | grep -v svn


and have a look at the files that it comes back with.




2008-07-22 22:04:30     Re: Default Load address

Mike Frysinger (UNITED STATES)

Message: 59252   


CONFIG_LOADADDR is the default value for the "loadaddr" env var while CFG_LOAD_ADDR is the default load address when the "loadaddr" env var does not exist


for Blackfin, we just define them to the same value