Closed fhajredini closed 5 years ago
Hey, we have some changes on review right now that change fota name, and behavior:
You can review those changes on gerrithub: https://review.gerrithub.io/c/SamsungSLAV/muxpi/+/441564/4
I'm not sure if a separate documentation page is necessary for fota/sflasher as it is really simple tool (we could only adjust output when -h / --help flag is used and it should suffice).
NanoPi has sd card storage, its solid state and will break on many writes. To save the NanoPi's card fota/sflasher was developed which: downloads tarball with images, unpacks them and flashes "on the fly" according to partition mapping (directly to the DUT boot medium, without using NanoPi storage).
Hey, we have some changes on review right now that change fota name, and behavior: In that case, you can discard this PR. I'm not sure if a separate documentation page is necessary for fota/sflasher as it is really simple tool Having a description of the json format might be necessary.
I'm not sure if a separate documentation page is necessary for fota/sflasher as it is really simple tool
Having a description of the json format might be necessary.
example added in this commit: https://review.gerrithub.io/c/SamsungSLAV/muxpi/+/441564/4
Hey, we have some changes on review right now that change fota name, and behavior:
In that case, you can discard this PR.
I think we can either: improve help message furtherly or adjust this article to go through some real-world example (real os example, starting with empty sd card, partitioning it, flashing using tarball downloaded by fota over http )
Feel free to contribute!
@amalinowsk2 I will add some CONTRIBUTING to the muxpi repo in following days with info about gerrithub, ok?
@aalexanderr regarding improving the help messages, i think its critical to include information about fota. The json map needs to be briefly explained why its needed and also it needs to say that it takes the .tar.gz file as an arguments as well.. this required me to go through the code of fota to understand the arguments it takes.
I see that on gerrit you are using sflasher now, if fota is gonna be modified then maybe my PR is irrelevant but wanted to contribute back anyway. I hope you find some useful information here. I will try to add some more information later on.
The serial communication device is always set to be /dev/ttyS2. A small note when initially connecting with MuxPi A new file which describes fota.
Signed-off-by: Fisnik Hajredini fisnikhajredini@gmail.com