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

Add info about flash script to manual #47

Open
dl1com opened this issue Oct 16, 2020 · 2 comments
Open

Add info about flash script to manual #47

dl1com opened this issue Oct 16, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@dl1com
Copy link
Contributor

dl1com commented Oct 16, 2020

https://github.com/analogdevicesinc/buildroot/blob/master/board/pluto/update.sh contains the necessary functions for flashing a new firmware image to the pluto.
This can be used to put a new image to the device via SSH and flash it, and removes necessity for a host devices to put the new image into the Mass-Storage of the Pluto.

Write a script which takes the position of the new firmware image and makes use of the already existing functions in the aforementioned script.

@dl1com dl1com added the enhancement New feature or request label Oct 16, 2020
@silencer79
Copy link

silencer79 commented Oct 18, 2020

put the pluto.frm via scp to /opt on the Pluto
run on the Pluto "update_frm.sh /opt/pluto.frm"
reboot it
No more walking thru the House to update :-)
73 DL5OP Kevin

#!/bin/bash
sshpass -p 'analog' scp -o "StrictHostKeyChecking no" -r build/pluto.frm root@$1:/opt/pluto.frm
sshpass -p 'analog' ssh -o "StrictHostKeyChecking no" root@$1 -t "update_frm.sh /opt/pluto.frm && reboot"

start the script with the ip of the Pluto

@dl1com
Copy link
Contributor Author

dl1com commented Nov 5, 2020

Renamed this issue, so we only have to add documentation about this script to our manual

@dl1com dl1com added this to the 2.0.0 milestone Nov 5, 2020
@dl1com dl1com changed the title Provide script for flashing firmware image over commandline Add info about flash script to manual Nov 5, 2020
@dl1com dl1com added the documentation Improvements or additions to documentation label Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants