Author Topic: memory useage  (Read 2738 times)

newbe

  • Guest
memory useage
« 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

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
memory useage
« Reply #1 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.
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

newbe

  • Guest
memory useage
« Reply #2 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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
memory useage
« Reply #3 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
memory useage
« Reply #4 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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

newbe

  • Guest
memory useage
« Reply #5 on: November 16, 2004, 07:49:03 pm »
just woundering if there is away to conbine some of the 4 areas

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
memory useage
« Reply #6 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?
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

newbe

  • Guest
memory useage
« Reply #7 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.

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
memory useage
« Reply #8 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.
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

newbe

  • Guest
memory useage
« Reply #9 on: November 17, 2004, 06:24:40 pm »
yes it did help
 thanks