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