I had to build a custom firmware for my E-Lins H685 3G router since it's not supported in trunk. I had to patch some drivers and create a new DTS file (it's Ralink 5350 based). I managed to get everything working including 3G except one important detail: settings don't survive a reboot. I played with the mtd layout and no matter what I do, there's no jffs overlay. How can I make it work?
Here's my mtd layout:
# cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "Bootloader"
mtd1: 00020000 00010000 "Config"
mtd2: 00010000 00010000 "Factory"
mtd3: 00600000 00010000 "firmware"
These are all sequential (no overlap). I tried naming the mtd partition firmware, rootfs, rootfs_data, but still no dice. Here's the output of mount:
# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
Thanks!