public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Albert Rybalkin" <albertr@forbes.net>
To: linux-mtd@lists.infradead.org
Subject: mtd partitions on Sharp Zaurus
Date: Tue, 23 Apr 2002 19:08:45 GMT	[thread overview]
Message-ID: <20020423190845.486244B001@iral.com> (raw)

Hi, 

I'm new to linux and mtd, sorry if my post is misdirected... 

I have a Sharp Zaurus PDA with 16MB sharp flash rom. There's a linux
mtd chip driver `coolie_sharp.c` written by Sharp/Lineo for this
flash chip (there's two 8MB chips actually for total of 16MB in there).
This PDA comes with linux 2.4.6 kernel and initrd
that has root partition mounted as cramfs. Both zImage and initrd can
be flashed into the rom separately. Apparently, rom has some kind
of partitioning already. There's a boot loader in the flash rom, no
separate program to perform flashing. 

I have source code for most of the kernel (save for couple of
closed-source drivers for which I have binary KLMs). But I don't
have source code or any documentation on sharp boot loader/flash
program. 

With the sharp stock kernel I have a couple of mtd devices, i.e.: 

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 01000000 00020000 "mtdrom"
mtd1: 02200000 00000400 "mtdram"
# 

Also, I have /dev/collie-fl that I think is a flash chip device. 

I've recompiled the kernel to remove cramfs and use jffs2 instead
for a root partition. 

But I'm in a complete dark as of how I need to partition flash rom
chip and map its partions to mtd block devices. Is there any user
space program exist that can enumerate and display existing partitions
which are already in the flash? Is there any documentation I can read
on how to partition flash?
Thanks,
 -albertr 

             reply	other threads:[~2002-04-23 19:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-23 19:08 Albert Rybalkin [this message]
2002-04-23 22:23 ` mtd partitions on Sharp Zaurus David Woodhouse
2002-04-23 23:17 ` Tim Riker
2002-04-24  5:59   ` Albert Rybalkin

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=20020423190845.486244B001@iral.com \
    --to=albertr@forbes.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox