[PATCH u-boot-marvell 1/2] arm: mvebu: turris_omnia: update rescue mode boot command

Stefan Roese sr at denx.de
Fri Jun 4 15:12:40 CEST 2021


On 28.05.21 10:00, Marek Behún wrote:
> Update rescue mode boot command on Turris Omnia. We are compressing the
> image with lzma now.
> 
> Signed-off-by: Marek Behún <marek.behun at nic.cz>

Applied to u-boot-marvell/master

Thanks,
Stefan

> ---
>   board/CZ.NIC/turris_omnia/turris_omnia.c | 9 +++++++--
>   1 file changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c b/board/CZ.NIC/turris_omnia/turris_omnia.c
> index 1d3cefe703..d3de8004eb 100644
> --- a/board/CZ.NIC/turris_omnia/turris_omnia.c
> +++ b/board/CZ.NIC/turris_omnia/turris_omnia.c
> @@ -349,10 +349,15 @@ static int set_regdomain(void)
>   	"mw.l 0x01000000 0x00ff000c; " \
>   	"i2c write 0x01000000 0x2a.1 0x5 4 -s; " \
>   	"setenv bootargs \"earlyprintk console=ttyS0,115200" \
> -			" omniarescue=$omnia_reset\"; " \
> +		" omniarescue=$omnia_reset rescue_mode=$omnia_reset\"; " \
>   	"sf probe; " \
>   	"sf read 0x1000000 0x100000 0x700000; " \
> -	"bootm 0x1000000; " \
> +	"lzmadec 0x1000000 0x1700000; " \
> +	"if gpio input gpio at 71_4; then " \
> +		"bootm 0x1700000#sfp; " \
> +	"else " \
> +		"bootm 0x1700000; " \
> +	"fi; " \
>   	"bootz 0x1000000"
>   
>   static void handle_reset_button(void)
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list