big endian version of uboot and linux for ls1021a

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

big endian version of uboot and linux for ls1021a

1,720 次查看
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,199 次查看
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,199 次查看
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 项奖励