[U-Boot] How to give RESET_VECTOR_ADDRESS

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?
Thanks
bye Fabi

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
- k

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

At 08:47 26.01.2011 +0100, Fabian Cenedese wrote:
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
Sorry, that should have been include/configs/gin-pcie.h of course. Just a "typo".
bye Fabi

Hi,
but in include/asm-arm it is not missing. Where can I see which u-boot.h is included in arm at91rm9200 cpu config
Best regards / Mit freundlichen Grüßen
Maik Hänig

Dear =?ISO-8859-1?Q?Maik_H=E4nig?=,
In message 4D3FF29C.2030803@hrz.tu-chemnitz.de you wrote:
but in include/asm-arm it is not missing. Where can I see which u-boot.h is included in arm at91rm9200 cpu config
Your source tree must be corrupted. Ther eis no such directory as include/asm-arm in current U-Boot.
Best regards,
Wolfgang Denk
participants (4)
-
Fabian Cenedese
-
Kumar Gala
-
Maik Hänig
-
Wolfgang Denk