Comments (4)
This sounds like a very good idea to me, I like it. I'll look into it, thanks!
from chrysalis-firmware-bundle.
FWIW, I will be looking into this in the not too distant future, mostly exploring what needs to be done, if it is even feasible. I'll document my findings here, but I will very likely not take it further than the research stage. We'll have a reasonable set of tasks at that point, however, and I'll happily review patches.
from chrysalis-firmware-bundle.
I'm pretty interested in learning about how it works, so I'm also interested in helping out.
from chrysalis-firmware-bundle.
From what I can tell, we'll need to do two different things to make this possible:
- We'll need to register as a hardware vendor on LVFS, and figure out how the release process works there.
- We'll need to write a plugin for fwupd to handle our update procedures, like the EEPROM backup & restore stuff.
I'm not sure how the plugins are organized in fwupd, but we'll need a way to follow the same logic Chrysalis does: structured EEPROM backup, reboot to bootloader, flash (multiple protocols supported here: DFU for the Model100, and others for the Keyboardio Atreus/Model01, and another for the ErgoDox EZ and OG Atreus, and another for Splitography), reconnect, erase eeprom, reconnect again, restore eeprom.
fwupd is written in C. The process requires multiple reboots of the device, one of them requiring a reboot into bootloader mode, which requires the user to hold a key, so the process cannot be fully automated.
This sounds like a recipe for disaster to me. The flashing process is proving to be quite fragile even in a higher level language, I do not see it working out well when written in C.
If we were just flashing, that could work, the DFU plugin already exists, so we'd only need to bolt on a plugin that helps us do the reboot into bootloader mode. But just flashing, without the eeprom save & restore dance, the update would do more harm than good.
from chrysalis-firmware-bundle.
Related Issues (20)
- Model01 experimental firmware is currently too big HOT 1
- Add version tag matching firmwares bundled with Chrysalis HOT 1
- Add CI workflow to validate sketch files compile and meet the size constraint of the MCU. HOT 1
- Should use the same tagging conventions as Chrysalis
- Consider dropping a layer on the Keyboardio Atreus, to enable LayerNames HOT 1
- Consider enabling the DefaultLEDModeConfig plugin for the Model100 HOT 1
- Add SpaceCadetConfig to the Model100 sketch
- Add the Steno plugin to the Model100 sketch HOT 2
- M100 firmware version 0.11.1+29 prints "locally built"
- remove AlphaSquareEffect from default sketches HOT 2
- Adjust the Model100 firmware to default to Colormap HOT 4
- SpaceCadet sometimes ends up being accidentally enabled HOT 4
- SpaceCadet causes shift to work differently HOT 3
- No code_of _conducting or contributing file
- Migrate to using Kaleidoscope as upstream source for sketches
- Model01 experimental firmware has NumPad LED effect active HOT 5
- Atreus - "GET_DESCRIPTOR" calls are timing out with latest firmware (`0.92.1+94`) HOT 8
- Model01 experimental firmware should have FocusLEDCommands enabled
- Model01 experimental firmware should have IdleLEDs included-- enhancement request HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrysalis-firmware-bundle.