[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] how to mount flash via jffs2 as dir /mnt ?
Hi Falk,
Something else occurred to me about your setup - see below:
Brettschneider Falk wrote:
> mtd0 is the flash, mtd2 is the root filesystem (romfs). mtd0 is the same as
> mtd1 due doubled registration (likely a bug?) in mtd/maps/physmap.c line 145
> and 181, but it actually doesn't matter to the system and can be ignored:
> /> cat /proc/mtd
> dev: size erasesize name
> mtd0: 01000000 00010000 "Physically mapped flash"
> mtd1: 01000000 00010000 "Physically mapped flash"
> mtd2: 00058000 00001000 "RAM"
>
I don't think it will work if you try to get MTD to manage only a small
region of your flash. It will want to control entire chip. For this
reason, I suggest you use a full MTD partition that covers the entire
chip, but perhaps only create /dev nodes that correspond to the region
you are interested in.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/