Porting from MPC8248 to LS1020A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Porting from MPC8248 to LS1020A

Jump to solution
1,263 Views
victormazin
Contributor II

Hi

Our task is to port the Linux operation system and set of servers and drivers (written in C language) from Freescale MPC8248 processor to Freescale LS1020A processor.

Which first steps could you recommend to us?

Regards

Victor

Labels (1)
0 Kudos
1 Solution
1,061 Views
lunminliang
NXP Employee
NXP Employee

Hello Victor Mazin,

If you are using new platform other than LS1021ATWR, as Alexander has suggested, you're recommend to porting from Freescale QorIQ SDK, since it has already included support for LS1021A.

Some steps of porting u-boot including creating configuration file based on ls1021atwr.h, ls1021atwr.c, ddr.c, ls1_rcw.cfg, ls1_pbi.cfg and rebuilding images, porting Linux including creating new file based on mach-ls1021a.c, ls1021a_defconfig, new device tree, and so on. There is application note of U-Boot and Linux porting on T4240 system, although it's not for LS1021A I think it may be also helpful.

http://cache.freescale.com/files/32bit/doc/app_note/AN4814.pdf?fsrch=1&sr=1&pageNum=1


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
1,062 Views
lunminliang
NXP Employee
NXP Employee

Hello Victor Mazin,

If you are using new platform other than LS1021ATWR, as Alexander has suggested, you're recommend to porting from Freescale QorIQ SDK, since it has already included support for LS1021A.

Some steps of porting u-boot including creating configuration file based on ls1021atwr.h, ls1021atwr.c, ddr.c, ls1_rcw.cfg, ls1_pbi.cfg and rebuilding images, porting Linux including creating new file based on mach-ls1021a.c, ls1021a_defconfig, new device tree, and so on. There is application note of U-Boot and Linux porting on T4240 system, although it's not for LS1021A I think it may be also helpful.

http://cache.freescale.com/files/32bit/doc/app_note/AN4814.pdf?fsrch=1&sr=1&pageNum=1


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,062 Views
victormazin
Contributor II

Thank you Lunmin and Alexander,

We will try to following your recommendations

Regards

Victor.

0 Kudos
1,062 Views
alexander_yakov
NXP Employee
NXP Employee

We do not offer porting guide for this case.

I recommend building a new Linux from our Linux SDK we offer for LS1020A processor, and than port your applications from MPC8248 to LS1020A using build tools supplied in our Linux SDK.


Have a great day,
Alexander

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos