Hi all,

After working on PXA255 BSP, it is time for me to move to PXA270.

I got a board with almost all the peripherals and even gpio connections same
as that of my pxa255 board.
My pxa255 board is running perfectly with wince 5.0..

Now, the difference between the new board and my old pxa255 board is only
processor PXA270. So, i am planning to use the same bsp here too with some
changes only on the processor side.

Can any one give me a suggestion and main difference that i need to add or
make to my existing bsp, so that it will run without any problems on pxa270.

I have found the following changes betwen 255 and 270 up to my knowledge,

-->Interrupt architectures are different. But still i am planning to use
the icip for detecting the interrupt.. Is that ok? or i have to use ichp.
--> I left registers memory mapping to be same. since i found the addresses
of registers are almost same as that of pxa255 in pxa270. Only thing is,
some extra registers are added. Since i am not going to use those, mapping
it is useless i think.

--> The same case for RTC too.
--> Kern, kernkitl, kernprof are linked with oal_cache_pxa250.lib, now i am
planning to link it with oal_cache_pxa27x.lib


My hardware is yet to come. Have i missed anything, to modify in my
existing bsp ? if any one has tried porting 255 bsp to 270.. please help me
if i have missed something...

All suggestions are welcome...


--
Ramesh.c
Innovate Sofware Solutions.
Bangalore.

Re: Pxa255 to PXA270 porting... by Luca

Luca
Mon Jun 09 01:40:13 PDT 2008

'Intel PXa27x Processor Faimily Design Guide' document has an appendix which
describes the differences
between PXA25X and PXA27X. The PXA27X enhances several peripherals of the
previous processor and
introduces new features like:

-Power manager supports standby and deep-sleep
-a second I2C controller for use with a power management IC
-USB host controller
-SDHC instead of MMC controller
-keypad interface
-more GPIOs

If you want the document google for '28000102'.

Windows CE 5.0 has a sample BSP for MAINSTONEIII PXA270 development kit that
you can use as a reference



--

Luca Calligaris
www.eurotech.it

"Rameshchandra" <Rameshchandra@discussions.microsoft.com> ha scritto nel
messaggio news:850D31CB-A244-4C92-B5A9-5561DB63EAA9@microsoft.com...
> Hi all,
>
> After working on PXA255 BSP, it is time for me to move to PXA270.
>
> I got a board with almost all the peripherals and even gpio connections
> same
> as that of my pxa255 board.
> My pxa255 board is running perfectly with wince 5.0..
>
> Now, the difference between the new board and my old pxa255 board is only
> processor PXA270. So, i am planning to use the same bsp here too with
> some
> changes only on the processor side.
>
> Can any one give me a suggestion and main difference that i need to add or
> make to my existing bsp, so that it will run without any problems on
> pxa270.
>
> I have found the following changes betwen 255 and 270 up to my knowledge,
>
> -->Interrupt architectures are different. But still i am planning to use
> the icip for detecting the interrupt.. Is that ok? or i have to use ichp.
> --> I left registers memory mapping to be same. since i found the
> addresses
> of registers are almost same as that of pxa255 in pxa270. Only thing is,
> some extra registers are added. Since i am not going to use those,
> mapping
> it is useless i think.
>
> --> The same case for RTC too.
> --> Kern, kernkitl, kernprof are linked with oal_cache_pxa250.lib, now i
> am
> planning to link it with oal_cache_pxa27x.lib
>
>
> My hardware is yet to come. Have i missed anything, to modify in my
> existing bsp ? if any one has tried porting 255 bsp to 270.. please help
> me
> if i have missed something...
>
> All suggestions are welcome...
>
>
> --
> Ramesh.c
> Innovate Sofware Solutions.
> Bangalore.



Re: Pxa255 to PXA270 porting... by Rameshchandra

Rameshchandra
Mon Jun 09 03:03:02 PDT 2008

Hi,

Thanks for your reply. I will refer to that pdf.
I have two options now,

1) Modifying my existing pxa255 bsp, so that it will work on pxa270
2) Taking mainstone III bsp and modify it.

Which way would be better and faster in my case?
--
Ramesh.c
Innovate Sofware Solutions.
Bangalore.




Re: Pxa255 to PXA270 porting... by Valter

Valter
Mon Jun 09 03:36:39 PDT 2008

=?Utf-8?B?UmFtZXNoY2hhbmRyYQ==?=
<Rameshchandra@discussions.microsoft.com> wrote in
news:D014FA95-EBB8-48A8-A23E-BA1C8AEAAD42@microsoft.com:

> Hi,
>
> Thanks for your reply. I will refer to that pdf.
> I have two options now,
>
> 1) Modifying my existing pxa255 bsp, so that it will work on
> pxa270 2) Taking mainstone III bsp and modify it.
>
> Which way would be better and faster in my case?

The mainstone III BSP and the COMMON code provided with it will
handle all the internal devices of the PXA, so you won't have to
uprade your code. You may have to port some parts (RAM
initialization, GPIO configuration) but the code organization has
changed and so you'll need some time to find the right place for
your changes. The 4.2 BSP was almost "self contained" in the
PLATFORM subdir, the PXA270 one is splitted in some common parts
(under PUBLIC\COMMON\OAK\CSP\ARM\INTEL\) in CE 5.0 and under
PLATFORM\COMMON\SRC\SOC in CE 6.0). You'll need to clone some parts
of that code (IMHO some board-specific part are in the wrong place
in that BSP) and move them back to your BSP. You can then move all
your board-specific driver (external peripherals etc.) to the new
BSP by simply copying their subdirectories.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)