From: "Luke Fimmerzane" <lukefimmerzane@hotmail.com>
To: linux-mtd@lists.infradead.org
Subject: Mapping driver
Date: Fri, 26 Mar 2004 13:51:34 +0000 [thread overview]
Message-ID: <BAY10-F13brzvsTDWWc00016884@hotmail.com> (raw)
Hi,
I'm new to MTD an jffs2.
I have some very basic questions...
My target is ARM sc32410. It contains AMD 1Mbyte and Strata flash 32 Mbytes.
I've looked at the directory drivers/mtd/maps and there is no mapping
driver. My kernel is configured to take mtdparts command line information.
My question is do I still need a mapping driver or does using mtdparts
provide the same functionality.
Also the only information I get from the kernel about jffs2 and mtd is:
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 200.000 Mhz, HCLK = 100.000 Mhz, PCLK = 50.000 Mhz
Starting kswapd
devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au)
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications
AB.
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410
Console: switching to colour frame buffer device 30x40
Installed S3C2410 frame buffer
pty: 256 Unix98 ptys configured
s3c2410-ts initialized
S3C2410 Real Time Clock Driver v0.1
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: cs8900 rev J(3.3 Volts) found at 0xd0000300
cs89x0 media RJ-45, IRQ 37
physmap flash device: 2000000 at 8000000
Using buffer write method
mtd: Giving out device 0 to Physically mapped flash
No NAND device found!!!
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
Then when I do a cat I get
# cat /proc/mtd
dev: size erasesize name
mtd0: 02000000 00040000 "Physically mapped flash"
when I do a ls -al I get ..
# ls -al /dev/mtd/0
/dev/mtd/0 /dev/mtd/0ro
I presume ro is read only but why would it be so? Whats the difference
between the two entries? I've seen /dev/mtd0 and /dev/mtd/0. Which is
correct?
What messages should the kernel emit if everything MTD related is going ok?
Sorry if my questions are very basic! I'm 'slavishly' following a book by
Karim Yaghmor called " Building Embedded Linux systems" . I'm also slowly
working my way back through the mtd archives for a similar problem. Is there
an easier way of searching the archives than by going through them year by
year?
Thanks for any help,
Very much appeciated
Luke
_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/messenger
next reply other threads:[~2004-03-26 13:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-26 13:51 Luke Fimmerzane [this message]
2004-03-30 13:15 ` Mapping driver David Woodhouse
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=BAY10-F13brzvsTDWWc00016884@hotmail.com \
--to=lukefimmerzane@hotmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox