From 17972d0511235a4ace35c1d9a7e72948bed8ab83 Mon Sep 17 00:00:00 2001 From: hyx Date: Fri, 10 Apr 2026 19:38:41 +0800 Subject: [PATCH] change nand to 256M --- target/configs/d211_demo128_nand_defconfig | 1 + target/d211/demo128_nand/image_cfg.json | 4 ++-- .../demo128_nand/rootfs_overlay/usr/bin/bt-hci-tool | Bin 3 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 target/d211/demo128_nand/rootfs_overlay/usr/bin/bt-hci-tool diff --git a/target/configs/d211_demo128_nand_defconfig b/target/configs/d211_demo128_nand_defconfig index 3df43f4a4..906ee3115 100644 --- a/target/configs/d211_demo128_nand_defconfig +++ b/target/configs/d211_demo128_nand_defconfig @@ -17,6 +17,7 @@ BR2_SYSTEM_DEFAULT_PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" BR2_TARGET_ROOTFS_UBI=y BR2_TARGET_ROOTFS_UBIFS_MAX_SIZE=0x4000000 BR2_TARGET_ROOTFS_UBIFS_OPTS="-F" +BR2_GENERATE_BURNER_IMAGE=y BR2_GENERATE_IMAGE_AUTO_CALCULATE_SIZE=y BR2_PACKAGE_OPENSBI_FW_TEXT_BASE=0x47FE0000 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="d211_demo128_nand" diff --git a/target/d211/demo128_nand/image_cfg.json b/target/d211/demo128_nand/image_cfg.json index ceb756848..c0afe0c49 100644 --- a/target/d211/demo128_nand/image_cfg.json +++ b/target/d211/demo128_nand/image_cfg.json @@ -1,6 +1,6 @@ { "spi-nand": { // Device, The name should be the same with string in image:info:media:type - "size": "128m", // Size of SPI NAND + "size": "256m", // Size of SPI NAND "partitions": { "spl": { "size": "1m" }, "uboot": { "size": "1m" }, @@ -13,7 +13,7 @@ "kernel": { "size": "12m" }, "recovery": { "size": "16m" }, "ubiroot": { - "size": "64m", + "size": "218m", "ubi": { // Volume in UBI device "rootfs": { "size": "-" }, }, diff --git a/target/d211/demo128_nand/rootfs_overlay/usr/bin/bt-hci-tool b/target/d211/demo128_nand/rootfs_overlay/usr/bin/bt-hci-tool old mode 100644 new mode 100755