SWUpdate Guide: Difference between revisions

From Variscite Wiki
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}}|&nbsp;&nbsp;|&nbsp;|{{#var:BB_ENV}}}}}} <!-- If it is only &nbsp;&nbsp;, reduce it to only &nbsp;


= SWUpdate Introduction =
= SWUpdate Introduction =

Revision as of 19:38, 24 March 2023

Warning: This page is designed to be used with a 'release' URL parameter.

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:

  1. Visit variwiki.com
  2. Select your SoM
  3. Select the software release


SWUpdate
When called with the "-u" parameter, the install_yocto.sh script creates the double-copy compatible layout as shown above

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