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

Swap endian-ness in tools on big endian host #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zeldin
Copy link

@zeldin zeldin commented May 1, 2021

This depends on raspberrypi/pico-sdk#329.

@@ -17,44 +17,45 @@

#define PT_LOAD 0x00000001u

/* Note, only little endian ELFs handled */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense for elf2uf2 and picotool to both pick up a common elf.h header from pico-sdk? 🤷
(These PRs are a bit over my head, so apologies if that's a silly suggestion.)

@kilograham kilograham self-assigned this May 4, 2021
@kilograham kilograham added this to the 1.1.0 milestone May 15, 2021
@kilograham kilograham removed this from the 1.1.0 milestone Oct 21, 2021
@josch
Copy link

josch commented Jun 5, 2024

I have raspberrypi/pico-sdk#329 applied to the Debian packaging of pico-sdk and am thus also interested in this patch for picotool.

Can you think of a nice test case for picotool which would not require hardware and would fail on big endian machines? Something I can run as part of the Debian autopkgtests to make sure this works?

Thanks!

@will-v-pi will-v-pi added this to the 1.7.0 milestone Jul 26, 2024
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

Successfully merging this pull request may close these issues.

5 participants