增加ota文件系统编译方法;(注意每次swupdate_make_recovery_img需要删除根目录和./lichee/linux下的.config和.config.old)
This commit is contained in:
@@ -63,11 +63,11 @@ size = 16
|
||||
downloadfile = "usr.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;[partition]
|
||||
; name = recovery
|
||||
; size = 5632
|
||||
; downloadfile = "recovery.fex"
|
||||
; user_type = 0x8000
|
||||
[partition]
|
||||
name = recovery
|
||||
size = 5632
|
||||
downloadfile = "recovery.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs_data
|
||||
|
||||
@@ -21,7 +21,15 @@
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=6 lpj=240000 root=/dev/mtdblock4 rootwait init=/files/pseudo_init rdinit=/rdinit partitions=env@mtdblock1:env-redund@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:extend@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7 coherent_pool=16K androidboot.hardware=sun8iw21p1 boot_type=3 androidboot.boot_type=3 gpt=1 mbr_offset=2080768 bootreason=unknow";
|
||||
/*bootargs = "earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=6 lpj=240000 root=/dev/mtdblock4 rootwait init=/files/pseudo_init rdinit=/rdinit partitions=env@mtdblock1:env-redund@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:extend@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7 coherent_pool=16K androidboot.hardware=sun8iw21p1 boot_type=3 androidboot.boot_type=3 gpt=1 mbr_offset=2080768 bootreason=unknow";*/
|
||||
|
||||
/* for OTA recovery system:(kernel rootfs extend) */
|
||||
bootargs = "earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=1 lpj=240000 root=/dev/mtdblock4 rootwait init=/files/pseudo_init rdinit=/rdinit partitions=env@mtdblock1:env-redund@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:extend@mtdblock5:recovery@mtdblock6:rootfs_data@mtdblock7:UDISK@mtdblock8 coherent_pool=16K androidboot.hardware=sun8iw21p1 boot_type=3 androidboot.boot_type=3 gpt=1 mbr_offset=2080768 bootreason=unknow";
|
||||
|
||||
|
||||
/* for OTA recovery system:(kernel rootfs extend appImg recoveryImg) */
|
||||
/*bootargs = "earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=1 lpj=240000 root=/dev/mtdblock4 rootwait init=/files/pseudo_init rdinit=/rdinit partitions=env@mtdblock1:env-redund@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:extend@mtdblock5:usrapp@mtdblock6:recovery@mtdblock7:recoveryapp@mtdblock8:rootfs_data@mtdblock9:UDISK@mtdblock10 coherent_pool=16K androidboot.hardware=sun8iw21p1 boot_type=3 androidboot.boot_type=3 gpt=1 mbr_offset=2080768 bootreason=unknow";*/
|
||||
|
||||
|
||||
/* for OTA AB system:(kernel rootfs extend) */
|
||||
/* bootargs = "earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=1 lpj=240000 root=/dev/mtdblock3 rootwait init=/files/pseudo_init rdinit=/rdinit partitions=boot@mtdblock1:boot_backup@mtdblock2:rootfs@mtdblock3:rootfs_backup@mtdblock4:extend@mtdblock5:extend_backup@mtdblock6:rootfs_data@mtdblock7:env@mtdblock8:UDISK@mtdblock9 coherent_pool=16K androidboot.hardware=sun8iw21p1 boot_type=3 androidboot.boot_type=3 gpt=1 mbr_offset=2080768 bootreason=unknow"; */
|
||||
|
||||
2460
device/config/chips/v851s3/configs/fastboot_sl100_front/linux/config-4.9_recovery
Executable file
2460
device/config/chips/v851s3/configs/fastboot_sl100_front/linux/config-4.9_recovery
Executable file
File diff suppressed because it is too large
Load Diff
@@ -47,47 +47,49 @@ size = 16
|
||||
|
||||
[partition]
|
||||
name = boot
|
||||
size = 6272
|
||||
# size = 7040
|
||||
size = 6016
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;[partition]
|
||||
; name = boot_backup
|
||||
; size = 7040
|
||||
; downloadfile = "boot.fex"
|
||||
; user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs
|
||||
;size = 12288
|
||||
size = 4864
|
||||
downloadfile = "rootfs.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;[partition]
|
||||
; name = rootfs_backup
|
||||
; size = 11264
|
||||
; downloadfile = "rootfs.fex"
|
||||
; user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = extend
|
||||
size = 30464
|
||||
size = 11264
|
||||
downloadfile = "usr.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;[partition]
|
||||
; name = extend_backup
|
||||
; size = 3072
|
||||
; downloadfile = "usr.fex"
|
||||
; name = usrapp
|
||||
; size = 4864
|
||||
; downloadfile = "appimg.fex"
|
||||
; user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = recovery
|
||||
size = 4992
|
||||
downloadfile = "recovery.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
;[partition]
|
||||
; name = recoveryapp
|
||||
; size = 2560
|
||||
; downloadfile = "recoveryimg.fex"
|
||||
; user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs_data
|
||||
size = 1024
|
||||
user_type = 0x8000
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;[partition]
|
||||
; name = private
|
||||
; size = 1024
|
||||
|
||||
Reference in New Issue
Block a user