I need some help.
I've got a wgt634u and I'm trying to install a custom rootfs & kernel to its flash. I can flash the kernel fine, but when I come to flash the rootfs I get an out of disk space error. I checked the size of the mtdblock partitions and they look a little odd, the kernel one (block2) is 3072 (blocks (approx 3mb)) and the rootfs (mtdblock3) one is 4480 (approx 3.9mb).
From what I can find out from google it seems that mtdblock2 was originallu 1.2mb and mtdblock3 was approx 6mb. I do not know why or how this has changed.
I realise the the mtd devices are not proper block devices. I also realise that the partitioning information is fed to the kernel from somewhere (CFE?). My question is how do I re-partition (or re-set the environment variables) to allow me to modify the partition sizes. I know this is possible because the OpenWRT port to the wgt634u shows different partition sizes during the kernel boot.
Does anyone know how I can change the size of these partitions.