MPC8349EA in Little Endian

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC8349EA in Little Endian

ソリューションへジャンプ
2,853件の閲覧回数
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 解決策
1,750件の閲覧回数
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 返信
1,751件の閲覧回数
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 件の賞賛
返信