lkml.org 
[lkml]   [2006]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Advanced XIP File System
From
Date
On Tue, 2006-05-02 at 22:04 -0700, Jared Hulbert wrote:
> I plan to could do 'mount -t axfs /dev/mtdblock2 /mnt/axfs' and use
> the mtd to get the address to flash from map->cached or maybe
> mtd->point. Personally I think this is a clean approach to mounting
> this fs. Right now we do it like linear cramfs 'mount -t cramfs -o
> physaddr=0xDEADBEEF /dev/null /mnt/axfs' and then map flash ourselves
> with ioremap(). I'd like to enable a mode like this to in case you
> don't have MTD. But I prefer the former.

It makes sense. If you're going to use MTD drivers for other partitions
of the flash, you want to be able to co-ordinate with it so you know
when the flash is being written to. You want to be able to use its
partitioning rather than hard-coding the physical address and length of
what might be a dynamic partition. You want the MTD driver to know that
the device in question is in use.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-03 10:33    [W:0.060 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site