[U-Boot] How to give RESET_VECTOR_ADDRESS

Fabian Cenedese Cenedese at indel.ch
Wed Jan 26 08:47:52 CET 2011


At 09:38 25.01.2011 -0600, Kumar Gala wrote:

>On Jan 25, 2011, at 7:25 AM, Fabian Cenedese wrote:
>
>> Hi
>> 
>> As the config.mk file is doomed I tried to set my reset vector
>> in another way. I first tried it in the board's config header. But
>> that didn't seem to have an effect. I then tried a config option
>> in the boards.cfg file but that also didn't work. The only way I
>> could get it to work so far was with the config.mk file.
>> 
>> What's the new way to give a (CONFIG_)RESET_VECTOR_ADDRESS?
>
>Specify it in the board's config.h

I tried both in my board/indel/gin-pcie/gin-pcie.h header file
#define RESET_VECTOR_ADDRESS 0x...
#define CONFIG_RESET_VECTOR_ADDRESS 0x...

However neither worked, the used reset vector was still the default one.
If I use the config setting in the boards.cfg file an additional #define
is added to the generated include/config.h. But still no joy. It only
seems to work if this value is given on the gcc command line with
-DRESET_VECTOR_ADDRESS=0x... as is the CONFIG_SYS_TEXT_BASE.
But that only happens if it is given in the config.mk file.

Should that also work with the current master or is this maybe part
of the 85xx branch (or any other)?

Thanks

bye  Fabi



More information about the U-Boot mailing list