Slowly beginning to understand something about how the flash is used on the WRTs. DD-WRT allocates it like so:
~ # cat /proc/mtd dev: size erasesize name mtd0: 00040000 00010000 "pmon" mtd1: 001b0000 00010000 "linux" mtd2: 001006eb 00010000 "rootfs" mtd3: 00010000 00010000 "nvram" mtd4: 00030000 00010000 "ddwrt"
/dev/mtd/2 is really just a part of /dev/mtd/1... that part I still don't grok. But of the 64K NVRAM, only 32K is being used (NVRAM_SPACE = 0x8000), and the /dev/mtd/4 partition, "ddwrt", is set aside for JFFS2 use, but in the micro edition of the software, there is no jffs2. So I'm trying to decide whether to try to get jffs2 working, or free up that space for a bigger OS image. Also, if I could rearrange mtd3 and mtd4, and use the first, unused, half of the nvram block for something else, all the better.
Back to blog or home page
last updated 2013-01-10 20:56:32. served from tektonic