8000 测试数据的添加 · home-coder/yun-update-source@4080fe3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4080fe3

Browse files
author
jiangxiujie
committed
测试数据的添加
1 parent 3c48030 commit 4080fe3

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

test_data/env.cfg

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
bootdelay=0
2+
#default bootcmd, will change at runtime according to key press
3+
bootcmd=run setargs_nand boot_normal#default nand boot
4+
#kernel command arguments
5+
console=ttyS0,115200
6+
nand_root=/dev/block/system
7+
mmc_root=/dev/block/mmcblk0p7
8+
init=/init
9+
loglevel=1
10+
mac=
11+
inside_model=
12+
business_model=
13+
launcher_channelid=
14+
wifi_mac=
15+
fake_flash=2
16+
bt_mac=
17+
specialstr=
18+
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
19+
setargs_nand=setenv bootargs console=${console} root=${nand_root} init=${init} loglevel=${loglevel} vmalloc=384M partitions=${partitions} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} serialno=${serialno} inside_model=${inside_model} business_model=${business_model} launcher_channelid=${launcher_channelid} fake_flash=${fake_flash}
20+
setargs_mmc=setenv bootargs console=${console} root=${mmc_root} init=${init} loglevel=${loglevel} vmalloc=384M partitions=${partitions} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} serialno=${serialno} inside_model=${inside_model} business_model=${business_model} launcher_channelid=${launcher_channelid}
21+
#nand command syntax: sunxi_flash read address partition_name read_bytes
22+
#0x40007800 = 0x40008000(kernel entry) - 0x800(boot.img header 2k)
23+
boot_normal=sunxi_flash read 45000000 boot;boota 45000000 boot
24+
boot_recovery=sunxi_flash read 45000000 recovery;boota 45000000 recovery
25+
boot_fastboot=fastboot
26+
#recovery key
27+
recovery_key_value_max=0x13
28+
recovery_key_value_min=0x10
29+
#fastboot key
30+
fastboot_key_value_max=0x8
31+
fastboot_key_value_min=0x2

0 commit comments

Comments
 (0)
0