Add OTA partition
This commit is contained in:
parent
a5ed6c236e
commit
1727d46717
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
bootdelay=0
|
bootdelay=3
|
||||||
#default bootcmd, will change at runtime according to key press
|
#default bootcmd, will change at runtime according to key press
|
||||||
bootcmd=run setargs_nand boot_normal#default nand boot
|
bootcmd=run setargs_nand boot_normal#default nand boot
|
||||||
#kernel command arguments
|
#kernel command arguments
|
||||||
|
@ -8,7 +8,7 @@ nand_root=/dev/nandd
|
||||||
mmc_root=/dev/mmcblk0p7
|
mmc_root=/dev/mmcblk0p7
|
||||||
root_partition=rootfs
|
root_partition=rootfs
|
||||||
init=/sbin/init
|
init=/sbin/init
|
||||||
loglevel=8
|
loglevel=0
|
||||||
boot_partition=boot
|
boot_partition=boot
|
||||||
cma=64M
|
cma=64M
|
||||||
|
|
||||||
|
@ -32,3 +32,9 @@ recovery_key_value_min=0x10
|
||||||
#fastboot key
|
#fastboot key
|
||||||
fastboot_key_value_max=0x8
|
fastboot_key_value_max=0x8
|
||||||
fastboot_key_value_min=0x2
|
fastboot_key_value_min=0x2
|
||||||
|
#ota cmd
|
||||||
|
boot_cache=0x40007800
|
||||||
|
rootfs_cache=0x40407800
|
||||||
|
loadkernel=ext4load sunxi_flash 0:0 ${boot_cache} ota/boot.img
|
||||||
|
loadrootfs=ext4load sunxi_flash 0:0 ${rootfs_cache} ota/rootfs.img
|
||||||
|
|
||||||
|
|
|
@ -59,13 +59,12 @@ size = 512
|
||||||
|
|
||||||
[partition]
|
[partition]
|
||||||
name = rootfs_data
|
name = rootfs_data
|
||||||
;size = 61440
|
|
||||||
size = 8192
|
size = 8192
|
||||||
user_type = 0x8000
|
user_type = 0x8000
|
||||||
|
|
||||||
[partition]
|
[partition]
|
||||||
name = private
|
name = ota_info
|
||||||
size = 1024
|
size = 512
|
||||||
user_type = 0x8000
|
user_type = 0x8000
|
||||||
|
|
||||||
; recovery分区说明
|
; recovery分区说明
|
||||||
|
@ -77,10 +76,10 @@ size = 512
|
||||||
; downloadfile="recovery.fex"
|
; downloadfile="recovery.fex"
|
||||||
; user_type = 0x8000
|
; user_type = 0x8000
|
||||||
|
|
||||||
[partition]
|
;[partition]
|
||||||
name = misc
|
; name = misc
|
||||||
size = 1024
|
; size = 1024
|
||||||
user_type = 0x8000
|
; user_type = 0x8000
|
||||||
|
|
||||||
[partition]
|
[partition]
|
||||||
name = UDISK
|
name = UDISK
|
||||||
|
|
|
@ -2165,6 +2165,11 @@ CONFIG_PACKAGE_libip4tc=y
|
||||||
# CONFIG_PACKAGE_libiptc is not set
|
# CONFIG_PACKAGE_libiptc is not set
|
||||||
CONFIG_PACKAGE_libxtables=y
|
CONFIG_PACKAGE_libxtables=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# GPU Libraries
|
||||||
|
#
|
||||||
|
# CONFIG_PACKAGE_mali400-um is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# IoT
|
# IoT
|
||||||
#
|
#
|
||||||
|
@ -2598,6 +2603,7 @@ CONFIG_PACKAGE_terminfo=y
|
||||||
# CONFIG_PACKAGE_uclibcxx is not set
|
# CONFIG_PACKAGE_uclibcxx is not set
|
||||||
# CONFIG_PACKAGE_uriparser is not set
|
# CONFIG_PACKAGE_uriparser is not set
|
||||||
CONFIG_PACKAGE_uthash=y
|
CONFIG_PACKAGE_uthash=y
|
||||||
|
# CONFIG_PACKAGE_uvoice is not set
|
||||||
# CONFIG_PACKAGE_xkeyboard-config is not set
|
# CONFIG_PACKAGE_xkeyboard-config is not set
|
||||||
CONFIG_PACKAGE_zlib=y
|
CONFIG_PACKAGE_zlib=y
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue