raspberry-pi-os
raspberry-pi-os copied to clipboard
Big Endian?
I was wondering if it was possible to run the Pi in big-endian mode? I have some software I maintain and occasionally get patches for supporting it on big-endian machines. I don't have a good way to test such changes (other than a QEMU MIPS VM which is very, very slow). The ARM can run either way. But can the Pi itself? RPi OS looks like it might be simple enough to try a few experiments with, anyway.
You can build Linux for ARM in big endian mode, but it seems like in the latest kernel (indeed since 4.14 or so), it really expects the board to initialize the processor in to big endian mode. So, I suspect this isn't going to work.
What do you think?
Thanks, Allen
The CPU execution model discussed here may be helpful to you.