public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Syed Ismail <ismail.riyaz@dyansys.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Redboot
Date: Mon, 12 Nov 2007 12:14:00 -0000	[thread overview]
Message-ID: <47384390.4030907@mlbassoc.com> (raw)
In-Reply-To: <20071112113002.1721.qmail@pro12.rediffmailpro.com>

Syed Ismail wrote:
> 
> 
> On Mon, 12 Nov 2007 Andrew Lunn wrote :
>> On Mon, Nov 12, 2007 at 08:38:52AM -0000, Syed Ismail 
>> wrote:
>>> Hi
>>>   When i run redboot on my custom board, i get the 
>> following message.
>>> **Warning** FLASH configuration checksum error or 
>> invalid key
>>> Use 'fconfig -i' to [re]initialize database
>>>
>>> fis list gives this
>>> Name              FLASH addr  Mem addr    Length      
>> Entry point
>>> ReReoooococoigig  0xF000F000  0xF000F000  0x10001000  
>> 0x00000000
>>>
>>> What could be the issue. Could it be flash device 
>> incompatibility. Please help.
>>
>> Did you notice that Redboot says this:
>>
>> Use 'fconfig -i' to [re]initialize database
>>
>> What happens when you do this?
>>
>> You may also want to try
>>
>> fis init
>>
>> The RedBoot manual is:
>>
>> http://ecos.sourceware.org/docs-latest/redboot/redboot-g-
>> uide.html
>>
>>      Andrew
> Hi
>  I found that redboot configuration does not get written into flash properly. So, the checksum error. For example, config key1 0BADFACE gets written as FACEFACE. Where could be the issue. 

It looks like your FLASH doesn't read 32 bit quantities properly.
Unless your FLASH driver sets 'CYGSEM_IO_FLASH_READ_INDIRECT', RedBoot
will read the FLASH (FIS directory, FCONFIG data, etc) directly from
the FLASH, using the most expedient means possible.  On most platforms,
this will be using normal 'memcpy()'.  Depending on how your device
and system are configured, this will possibly go through a data cache
which may also be causing problems.


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  parent reply	other threads:[~2007-11-12 12:14 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12 11:31 Syed Ismail
2007-11-12 12:10 ` Andrew Lunn
2007-11-12 12:14 ` Gary Thomas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-19 14:33 Re: [ECOS] redboot Syed Ismail
2007-11-20 20:28 ` Gary Thomas
2007-11-19 11:56 Syed Ismail
2007-11-19 13:00 ` Gary Thomas
2007-11-12  8:40 [ECOS] Redboot Syed Ismail
2007-11-12  8:49 ` Andrew Lunn
2007-11-01 12:16 Syed Ismail
2005-05-20  9:11 [ECOS] RedBoot Yuriy V.
2003-04-18 16:59 [ECOS] redboot rameshs
2003-04-22 17:33 ` Jonathan Larmour
2001-12-26 23:11 [ECOS] RedBoot Gustav Kälvesten
2001-12-26 23:07 satish s mantri
2001-05-07 23:16 [ECOS] redboot mekala natarajan
2001-04-20 10:02 [ECOS] RedBoot Anthony Massa
2001-04-20 10:17 ` Jonathan Larmour
2001-04-19 17:24 Anthony Massa
2001-04-19 19:49 ` Jonathan Larmour
2001-04-20  7:22   ` Anthony Massa
2001-04-20  7:36     ` Jonathan Larmour
2001-04-20 17:24   ` Anthony Massa
2001-04-22 14:38   ` Anthony Massa
2001-04-23 12:09     ` Jonathan Larmour
2001-04-19 16:19 Anthony Massa
2001-04-19 16:31 ` Jonathan Larmour
2001-04-19 16:36   ` Anthony Massa
2001-04-19 19:49     ` Jonathan Larmour
     [not found] <XFMail.20001218160541.gthomas@redhat.com>
     [not found] ` <3A3F957D.4E7868F2@redhat.com>
     [not found]   ` <20001219112529.A26497@sr1.open-widgets.com>
     [not found]     ` <3A3FBAD2.8CD0F487@rhinosys.com>
2001-01-02  6:33       ` [ECOS] Redboot Jesper Skov
     [not found] <002001c0712a$89dad900$0200a8c0@cts.com>
2001-01-01  8:10 ` [ECOS] RedBoot Gary Thomas
2001-01-01 11:38   ` Anthony Massa
2001-01-01 16:16     ` Gary Thomas
2001-01-01 17:45       ` Anthony Massa
     [not found] <00c601c07037$36ec1e50$0200a8c0@cts.com>
2000-12-27 11:12 ` Gary Thomas
2000-12-27 11:53   ` Anthony Massa
2000-12-27 15:32     ` Gary Thomas
2000-12-27 16:49       ` Anthony Massa
     [not found] <003f01c06d3b$50b4ad10$0200a8c0@cts.com>
2000-12-27 10:49 ` Gary Thomas
2000-12-15  5:54 [ECOS] Redboot Doug Fraser
2000-12-09 14:46 Anthony Massa
2000-11-07  7:06 [ECOS] redboot Jörg Rapka
2000-11-07  8:10 ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47384390.4030907@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=ismail.riyaz@dyansys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).