The factory layout lists the system region as linux4 and exposes the filesystem inside it as rootfs. Adding both rows counts the same 6.375 MiB twice.
Match the factory layout to your unit
Check the case label for A1. The screenshot shows a historical factory layout. If you already have a shell, use the two read-only commands below. The first reports hexadecimal lengths under size. Look for address ranges in the boot messages from the second. Partition numbers alone cannot establish overlap.
cat /proc/mtd
dmesg | grep -i mtd

OpenWrt Wiki · D-Link DAP-1533 · Flash Layout · CC BY-SA 4.0
Count each byte once
Treat end as the first address outside a range. Both ranges end at 0x7b0000, but rootfs starts later and sits entirely inside linux4. Count the system region once and add the five smaller regions around it to get 8 MiB.
u-boot 0x000000 .. 0x020000 128 KiB
nvram 0x020000 .. 0x030000 64 KiB
linux4 0x030000 .. 0x7b0000 7680 KiB
rootfs 0x150000 .. 0x7b0000 6528 KiB
LANG 0x7b0000 .. 0x7e0000 192 KiB
MAC 0x7e0000 .. 0x7f0000 64 KiB
ART 0x7f0000 .. 0x800000 64 KiB
14.375 MiB - 6.375 MiB = 8 MiB
What if your offsets differ?
Other firmware can detect a different filesystem boundary. Save the version and boot log and recalculate from your own offsets. Keep MAC and ART intact. The overlap provides no spare space. These checks need no rollback. The factory map does not establish current OpenWrt image availability.
How to identify SquashFS, the writable layer and /rom on OpenWrt
Comments