[PATCH] board: amlogic: jethub j100: add rescue boot from microSD

Neil Armstrong neil.armstrong at linaro.org
Thu Dec 22 12:07:09 CET 2022


On 22/12/2022 10:33, Vyacheslav Bocharov via groups.io wrote:
> 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


Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>


More information about the U-Boot mailing list