From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9927 invoked by alias); 25 Nov 2003 10:56:10 -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 9908 invoked from network); 25 Nov 2003 10:56:06 -0000 Received: from unknown (HELO melelios.dmz.elios-informatique.fr) (194.250.150.132) by sources.redhat.com with SMTP; 25 Nov 2003 10:56:06 -0000 Received: from figuier ([192.168.7.116]) by melelios.dmz.elios-informatique.fr with Microsoft SMTPSVC(5.0.2195.5329); Tue, 25 Nov 2003 12:03:18 +0100 From: "Vincent Catros" To: "'Andrew Lunn'" Cc: Date: Tue, 25 Nov 2003 10:56:00 -0000 Message-ID: <006701c3b343$26f420e0$7407a8c0@figuier> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: <20031119105706.GA21080@lunn.ch> Importance: Normal X-OriginalArrivalTime: 25 Nov 2003 11:03:19.0000 (UTC) FILETIME=[BBB6B580:01C3B343] Subject: [ECOS] RE : RE : [ECOS] Multiple partitions on a FLASH device. X-SW-Source: 2003-11/txt/msg00365.txt.bz2 Andrew, Sorry for my late answer but, as a newbye with eCos, I preferred to "dive" a little bit more into source code before saying something obviously wrong. > -----Message d'origine----- > De=A0: Andrew Lunn [mailto:andrew@lunn.ch] > Envoy=E9=A0: mercredi 19 novembre 2003 11:57 > =C0=A0: Vincent Catros > Cc=A0: 'Andrew Lunn'; ecos-discuss@sources.redhat.com > Objet=A0: Re: RE : [ECOS] Multiple partitions on a FLASH device. >=20 > > OK, this will work on a "Linux Synthetic Target" because that way we > > create a totaly separated FLASH device. >=20 > How are they seperate. I don't understand what you mean. OK, my sentence was not clear. I was thinking that you asked me to create 2 "Synthetic FLASH Device" emulated by 2 different files. That was the meening of "totaly separated FLASH devices". I think that using 1 "Synthetic FLASH device" with 2 partitions will work. But this is a particular case. With "Synthetic FLASH Driver", the "FLASH" device is emulated by a file. Mutual access to different regions of a file (different FLASH partitions) using different file handles are safe. For "real FLASH device" driver I think it's different. > > I think this is not possible without modifying the FLASH driver. >=20 > What do you think is wrong with the FLASH driver. Why cannot it do > this? Some FLASH registers are accessed for read/write/erase operations. Mutual accesses to tis registers don't seem to be safe.=20 I did'nt seen any critical ressource access protection. So, mutual read/write/erase operations issued from 2 different JFFS2 file-system will probably go wrong at FLASH device level. Regards Vincent -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss