diff options
| author | Gabriel Ionescu <gabriel.ionescu@enea.com> | 2019-02-01 14:50:19 +0100 |
|---|---|---|
| committer | Martin Borg <martin.borg@enea.com> | 2019-02-05 12:45:06 +0100 |
| commit | a0ae02e6409c0eb3d39e43bbe4f98faf1a8e5e5b (patch) | |
| tree | 09ebf9fab6f3154143f9ff74c0a9af033b34ffa8 | |
| parent | bc705e9e02d6b81dbad043a2b6f9d131404d7dec (diff) | |
| download | enea-kernel-cache-a0ae02e6409c0eb3d39e43bbe4f98faf1a8e5e5b.tar.gz | |
Add kernel fragment that sets a 30s reset timeout on kernel panic
Change-Id: I273563bf7064c4cd909c6707c2530d5de2ef636f
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
| -rw-r--r-- | features/reset_timeout/reset_timeout_30s.cfg | 1 | ||||
| -rw-r--r-- | features/reset_timeout/reset_timeout_30s.scc | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/features/reset_timeout/reset_timeout_30s.cfg b/features/reset_timeout/reset_timeout_30s.cfg new file mode 100644 index 0000000..3ff8d5e --- /dev/null +++ b/features/reset_timeout/reset_timeout_30s.cfg | |||
| @@ -0,0 +1 @@ | |||
| CONFIG_PANIC_TIMEOUT=30 | |||
diff --git a/features/reset_timeout/reset_timeout_30s.scc b/features/reset_timeout/reset_timeout_30s.scc new file mode 100644 index 0000000..0249461 --- /dev/null +++ b/features/reset_timeout/reset_timeout_30s.scc | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | define KFEATURE_DESCRIPTION "Reset a board 30s after a kernel crash" | ||
| 2 | |||
| 3 | define KFEATURE_COMPATIBILITY all | ||
| 4 | |||
| 5 | kconf hardware reset_timeout_30s.cfg | ||
