linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurentp@cse-semaphore.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Flash Filesystem
Date: Thu, 13 Sep 2007 10:39:55 +0200	[thread overview]
Message-ID: <200709131039.56077.laurentp@cse-semaphore.com> (raw)
In-Reply-To: <46E0FEF3.8010500@fz-juelich.de>

Hi Georg,

On Friday 07 September 2007 09:34, schardt wrote:
> Hi
>
> i've some problems using the on board flash memory with linux.
> i added the support for adm/fujittsu flash in kernel config and add the
> right parameters for the "cfi  flash device in physical memory".
>
> cat /proc/mtd gives me
>
> dev:    size   erasesize  name
> mtd0: 00400000 00010000 "physmap-flash.0"
>
> i added /dev/mtd0 c 90 0 and /dev/mtdblock0 b 31 0
>
> how do i add a partition and filesystem ????
> fdisk /dev/mtd0  seems me not to be correct :)

There are several ways to definie partitions on an MTD device. Make sure yo=
u=20
enable the 'MTD partitioning support' option and have a look at 'RedBoot=20
partition table parsing' and 'Command line partition table parsing':

Device Drivers
<*> Memory Technology Device (MTD) support
    [*] MTD partitioning support
        < > RedBoot partition table parsing
        < > Command line partition table parsing

Another option is to hardcode the partition table in the platform data for =
the=20
physmap driver.

Best regards,

=2D-=20
Laurent Pinchart
CSE Semaphore Belgium

Chauss=E9e de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
=46 +32 (2) 387 42 75

  reply	other threads:[~2007-09-13  8:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07  7:34 Flash Filesystem schardt
2007-09-13  8:39 ` Laurent Pinchart [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-07-24 17:36 flash filesystem Mike Coy
2000-07-24 18:33 ` Daris Nevil
2000-07-25 21:36 ` Scott Anderson

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=200709131039.56077.laurentp@cse-semaphore.com \
    --to=laurentp@cse-semaphore.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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 NNTP newsgroup(s).