MPC8349EA in Little Endian

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC8349EA in Little Endian

跳至解决方案
1,982 次查看
silvereye
Contributor II
Hi

We use MPC8349 based design to basically transfer data between Gigabit Ethernet and PCI. We are developing an application based on MPC8349-miTXE reference board.
Since our GbE device and PCI are both little-endian, we are facing lot of problems in actual data exchange between GbE and MPC8349. Basically because MPC8349 in the mITX board is big-endian, by default, and GbE data is little-endian.

Is there any method of changing the endian-ness to Little Endian through a user-mode linux program  (my own C program) that would run on the Linux (FreeScale's flavour) on miTX? ie, after uboot & Linux is loaded?

Please help me.

Thank you.
Warm Regards
-silvereye
标记 (1)
0 项奖励
回复
1 解答
879 次查看
silvereye
Contributor II
Well,
I did not find how to do this, I decided to use the processor in big-endian itself.
Warm
Regards

silvereye wrote:
Hi

We use MPC8349 based design to basically transfer data between Gigabit Ethernet and PCI. We are developing an application based on MPC8349-miTXE reference board.
Since our GbE device and PCI are both little-endian, we are facing lot of problems in actual data exchange between GbE and MPC8349. Basically because MPC8349 in the mITX board is big-endian, by default, and GbE data is little-endian.

Is there any method of changing the endian-ness to Little Endian through a user-mode linux program  (my own C program) that would run on the Linux (FreeScale's flavour) on miTX? ie, after uboot & Linux is loaded?

Please help me.

Thank you.
Warm Regards
-silvereye



在原帖中查看解决方案

0 项奖励
回复
1 回复
880 次查看
silvereye
Contributor II
Well,
I did not find how to do this, I decided to use the processor in big-endian itself.
Warm
Regards

silvereye wrote:
Hi

We use MPC8349 based design to basically transfer data between Gigabit Ethernet and PCI. We are developing an application based on MPC8349-miTXE reference board.
Since our GbE device and PCI are both little-endian, we are facing lot of problems in actual data exchange between GbE and MPC8349. Basically because MPC8349 in the mITX board is big-endian, by default, and GbE data is little-endian.

Is there any method of changing the endian-ness to Little Endian through a user-mode linux program  (my own C program) that would run on the Linux (FreeScale's flavour) on miTX? ie, after uboot & Linux is loaded?

Please help me.

Thank you.
Warm Regards
-silvereye



0 项奖励
回复