script/mkits.sh: add extra info for 360T7 stock uboot
This commit is contained in:
@@ -113,6 +113,12 @@ if [ -f "${ROOTFS_FILE}" ]; then
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
"
|
"
|
||||||
|
|
||||||
|
ROOTFS_EXTRA_INFO="
|
||||||
|
rootfs_crc32 = \"${ROOTFS_CRC32}\";
|
||||||
|
rootfs_size = \"${ROOTFS_SIZE}\";
|
||||||
|
image_time = \"$(date +%s)\";
|
||||||
|
"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Conditionally create script information
|
# Conditionally create script information
|
||||||
@@ -172,6 +178,8 @@ DATA="/dts-v1/;
|
|||||||
description = \"${ARCH_UPPER} OpenWrt FIT (Flattened Image Tree)\";
|
description = \"${ARCH_UPPER} OpenWrt FIT (Flattened Image Tree)\";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
||||||
|
${ROOTFS_EXTRA_INFO}
|
||||||
|
|
||||||
images {
|
images {
|
||||||
kernel-1 {
|
kernel-1 {
|
||||||
description = \"${ARCH_UPPER} OpenWrt Linux-${VERSION}\";
|
description = \"${ARCH_UPPER} OpenWrt Linux-${VERSION}\";
|
||||||
|
|||||||
Reference in New Issue
Block a user