All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] How to give RESET_VECTOR_ADDRESS
@ 2011-01-25 13:25 Fabian Cenedese
  2011-01-25 15:38 ` Kumar Gala
  0 siblings, 1 reply; 6+ messages in thread
From: Fabian Cenedese @ 2011-01-25 13:25 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] How to give RESET_VECTOR_ADDRESS
  2011-01-25 13:25 [U-Boot] How to give RESET_VECTOR_ADDRESS Fabian Cenedese
@ 2011-01-25 15:38 ` Kumar Gala
  2011-01-26  7:47   ` Fabian Cenedese
  0 siblings, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2011-01-25 15:38 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] How to give RESET_VECTOR_ADDRESS
  2011-01-25 15:38 ` Kumar Gala
@ 2011-01-26  7:47   ` Fabian Cenedese
  2011-01-26  9:44     ` Fabian Cenedese
  0 siblings, 1 reply; 6+ messages in thread
From: Fabian Cenedese @ 2011-01-26  7:47 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] How to give RESET_VECTOR_ADDRESS
  2011-01-26  7:47   ` Fabian Cenedese
@ 2011-01-26  9:44     ` Fabian Cenedese
  2011-01-26 10:08       ` [U-Boot] Missing member bi_enetaddr[6] in /arch/arm/include/asm/u-boot.h in struct bd_info Maik Hänig
  0 siblings, 1 reply; 6+ messages in thread
From: Fabian Cenedese @ 2011-01-26  9:44 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Missing member bi_enetaddr[6] in /arch/arm/include/asm/u-boot.h in struct bd_info
  2011-01-26  9:44     ` Fabian Cenedese
@ 2011-01-26 10:08       ` Maik Hänig
  2011-01-26 13:01         ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Maik Hänig @ 2011-01-26 10:08 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Missing member bi_enetaddr[6] in /arch/arm/include/asm/u-boot.h in struct bd_info
  2011-01-26 10:08       ` [U-Boot] Missing member bi_enetaddr[6] in /arch/arm/include/asm/u-boot.h in struct bd_info Maik Hänig
@ 2011-01-26 13:01         ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2011-01-26 13:01 UTC (permalink / raw)
  To: u-boot

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-26 13:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 13:25 [U-Boot] How to give RESET_VECTOR_ADDRESS Fabian Cenedese
2011-01-25 15:38 ` Kumar Gala
2011-01-26  7:47   ` Fabian Cenedese
2011-01-26  9:44     ` Fabian Cenedese
2011-01-26 10:08       ` [U-Boot] Missing member bi_enetaddr[6] in /arch/arm/include/asm/u-boot.h in struct bd_info Maik Hänig
2011-01-26 13:01         ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.