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.