Changes between Version 2 and Version 3 of gscreboot


Ignore:
Timestamp:
06/25/2018 07:16:40 PM (6 years ago)
Author:
Ryan Erbstoesser
Comment:

add instructions for creating file of reboot.sh

Legend:

Unmodified
Added
Removed
Modified
  • gscreboot

    v2 v3  
    5252
    5353=== Older Manual Method ===
    54 If for some reason you are using a BSP that does not have the GSC kernel drivers you can do this manually with {{{i2cget}}}/{{{i2cset}}}:
     54If for some reason you are using a BSP that does not have the GSC kernel drivers you can do this manually with {{{i2cget}}}/{{{i2cset}}}.
     55
     56Please copy and paste the following code and put it into a file on the Gateworks board called reboot.sh using something like the editor vi.
     57
     58Then, make the file executable with the chmod command, something like so:
     59{{{
     60chmod 777 reboot.sh
     61}}}
     62
     63Then run the command to reboot the board:
     64{{{
     65./reboot.sh
     66}}}
     67
     68Reboot Code Below:
    5569{{{#!bash
    5670#!/bin/sh