From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16302 invoked by alias); 10 Nov 2003 04:02:22 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 16295 invoked from network); 10 Nov 2003 04:02:21 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 10 Nov 2003 04:02:21 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 4C9CB50D8D6; Sun, 9 Nov 2003 21:02:20 -0700 (MST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id D605050D8C3; Sun, 9 Nov 2003 21:02:17 -0700 (MST) From: Gary Thomas To: Pred Cc: Xue weihua , ecos-discuss@sources.redhat.com In-Reply-To: <001b01c3a73d$c35d2150$88496fa6@PredNotebook> References: <001b01c3a73d$c35d2150$88496fa6@PredNotebook> Content-Type: text/plain; charset=UTF-8 Organization: MLB Associates Message-Id: <1068436937.6577.127.camel@hermes> Mime-Version: 1.0 Date: Mon, 10 Nov 2003 04:02:00 -0000 Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,FWD_MSG,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: [ECOS] Fwd: Re: [ECOS] Very strange: fis create/write fail Err = 92 X-SW-Source: 2003-11/txt/msg00113.txt.bz2 On Sun, 2003-11-09 at 20:50, Pred wrote: > I thought there is something wrong with the cache or lock/unlock procedure. > Due to time limitation, I made a dirty patch to lock.c and made the fis > create work. If you find the really reason, please feed back to the list. > Thanks. > This code is known to work on all the platforms we've tested. If you find a problem, or know of an error, we'd like to know about it - making a change in your garage helps no one but you... > Pred > > > > ----- Original Message ----- > From: "Xue weihua" > To: > Cc: > Sent: Monday, November 10, 2003 9:52 AM > Subject: [ECOS] Fwd: Re: [ECOS] Very strange: fis create/write fail Err = 92 > > > > I still waiting for our hw engineer's response. but I > > turn off CYGSEM_REDBOOT_FLASH_LOCK_SPECIAL option > > and then it work well. so just need hw engineer to fix this problem. > > Thanks for everyone's help. > > > > >From: "Xue weihua" > > >To: pred@163.com > > >CC: ecos-discuss@sources.redhat.com > > >Subject: Re: [ECOS] Very strange: fis create/write fail Err = 92 > > >Date: Sun, 09 Nov 2003 23:40:29 +0800 > > > > > >Yes, I have try. I just can write a single block of the flash after > > >unlock a single. > > >I can't write two more continuous blocks in the same time. > > >what is reason ? I don't think it is hw problem. do you ? > > > > > > > > >>From: "Pred" > > >>To: "Xue weihua" > > >>CC: > > >>Subject: Re: [ECOS] Very strange: fis create/write fail Err = 92 > > >>Date: Sat, 8 Nov 2003 14:50:36 +0800 > > >> > > >>When you unlock a single block of the flash, can you successfully > > >>write to > > >>it? > > >>If you can do this, but failed to unlock two more continuous blocks > > >>and > > >>write to them, I think there may be something wrong with the > > >>lock/unlock > > >>procedure. > > >> > > >>----- Original Message ----- > > >>From: "Gary Thomas" > > >>To: "Xue weihua" > > >>Cc: > > >>Sent: Saturday, November 08, 2003 1:37 AM > > >>Subject: Re: [ECOS] Very strange: fis create/write fail Err = 92 > > >> > > >> > > >> > On Fri, 2003-11-07 at 09:03, Xue weihua wrote: > > >> > > I use the command like "fis unlock -f 0x50040000 -l 0x100000". > > >> > > I think it is good.because it is work on some sectors. > > >> > > > > >> > > Yes,I have problem when I do "fis init",it say "Warning: > > >>device > > >contents > > >> > > not erased, some blocks may not be usable". > > >> > > > > >> > > > >> > You only get this warning if you *don't* use the "-f" option > > >>(which > > >> > causes all blocks to be erased) > > >> > > > >> > > maybe,my hw have problem,because it is new one.I have check it > > >>with > > >our > > >>hw > > >> > > engineer and he > > >> > > say he will help me check it. > > >> > > > >> > It would be nice to find out what blocks work and which ones > > >>fail. > > >> > That might tell you if there is a hardware problem (and where). > > >> > > > >> > > > > >> > > > > >> > > >From: Gary Thomas > > >> > > >To: Xue weihua > > >> > > >CC: ecos-discuss@sources.redhat.com > > >> > > >Subject: Re: [ECOS] Very strange: fis create/write fail Err = > > >>92 > > >> > > >Date: 07 Nov 2003 07:39:58 -0700 > > >> > > > > > >> > > >On Thu, 2003-11-06 at 23:20, Xue weihua wrote: > > >> > > > > Hi everyone: > > >> > > > > I have meet a very strange problem on my Intel ixp422 > > >>board. > > >> > > > > Flash is Intel TE28F128J3C. After do "fis init ",it show > > >>like > > >> > > > > RedBoot> fis list > > >> > > > > Name FLASH addr Mem addr Length > > >>Entry point > > >> > > > > RedBoot 0x50000000 0x50000000 0x00040000 > > >>0x00000000 > > >> > > > > RedBoot config 0x50FC0000 0x50FC0000 0x00001000 > > >>0x00000000 > > >> > > > > FIS directory 0x50FE0000 0x50FE0000 0x00020000 > > >>0x00000000 > > >> > > > > > > >> > > > > Then I can't use "fis create/write" to write flash. > > >> > > > > > > >> > > > > RedBoot> load -r -v -b 0x01008000 zImage > > >> > > > > Using default protocol (TFTP) > > >> > > > > - > > >> > > > > Raw file loaded 0x01008000-0x010bbad3, assumed entry at > > >0x01008000 > > >> > > > > RedBoot> fis create kernel -b 0x01008000 -l 0x100000 -f > > >0x50040000 > > >> > > > > ... Erase from 0x50040000-0x50140000: ........ > > >> > > > > ... Program from 0x01008000-0x01108000 at 0x50040000: Err > > >>= 92 > > >> > > > > > > >> > > > > > > >> > > > > Can't program region at 0x50040000: Error trying to > > >>program > > >> > > > > > > >> > > > > But I can use "fis create/write" on "RedBoot config" or > > >>"FIS > > >> > > directory". > > >> > > > > so it means hw has no problem. I can write . but only > > >>write some > > >> > > sectors. > > >> > > > > It seems these sectors have been done something on by > > >>initialize, > > >>but I > > >> > > > > don't > > >> > > > > know what it is . I have try "fis unlock " before "fis > > >>create/write", > > >> > > it is > > >> > > > > no helpful. > > >> > > > > > > >> > > > > > >> > > >Did you actually unlock the pages that will be written during > > >>the > > >> > > >"fis create"? What was the command that you used? > > >> > > > > > >> > > >What happens if you try this in some other region of the > > >>FLASH? > > >> > > >If you do "fis init -f" (to erase all of the FLASH) - does > > >>every > > >> > > >block get erased? > > >> > > > > > >> > > >Finally, there was a small change to the StrataFlash > > >>lock/unlock > > >code > > >> > > >just last week. If you've not tried it, maybe that will > > >>help. > > >> > > > > > >> > > >-- > > >> > > >Gary Thomas > > >> > > >MLB Associates > > >> > > > > > >> > > > > >> > > > > >>_________________________________________________________________ > > >> > > 涓虹杩琛浜ゆ锛璇蜂娇 MSN Messenger: > > >http://messenger.msn.com/cn > > >> > -- > > >> > Gary Thomas > > >> > MLB Associates > > >> > > > >> > > > >> > -- > > >> > Before posting, please read the FAQ: > > >>http://sources.redhat.com/fom/ecos > > >> > and search the list archive: > > >>http://sources.redhat.com/ml/ecos-discuss > > >> > > > >> > > > >> > > >> > > >>-- > > >>Before posting, please read the FAQ: > > >>http://sources.redhat.com/fom/ecos > > >>and search the list archive: > > >>http://sources.redhat.com/ml/ecos-discuss > > >> > > > > > >_________________________________________________________________ > > >与联机的朋友进行交流,请使用 MSN Messenger: > > >http://messenger.msn.com/cn > > > > > > > > >-- > > >Before posting, please read the FAQ: > > >http://sources.redhat.com/fom/ecos > > >and search the list archive: > > >http://sources.redhat.com/ml/ecos-discuss > > > > > > > _________________________________________________________________ > > 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com > > > > > > -- > > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos > > and search the list archive: http://sources.redhat.com/ml/ecos-discuss > > > > -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss