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.

Re: Question about PXA27x STRATA 16-bit flash by K

K
Thu Dec 28 22:11:42 CST 2006

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@gmail.com> ׫??ì¶à]¼þÐÂÂ?:1167235590.668333.308720@i12g2000cwa.googlegroups.com...
> 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.
>



Re: Question about PXA27x STRATA 16-bit flash by Leon

Leon
Fri Dec 29 02:04:05 CST 2006

Thanks.

And, any idea about how to porting mainstone III BSP into the with
16-bit flash ?

Thanks in Advance.


Re: Question about PXA27x STRATA 16-bit flash by K

K
Fri Dec 29 03:09:16 CST 2006

The Strata driver shipped with MainstoneIII was hard coded in 32 bit mode,
you will need to re-write the driver to support 16-bits mode.

"Leon zhang" <leoncamel@gmail.com>
???????:1167379445.017213.99210@48g2000cwx.googlegroups.com...
> Thanks.
>
> And, any idea about how to porting mainstone III BSP into the with
> 16-bit flash ?
>
> Thanks in Advance.
>