fix the rootfs size in partition_sd.xml

The partition size in partition_sd.xml is not used
when generating the sd image, but there will be script
check when generating firmware, and the value in xml
needs to be 128K larger than the value in buildroot.
Maybe this problem should be fixed later.
This commit is contained in:
carbon
2024-05-25 18:04:14 +08:00
parent 965b30ab36
commit 780335d1e3
6 changed files with 5 additions and 10 deletions

View File

@ -1,4 +1,4 @@
<physical_partition type="sd">
<partition label="BOOT" size_in_kb="131072" readonly="false" file="boot.sd"/>
<partition label="ROOTFS" size_in_kb="768432" readonly="false" file="rootfs.sd" />
<partition label="ROOTFS" size_in_kb="786560" readonly="false" file="rootfs.sd" />
</physical_partition>

View File

@ -1,5 +0,0 @@
<physical_partition type="sd">
<partition label="BOOT" size_in_kb="80960" readonly="false" file="boot.sd"/>
<partition label="ROOTFS" size_in_kb="204800" readonly="false" file="rootfs.sd" />
<partition label="DATA" size_in_kb="512000" readonly="false" file="data.sd" mountpoint="/mnt/data" type="ext4" />
</physical_partition>

View File

@ -1,4 +1,4 @@
<physical_partition type="sd">
<partition label="BOOT" size_in_kb="131072" readonly="false" file="boot.sd"/>
<partition label="ROOTFS" size_in_kb="768432" readonly="false" file="rootfs.sd" />
<partition label="ROOTFS" size_in_kb="786560" readonly="false" file="rootfs.sd" />
</physical_partition>

View File

@ -460,7 +460,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_GEN=4
BR2_TARGET_ROOTFS_EXT2_REV=1
BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs"
BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
BR2_TARGET_ROOTFS_EXT2_SIZE="786432K"
BR2_TARGET_ROOTFS_EXT2_INODES=0
BR2_TARGET_ROOTFS_EXT2_RESBLKS=5
BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O ^64bit"

View File

@ -484,7 +484,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_GEN=4
BR2_TARGET_ROOTFS_EXT2_REV=1
BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs"
BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
BR2_TARGET_ROOTFS_EXT2_SIZE="786432K"
BR2_TARGET_ROOTFS_EXT2_INODES=0
BR2_TARGET_ROOTFS_EXT2_RESBLKS=5
BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O ^64bit"

View File

@ -460,7 +460,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_GEN=4
BR2_TARGET_ROOTFS_EXT2_REV=1
BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs"
BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
BR2_TARGET_ROOTFS_EXT2_SIZE="786432K"
BR2_TARGET_ROOTFS_EXT2_INODES=0
BR2_TARGET_ROOTFS_EXT2_RESBLKS=5
BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O ^64bit"