Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big Endian? #186

Open
allenbarnett5 opened this issue Apr 25, 2020 · 1 comment
Open

Big Endian? #186

allenbarnett5 opened this issue Apr 25, 2020 · 1 comment

Comments

@allenbarnett5
Copy link

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

@stefanJi
Copy link
Contributor

stefanJi commented Jul 2, 2020

The CPU execution model discussed here may be helpful to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants