#17316: WNDR4300 - remove mtd11 (reserved partition)
--------------------------+-----------------------------------
Reporter: rsriram22 | Owner: developers
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: kernel | Version: Barrier Breaker 14.07
Resolution: | Keywords: mtd11 WNDR4300 NAND
--------------------------+-----------------------------------
Comment (by skyblaster):
After backing up the caldata_backup partition, I went ahead and built and
loaded 14.07 using ImageBuilder and the mtdlayout modification above.
Here is the output of dmesg on boot:
{{{
[ 0.590000] mtd: ar934x-nfc: skipping zero sized partition
[ 0.600000] 11 cmdlinepart partitions found on MTD device ar934x-nfc
[ 0.600000] Creating 11 MTD partitions on "ar934x-nfc":
[ 0.610000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.620000] 0x000000040000-0x000000080000 : "u-boot-env"
[ 0.620000] 0x000000080000-0x0000000c0000 : "caldata"
[ 0.630000] 0x0000000c0000-0x000000140000 : "pot"
[ 0.640000] 0x000000140000-0x000000340000 : "language"
[ 0.640000] 0x000000340000-0x0000003c0000 : "config"
[ 0.650000] 0x0000003c0000-0x0000006c0000 : "traffic_meter"
[ 0.660000] 0x0000006c0000-0x0000008c0000 : "kernel"
[ 0.660000] 0x0000008c0000-0x000007fc0000 : "ubi"
[ 0.670000] 0x0000006c0000-0x000007fc0000 : "firmware"
[ 1.820000] 0x000007fc0000-0x000008000000 : "caldata_backup"
}}}
I could be wrong, but to me it looks like the caldata_backup partition was
overwritten and a new one was created at the end.
{{{
root@wndr3700:/etc/config# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "u-boot"
mtd1: 00040000 00020000 "u-boot-env"
mtd2: 00040000 00020000 "caldata"
mtd3: 00080000 00020000 "pot"
mtd4: 00200000 00020000 "language"
mtd5: 00080000 00020000 "config"
mtd6: 00300000 00020000 "traffic_meter"
mtd7: 00200000 00020000 "kernel"
mtd8: 07700000 00020000 "ubi"
mtd9: 07900000 00020000 "firmware"
mtd10: 00040000 00020000 "caldata_backup"
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/17316#comment:7>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets