matrix-io / matrix-creator-init

Debian package to initialize MATRIX Creator on boot
https://matrix-io.github.io/matrix-documentation/
7 stars 13 forks source link

sam3 program firmware check improved #35

Closed cmetz closed 6 years ago

cmetz commented 6 years ago

added a new way to check whether a new firmware needs to programmed into the sam3

cmetz commented 6 years ago

i just recognized, that the sam3s_rpi_sysfs_check.cfg is always performing a "at91sam3 gpnvm set 1" to set the bootloader mode. this is maybe bad, i don't know if the internal flash gets damaged by this, but i will remove this from the code and implement a solution that it is checking if the bit needs to be set, or not.

cmetz commented 6 years ago

sorry, i could have fixed it in this pullrequest, but i started a new one: https://github.com/matrix-io/matrix-creator-init/pull/36