fix(duo spinand):adjust the partition of duo spinand configuration

This commit is contained in:
xiaomin
2024-01-29 11:02:35 +08:00
parent f91cf43311
commit cacc452f91
4 changed files with 4 additions and 11 deletions

View File

@ -185,7 +185,6 @@ function milkv_pack_nor_nand()
cp ${OUTPUT_DIR}/*.spinand out/$img_out_patch cp ${OUTPUT_DIR}/*.spinand out/$img_out_patch
fi fi
touch ${OUTPUT_DIR}/how_to_download.txt
echo "Copy all to a blank tf card, power on and automatically download firmware to NOR or NAND in U-boot." >> out/$img_out_patch/how_to_download.txt echo "Copy all to a blank tf card, power on and automatically download firmware to NOR or NAND in U-boot." >> out/$img_out_patch/how_to_download.txt
print_info "Create spinor/nand img successful: ${img_out_patch}" print_info "Create spinor/nand img successful: ${img_out_patch}"
else else

View File

@ -591,8 +591,8 @@ endif
# create partition mounting points and move sytems to read-write partitions # create partition mounting points and move sytems to read-write partitions
ifeq ($(STORAGE_TYPE), spinand) ifeq ($(STORAGE_TYPE), spinand)
${Q}mkdir -p $(BR_OVERLAY_DIR)/mnt/cfg # ${Q}mkdir -p $(BR_OVERLAY_DIR)/mnt/cfg
${Q}mkdir -p $(BR_OVERLAY_DIR)/mnt/data # ${Q}mkdir -p $(BR_OVERLAY_DIR)/mnt/data
${Q}mkdir -p $(OUTPUT_DIR)/system ${Q}mkdir -p $(OUTPUT_DIR)/system
${Q}cp -arf $(BR_OVERLAY_DIR)/mnt/system/* $(OUTPUT_DIR)/system ${Q}cp -arf $(BR_OVERLAY_DIR)/mnt/system/* $(OUTPUT_DIR)/system
endif endif

View File

@ -4,7 +4,5 @@
<partition label="ENV" size_in_kb="128" file="" /> <partition label="ENV" size_in_kb="128" file="" />
<partition label="ENV_BAK" size_in_kb="128" file="" /> <partition label="ENV_BAK" size_in_kb="128" file="" />
<partition label="ROOTFS" size_in_kb="40960" file="rootfs.spinand" /> <partition label="ROOTFS" size_in_kb="40960" file="rootfs.spinand" />
<partition label="SYSTEM" size_in_kb="71680" file="system.spinand" mountpoint="/mnt/system" type="ubifs" /> <partition label="SYSTEM" size_in_kb="81152" file="system.spinand" mountpoint="/mnt/system" type="ubifs" />
<partition label="CFG" size_in_kb="4096" file="cfg.spinand" mountpoint="/mnt/cfg" type="ubifs" />
<partition label="DATA" file="" mountpoint="/mnt/data" type="ubifs" />
</physical_partition> </physical_partition>

View File

@ -34,10 +34,6 @@ image milkv-duospinand.img {
partition system { partition system {
image = "rawimages/system.spinand" image = "rawimages/system.spinand"
size = 71680k size = 81152k
partition cfg {
image = "rawimages/cfg.spinand"
size = 4096k
}
} }