Skip to content

Commit 3af16b2

Browse files
andros-uahauke
authored andcommitted
uboot-mediatek: comfast,cf-wr632ax: fix missing escape sequence
Add missing escape sequence to restore terminal coloring in the OpenWrt U-Boot boot menu. Signed-off-by: Andrii Kuiukoff <[email protected]> Link: openwrt/openwrt#21283 [Fix _bootmenu_update_title too] Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent 15df98f commit 3af16b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package/boot/uboot-mediatek/patches/448-add-comfast_cf-wr632ax.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,16 +283,16 @@
283283
+bootmenu_confirm_return=askenv - Press ENTER to return to menu ; bootmenu 60
284284
+bootmenu_default=0
285285
+bootmenu_delay=0
286-
+bootmenu_title= [0;34m( ( ( [1;39mOpenWrt[0;34m ) ) )
286+
+bootmenu_title= ( ( ( OpenWrt ) ) )
287287
+bootmenu_0=Initialize environment.=run _firstboot
288288
+bootmenu_0d=Run default boot command.=run boot_default
289289
+bootmenu_1=Boot system via TFTP.=run boot_tftp ; run bootmenu_confirm_return
290290
+bootmenu_2=Boot production system from NAND.=run boot_production ; run bootmenu_confirm_return
291291
+bootmenu_3=Boot recovery system from NAND.=run boot_recovery ; run bootmenu_confirm_return
292292
+bootmenu_4=Load production system via TFTP then write to NAND.=setenv noboot 1 ; setenv replacevol 1 ; run boot_tftp_production ; setenv noboot ; setenv replacevol ; run bootmenu_confirm_return
293293
+bootmenu_5=Load recovery system via TFTP then write to NAND.=setenv noboot 1 ; setenv replacevol 1 ; run boot_tftp_recovery ; setenv noboot ; setenv replacevol ; run bootmenu_confirm_return
294-
+bootmenu_6=[31mLoad BL31+U-Boot FIP via TFTP then write to NAND.[0m=run boot_tftp_write_fip ; run bootmenu_confirm_return
295-
+bootmenu_7=[31mLoad BL2 preloader via TFTP then write to NAND.[0m=run boot_tftp_write_bl2 ; run bootmenu_confirm_return
294+
+bootmenu_6=Load BL31+U-Boot FIP via TFTP then write to NAND.=run boot_tftp_write_fip ; run bootmenu_confirm_return
295+
+bootmenu_7=Load BL2 preloader via TFTP then write to NAND.=run boot_tftp_write_bl2 ; run bootmenu_confirm_return
296296
+bootmenu_8=Reboot.=reset
297297
+bootmenu_9=Reset all settings to factory defaults.=run reset_factory ; reset
298298
+boot_first=if button reset ; then led $bootled_rec on ; run boot_tftp_recovery ; setenv flag_recover 1 ; run boot_default ; fi ; bootmenu
@@ -320,4 +320,4 @@
320320
+_init_env=setenv _init_env ; run ubi_create_env ; saveenv ; saveenv
321321
+_firstboot=setenv _firstboot ; run _switch_to_menu ; run _init_env ; run boot_first
322322
+_switch_to_menu=setenv _switch_to_menu ; setenv bootdelay 3 ; setenv bootmenu_delay 3 ; setenv bootmenu_0 $bootmenu_0d ; setenv bootmenu_0d ; run _bootmenu_update_title
323-
+_bootmenu_update_title=setenv _bootmenu_update_title ; setenv bootmenu_title "$bootmenu_title [33m$ver[0m"
323+
+_bootmenu_update_title=setenv _bootmenu_update_title ; setenv bootmenu_title "$bootmenu_title $ver"

0 commit comments

Comments
 (0)