-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add instruction partials to etcher supported device types #236
Conversation
@@ -22,8 +22,14 @@ | |||
"internal": true | |||
}, | |||
"media": { | |||
"installation": "dfu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to investigate this device type more. It was listing the installation media as internal storage, but the instructions in the Dashboard indicate that it boots from an SD card. If anyone knows which is correct please drop a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it depends on the revision... which makes things harder...
JN30B Revision 4 (38346-4)
- removed eMMC and add micro SD card
See: https://auvidea.eu/download/manual/JN30/JN30_manual.pdf
See: https://auvidea.eu/product/70787/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I see, this is definitely where contact versions will be able to handle this very nicely I think. Basically we can have different contracts for different versions of the board which should all be stored historically so we can change the instructions for a specific version change of the hardware and track these changes.
@balena-ci rebase |
ccc1caa
to
397f6f6
Compare
5e2ef11
to
b270f6c
Compare
After long discussions we have decided to move from identifying an "installation method" to identifying default boot methods and alternative boot methods and being able to identify what boot method is being used. For example: If there is a
Another example of a
If the
If the
So far I have gone through and updated all of the non-discontinued device types to have the necessary partials for the instructions as well as updated
Edit: The |
@mehalter WRT
|
b270f6c
to
742b808
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to self-certify after checking these comments 👍
"bootDeviceExternal": [ | ||
"Power up the {{name}} while holding down the small button near the SD slot. You need to keep it pressed until the blue LEDs start flashing wildly." | ||
], | ||
"flashIndicator": ["5 seconds after the LEDs have stopped flashing wildly"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was the On some boards the leds will shut down completely."
part that we had before wrong?
"defaultBoot": "internal", | ||
"altBoot": ["sdcard"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to double-check: In case we care to reason whether this is a flasher DT, should we check the defaultBoot
& altBoot
combination?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yeah in the cases where the defaultBoot method is internal
and there is no flash method specified (i.e. we can't directly flash the internal storage) we need to check the altBoot
method to see how it is going to flash the internal storage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there cases where we use an external media to flash another external media for booting? I think that is a case that is not covered in our current set up, but I don't think that that ever comes up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know of enough DTs to answer this. The devices team will probably know.
@@ -22,8 +22,14 @@ | |||
"internal": true | |||
}, | |||
"media": { | |||
"installation": "dfu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it depends on the revision... which makes things harder...
JN30B Revision 4 (38346-4)
- removed eMMC and add micro SD card
See: https://auvidea.eu/download/manual/JN30/JN30_manual.pdf
See: https://auvidea.eu/product/70787/
742b808
to
b8433a0
Compare
@balena-ci rebase |
b8433a0
to
d83d9e2
Compare
d83d9e2
to
ade56bc
Compare
@balena-ci rebase |
ade56bc
to
ead70c3
Compare
dea063a
to
4c3eacd
Compare
Change-type: major Signed-off-by: Micah Halter <micah@balena.io>
4c3eacd
to
62794cb
Compare
@balena-ci I self-certify! |
This PR replaces the deprecated instruction generation approach that was being implemented in #173.
Change-type: major
See: https://www.flowdock.com/app/rulemotion/pub/threads/AE_IXh9Xs_I7MYOHS98oLb0xaya
Signed-off-by: Micah Halter micah@balena.io