Browse Source

增加设置双轨迹线的环境变量

luyuan_t440 3 years ago
parent
commit
a36d155a3c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      u-boot/include/configs/ark1668e_devb_emmc.h

+ 3 - 0
u-boot/include/configs/ark1668e_devb_emmc.h

@@ -208,6 +208,7 @@
 	"emmcargs=setenv bootargs console=ttyS0,115200 " \
 		"earlyprintk  loglevel=8 clk_ignore_unused lpj=2285568 " \
 		"${emmcparts} " \
+		"trackid=${switch_lang_id} " \
 		"root=${emmcroot} " \
 		"rootfstype=${emmcrootfstype}\0" \
 	"emmcroot=/dev/mmcblk0p10 rw\0" \
@@ -260,6 +261,7 @@
 	"bootanimationaddr=0x5e000000\0" \
 	"bootanimationsize=0\0" \
 	"reversingtrackaddr=0x5ea00000\0" \
+	"switch_lang_id=0\0" \
 	"reversingtracksize=0\0" \
 	"ipaddr=192.168.5.66\0" \
 	"update_from_ota=no\0" \
@@ -325,6 +327,7 @@
 	"bootanimationaddr=0x5e000000\0" \
 	"bootanimationsize=0\0" \
 	"reversingtrackaddr=0x5ea00000\0" \
+	"switch_lang_id=0\0" \
 	"reversingtracksize=0\0" \
 	"ipaddr=192.168.5.66\0" \
 	NANDARGS