增加ota文件系统编译方法;(注意每次swupdate_make_recovery_img需要删除根目录和./lichee/linux下的.config和.config.old)

This commit is contained in:
lijunliang
2024-06-05 16:39:59 +08:00
parent 36028ad52e
commit 6d51adb4db
75 changed files with 11872 additions and 73 deletions

View File

@@ -9,7 +9,7 @@ software =
upgrade_recovery = {
/* upgrade recovery */
images: (
{
/*{
filename = "recovery";
device = "/dev/by-name/recovery";
installed-directly = true;
@@ -21,7 +21,7 @@ software =
{
filename = "boot0";
type = "awboot0";
}
}*/
);
/* change swu_mode to upgrade_kernel,boot_partition to recovery & reboot*/
bootenv: (

View File

@@ -1,8 +1,8 @@
swota_file_list=(
${TINA_BUILD_TOP=}/target/allwinner/${TARGET_BOARD}/swupdate/sw-description
out/${TARGET_BOARD}/boot_initramfs_recovery.img:recovery
out/${TARGET_BOARD}/uboot.img:uboot
out/${TARGET_BOARD}/boot0.img:boot0
#out/${TARGET_BOARD}/uboot.img:uboot
#out/${TARGET_BOARD}/boot0.img:boot0
out/${TARGET_BOARD}/boot.img:kernel
out/${TARGET_BOARD}/rootfs.img:rootfs
out/${TARGET_BOARD}/usr.img:usr