|
|
 |
« on: September 04, 2009, 10:16:46 AM » |
|
First off, how do I resize the /dev/mtd* devices? I have a 3.5 MB kernel (barely fits in the 4MB /dev/mtd1) and a nearly 2MB uInitrd (which does not fit in /dev/mtd0). I need to expand /dev/mtd0 to fit.
Second, do I need a special mtd utils? I'm on OpenRD and have received a page full of errors when I attempt to ubiformat my /dev/mtd2:
# ubiformat /dev/mtd2 -s 512 -f ubi.img ubiformat: 4055 corrupted erase counters ubiformat: bad eraseblocks: 1013 ubiformat: warning!: only 0 of 4055 eraseblocks have valid erase counter ubiformat: note, arbitrary erase coutner value may be specified using -e option ubiformat: continue? (yes/no) yes
Then, attemting to ubiattach: # ubiattach /dev/ubi_ctrl -m 2 ubiattach: error!: cannot attach mtd2 error 22 (Invalid argument)
|