创建配置分区 (现在 sysupgrade 的默认值) 磁砖设备
作者: mirko创建于 2026年9月30日更新于 2026年9月30日
标签target/ipq806xbugSNAPSHOTSelf Built ImageSupported Device
Describe the bug sysupgrade now creates provisioning partitions by default (725a1dc534a1ad1008ae0412925100fef66a776f) appears to at least brick the Aruba AP-325 device. It expects the rootfs-part to be the first volume (index 0), which however the provisioning part becomes after an sysupgrade with (by default) prov-part creation enabled. The image boots with: ubi.mtd=aos1 ubi.mtd=ubifs ubi.block=0,aos1 root=/dev/ubiblock0_0 Result is: [ 1.808048] ubi0: attaching mtd1 [ 1.964462] random: crng init done [ 2.311398] ubi0: scanning is finished [ 2.365050] ubi0: attached mtd1 (name "aos1", size 32 MiB) [ 2.365083] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 2.369432] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 2.376387] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.383147] ubi0: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0 [ 2.389993] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 2.396243] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 0 [ 2.403200] ubi0: available PEBs: 175, total reserved PEBs: 81, PEBs reserved for bad PEB handling: 20 [ 2.411606] ubi0: background thread "ubi_bgt0d" started, PID 66 [ 2.412022] block ubiblock0_1: created from ubi0:1(aos1) [ 2.426734] ubi1: attaching mtd2 [ 3.444040] ubi1: scanning is finished [ 3.464002] ubi1: attached mtd2 (name "ubifs", size 64 MiB) [ 3.464035] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 3.468472] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 3.475398] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 3.482185] ubi1: good PEBs: 511, bad PEBs: 1, corrupted PEBs: 0 [ 3.489027] ubi1: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 3.495264] ubi1: max/mean erase counter: 6/1, WL threshold: 4096, image sequence number: 0 [ 3.502239] ubi1: available PEBs: 0, total reserved PEBs: 511, PEBs reserved for bad PEB handling: 19 [ 3.510625] ubi1: background thread "ubi_bgt1d" started, [ 3.526256] /dev/root: Can't open blockdev [ 3.526296] VFS: Cannot open root device "/dev/ubiblock0_0" or unknown-block(0,0): error -6 [ 3.529248] Please append a correct "root=" boot option; here are the available partitions: [ 3.537576] 1f00 32768 mtdblock0 [ 3.537586] (driver?) [ 3.549990] 1f01 32768 mtdblock1 [ 3.549999] (driver?) [ 3.556562] 1f02 65536 mtdblock2 [ 3.556570] (driver?) [ 3.563008] 1f03 128 mtdblock3 [ 3.563016] (driver?) [ 3.569521] 1f04 128 mtdblock4 [ 3.569530] (driver?) [ 3.576087] 1f05 256 mtdblock5 [ 3.576095] (driver?) [ 3.582541] 1f06 512 mtdblock6 [ 3.582549] (driver?) [ 3.589052] 1f07 64 mtdblock7 [ 3.589061] (driver?) [ 3.595643] 1f08 64 mtdblock8 [
内容来源: openwrt/openwrt