add(system): Add new borad H13_PV.
This commit is contained in:
123
target/allwinner/v851s-fastboot_h13_pv/swupdate/sw-description
Executable file
123
target/allwinner/v851s-fastboot_h13_pv/swupdate/sw-description
Executable file
@@ -0,0 +1,123 @@
|
||||
software =
|
||||
{
|
||||
version = "0.1.0";
|
||||
description = "Firmware update for Tina Project";
|
||||
|
||||
stable = {
|
||||
|
||||
/* upgrade recovery,uboot,boot0 ==> change swu_mode,boot_partition ==> reboot */
|
||||
upgrade_recovery = {
|
||||
/* upgrade recovery */
|
||||
images: (
|
||||
{
|
||||
filename = "recovery";
|
||||
device = "/dev/by-name/recovery";
|
||||
installed-directly = true;
|
||||
},
|
||||
{
|
||||
filename = "uboot";
|
||||
type = "awuboot";
|
||||
},
|
||||
{
|
||||
filename = "boot0";
|
||||
type = "awboot0";
|
||||
}
|
||||
);
|
||||
/* change swu_mode to upgrade_kernel,boot_partition to recovery & reboot*/
|
||||
bootenv: (
|
||||
{
|
||||
name = "swu_mode";
|
||||
value = "upgrade_kernel";
|
||||
},
|
||||
{
|
||||
name = "boot_partition";
|
||||
value = "recovery";
|
||||
},
|
||||
{
|
||||
name = "swu_next";
|
||||
value = "reboot";
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
/* upgrade kernel,rootfs ==> change sw_mode */
|
||||
upgrade_kernel = {
|
||||
/* upgrade kernel,rootfs */
|
||||
images: (
|
||||
{
|
||||
filename = "kernel";
|
||||
device = "/dev/by-name/boot";
|
||||
installed-directly = true;
|
||||
},
|
||||
{
|
||||
filename = "rootfs";
|
||||
device = "/dev/by-name/rootfs";
|
||||
installed-directly = true;
|
||||
},
|
||||
{
|
||||
filename = "usr";
|
||||
device = "/dev/by-name/extend";
|
||||
installed-directly = true;
|
||||
}
|
||||
);
|
||||
/* change sw_mode to upgrade_usr,change boot_partition to boot */
|
||||
bootenv: (
|
||||
{
|
||||
name = "swu_mode";
|
||||
value = "upgrade_usr";
|
||||
},
|
||||
{
|
||||
name = "boot_partition";
|
||||
value = "boot";
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
/* upgrade usr ==> clean ==> reboot */
|
||||
upgrade_usr = {
|
||||
/* upgrade usr */
|
||||
|
||||
/* clean swu_param,swu_software,swu_mode & reboot */
|
||||
bootenv: (
|
||||
{
|
||||
name = "swu_param";
|
||||
value = "";
|
||||
},
|
||||
{
|
||||
name = "swu_software";
|
||||
value = "";
|
||||
},
|
||||
{
|
||||
name = "swu_mode";
|
||||
value = "";
|
||||
},
|
||||
{
|
||||
name = "swu_next";
|
||||
value = "reboot";
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
/* when not call with -e xxx,xxx just clean */
|
||||
bootenv: (
|
||||
{
|
||||
name = "swu_param";
|
||||
value = "";
|
||||
},
|
||||
{
|
||||
name = "swu_software";
|
||||
value = "";
|
||||
},
|
||||
{
|
||||
name = "swu_mode";
|
||||
value = "";
|
||||
},
|
||||
{
|
||||
name = "swu_version";
|
||||
value = "";
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
9
target/allwinner/v851s-fastboot_h13_pv/swupdate/sw-subimgs.cfg
Executable file
9
target/allwinner/v851s-fastboot_h13_pv/swupdate/sw-subimgs.cfg
Executable file
@@ -0,0 +1,9 @@
|
||||
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}/boot.img:kernel
|
||||
out/${TARGET_BOARD}/rootfs.img:rootfs
|
||||
out/${TARGET_BOARD}/usr.img:usr
|
||||
)
|
||||
Reference in New Issue
Block a user