SimpleSwitch™ packages#

inherit simpleswitch-package

will turn a recipe into a SimpleSwitch™ package. This package can be used with simpleswitch-helper.

Options explained#

Install on the target#

After building the new SimpleSwitch™ package, you need to transfer the artifacts to the your device. On your computer run

  • Scotty
  • bitbake
   $ package=<name of your SimpleSwitch™ package>
   $ board_ip=<IP of your device>
   $ scotty devtool simpleswitch-install-target ${package} ${board_ip}
   $ package=<name of your SimpleSwitch™ package>
   $ board_ip=<IP of your device>
   $ devtool simpleswitch-install-target ${package} ${board_ip}

to uninstall a package run

  • Scotty
  • bitbake
   $ package=<name of your SimpleSwitch™ package>
   $ board_ip=<IP of your device>
   $ scotty devtool simpleswitch-uninstall-target ${package} ${board_ip}
   $ package=<name of your SimpleSwitch™ package>
   $ board_ip=<IP of your device>
   $ devtool simpleswitch-uninstall-target ${package} ${board_ip}

or to restore the factory default of the image, just run

  • Scotty
  • bitbake
   $ package=<name of your SimpleSwitch™ package>
   $ board_ip=<IP of your device>
   $ scotty devtool simpleswitch-restore-target ${board_ip}
   $ package=<name of your SimpleSwitch™ package>
   $ board_ip=<IP of your device>
   $ devtool simpleswitch-restore-target ${board_ip}