SWUpdate Guide: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
-->{{#vardefine:SWUPDATE_IMAGE_NAME|{{#var:SWUPDATE_IMAGE_BB_NAME|var-image-swupdate}}}}<!-- | -->{{#vardefine:SWUPDATE_IMAGE_NAME|{{#var:SWUPDATE_IMAGE_BB_NAME|var-image-swupdate}}}}<!-- | ||
-->{{#vardefine:SWU_IMAGE_NAME|{{#var:SWU_IMAGE_BB_NAME|var-image-swu}}}} <!-- | -->{{#vardefine:SWU_IMAGE_NAME|{{#var:SWU_IMAGE_BB_NAME|var-image-swu}}}} <!-- | ||
-->{{#vardefine:BB_ENV|{{#var:BB_ENV|{{#ifeq: {{#var:B2QT_SUPPORT_SWUPDATE|no}}|yes|MACHINE={{#var:MACHINE_NAME}}}}}}}} | -->{{#vardefine:BB_ENV|{{#var:BB_ENV|{{#ifeq: {{#var:B2QT_SUPPORT_SWUPDATE|no}}|yes|MACHINE={{#var:MACHINE_NAME}}}}}}}}<!-- | ||
-->{{#vardefine:BB_ENV|{{#ifeq:{{#var:BB_ENV}}| | |{{#var:BB_ENV}}}}}} <!-- If it is only , reduce it to only | |||
= SWUpdate Introduction = | = SWUpdate Introduction = |
Revision as of 18:38, 24 March 2023
This page is using the default release RELEASE_PYRO_V1.0_VAR-SOM-MX6.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
Generate a Field Update file (.swu image)
- Make your changes in ~/var-fslc-yocto
- Edit the sw-description file
- Generate .swu file:
$bitbake var-image-swu
Test SWUpdate
- Get the target's IP address using ifconfig
- Open a web browser on the host and connect to the SWUpdate web server on the target by entering the following in the address bar:
http://<target_ip>:8080
- On the web page, click "Browse..." and open the .swu image which is located at tmp/deploy/images/var-som-mx6/var-image-swu-var-som-mx6.swu