[PATCH] board: amlogic: jethub j100: add rescue boot from microSD
Vyacheslav Bocharov
adeep at lexina.in
Thu Dec 22 10:33:58 CET 2022
From: Viacheslav Bocharov <adeep at lexina.in>
The new JetHub D1+ has a microSD slot. Add rescue boot from microSD
Signed-off-by: Viacheslav Bocharov <adeep at lexina.in>
---
include/configs/jethub.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/jethub.h b/include/configs/jethub.h
index 35f85095ac..e22db4991d 100644
--- a/include/configs/jethub.h
+++ b/include/configs/jethub.h
@@ -12,6 +12,7 @@
#define BOOTENV_DEV_RESCUE(devtypeu, devtypel, instance) \
"bootcmd_rescue=" \
"if gpio input 10; then " \
+ "run bootcmd_mmc0; " \
"run bootcmd_usb0;" \
"fi;\0"
#else
--
2.34.1
More information about the U-Boot
mailing list