Dave Bott(deleted)
|
Basic ETFS usage questions
|
Dave Bott(deleted)
09/08/2009 3:41 PM
post37563
|
Basic ETFS usage questions
Perhaps I should know this, but I don't and cannot find it written down anywhere...
How do I initalize an ETFS file system, including configuring it to leave some parts of the NAND out of the file system
e.g.
There is a 128MB NAND device at 0x40000000
At offset 0 is the IPL and IFS for 10MB of space
How do I initialize the ETFS filesystem, and specify that I want to use 16MB at offset 0x100000 in the NAND i.e. skip
the first 16MB so that is unmanaged by devf-etfs ? Can I do this ?
etfsctl is still documented as being for RAM and SRAM only - is that correct ?
Once initialized, what do I need to specify when I start the driver so that it finds the filesystem ? Assuming I only
specify the base addres of the Flash, how does it find the filesystem ?
Thanks
Dave
|
|
|
Steve Reid
|
RE: Basic ETFS usage questions
|
Steve Reid
09/08/2009 3:47 PM
post37564
|
RE: Basic ETFS usage questions
I already updated the bit about RAM and SRAM for PR 66183.
Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems
|
|
|
Thomas Luetzel
|
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]
|
Thomas Luetzel
09/09/2009 12:22 AM
post37598
|
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]
Ich werde ab 22.08.2009 nicht im Büro sein. Ich kehre zurück am
13.09.2009.
I will answer this mail after my return.
Kind Regards,
Thomas Luetzel
_________________________________________________________________________
Endress+Hauser GmbH+Co. KG
Amtsgericht : Freiburg i.Br. HRA 670225
Sitz der Gesellschaft : Maulburg
Persönlich haftender Gesellschafter : Endress+Hauser Verwaltungs-GmbH
Sitz der Gesellschaft : Maulburg
Amtsgericht : Freiburg i.Br. HRB 670222
Geschäftsführer : Matthias Altendorf
Endress+Hauser GmbH+Co. KG
County Court : Freiburg i.Br. HRA 670225
Registered Office : Maulburg
Generell Partner : Endress+Hauser Verwaltungs-GmbH
Registered Office : Maulburg
County Court : Freiburg i.Br. HRB 670222
General Manager : Matthias Altendorf
__________________________________________________________________________
Disclaimer:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer.
__________________________________________________________________________
http://www.endress.com/
|
|
|
David Sarrazin
|
RE: Basic ETFS usage questions
|
David Sarrazin
09/08/2009 3:49 PM
post37565
|
RE: Basic ETFS usage questions
Dave,
The "-r" option to fs-etfs-XXXX will create a "raw" partition of N
kbytes, where N is the value passed to -r. This area will be accessible
via the special device /dev/etfs1. The formatted filesystem is always
accessible through /dev/etfs2.
When creating the filesystem, you have two choices:
1. use mketfs, and specify the maximum size of the filesystem as the
size of NAND - size of raw area
2. start fs-etfs with -r, and use "etfsctl -d /dev/etfs2 -f" to erase
and format the filesystem area.
ETFS only supports two partitions, and the raw partition must be at the
front of the NAND.
David
> -----Original Message-----
> From: Dave Bott [mailto:community-noreply@qnx.com]
> Sent: September 8, 2009 3:42 PM
> To: general-filesystems
> Subject: Basic ETFS usage questions
>
> Perhaps I should know this, but I don't and cannot find it
> written down anywhere...
>
> How do I initalize an ETFS file system, including configuring
> it to leave some parts of the NAND out of the file system
>
> e.g.
>
> There is a 128MB NAND device at 0x40000000 At offset 0 is
> the IPL and IFS for 10MB of space
>
> How do I initialize the ETFS filesystem, and specify that I
> want to use 16MB at offset 0x100000 in the NAND i.e. skip the
> first 16MB so that is unmanaged by devf-etfs ? Can I do this ?
>
> etfsctl is still documented as being for RAM and SRAM only -
> is that correct ?
>
> Once initialized, what do I need to specify when I start the
> driver so that it finds the filesystem ? Assuming I only
> specify the base addres of the Flash, how does it find the
> filesystem ?
>
> Thanks
>
> Dave
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post37563
>
>
|
|
|
Dave Bott(deleted)
|
Re: Basic ETFS usage questions
|
Dave Bott(deleted)
09/08/2009 4:08 PM
post37568
|
Re: Basic ETFS usage questions
Thanks Steve and David,
It was not at all clear to me from reading the docs that the 'raw'
partition worked like that. That should work fine in this case. So, the
'-r' option then needs to be used every time the driver starts I assume,
which is how it 'finds' the filesystem.
Cheers
Dave
David Sarrazin wrote:
>
> Dave,
>
> The "-r" option to fs-etfs-XXXX will create a "raw" partition of N
> kbytes, where N is the value passed to -r. This area will be accessible
> via the special device /dev/etfs1. The formatted filesystem is always
> accessible through /dev/etfs2.
>
> When creating the filesystem, you have two choices:
>
> 1. use mketfs, and specify the maximum size of the filesystem as the
> size of NAND - size of raw area
> 2. start fs-etfs with -r, and use "etfsctl -d /dev/etfs2 -f" to erase
> and format the filesystem area.
>
> ETFS only supports two partitions, and the raw partition must be at the
> front of the NAND.
>
> David
>
> > -----Original Message-----
> > From: Dave Bott [mailto:community-noreply@qnx.com]
> > Sent: September 8, 2009 3:42 PM
> > To: general-filesystems
> > Subject: Basic ETFS usage questions
> >
> > Perhaps I should know this, but I don't and cannot find it
> > written down anywhere...
> >
> > How do I initalize an ETFS file system, including configuring
> > it to leave some parts of the NAND out of the file system
> >
> > e.g.
> >
> > There is a 128MB NAND device at 0x40000000 At offset 0 is
> > the IPL and IFS for 10MB of space
> >
> > How do I initialize the ETFS filesystem, and specify that I
> > want to use 16MB at offset 0x100000 in the NAND i.e. skip the
> > first 16MB so that is unmanaged by devf-etfs ? Can I do this ?
> >
> > etfsctl is still documented as being for RAM and SRAM only -
> > is that correct ?
> >
> > Once initialized, what do I need to specify when I start the
> > driver so that it finds the filesystem ? Assuming I only
> > specify the base addres of the Flash, how does it find the
> > filesystem ?
> >
> > Thanks
> >
> > Dave
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post37563
> >
> >
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post37565
>
--
Dave Bott (dbott@qnx.com) Field Applications Engineer
QNX Software Systems, Inc. Cell:408 391-3535
San Jose CA
Join Foundry27 <http://community.qnx.com> - the new QNX developer forum.
|
|
|
Thomas Luetzel
|
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]
|
Thomas Luetzel
09/09/2009 12:22 AM
post37599
|
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]
Ich werde ab 22.08.2009 nicht im Büro sein. Ich kehre zurück am
13.09.2009.
I will answer this mail after my return.
Kind Regards,
Thomas Luetzel
_________________________________________________________________________
Endress+Hauser GmbH+Co. KG
Amtsgericht : Freiburg i.Br. HRA 670225
Sitz der Gesellschaft : Maulburg
Persönlich haftender Gesellschafter : Endress+Hauser Verwaltungs-GmbH
Sitz der Gesellschaft : Maulburg
Amtsgericht : Freiburg i.Br. HRB 670222
Geschäftsführer : Matthias Altendorf
Endress+Hauser GmbH+Co. KG
County Court : Freiburg i.Br. HRA 670225
Registered Office : Maulburg
Generell Partner : Endress+Hauser Verwaltungs-GmbH
Registered Office : Maulburg
County Court : Freiburg i.Br. HRB 670222
General Manager : Matthias Altendorf
__________________________________________________________________________
Disclaimer:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer.
__________________________________________________________________________
http://www.endress.com/
|
|
|
Thomas Luetzel
|
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]
|
Thomas Luetzel
09/09/2009 12:22 AM
post37597
|
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]
Ich werde ab 22.08.2009 nicht im Büro sein. Ich kehre zurück am
13.09.2009.
I will answer this mail after my return.
Kind Regards,
Thomas Luetzel
_________________________________________________________________________
Endress+Hauser GmbH+Co. KG
Amtsgericht : Freiburg i.Br. HRA 670225
Sitz der Gesellschaft : Maulburg
Persönlich haftender Gesellschafter : Endress+Hauser Verwaltungs-GmbH
Sitz der Gesellschaft : Maulburg
Amtsgericht : Freiburg i.Br. HRB 670222
Geschäftsführer : Matthias Altendorf
Endress+Hauser GmbH+Co. KG
County Court : Freiburg i.Br. HRA 670225
Registered Office : Maulburg
Generell Partner : Endress+Hauser Verwaltungs-GmbH
Registered Office : Maulburg
County Court : Freiburg i.Br. HRB 670222
General Manager : Matthias Altendorf
__________________________________________________________________________
Disclaimer:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer.
__________________________________________________________________________
http://www.endress.com/
|
|
|
Thomas Luetzel
|
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]
|
Thomas Luetzel
09/09/2009 12:22 AM
post37600
|
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]
Ich werde ab 22.08.2009 nicht im Büro sein. Ich kehre zurück am
13.09.2009.
I will answer this mail after my return.
Kind Regards,
Thomas Luetzel
_________________________________________________________________________
Endress+Hauser GmbH+Co. KG
Amtsgericht : Freiburg i.Br. HRA 670225
Sitz der Gesellschaft : Maulburg
Persönlich haftender Gesellschafter : Endress+Hauser Verwaltungs-GmbH
Sitz der Gesellschaft : Maulburg
Amtsgericht : Freiburg i.Br. HRB 670222
Geschäftsführer : Matthias Altendorf
Endress+Hauser GmbH+Co. KG
County Court : Freiburg i.Br. HRA 670225
Registered Office : Maulburg
Generell Partner : Endress+Hauser Verwaltungs-GmbH
Registered Office : Maulburg
County Court : Freiburg i.Br. HRB 670222
General Manager : Matthias Altendorf
__________________________________________________________________________
Disclaimer:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer.
__________________________________________________________________________
http://www.endress.com/
|
|
|
|