changing mtd sizes

johnbock

Mitglied
Mitglied seit
2 Mrz 2008
Beiträge
310
Punkte für Reaktionen
0
Punkte
0
Where are the mtd device properties? I haven't found them in the kernel...
 
Combing the 512kB left over from my current config and the 256kB from tffs would be a substantial amount of flash memory for jffs2 and mini_fo, unionfs or aufs at boot;)
 
hi !

Combing the 512kB left over from my current config and the 256kB from tffs would be a substantial amount of flash memory for jffs2 and mini_fo, unionfs or aufs at boot;)

That is not a good idea. The AVM binary only tools rely heavily on the tffs device files, so erasing tffs or setting its partition size to 0 is no a good idee. Despite the partitions are created nevertheless in the kernel flash map in the default kernel.

I tried on my USB Root to minimize flash usage, and substituted the character devices in /var/flash with normal files with the same name.
ctlmgr, telefon, voipd, dsld, multi, ar7cfgctl, wlanctl all these tools are rely on the fact that these files are char devs. If one file needed is not a char dev, the tool deletes it and makes a char dev with the same name. afterwards it writes default settings to the create tffs device file.

:(

cya
 
all these tools are rely on the fact that these files are char devs.

Do you know if the require any char device or specifically tffs?

If any char device is required one could create a char device that binds to a specified file; like the old raw devices did...
 
Kostenlos!

Statistik des Forums

Themen
248,917
Beiträge
2,305,046
Mitglieder
378,638
Neuestes Mitglied
Patrick89