OESF Portables Forum

General Forums => General Discussion => Topic started by: newbe on November 12, 2004, 07:21:36 pm

Title: memory useage
Post by: newbe on November 12, 2004, 07:21:36 pm
i see the specs on the c750 is 64 meg ram 64 meg flash

i've loaded the pdxa rom rc5 which is about a 47 meg file.

i have noticed that there is little space left where did the memory go. if there is 64 meg for ram shouldn't there be 64 meg in the flash  left.
can some one explain this
thank you
Title: memory useage
Post by: omega on November 15, 2004, 11:20:19 am
?  RAM is ram...  see it by typing the free command.

the flash should have around 64-47 megs free.... it should be mounted as /home....   see df command.
Title: memory useage
Post by: newbe on November 15, 2004, 10:06:46 pm
yes i had done df  thats why i was asking

filesystem                             1k-blocks          used  available  used    mounted on

/dev/mtdblock/2                     46080           41580        4500      90%    /
none                                      12288                 0      12288        0%    /dev/shm
/dev/mtdblock/3                     12288              688      11600        6%    /home


not sure how to do screen shot  other wise i would show
Title: memory useage
Post by: lardman on November 16, 2004, 04:50:55 am
The 64MB FlashROM is split into two areas which were originally for the ROM (/dev/mtdblock/2, which would be a read only mount to protect it) and user files (/dev/mtdblock/3).

With most other ROMs, both areas are read-write.


Si
Title: memory useage
Post by: Stubear on November 16, 2004, 07:16:11 am
Actually to be pedantic it's split into 4 area, mtdblock0, mtdblock1, mtdblock2 and mtdblock3.

The first 2 contain the bootloader, diagnostic menus and other things used to flash the unit, and a small separate micro linux filesystem (console only) that the zaurus boots into when using the D+B boot sequence - very usefull when you screw up your filesystem and can't afford to reflash or reformat cause you've got stuff that isn't backed up

Stu
Title: memory useage
Post by: newbe on November 16, 2004, 07:49:03 pm
just woundering if there is away to conbine some of the 4 areas
Title: memory useage
Post by: Miami_Bob on November 17, 2004, 12:59:34 am
Are you thinking that the 64Mb RAM can be combined with the 64Mb Flash?

If so, no joy.

The RAM is used as working memory, just like the RAM on a PC. The Flash is storage, both "ROM" & ReadWrite. Different animals entirely.

I seem to recall that rc5 requires resizing the partitions. So you have:

- Boot & diags/flash for about 7Mb  (Stu breaks these into mtdblock0 & 1)
- Root = mtdblock2 for about 45Mb (ReadOnly)
- Home = mtdblock3 for about 12Mb

Totals to your 64Mb of Flash storage.

Makes sense?
Title: memory useage
Post by: newbe on November 17, 2004, 03:18:56 pm
yes makes sense

i was woundering if i can combine mtdblock0 & 1  with mtdblock3

as my mtdblock0&1 are damaged .idid this while trying to reload the original japanese rom . i know i can repair this i have found a method but as i can still flash useing ok power on i'm not worried about not having it.
Title: memory useage
Post by: Miami_Bob on November 17, 2004, 03:42:37 pm
Quote
yes makes sense

i was woundering if i can combine mtdblock0 & 1  with mtdblock3

as my mtdblock0&1 are damaged .idid this while trying to reload the original japanese rom . i know i can repair this i have found a method but as i can still flash useing ok power on i'm not worried about not having it.
Well, I won't claim enough experience to say that the combination is impossible (G), but I think that it would probably not be easy if it could be done at all.

If the C750's P2ROM, does NOT hold the bootstrap loader & low level utils, then mtdblock0 & mtdblock1 must do so. *I* wouldn't want to risk sacrificing either of those for a couple more Mb. And a possible permanently shiney bricklette.

Have you considered installing software to SD & moving any unnecessary stuff from system flash to SD or CF? You might get more space that way than pushing the envelope with partition size mods.

Cacko takes less space in mtdblock2, so is able to repartition & give more room to mtdblock3, BTW.

Another alternative would be to pony up to a C760 or C860 (G). More cash for more flash. (G)


Hope this helps some.
Title: memory useage
Post by: newbe on November 17, 2004, 06:24:40 pm
yes it did help
 thanks