blob: c90fa802799dd1238786ebb6bc27711388385d83 [file] [log] [blame]
Jan Kundrát151ce572017-10-11 14:44:13 +02001From 4573fe220f3ea05c0648a0e1776aa64979eff683 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jan.kundrat@cesnet.cz>
3Date: Wed, 11 Oct 2017 14:42:51 +0200
4Subject: [PATCH 4/4] clearfog: Auto-reboot on panic and oops
5
6---
7 include/configs/clearfog.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
11index bd2cc3c26e..d251278885 100644
12--- a/include/configs/clearfog.h
13+++ b/include/configs/clearfog.h
14@@ -209,7 +209,7 @@
15 " saveenv;" \
16 " reset;" \
17 "fi;" \
18- "setenv bootargs root=/dev/mmcblk0p${rauc_part} rauc.slot=${rauc_slot} czechlight=${czechlight};" \
19+ "setenv bootargs root=/dev/mmcblk0p${rauc_part} rauc.slot=${rauc_slot} czechlight=${czechlight} panic=10 oops=panic;" \
20 "load mmc 0:${rauc_part} ${fdt_addr_r} /boot/armada-388-clearfog-base.dtb || reset;" \
21 "load mmc 0:${rauc_part} ${kernel_addr_r} /boot/zImage || reset;" \
22 "bootz ${kernel_addr_r} - ${fdt_addr_r} || reset\0"
23--
242.14.1
25