-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sunxi-pack: update new uEnv.txt for bpi-bootsel to support HDMI(1080P…
… & 720P & 480P) & LCD5 & LCD7
- Loading branch information
1 parent
abd0b95
commit 6809411
Showing
14 changed files
with
686 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
sunxi-pack/allwinner/azalea-m2ultra/configs/BPI_M2B_720P/env.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#kernel command arguments | ||
enforcing=1 | ||
earlyprintk=sunxi-uart,0x01c28000 | ||
initcall_debug=0 | ||
console=ttyS0,115200 console=tty1 | ||
nor_root=/dev/mtdblock4 | ||
nand_root=/dev/nandd | ||
#mmc_root=/dev/mmcblk0p7 | ||
mmc_root=/dev/mmcblk0p9 rootwait | ||
#init=/sbin/init | ||
init=/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} 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} 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} init=${init} partitions=${partitions} cma=${cma} | ||
|
||
# | ||
## | ||
bpiver=1 | ||
bpi=bananapi | ||
board=bpi-m2u | ||
chip=r40 | ||
service=linux | ||
# | ||
## | ||
# | ||
bpiuser=720p | ||
# | ||
## | ||
# | ||
panicarg=panic=10 | ||
scriptaddr=0x44000000 | ||
device=mmc | ||
partition=0:1 | ||
kernel=uImage | ||
bootenv=uEnv.txt | ||
script=script.bin | ||
checkemmc=fatinfo $device 2:1 | ||
# | ||
## | ||
# | ||
loadbootenv=fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bpiuser}/${bootenv} || fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bootenv} || fatload $device $partition $scriptaddr ${bootenv} | ||
# | ||
#boot_normal=fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
#boot_normal=fatload mmc 0:1 43800000 uImage;bootm 43800000 | ||
# | ||
boot_normal=if run checkemmc; then setenv partition 2:1; fi; if run loadbootenv; then echo Loaded environment from ${bootenv}; env import -t ${scriptaddr} ${filesize}; fi; if test -n "${uenvcmd}"; then echo Running uenvcmd ...; run uenvcmd; fi; fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
# | ||
# | ||
boot_recovery=fatload sunxi_flash extend 43800000 uImage;bootm 43800000 | ||
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=2 | ||
#default bootcmd, will change at runtime according to key press | ||
bootcmd=run setargs_nand boot_normal#default nand boot |
64 changes: 64 additions & 0 deletions
64
sunxi-pack/allwinner/azalea-m2ultra/configs/BPI_M2U_1080P/env.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#kernel command arguments | ||
enforcing=1 | ||
earlyprintk=sunxi-uart,0x01c28000 | ||
initcall_debug=0 | ||
console=ttyS0,115200 console=tty1 | ||
nor_root=/dev/mtdblock4 | ||
nand_root=/dev/nandd | ||
#mmc_root=/dev/mmcblk0p7 | ||
mmc_root=/dev/mmcblk0p9 rootwait | ||
#init=/sbin/init | ||
init=/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} 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} 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} init=${init} partitions=${partitions} cma=${cma} | ||
|
||
# | ||
## | ||
bpiver=1 | ||
bpi=bananapi | ||
board=bpi-m2u | ||
chip=r40 | ||
service=linux | ||
# | ||
## | ||
# | ||
bpiuser=1080p | ||
# | ||
## | ||
# | ||
panicarg=panic=10 | ||
scriptaddr=0x44000000 | ||
device=mmc | ||
partition=0:1 | ||
kernel=uImage | ||
bootenv=uEnv.txt | ||
script=script.bin | ||
checkemmc=fatinfo $device 2:1 | ||
# | ||
## | ||
# | ||
loadbootenv=fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bpiuser}/${bootenv} || fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bootenv} || fatload $device $partition $scriptaddr ${bootenv} | ||
# | ||
#boot_normal=fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
#boot_normal=fatload mmc 0:1 43800000 uImage;bootm 43800000 | ||
# | ||
boot_normal=if run checkemmc; then setenv partition 2:1; fi; if run loadbootenv; then echo Loaded environment from ${bootenv}; env import -t ${scriptaddr} ${filesize}; fi; if test -n "${uenvcmd}"; then echo Running uenvcmd ...; run uenvcmd; fi; fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
# | ||
# | ||
boot_recovery=fatload sunxi_flash extend 43800000 uImage;bootm 43800000 | ||
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=2 | ||
#default bootcmd, will change at runtime according to key press | ||
bootcmd=run setargs_nand boot_normal#default nand boot |
64 changes: 64 additions & 0 deletions
64
sunxi-pack/allwinner/azalea-m2ultra/configs/BPI_M2U_480P/env.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#kernel command arguments | ||
enforcing=1 | ||
earlyprintk=sunxi-uart,0x01c28000 | ||
initcall_debug=0 | ||
console=ttyS0,115200 console=tty1 | ||
nor_root=/dev/mtdblock4 | ||
nand_root=/dev/nandd | ||
#mmc_root=/dev/mmcblk0p7 | ||
mmc_root=/dev/mmcblk0p9 rootwait | ||
#init=/sbin/init | ||
init=/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} 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} 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} init=${init} partitions=${partitions} cma=${cma} | ||
|
||
# | ||
## | ||
bpiver=1 | ||
bpi=bananapi | ||
board=bpi-m2u | ||
chip=r40 | ||
service=linux | ||
# | ||
## | ||
# | ||
bpiuser=480p | ||
# | ||
## | ||
# | ||
panicarg=panic=10 | ||
scriptaddr=0x44000000 | ||
device=mmc | ||
partition=0:1 | ||
kernel=uImage | ||
bootenv=uEnv.txt | ||
script=script.bin | ||
checkemmc=fatinfo $device 2:1 | ||
# | ||
## | ||
# | ||
loadbootenv=fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bpiuser}/${bootenv} || fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bootenv} || fatload $device $partition $scriptaddr ${bootenv} | ||
# | ||
#boot_normal=fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
#boot_normal=fatload mmc 0:1 43800000 uImage;bootm 43800000 | ||
# | ||
boot_normal=if run checkemmc; then setenv partition 2:1; fi; if run loadbootenv; then echo Loaded environment from ${bootenv}; env import -t ${scriptaddr} ${filesize}; fi; if test -n "${uenvcmd}"; then echo Running uenvcmd ...; run uenvcmd; fi; fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
# | ||
# | ||
boot_recovery=fatload sunxi_flash extend 43800000 uImage;bootm 43800000 | ||
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=2 | ||
#default bootcmd, will change at runtime according to key press | ||
bootcmd=run setargs_nand boot_normal#default nand boot |
64 changes: 64 additions & 0 deletions
64
sunxi-pack/allwinner/azalea-m2ultra/configs/BPI_M2U_720P/env.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#kernel command arguments | ||
enforcing=1 | ||
earlyprintk=sunxi-uart,0x01c28000 | ||
initcall_debug=0 | ||
console=ttyS0,115200 console=tty1 | ||
nor_root=/dev/mtdblock4 | ||
nand_root=/dev/nandd | ||
#mmc_root=/dev/mmcblk0p7 | ||
mmc_root=/dev/mmcblk0p9 rootwait | ||
#init=/sbin/init | ||
init=/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} 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} 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} init=${init} partitions=${partitions} cma=${cma} | ||
|
||
# | ||
## | ||
bpiver=1 | ||
bpi=bananapi | ||
board=bpi-m2u | ||
chip=r40 | ||
service=linux | ||
# | ||
## | ||
# | ||
bpiuser=720p | ||
# | ||
## | ||
# | ||
panicarg=panic=10 | ||
scriptaddr=0x44000000 | ||
device=mmc | ||
partition=0:1 | ||
kernel=uImage | ||
bootenv=uEnv.txt | ||
script=script.bin | ||
checkemmc=fatinfo $device 2:1 | ||
# | ||
## | ||
# | ||
loadbootenv=fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bpiuser}/${bootenv} || fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bootenv} || fatload $device $partition $scriptaddr ${bootenv} | ||
# | ||
#boot_normal=fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
#boot_normal=fatload mmc 0:1 43800000 uImage;bootm 43800000 | ||
# | ||
boot_normal=if run checkemmc; then setenv partition 2:1; fi; if run loadbootenv; then echo Loaded environment from ${bootenv}; env import -t ${scriptaddr} ${filesize}; fi; if test -n "${uenvcmd}"; then echo Running uenvcmd ...; run uenvcmd; fi; fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
# | ||
# | ||
boot_recovery=fatload sunxi_flash extend 43800000 uImage;bootm 43800000 | ||
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=2 | ||
#default bootcmd, will change at runtime according to key press | ||
bootcmd=run setargs_nand boot_normal#default nand boot |
64 changes: 64 additions & 0 deletions
64
sunxi-pack/allwinner/azalea-m2ultra/configs/BPI_M2U_LCD5/env.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#kernel command arguments | ||
enforcing=1 | ||
earlyprintk=sunxi-uart,0x01c28000 | ||
initcall_debug=0 | ||
console=ttyS0,115200 console=tty1 | ||
nor_root=/dev/mtdblock4 | ||
nand_root=/dev/nandd | ||
#mmc_root=/dev/mmcblk0p7 | ||
mmc_root=/dev/mmcblk0p9 rootwait | ||
#init=/sbin/init | ||
init=/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} 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} 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} init=${init} partitions=${partitions} cma=${cma} | ||
|
||
# | ||
## | ||
bpiver=1 | ||
bpi=bananapi | ||
board=bpi-m2u | ||
chip=r40 | ||
service=linux | ||
# | ||
## | ||
# | ||
bpiuser=lcd5 | ||
# | ||
## | ||
# | ||
panicarg=panic=10 | ||
scriptaddr=0x44000000 | ||
device=mmc | ||
partition=0:1 | ||
kernel=uImage | ||
bootenv=uEnv.txt | ||
script=script.bin | ||
checkemmc=fatinfo $device 2:1 | ||
# | ||
## | ||
# | ||
loadbootenv=fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bpiuser}/${bootenv} || fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bootenv} || fatload $device $partition $scriptaddr ${bootenv} | ||
# | ||
#boot_normal=fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
#boot_normal=fatload mmc 0:1 43800000 uImage;bootm 43800000 | ||
# | ||
boot_normal=if run checkemmc; then setenv partition 2:1; fi; if run loadbootenv; then echo Loaded environment from ${bootenv}; env import -t ${scriptaddr} ${filesize}; fi; if test -n "${uenvcmd}"; then echo Running uenvcmd ...; run uenvcmd; fi; fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
# | ||
# | ||
boot_recovery=fatload sunxi_flash extend 43800000 uImage;bootm 43800000 | ||
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=2 | ||
#default bootcmd, will change at runtime according to key press | ||
bootcmd=run setargs_nand boot_normal#default nand boot |
64 changes: 64 additions & 0 deletions
64
sunxi-pack/allwinner/azalea-m2ultra/configs/BPI_M2U_LCD7/env.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#kernel command arguments | ||
enforcing=1 | ||
earlyprintk=sunxi-uart,0x01c28000 | ||
initcall_debug=0 | ||
console=ttyS0,115200 console=tty1 | ||
nor_root=/dev/mtdblock4 | ||
nand_root=/dev/nandd | ||
#mmc_root=/dev/mmcblk0p7 | ||
mmc_root=/dev/mmcblk0p9 rootwait | ||
#init=/sbin/init | ||
init=/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} 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} 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} init=${init} partitions=${partitions} cma=${cma} | ||
|
||
# | ||
## | ||
bpiver=1 | ||
bpi=bananapi | ||
board=bpi-m2u | ||
chip=r40 | ||
service=linux | ||
# | ||
## | ||
# | ||
bpiuser=lcd7 | ||
# | ||
## | ||
# | ||
panicarg=panic=10 | ||
scriptaddr=0x44000000 | ||
device=mmc | ||
partition=0:1 | ||
kernel=uImage | ||
bootenv=uEnv.txt | ||
script=script.bin | ||
checkemmc=fatinfo $device 2:1 | ||
# | ||
## | ||
# | ||
loadbootenv=fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bpiuser}/${bootenv} || fatload $device $partition $scriptaddr ${bpi}/${board}/${service}/${bootenv} || fatload $device $partition $scriptaddr ${bootenv} | ||
# | ||
#boot_normal=fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
#boot_normal=fatload mmc 0:1 43800000 uImage;bootm 43800000 | ||
# | ||
boot_normal=if run checkemmc; then setenv partition 2:1; fi; if run loadbootenv; then echo Loaded environment from ${bootenv}; env import -t ${scriptaddr} ${filesize}; fi; if test -n "${uenvcmd}"; then echo Running uenvcmd ...; run uenvcmd; fi; fatload sunxi_flash boot 43800000 uImage;bootm 43800000 | ||
# | ||
# | ||
boot_recovery=fatload sunxi_flash extend 43800000 uImage;bootm 43800000 | ||
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=2 | ||
#default bootcmd, will change at runtime according to key press | ||
bootcmd=run setargs_nand boot_normal#default nand boot |
Oops, something went wrong.