SmartAudio/target/allwinner/generic/configs/env-4.4.cfg

47 lines
2.0 KiB
INI
Executable File

#kernel command arguments
enforcing=1
earlyprintk=sunxi-uart,0x01c28000
initcall_debug=0
console=ttyS0,115200
#if root_partition exist in partition, nor_root/nand_root/mmc_root will change at runtime
root_partition=rootfs
nor_root=/dev/mtdblock4
nand_root=/dev/nandd
mmc_root=/dev/mmcblk0p7
init=/sbin/init
loglevel=8
cma=256M
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
setargs_nor=setenv bootargs enforcing=${enforcing} earlyprintk=${earlyprintk} initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootwait init=${init} partitions=${partitions} cma=${cma}
setargs_nand=setenv bootargs enforcing=${enforcing} earlyprintk=${earlyprintk} initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootwait init=${init} partitions=${partitions} cma=${cma}
setargs_mmc=setenv bootargs enforcing=${enforcing} earlyprintk=${earlyprintk} initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} rootwait init=${init} partitions=${partitions} cma=${cma}
#uImage/fat32 Image.gz
boot_normal=fatload sunxi_flash boot 45000000 uImage;bootm 45000000
boot_recovery=fatload sunxi_flash recovery 45000000 uImage;bootm 45000000
#boot.img/fat32
#boot_normal=fatload sunxi_flash boot 45000000 boot.img;boota 45000000 boot
#boot_recovery=fatload sunxi_flash recovery 45000000 boot.img;boota 45000000 recovery
#uImage/raw
#boot_normal=sunxi_flash read 45000000 boot;bootm 45000000
#boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000
#boot.img/raw same as sunxi-dev
#boot_normal=sunxi_flash read 45000000 boot;boota 45000000 boot
#boot_recovery=sunxi_flash read 45000000 recovery;boota 45000000 recovery
boot_fastboot=fastboot
#recovery key
recovery_key_value_max=0x13
recovery_key_value_min=0x10
#fastboot key
fastboot_key_value_max=0x8
fastboot_key_value_min=0x2
#uboot system env config
bootdelay=0
#default bootcmd, will change at runtime according to key press
bootcmd=run setargs_nand boot_normal#default nand boot