big endian version of uboot and linux for ls1021a

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

big endian version of uboot and linux for ls1021a

2,027 Views
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?

Labels (1)
0 Kudos
Reply
2 Replies

1,506 Views
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 Kudos
Reply

1,506 Views
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 Kudos
Reply