mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
arm: mvebu: turris_omnia: update rescue mode boot command
Update rescue mode boot command on Turris Omnia. We are compressing the image with lzma now. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
b321722f22
commit
0b5bb36d13
|
@ -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@71_4; then " \
|
||||
"bootm 0x1700000#sfp; " \
|
||||
"else " \
|
||||
"bootm 0x1700000; " \
|
||||
"fi; " \
|
||||
"bootz 0x1000000"
|
||||
|
||||
static void handle_reset_button(void)
|
||||
|
|
Loading…
Reference in New Issue
Block a user