File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments