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}}}: |
| 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}}}. |
| 55 | |
| 56 | Please 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 | |
| 58 | Then, make the file executable with the chmod command, something like so: |
| 59 | {{{ |
| 60 | chmod 777 reboot.sh |
| 61 | }}} |
| 62 | |
| 63 | Then run the command to reboot the board: |
| 64 | {{{ |
| 65 | ./reboot.sh |
| 66 | }}} |
| 67 | |
| 68 | Reboot Code Below: |