Author Topic: Copying Roms To Flash Card From Osx  (Read 12213 times)

sentinel

  • Newbie
  • *
  • Posts: 41
    • View Profile
Copying Roms To Flash Card From Osx
« on: December 02, 2005, 04:15:40 am »
Hi,

I've previously made some posts to the general 55xx forum, but suspect some of my questions are more relevant here.

I bought a Zaurus SL-5500, which displayed some strange behaviour (applications starting automatically and cycling between each other), and was advised to update the ROM to the latest Sharp Image (3.13)

However, it keeps bombing on the ROM upgrades.

Two possibilities - each the device I have is a lemon, and no amount of fiddling will ever make it work again - OR, because I am copying ROM images to a flash card from OSX (10.4.3), some minor quirk could be causing a problem.

The first thing that came to mind were the hidden files that are copied to the Flash Card (i.e. .DSSTORE, .Trashes folder), so I went into the Terminal / Midnight Commander and removed these hidden files.

Do these have the potential to cause problems (and do they get written back to the card anyway when I eject it from the Desktop) ?

I just thought I'd check with others who have or may not have had problems upgrading the Zaurus via OSX.


Thanks
Neil.

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Copying Roms To Flash Card From Osx
« Reply #1 on: December 02, 2005, 06:42:15 am »
Quote
Hi,

I've previously made some posts to the general 55xx forum, but suspect some of my questions are more relevant here.

I bought a Zaurus SL-5500, which displayed some strange behaviour (applications starting automatically and cycling between each other), and was advised to update the ROM to the latest Sharp Image (3.13)

However, it keeps bombing on the ROM upgrades.

Two possibilities - each the device I have is a lemon, and no amount of fiddling will ever make it work again - OR, because I am copying ROM images to a flash card from OSX (10.4.3), some minor quirk could be causing a problem.

The first thing that came to mind were the hidden files that are copied to the Flash Card (i.e. .DSSTORE, .Trashes folder), so I went into the Terminal / Midnight Commander and removed these hidden files.

Do these have the potential to cause problems (and do they get written back to the card anyway when I eject it from the Desktop) ?

I just thought I'd check with others who have or may not have had problems upgrading the Zaurus via OSX.


Thanks
Neil.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=105761\"][{POST_SNAPBACK}][/a][/div]
I've had no problems copying images from my Mac. I deleted the extra files using my Z, though. Do ls -a /mnt/cf on the Z before flashing just to make sure those extra files aren't there.

If they have been removed then its most likely that your images got corrupted in the download, I would think. Have you checked the MD5s?

sentinel

  • Newbie
  • *
  • Posts: 41
    • View Profile
Copying Roms To Flash Card From Osx
« Reply #2 on: December 02, 2005, 07:58:33 am »
I'm not sure exactly how to check the md5 checksum on a Mac.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Copying Roms To Flash Card From Osx
« Reply #3 on: December 02, 2005, 08:05:37 am »
Quote
I'm not sure exactly how to check the md5 checksum on a Mac.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=105777\"][{POST_SNAPBACK}][/a][/div]

just like on *bsd/gnu:
Code: [Select]
powerbook-wlan:~/temp koen$ md5sum sectest-gpe-image-h3900-20050126100549.rootfs.jffs2
48544a6572c997aaf7995e92103adf96  sectest-gpe-image-h3900-20050126100549.rootfs.jffs2
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

sentinel

  • Newbie
  • *
  • Posts: 41
    • View Profile
Copying Roms To Flash Card From Osx
« Reply #4 on: December 02, 2005, 08:21:14 am »
Thanks for that. I'll try it when I get home.

One thing that occured to me is because my Zaurus is totally unusable right now, I can't access a terminal on the Zaurus to remove the hidden files. But if I try and remove them via the OSX Terminal, do these hidden files get written back to CF Card when I try and unmount it ?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Copying Roms To Flash Card From Osx
« Reply #5 on: December 02, 2005, 10:01:01 am »
I wouln't worry too much about extra files, it's only if they have certain filenames that they will be written (what are the filenames anyone with romburst handy?).

That said, if you do accidentally overwrite the bootloader/flashing software because you happen to have a file with the right/wrong name, that would be bad.

I flash with a couple of directories on my card usually.


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

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
Copying Roms To Flash Card From Osx
« Reply #6 on: December 02, 2005, 10:11:16 am »
I usually load ROM images on my flash card using my wife's Mac, since my linux box is an ancient beast without a usb port. I've never bothered removing hidden or non-hidden files and, in fact, sometimes if I want to try a different program on a different ROM, I put the ipk on the card, so when it's done flashing, it can be installed and tried right away. Never had any problems with that. As long as your initrd.bin and zImage are correctly named and in the card's root directory, it should work. As people above mentioned, either the files are corrupted (check the md5sums) or it's something with the Zaurus.

Felipe
SL 5000 D  and C860 Sharp ROM
Too many accessories...

lpetroni

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Copying Roms To Flash Card From Osx
« Reply #7 on: December 07, 2005, 08:39:34 pm »
Quote
The first thing that came to mind were the hidden files that are copied to the Flash Card (i.e. .DSSTORE, .Trashes folder), so I went into the Terminal / Midnight Commander and removed these hidden files.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=105761\"][{POST_SNAPBACK}][/a][/div]
Neil,

I've been copying files using CFs and SDs with no problems from my G4/Panther just using a USB card reader/writer. It works bidirectionaly (Mac <-> Zaurus) with no problems and the MacOS hidden files does not cause any problems on the Z side.

To flash your Zaurus you *must* copy the ROM image files to a FAT formatted CF card. I don't know it will work in case you reformatted the card with MacOS X.
Zaurus SL-5500
Cacko/CrowROM (64/0)

PQI 4GB CF
Lexar 128MB SD
Sandisk 256MB CF
Trellis WiFi CF