This feature makes use of the crashlog driver in the kernel. If we experience
an oops, the kernel will store the stack trace inside /sys/kernel/debug/crashlog.
OpenSync will then add an entry to the Alarms table. The could can then retrieve
the crashlog via the Command_config table.
A crash can be simulated with
echo c > /proc/sysrq-trigger
Signed-off-by: John Crispin <john@phrozen.org>
- Added support to upgrade firmware from a URL to a FW tar/tar.gz package
- Checksum validation using sha256sum
- Some error handling
- Added support to share the firmware tar name to the gateway
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
This allows us to trigger remote commands, such as tcpdump.
Also allow configuring NTP and remote syslog.
Signed-off-by: John Crispin <john@phrozen.org>
When adding a new baord we had to edit files all over the tree. After this patch
they are all located in the same folder.
Signed-off-by: John Crispin <john@phrozen.org>
This adds 2 new tables
* CommandConfig
* CommandState
This allows us to remotely trigger, tcpdump, remote syslog, ...
Signed-off-by: John Crispin <john@phrozen.org>