Var som mx6
This documents descibes how to flash or update a Var som mx6 using the images present on this site.
New board
Update
To update an alrady flashed board you can use the artifacts present on this website. To update a board login using ssh and run the following command:
$ mender install https://embed.horus.nu/variscite/var-som-mx6/artifacts/stable/core-image-x11-imx6qdl-variscite-som.mender
This will download and install the latest update to the board (replace the filename with one to an existing artifact). If you want an older update change the
filename to the one you want. When complete manually reboot the device to check if the update was succesfull.
If the update was successfull run mender commit
to make the update persistant.WARNING: If
you do not commit the update, after the next reboot it will be undone.
Initial flash method over ssh
Board running the Mender enabled image
- Download var-som-mx6-image_20xx-xx-xx.tar.gz
- Extract the archive (in terminal:
tar xvf var-som-mx6-image_20xx-xx-xx.tar.gz
) - Boot the device you want to flash, find its IP and keep it on.
- Use a terminal to go to the extraced folder
- Run:
./do_flash --ip 192.168.xxx.xxx
(replace with ip of the device)
Board running the legacy image
- Download var-som-mx6-image_20xx-xx-xx.tar.gz
- Extract the archive (in terminal:
tar xvf var-som-mx6-image_20xx-xx-xx.tar.gz
) - Boot the device you want to flash, find its IP and keep it on.
- Use a terminal to go to the extraced folder
- Run:
./do_flash --legacy --ip 192.168.xxx.xxx
(replace with ip of the device) Note the--legacy
option!
The first part of the script is non-destructive. If any warning or error occur simply restart the device. Halfway the script will ask for confirmation to continue. When entering 'yes' it will delete the existing partition and all data is lost.