[yocto] MIPS32r2 little endian bsp

Mark Hatle mark.hatle at windriver.com
Fri Feb 6 07:04:21 PST 2015


On 2/5/15 2:56 AM, Raghavendra Kakarla wrote:
> Hi,
> 
> I need to create a bsp layer for my board which is having mips32r2 little endian processor.
> 
> I gone through the YOCTO BSP user manual bit there is no information for little endian.
> 
> When I create with the yoct-bsp command is taking the mips32 big endian only.
> 
> Could you please help me in resolving this issue.

You will need to define a BSP that is little endian capable.

The BSP should define:

 DEFAULTTUNE ?= "mips32r2el"

You can verify the setting using bitbake -e and inspecting the value of
DEFAULTTUNE.  The BSP should set that value -before- the necessary line:

require conf/machine/include/tune-mips32r2.inc


(Note, Little endian is not nearly as well tested as big endian for mips.  I
expect you will find some bugs, we'll be happy to take back any fixes for those
issues.)

--Mark

> 
> Thanks and regards,
> 
> Raghavendra.
> 




More information about the yocto mailing list