Yury Polyanskiy írta: > Hello! > > I noticed that on my DIR-615C1 kamikaze prints the following mtd layout: > > m25p80 spi0.0: s25sl032a (4096 Kbytes) > 6 cmdlinepart partitions found on MTD device spi0.0 > Creating 6 MTD partitions on "spi0.0": > 0x000000000000-0x000000020000 : "u-boot" > 0x000000020000-0x000000030000 : "config" > 0x000000030000-0x000000110000 : "kernel" > 0x000000110000-0x0000003e0000 : "rootfs" > 0x000000250000-0x0000003e0000 : "rootfs_data" > 0x0000003e0000-0x0000003f0000 : "art" > 0x000000030000-0x0000003e0000 : "firmware" > > > Thus the art partition does not extend all the way to the end of > device. The original firmware defined art as 0x3e0000-0x40000.
The size of the 'rootfs' and the 'firmware' partition is wrong in the cameo_mtdlayout variable. > Unless there is some hidden wisdom to defining the art so, here is the > patch. The size of the 'art' partition is 64K in real, but in the original firmware it covers the previous erase block which contains the 'board id'. It is not used in OpenWrt, so we can use that space to extend the rootfs partition a bit. Thanks for reporting, it has been fixed with: https://dev.openwrt.org/changeset/21036 Regards, Gabor _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel