Skip to contentSkip to conversation

How to give RESET_VECTOR_ADDRESS

U-Boot Fabian Cenedese 4 participants 6 messages Jan 25, 2011 – Jan 26, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Fabian Cenedese

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

#2 lore raw
Quoted 10 lines · Kumar Gala
Quoted 8 lines · Fabian Cenedese

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.

Quoted 3 lines
Quoted 1 line

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

#3 lore raw
Quoted 12 lines · Fabian Cenedese
Quoted 10 lines · Kumar Gala
Quoted 8 lines · Fabian Cenedese

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.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

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

#4 lore raw

[U-Boot] Missing member bi_enetaddr[6] in /arch/arm/include/asm/u-boot.h in struct bd_info

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

#5 lore raw

[U-Boot] Missing member bi_enetaddr[6] in /arch/arm/include/asm/u-boot.h in struct bd_info

Dear =?ISO-8859-1?Q?Maik_H=E4nig?=,

Quoted 3 lines · In message <[email protected]> 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

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When it is incorrect, it is, at least *authoritatively* incorrect.
                                    - Hitchiker's Guide To The Galaxy