public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RedBoot FLASH config suggestion
@ 2001-09-20  9:01 Trenton D. Adams
  2001-09-20 12:01 ` Jonathan Larmour
  0 siblings, 1 reply; 8+ messages in thread
From: Trenton D. Adams @ 2001-09-20  9:01 UTC (permalink / raw)
  To: 'eCos Discussion'

I get the error below every time I switch from a RAM version to a ROM
version or vice versa.  This only happens when "fconfig" has been run on
the other version (RAM|ROM).  So, I assume that the checksum is based on
whether a RAM/ROM version is running?  If so, what's the purpose of
this?  How do you get it so that the RAM version will use the same
config as the ROM version?

FLASH configuration checksum error or invalid key



Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1

Phone: 403 640 9494 ext-208
Fax: 403 640 9599

http://www.extremeeng.com

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

* Re: [ECOS] RedBoot FLASH config suggestion
  2001-09-20  9:01 [ECOS] RedBoot FLASH config suggestion Trenton D. Adams
@ 2001-09-20 12:01 ` Jonathan Larmour
  2001-09-20 12:05   ` Trenton D. Adams
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Larmour @ 2001-09-20 12:01 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'eCos Discussion'

"Trenton D. Adams" wrote:
> 
> I get the error below every time I switch from a RAM version to a ROM
> version or vice versa.  This only happens when "fconfig" has been run on
> the other version (RAM|ROM).  So, I assume that the checksum is based on
> whether a RAM/ROM version is running?  If so, what's the purpose of
> this?  How do you get it so that the RAM version will use the same
> config as the ROM version?
> 
> FLASH configuration checksum error or invalid key

Different source base used to build the two?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

* RE: [ECOS] RedBoot FLASH config suggestion
  2001-09-20 12:01 ` Jonathan Larmour
@ 2001-09-20 12:05   ` Trenton D. Adams
  2001-09-20 15:54     ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Trenton D. Adams @ 2001-09-20 12:05 UTC (permalink / raw)
  To: 'Jonathan Larmour'; +Cc: 'eCos Discussion'

Nope, not possible.  I have the ECOS_REPOSITORY variable set.

-----Original Message-----
From: jlarmour@cambridge.redhat.com
[ mailto:jlarmour@cambridge.redhat.com ] On Behalf Of Jonathan Larmour
Sent: Thursday, September 20, 2001 1:02 PM
To: Trenton D. Adams
Cc: 'eCos Discussion'
Subject: Re: [ECOS] RedBoot FLASH config suggestion


"Trenton D. Adams" wrote:
> 
> I get the error below every time I switch from a RAM version to a ROM
> version or vice versa.  This only happens when "fconfig" has been run
on
> the other version (RAM|ROM).  So, I assume that the checksum is based
on
> whether a RAM/ROM version is running?  If so, what's the purpose of
> this?  How do you get it so that the RAM version will use the same
> config as the ROM version?
> 
> FLASH configuration checksum error or invalid key

Different source base used to build the two?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223)
271062
Maybe this world is another planet's Hell -Aldous Huxley ||
Opinions==mine

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

* RE: [ECOS] RedBoot FLASH config suggestion
  2001-09-20 12:05   ` Trenton D. Adams
@ 2001-09-20 15:54     ` Gary Thomas
  2001-09-20 16:54       ` Trenton D. Adams
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2001-09-20 15:54 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'Jonathan Larmour', 'eCos Discussion'

The most probable case is that I've fixed bugs in the 'fconfig' layout
recently and that your ROM vs RAM versions are of different vintages.

On Fri, 2001-09-21 at 04:04, Trenton D. Adams wrote:
> Nope, not possible.  I have the ECOS_REPOSITORY variable set.
> 
> -----Original Message-----
> From: jlarmour@cambridge.redhat.com
> [ mailto:jlarmour@cambridge.redhat.com ] On Behalf Of Jonathan Larmour
> Sent: Thursday, September 20, 2001 1:02 PM
> To: Trenton D. Adams
> Cc: 'eCos Discussion'
> Subject: Re: [ECOS] RedBoot FLASH config suggestion
> 
> 
> "Trenton D. Adams" wrote:
> > 
> > I get the error below every time I switch from a RAM version to a ROM
> > version or vice versa.  This only happens when "fconfig" has been run
> on
> > the other version (RAM|ROM).  So, I assume that the checksum is based
> on
> > whether a RAM/ROM version is running?  If so, what's the purpose of
> > this?  How do you get it so that the RAM version will use the same
> > config as the ROM version?
> > 
> > FLASH configuration checksum error or invalid key
> 
> Different source base used to build the two?
> 
> Jifl


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

* RE: [ECOS] RedBoot FLASH config suggestion
  2001-09-20 15:54     ` Gary Thomas
@ 2001-09-20 16:54       ` Trenton D. Adams
  2001-09-21  6:10         ` Jonathan Larmour
  2001-09-25  0:43         ` Sebastien ANDRE
  0 siblings, 2 replies; 8+ messages in thread
From: Trenton D. Adams @ 2001-09-20 16:54 UTC (permalink / raw)
  To: 'Gary Thomas'
  Cc: 'Jonathan Larmour', 'eCos Discussion'

Vintages?  I created both of them today using the eCosRepository that I
downloaded Monday or Tuesday if that's what you mean!

-----Original Message-----
From: Gary Thomas [ mailto:gthomas@redhat.com ] 
Sent: September 20, 2001 4:20 PM
To: Trenton D. Adams
Cc: 'Jonathan Larmour'; 'eCos Discussion'
Subject: RE: [ECOS] RedBoot FLASH config suggestion


The most probable case is that I've fixed bugs in the 'fconfig' layout
recently and that your ROM vs RAM versions are of different vintages.

On Fri, 2001-09-21 at 04:04, Trenton D. Adams wrote:
> Nope, not possible.  I have the ECOS_REPOSITORY variable set.
> 
> -----Original Message-----
> From: jlarmour@cambridge.redhat.com 
> [ mailto:jlarmour@cambridge.redhat.com ] On Behalf Of Jonathan Larmour
> Sent: Thursday, September 20, 2001 1:02 PM
> To: Trenton D. Adams
> Cc: 'eCos Discussion'
> Subject: Re: [ECOS] RedBoot FLASH config suggestion
> 
> 
> "Trenton D. Adams" wrote:
> > 
> > I get the error below every time I switch from a RAM version to a 
> > ROM version or vice versa.  This only happens when "fconfig" has 
> > been run
> on
> > the other version (RAM|ROM).  So, I assume that the checksum is 
> > based
> on
> > whether a RAM/ROM version is running?  If so, what's the purpose of 
> > this?  How do you get it so that the RAM version will use the same 
> > config as the ROM version?
> > 
> > FLASH configuration checksum error or invalid key
> 
> Different source base used to build the two?
> 
> Jifl


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

* Re: [ECOS] RedBoot FLASH config suggestion
  2001-09-20 16:54       ` Trenton D. Adams
@ 2001-09-21  6:10         ` Jonathan Larmour
  2001-09-25  0:43         ` Sebastien ANDRE
  1 sibling, 0 replies; 8+ messages in thread
From: Jonathan Larmour @ 2001-09-21  6:10 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'Gary Thomas', 'eCos Discussion'

"Trenton D. Adams" wrote:
> 
> Vintages?  I created both of them today using the eCosRepository that I
> downloaded Monday or Tuesday if that's what you mean!
> 
> -----Original Message-----
> From: Gary Thomas [ mailto:gthomas@redhat.com ]
> Sent: September 20, 2001 4:20 PM
> To: Trenton D. Adams
> Cc: 'Jonathan Larmour'; 'eCos Discussion'
> Subject: RE: [ECOS] RedBoot FLASH config suggestion
> 
> The most probable case is that I've fixed bugs in the 'fconfig' layout
> recently and that your ROM vs RAM versions are of different vintages.

In that case, the more likely thing is that the recent changes introduced
differences somehow :-| - they did affect this area.

OTOH, looking at the code, it's difficult to see how it would differ.
There's no differences in your CDL to account for it perhaps, like 
CYGNUM_REDBOOT_FLASH_CONFIG_SIZE or CYGNUM_REDBOOT_FLASH_CONFIG_BLOCK?

Trenton, if you want to debug this, look at load_flash_config() in
redboot's flash.c. In the middle there's a call to crc32. At that point,
you could do a diag_printf of flash_start, flash_end, sizef(struct
_config),sizeof(config->cksum), config->key1 and config->key2. And then
build your RAM and ROM RedBoots from that. Tell us what you see.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

* Re: [ECOS] RedBoot FLASH config suggestion
  2001-09-20 16:54       ` Trenton D. Adams
  2001-09-21  6:10         ` Jonathan Larmour
@ 2001-09-25  0:43         ` Sebastien ANDRE
  2001-09-25  1:59           ` Jesper Skov
  1 sibling, 1 reply; 8+ messages in thread
From: Sebastien ANDRE @ 2001-09-25  0:43 UTC (permalink / raw)
  To: egcs; +Cc: 'eCos Discussion'

Hello, so i port redboot for a personnal board, and for this board the ram
begin to 0x10 000 000 adress
so all sections of the binary start after 0x10 000 000 except 3 sections

   o shstrtab
   o symtab
   o strtab

so i don't find anithing for move these.
What can i must do ?

thanks in advance.

best regards,

Sebastien.




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

* Re: [ECOS] RedBoot FLASH config suggestion
  2001-09-25  0:43         ` Sebastien ANDRE
@ 2001-09-25  1:59           ` Jesper Skov
  0 siblings, 0 replies; 8+ messages in thread
From: Jesper Skov @ 2001-09-25  1:59 UTC (permalink / raw)
  To: Sebastien ANDRE; +Cc: 'eCos Discussion'

>>>>> "Sebastien" == Sebastien ANDRE <sebastien.andre@sxb.bsf.alcatel.fr> writes:

Sebastien> Hello, so i port redboot for a personnal board, and for
Sebastien> this board the ram begin to 0x10 000 000 adress so all
Sebastien> sections of the binary start after 0x10 000 000 except 3
Sebastien> sections

Sebastien>    o shstrtab o symtab o strtab

Sebastien> so i don't find anithing for move these.  What can i must
Sebastien> do ?

You probably need to add expression matches for those sections in the
sh.ld script.   If you do sh-elf-ld --version you should be able to
see where those sections are usually located - add them in the same
place in the eCos linker script.

Jesper

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

end of thread, other threads:[~2001-09-25  1:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20  9:01 [ECOS] RedBoot FLASH config suggestion Trenton D. Adams
2001-09-20 12:01 ` Jonathan Larmour
2001-09-20 12:05   ` Trenton D. Adams
2001-09-20 15:54     ` Gary Thomas
2001-09-20 16:54       ` Trenton D. Adams
2001-09-21  6:10         ` Jonathan Larmour
2001-09-25  0:43         ` Sebastien ANDRE
2001-09-25  1:59           ` Jesper Skov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).