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

Not quite working: Posix TZ hotswap #110

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Not quite working: Posix TZ hotswap #110

wants to merge 7 commits into from

Conversation

thebentern
Copy link
Contributor

@jp-bennett seems to fail checksum, but this is the initial WIP
Closes #107

@thebentern thebentern requested a review from jp-bennett October 5, 2024 20:27
Copy link

vercel bot commented Oct 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web-flasher ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 4:59am

@jp-bennett
Copy link

Looks like it's missing the esptool part, that calculates the checksum byte, that goes right before the SHA256 sum.

stores/firmwareStore.ts Outdated Show resolved Hide resolved
@jp-bennett
Copy link

Oh man, does esptool.js not properly handle the checksum byte? It's gonna be a pain to calculate it yourself.

@jp-bennett
Copy link

espressif/esptool-js#156

@jp-bennett
Copy link

Thinking about this again. I think we need to add a bit of logic to only rewrite the hashes if we actually do a string replace. Once that's in there, is it ready to ship?

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.

Hot-swap TZ offset with browser locale in firmware binary
2 participants