Re: Question about PXA27x STRATA 16-bit flash



Since the Flash could *not* be read back and programmed data simultaneously,
and that mean if the code is XIP in Flash, we will need to relocate the code
into RAM and avoid any interrupting and/or exception (page fault could be
the one) when doing the Flash programming.
If you are not plan to use XIP, it could be safe just invoking these
funciton directly.

"Leon zhang" <leoncamel@xxxxxxxxx> ׫??ì¶à]¼þÐÂÂ?:1167235590.668333.308720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Well, I got a problem about PXA27x STRATA 16-bit flash.

Here is my Hardware information:
1) CPU : pxa27x
2) Flash : L series, 32M 16-bit

Hmm, it seem the mainstone III BSP could only deal with some 32-bit
flash. But, I port the 32-bit code into 16-bit port in *EBOOT*, which
located at "src/bootloader/eboot/flash.c".

Here, the situation is, I could download image to flash. It seems it
could reach the IPL code.

Well, the question here is : it seem the code dead at
FMDHAL_ASM_CallFuncWithNewStack() of FMDHAL_Init(), the last line.

BTW, why we need a new stack ? why not calling the function directly?

Any comment about it ?

Thanks in Advance.



.



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)
  • Re: Reiser4 status: benchmarked vs. V3 (and ext3)
    ... > filesystem first of all, and linux is able to be ran on even worse ... Most Linux filesystems can't be used properly with flash devices because ... should mark the block as bad and relocate the data. ... 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/ ...
    (Linux-Kernel)