mirror of https://github.com/armbian/build.git
23 lines
775 B
Diff
23 lines
775 B
Diff
From d2e637bf6a433d0a991800e00489ca2535cb8965 Mon Sep 17 00:00:00 2001
|
|
From: ZHANG Yuntian <yt@radxa.com>
|
|
Date: Thu, 27 Jul 2023 15:58:56 +0800
|
|
Subject: configs: radxa-zero_defconfig: reset board if failed to boot
|
|
|
|
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
|
|
---
|
|
configs/radxa-zero_defconfig | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/configs/radxa-zero_defconfig b/configs/radxa-zero_defconfig
|
|
index 111111111111..222222222222 100644
|
|
--- a/configs/radxa-zero_defconfig
|
|
+++ b/configs/radxa-zero_defconfig
|
|
@@ -1,5 +1,6 @@
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_MESON=y
|
|
+CONFIG_BOOTCOMMAND="bootflow scan; run distro_bootcmd; echo Boot failed. Reset in 3 seconds...; sleep 3; reset;"
|
|
CONFIG_TEXT_BASE=0x01000000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
--
|