Author Topic: Oz 3.5.2 ; Flashing, And Flashing, And Flashing...  (Read 6336 times)

conn-fused

  • Newbie
  • *
  • Posts: 35
    • View Profile
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« on: March 31, 2005, 01:21:23 pm »
I have a SL5500 (currently running SharpRom 2.38) and a 128MB CF card. I had hoped to try out OZ 3.5.2 so I downloaded zImage_collie-32-32 and opie-image.rootfs.img. I renamed the former to zImage, and the later to initrd.bin. I don't have a card reader, so I FTP'd the files to a cleanly reset (v2.38) Zaurus, stuck in the CF card, and copied the two files to its root directory (/mnt/cf).

Now the flash procedure. I switched the Zaurus to Remove Battery Mode, held "C" & "D" and pushed full reset. The two lights started to flash, and flash, and flash. Never staying steady, they flashed for twenty minutes ... on and off, on and off.

Has anyone seen this before? My only guess is that the CF card was formatted FAT16, and not VFAT. I haven't touched it, but when I "cat /dev/hda1", which is tied to /mnt/cf in my /etc/fstab file, I see FAT16 in amongst the gibberish. How can I reformat the card to VFAT? Or am I following the wrong idea?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #1 on: March 31, 2005, 02:29:00 pm »
It should be in FAT16 format, don't worry.

Three possibilities:-

1. The downloads were corrupt (check the md5sums)
2. Somewhere along the lines one of the files was misnamed (Windows has a habit of tacking on a .bin without telling you)
3. Your card isn't a good one for flashing - this may be a hardware thing, or you may just need to use fdisk to remove the existing partition, re-create it and re-format it (mkfs.msdos) - fdisk & mkfs for the Sharp ROM are available on killefiz.de.


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

conn-fused

  • Newbie
  • *
  • Posts: 35
    • View Profile
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #2 on: March 31, 2005, 05:03:30 pm »
Thanks for the swift reply:

1) I did check the md5sums; they're OK
2) The files were renamed under Linux; they're OK
3) I'd like to try reformatting the CF card, as you suggest, but killefiz no longer has an active link to fdisk. Anyone have a link? I'll edit and post one if I find it first (ie tomorrow). As for formatting, here's how I'd reformat an SD card:

        umount /dev/mmcda1
   mkfs.ext2 /dev/mmcda1
   mount /dev/mmcda1 /mnt/card

So I tried this with the CF card:

        umount /dev/hda1
   mkfs.msdos /dev/hda1
   mount /dev/hda1 /mnt/cf

No improvement ... flash, flash, flash. Thanks though.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #3 on: April 01, 2005, 05:11:12 am »
Well I'd try removing then re-instating the partition, then format again.

There are also reports of some CF cards which, no matter what people try, just won't flash - perhaps you have one of these.


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

mimeca

  • Hero Member
  • *****
  • Posts: 682
    • View Profile
    • http://www.innerzaurus.com
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #4 on: April 02, 2005, 04:21:31 pm »
If you're on linux, insert the card, umount (if linux mounted) and run

Code: [Select]
mkfs.vfat /dev/sasasa(where /dev/sasadepen is your CF card)


I have reflashed openzaurus and other roms. If I don't format the CF card, I get errors. You doesn't need format the CF as ext2.

PD: /dev/hda1 usually is the first partition of your hard disk. If you format that partition on your pc you'll crash it.
« Last Edit: April 02, 2005, 04:36:17 pm by mimeca »
Nunca hagas de un lugar tu hogar. Construye tu hogar en el interior de tu propia cabeza. Encontrare¡s todo lo que necesites para amueblarla: recuerdos, amigos en los que puedes confiar, pasión por el conocimiento y otras cosas por el estilo. De esa forma podrás ir a donde te vayas. Nunca te faltará un hogar..., a menos que pierdas la cabeza, claro...

Innerzaurus => www.innerzaurus.com (Spanish Zaurus Site)

conn-fused

  • Newbie
  • *
  • Posts: 35
    • View Profile
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #5 on: April 04, 2005, 03:48:41 am »
Lardman, I have now tried manually adding a FAT16 partition to the CF card using fdisk on the Zaurus. No luck, I'm afraid.

Mimeca, thanks for your post ; I'll try reformatting the card to vfat tonight.

Regarding the warning about /dev/hda1, I also thought it odd that that was the device associated with my cf card (on the zaurus) because it is my root partition on the desktop. However, here is the line from the zaurus fstab that makes me think /dev/hda1 is mounted as /mnt/cf:

/dev/hda1          /mnt/cf       auto           noauto,owner         0        0

I think the Zaurus RAM is governed by this line:

/dev/mtdblock1       /home      ext2      defaults       1        2

That said, thanks again to everyone for the suggestions.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #6 on: April 04, 2005, 04:58:19 am »
Quote
However, here is the line from the zaurus fstab that makes me think /dev/hda1 is mounted as /mnt/cf:

It is, don't worry, themount points are different between the Z and a desktop PC.

Quote
/dev/mtdblock1 /home ext2 defaults 1 2

This is more normally the ROM mount point (iirc).

Good luck with the flashing,


Si
« Last Edit: April 04, 2005, 05:00:56 am by lardman »
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

mimeca

  • Hero Member
  • *****
  • Posts: 682
    • View Profile
    • http://www.innerzaurus.com
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #7 on: April 04, 2005, 01:15:34 pm »
OK conn-fused.

If /dev/hda1 is the mounting point of your zaurus there is not problem. Only on pc side would be dangerous.
Nunca hagas de un lugar tu hogar. Construye tu hogar en el interior de tu propia cabeza. Encontrare¡s todo lo que necesites para amueblarla: recuerdos, amigos en los que puedes confiar, pasión por el conocimiento y otras cosas por el estilo. De esa forma podrás ir a donde te vayas. Nunca te faltará un hogar..., a menos que pierdas la cabeza, claro...

Innerzaurus => www.innerzaurus.com (Spanish Zaurus Site)

conn-fused

  • Newbie
  • *
  • Posts: 35
    • View Profile
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #8 on: April 04, 2005, 03:10:02 pm »
No luck I'm afraid.

I formatted the CF card with:

mkfs.vfat /dev/hda1

Then I copied over zImage and initrd.bin, pressed C+D and reset the device. As before, the lights flashed in unison, endlessly.

It is increasingly looking like I have one of the CF cards that won't do, but it is still possible that I have a partition problem as lardman suggested. So, two questions to any veterans of this CF flash process:

1) Could someone with a CF card that worked post their partition settings (eg the output from displaying the partition table using fdisk on the zaurus), and

2) If you have a CF card that has worked for you in the past ... please post it's brand, model and capacity.

Thanks.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #9 on: April 04, 2005, 06:46:47 pm »
I normally flash with a Jessops (Sandisk 1999) 32Mb CF card.

I've also flashed with a Kingston 512Mb card.

Jessops/Sandisk:
/dev/hda1 * 1 489 31280 4 FAT16 <32M

Hope it helps,


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

conn-fused

  • Newbie
  • *
  • Posts: 35
    • View Profile
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #10 on: April 05, 2005, 05:54:59 pm »
Great reply, thanks.

Sadly, even having set up my card with a single partition, (as follows) the lights only flashed inanely ...

Code: [Select]
/dev/hda1p1   *   1   257   32880   4   FAT16 <32M
I also tried a type 6 (FAT16) partition using the whole 128MB on this CF card, and formatting it as vfat (although I found no option to make a vfat partition under fdisk).

I've also noticed that, even when the bootable flag, "more /dev/hda1" returns:

Code: [Select]
TSB                          FAT16         This is not a bootable disk. Please insert a bootable floppy and press any key to try again.
It looks like I've simply had the misfortune of finding a useless card. BTW, other Zaurus users, it was a Newrich 128MB.
« Last Edit: April 05, 2005, 06:16:00 pm by conn-fused »

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #11 on: April 05, 2005, 06:57:22 pm »
Quote
I also tried a type 6 (FAT16) partition using the whole 128MB on this CF card, and formatting it as vfat (although I found no option to make a vfat partition under fdisk).
Type 6 is vfat FAT-16. You can use

'mkfs.msdos' or 'mkdosfs -F16'

Before you give up on that CF-card you might try following these instructions in the how-to docs... just a thought.
https://www.oesf.org/index.php?title=Step-b...ing_for_newbies

Greg

conn-fused

  • Newbie
  • *
  • Posts: 35
    • View Profile
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #12 on: April 08, 2005, 12:45:37 pm »
I followed that procedure to the letter, without success.

Then, after watching the happily blinking lights, I restored my system, went to the terminal, and added:

umount /dev/hda1
fdisk /dev/hda
   a (to toggle the boot flag)
   w (to write the partition)

I rebooted again, and watched the lights flash again. Sigh.

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Oz 3.5.2 ; Flashing, And Flashing, And Flashing...
« Reply #13 on: April 08, 2005, 04:06:42 pm »
Quote
I followed that procedure to the letter, without success.
Then as lardman has already said some CF-cards simply will not flash a ROM.

If it helps any I use a Lexar (8x) 64MB, Lexar (4x) 128MB and a Kodak 128MB without any problems to flash.

Greg