All of lore.kernel.org
 help / color / mirror / Atom feed
From: "hinko.kocevar@cetrtapot.si" <hinko.kocevar@cetrtapot.si>
To: Midhun Agnihotram <agnimidhun@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: /proc/mtd file does not show partitions
Date: Wed, 20 Jun 2007 13:38:01 +0200	[thread overview]
Message-ID: <46791199.7020402@cetrtapot.si> (raw)
In-Reply-To: <4dde4acb0706192320n7ca4157q1219adfb68e50ce1@mail.gmail.com>

Midhun Agnihotram wrote:
> Hi All,
> 
>    We want to use the on board flash as our file system on our
> Development Kit (CSB535FS). We have defined the partitions in the
> respective file and the kernel creates the partitions while bootig.
> 
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> Cirrus Logic CS8900A driver for Linux (V0.02)
> eth0: CS8900A rev E detected
> physmap flash device: 800000 at c8000000
> phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
>  Intel/Sharp Extended Query Table at 0x0031
> Using buffer write method
> cfi_cmdset_0001: Erase suspend on write enabled
> RedBoot partition parsing not available
> mtd: Giving out device 0 to phys_mapped_flash
> Probing flash00 at physical address 0xc8000000 (16-bit bankwidth)
> flash00: Found 1 x16 devices at 0x0 in 16-bit bank
>  Intel/Sharp Extended Query Table at 0x0031
> Using buffer write method
> cfi_cmdset_0001: Erase suspend on write enabled
> Done probing.
> Setting mtd_parts to csbxxx_partitions.
> Should be adding devices or partitions now.
> Going to call add_mtd_partitions.
> csbxxx: using static partition definition
> Creating 3 MTD partitions on "flash00":
> 0x00000000-0x00200000 : "U-Boot flash"
> mtd: Giving out device 1 to U-Boot flash
> 0x00200000-0x00400000 : "Kernel flash"
> mtd: Giving out device 2 to Kernel flash
> 0x00400000-0x00800000 : "RootFS flash"
> mtd: Giving out device 3 to RootFS flash
> 
> 
>    I boot with a Ramdisk. I have created the required mtd entries in
> the Ramdisk's /dev folder. On the target's linux prompt, when I do a
> cat /proc/mtd, it says that the file does not exist. Who is supposed
> to create this file?

/usr/src/linux/drivers/mtd/mtdcore.c iff CONFIG_PROC_FS is enabled. 
Silly question - do you have any files in /proc? Is procfs mounted?


best regards,
hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar@cetrtapot.si
Http: www.cetrtapot.si

  reply	other threads:[~2007-06-20 11:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-20  6:20 /proc/mtd file does not show partitions Midhun Agnihotram
2007-06-20 11:38 ` hinko.kocevar [this message]
2007-06-21  5:01   ` Midhun Agnihotram
2007-06-21  8:35     ` hinko.kocevar
2007-06-25  6:36       ` Midhun Agnihotram
2007-06-25  9:35         ` Midhun Agnihotram
2007-06-25 11:50           ` Midhun Agnihotram

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=46791199.7020402@cetrtapot.si \
    --to=hinko.kocevar@cetrtapot.si \
    --cc=agnimidhun@gmail.com \
    --cc=linux-mtd@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.