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

Validate ability to have firmware start @ 8MB in NAND #174

Open
henrygab opened this issue Dec 23, 2024 · 0 comments
Open

Validate ability to have firmware start @ 8MB in NAND #174

henrygab opened this issue Dec 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@henrygab
Copy link
Collaborator

This relates to ongoing discussions in the buspirate forums about the ability to run alternate firmware on the buspirate, including having one (or more) of those alternate firmwares co-exist in the flash.

To validate this functionality on RP2040, it is necessary to validate that the 2nd stage bootloader can load a firmware that starts at 8MB offset.

Potential steps:

  1. Modifying the start address of the main buspirate firmware to offset 8MB.
  2. Modify the stage2 bootloader to unconditionally boot from 8MB-offset firmware.
  3. Fully erase, then program the above, and verify boot & functionality.
  4. Add a second (different) firmware build that starts at standard offset.
  5. Adjust stage2 bootloader to conditionally boot from either 8MB-offset firmware, or from alternate firmware at standard offset.
  6. Fully erase, then program stage2 bootloader and both firmwares (so they both are available).
  7. Verify defaults to boot to 8MB-offset, and that alternate firmware can be rebooted to via software (e.g., with persisted register values indicating to stage2 bootloader...)
@henrygab henrygab added the enhancement New feature or request label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant