Author Topic: Save ROM + RAM?  (Read 4231 times)

Irongeek

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • http://
Save ROM + RAM?
« on: January 22, 2004, 09:58:27 am »
Hi all,
     I\'m working on installing a buch of security apps on my 5500 and when its done I want to distribute and image of everything that is on my Zaurus. what is the easiest way to save the Flash ROM and the RAM file system so other can put it on their 5500?
http://www.irongeek.com
[img]http://irongeek.com/sigs/sig.png\" border=\"0\" class=\"linked-sig-image\" /]

Anonymous

  • Guest
Save ROM + RAM?
« Reply #1 on: January 22, 2004, 12:29:00 pm »
backup/restore will save most of the filesystem

Irongeek

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • http://
Save ROM + RAM?
« Reply #2 on: January 22, 2004, 01:13:19 pm »
The Backup And Restore on mine does not see to backup anything but app data.
http://www.irongeek.com
[img]http://irongeek.com/sigs/sig.png\" border=\"0\" class=\"linked-sig-image\" /]

waxor

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • http://
Save ROM + RAM?
« Reply #3 on: January 24, 2004, 11:45:01 pm »
http://docs.zaurus.com/ is a good place to start.

James

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Save ROM + RAM?
« Reply #4 on: January 25, 2004, 09:05:19 am »
As I run 64-0 I don\'t know where the RAM-disk mount point is, but it might be /mnt/ram. If so, I presume you could just stick in a storage card and create a tarball of this location on it?

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

Anonymous

  • Guest
Save ROM + RAM?
« Reply #5 on: January 25, 2004, 10:36:10 am »
I\'ve seen and red the instructions for making a ROM, not sure if it includes stuff in RAM storage as well. You are right about the mountpoint Lardman. What I wish to do is create a custom ROM ment for security testing.

Irongeek

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • http://
Save ROM + RAM?
« Reply #6 on: January 25, 2004, 10:37:02 am »
I ment to be logged in for that last post.
http://www.irongeek.com
[img]http://irongeek.com/sigs/sig.png\" border=\"0\" class=\"linked-sig-image\" /]

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Save ROM + RAM?
« Reply #7 on: January 25, 2004, 11:34:16 am »
Well it might work, in the same way that the Sharp ROM populates /home from a hidden tar file. I\'m not sure how it\'s done, but I presume there\'s a flag (file) which tells one of the rc.d scripts to extract the fs, then it deletes the flag to stop it happening every time.

The problem here is that your entire ROM image mustn\'t be too big so you may have issues with how much you can cram in and have placed in the RAM.


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

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Save ROM + RAM?
« Reply #8 on: January 28, 2004, 04:18:20 am »
$ ssh <zaurus@ip> \'cd /; tar cvvf - --exclude ./proc --exclude ./dev . | gzip -9\' > full_rootfs.tgz

after this command, how can I create an initrd.bin file for the SL5600? I think the zaurus doc are a bit obsolete...
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD