Re: msflash (fal) library in XIP mode on WindowsCE 5.0?

Tech-Archive recommends: Fix windows errors by optimizing your registry



The FAL doesn't care what is being done with the data it retrieves. For XIP to work flash region will not be managed by the FAL, it will be exposed to the OS as a flat binary region. It will not be formatted as BINFS either.

Note that XIP and paging are not the same thing. If you have a NAND flash then you can page sections of flash into RAM for execution - you can do this with NOR as well but it is not XIP in that case. BINFS is the file system used to do this.

eXecute In Place - XIP - is where the CPU directly fetches instruction and data from the flash without putting it in RAM first.

Geoff
--

.



Relevant Pages

  • Re: How to upgrade flash memory under the control of WinCE?
    ... IPSM can write to the same chip that the OS normally XIPs out of. ... ensure there are no interrupts or exceptions that vector back into flash. ... > chip that is not marked as XIP. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: What File System supports Application XIP
    ... > You won't gain at runtime by using XIP though. ... I thought that when you XIPed from flash, ... directly back to the flash memory address. ... There shouldn't be a RAM ...
    (Linux-Kernel)
  • Re: msflash (fal) library in XIP mode on WindowsCE 5.0?
    ... My FMD in based on the code from the mainstoneIII BSP. ... With this driver I don't get BINFS working. ... correctly notify the FAL that the driver should be in XIP mode. ... By the way we are using NOR flash. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP
    ... With the filemap_xip.c helpers adding xip support to any filesystem ... I'll try to hack up an xip prototype for jffs2 next week. ... XIP is basically limited to NOR flash. ... before writing and have the flash chip return to read_array mode before ...
    (Linux-Kernel)