big endian version of uboot and linux for ls1021a

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

big endian version of uboot and linux for ls1021a

1,712件の閲覧回数
lucroy
Contributor III

Is it possible to compile a big endian version of uboot and Linux for the ls1021a? How is it done/configured? Is it something that is supported or am I on my own?

ラベル(1)
0 件の賞賛
2 返答(返信)

1,191件の閲覧回数
bpe
NXP Employee
NXP Employee

There is a configuration macro, identical in both Linux and u-Boot, CONFIG_CPU_BIG_ENDIAN, that controls

the endianess of the build, but this feature is not officially supported in the SDK.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

1,191件の閲覧回数
lucroy
Contributor III

Thank you for your reply.

Does the RCW need to be changed for uboot/linux to work or

does uboot/linux set the endianness in the appropriate register(s) during the boot process?

Being new to Linux, I was able to find the section included in the following link which explains how to add this new information to the configuration: Yocto Project Linux Kernel Development Manual

Have a great day,

Luc 

0 件の賞賛