Q: Cramfs Vs. Ubifs

Ran Shalit ranshalit at gmail.com
Tue Jun 12 00:54:54 EDT 2012


>>
>> 1. It seems reasonable that execution from RAM is faster then Nand flash.
>>   So If I'm using ubifs, should I copy the executables to RAM before
>> execute ?
>
>
> Most systems can't execute directly from NAND flash, so that is not really
> an option either way. In fact, since NAND flash cannot be mapped to an
> address space, there is no way to directly execute from NAND flash, however,
> one could imagine a system with some form of memory managment scheme which
> buffers the data so that the flash appears to be directly addressable. I
> don't know if there is such a system though; I've never heard of one (but
> that's not saying much).
>
> The 'copy to RAM' is nothing one normally has to worry about; all the
> binaries are on the flash and loaded into RAM when run. Execute in place is
> a special situation that must be explicitly enabled (and I'm very hazy on
> that subject as I've never worked with it).
>
>

Hi Ricard,

If I start several executable from ubifs in some start point, Is it
right to assume that all of them are running in RAM, and there is no
access to flash after this start point of execution ?

Thank you very much,
Ran



More information about the linux-mtd mailing list