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

Misc fixes #107

Merged
merged 11 commits into from
Aug 10, 2024
Merged

Misc fixes #107

merged 11 commits into from
Aug 10, 2024

Conversation

9ary
Copy link
Contributor

@9ary 9ary commented Nov 28, 2023

This PR supersedes #105. It includes misc cleanups, fixes two implementation bugs, and decouples the payload from picoboot.

Fixes #22
Fixes #58

@9ary
Copy link
Contributor Author

9ary commented May 24, 2024

Regarding the last commit (merging the payload into a unified UF2 file), I'm not sure I actually want to keep this:

  • gekkoboot is not the only payload (Swiss or cubeboot are also good options)
  • I'd prefer to make users download payloads from their upstream repos instead of bundling them here:
    • it ensures users always download the latest version of the payload without having to update it here
    • it makes it clearer that payloads are separate projects, rather than part of PicoBoot; I've seen a lot of people being confused about this on discord

My preferred solution would be to bundle a default no-op payload that shows a message directing the user to the install instructions.

Modxo (Xbox modchip) uses a separate UF2 for the payload as well. They have a web-based converter to pack Xbox BIOSes into the correct format. Doing that for arbitrary DOLs would require a bit of work because of the entry point, but it's feasible.
https://github.com/shalxmva/modxo?tab=readme-ov-file#flashing-steps

Embedding C code into pio assembly files makes for a poor editing
experience.
Increasing the output drive strength is enough, no need to output to
multiple pins at all.
EXI is basically SPI mode 0.
In particular, this means CPHA=0, i.e. the first bit comes out *before*
the first clock pulse.
@webhdx
Copy link
Owner

webhdx commented Aug 10, 2024

Thanks. Everything looks good to me now.

@webhdx webhdx merged commit e9f420b into webhdx:main Aug 10, 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.

Separate modchip code from the payload IPL binary processing
2 participants