ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] porting big-endian to little-endian


From: Stuart Hughes
Subject: Re: [Ltib] porting big-endian to little-endian
Date: Thu, 19 May 2011 20:26:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

Hi Eder,

Your best bet is to start with a BSP that is closest to the target you
want to build for.  There are some in the public LTIB: mpc8349itx,
mpc8360epb, mpc837xemds.  However I think on Freescale's website they
have some ISO images for mpc831x processors that would be better.

Fundamentally once you have this, you should have a good
toolchain/userspace to build.  You then need to find a kernel source
that is either close or already ported.  Similarly you need a close
u-boot target (check in the configs in the latest source tree).

Good luck.

Regards, Stuart

On 19/05/11 15:17, Eder Ruiz Maria wrote:
> hi,
> 
> I'm using mpc8315 processor, it's a big-endian processor, and
> I'm porting a big old proprietary software to run in linux and it
> only run ok in little-endian system.
> I read in datasheet that it work at little-endian mode, configuring
> at the reset time, I see at the uboot code where I can do that.
> But, I think that, if in little-endian mode, all binary maybe in
> little-endian mode,
> I want know if I need another toolchain to do this, or only change the
> flag CONFIG_ENDIAN in config/platform/xxx/defconfig?
> 
> thanks,
> Eder



reply via email to

[Prev in Thread] Current Thread [Next in Thread]