OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Dave Smith on March 01, 2005, 08:01:13 am

Title: How To Install
Post by: Dave Smith on March 01, 2005, 08:01:13 am
I am keen to install Open Zaurus but cannot find any simple clearl guidlines on how to do this. Can anyone point me towards a step by step approach? I am probably at the idiots giude level at this stage!!

Thanks

Dave
Title: How To Install
Post by: Pyrates on March 01, 2005, 08:52:46 am
Quote
I am keen to install Open Zaurus but cannot find any simple clearl guidlines on how to do this. Can anyone point me towards a step by step approach? I am probably at the idiots giude level at this stage!!

Thanks

Dave
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=68958\")

You mean something like the [a href=\"http://openzaurus.org/web/index.php?option=com_content&task=category§ionid=3&id=70&Itemid=44]Openzaurus Docs[/url] ? This should make it pretty clear, if not, well, here's the place to ask

Cheers
Philipp
Title: How To Install
Post by: Dave Smith on March 01, 2005, 10:04:36 am
Yes, that's exactly what I was looking for. Thanks.

I've found the files zImage  and updater.sh but can't locate initrd.bin. Any suggestions?

Dave
Title: How To Install
Post by: uberjoe on March 01, 2005, 10:50:19 am
For which device?
Title: How To Install
Post by: Dave Smith on March 01, 2005, 12:20:23 pm
SL 5600
Title: How To Install
Post by: brokengun on March 01, 2005, 12:23:34 pm
well, Im in the same boat as this guy. I want to install openzaurus and I can't find that  initrd.bin file to install on my SL-5600. Also, can I instlal from an SD card? and do I need to do anything to my SD card before I install the OZ? ...something about vfat formatting?
Title: How To Install
Post by: uberjoe on March 01, 2005, 12:37:47 pm
The files are here (http://www.openzaurus.org/official/unstable/3.5.2/sl5600/) You download either the opie image or the gpe image depending on your preference, and rename it initrd.bin.
Quote
Also, can I instlal from an SD card?

AFAIK you need to install from a fat formatted cf card.
Title: How To Install
Post by: lardman on March 01, 2005, 12:49:09 pm
For the 5600 I think a FAT16 formatted SD/MMC card will also work.

Si
Title: How To Install
Post by: Dave Smith on March 01, 2005, 01:20:52 pm
Found it. Thanks
Title: How To Install
Post by: brokengun on March 01, 2005, 01:46:03 pm
how do I go about formatting my SD card to a FAT 16?...
Title: How To Install
Post by: uberjoe on March 01, 2005, 02:28:57 pm
If you have a usb sd card reader you can use that on your pc. If you want to do it from your zaurus you would need to unmount the card with

Quote
umount /dev/mmcda1

and then use fdisk or cfdisk or some other such format utility. I'm not sure what the sharp rom comes with as far as command line tools. You could always try this (http://www.elsix.org/index.php?w=project&p=628).
Title: How To Install
Post by: brokengun on March 01, 2005, 05:35:08 pm
seems to be a broken link to download it... Any other methods, or know of a link that works?
Title: How To Install
Post by: uberjoe on March 01, 2005, 05:40:22 pm
do this

ls /sbin

and post the output. I want to see what tools you have to work with.
Title: How To Install
Post by: brokengun on March 01, 2005, 10:06:17 pm
Code: [Select]
MAKEDEV                ldconfig
arp                    loadkmap
badblocks              lsmod
cardctl                makedevs
cardmgr                mii-tool
chroot                 mkdosfs
consoletype            mke2fs
debugfs                mkfs.ext2
depmod                 mkfs.minix
dhcpcd                 mkfs.msdos
dosfsck                mkfs.vfat
dump_cis               mkswap
dumpe2fs               modinfo
e2fsck                 modprobe
e2label                nameif
eraseall               nwepgen
freeramdisk            oncheck
fsck                   pack_cis
fsck.ext2              pcinitrd
fsck.ext3              plipconfig
fsck.minix             poweroff
fsck.msdos             probe
fsck.vfat              qt
ftl_check              rarp
ftl_format             reboot
genksyms               resize2fs
getkey                 rmmod
getty                  route
halt                   runlevel
hotplug                scshotcf
hwclock                scshotram
ide_info               scshotsd
ifconfig               scsi_info
ifport                 sdmgr
ifuser                 setserial
init                   shsync
initlog                shutdown
insmod                 slattach
insmod_ksymoops_clean  sltime
ipmaddr                spm
iptunnel               sulogin
iwconfig               survive
iwevent                swapoff
iwgetid                swapon
iwlist                 syslogd
iwpriv                 telinit
iwspy                  tune2fs
kallsyms               update
kernelversion          wlancfg
killall5               wlanctl-ng
klogd                  wland
ksyms                  writerominfo
launch
bash-2.05$            

theres the output....
Title: How To Install
Post by: uberjoe on March 02, 2005, 12:20:59 am
Ok, try this,

Quote
umount /dev/mmcda1

to unmount the card

Quote
mkfs.vfat /dev/mmcda1

to format it. If your card previously had a different filesystem on it you may need to edit /etc/fstab to reflect the new fs type.
Title: How To Install
Post by: lardman on March 02, 2005, 05:02:46 am
Loads of conflicting info about the format which is required. I can't even remember what's right any more.

Anyway, does mkfs.vfat produce a fat32 fs? If it doesn't flash using that format try using mkfs.msdos instead as that will be fat16.


Si
Title: How To Install
Post by: DeGT on March 02, 2005, 06:41:58 am
No, I think vfat is just an enhancement to fat16 ( http://pclt.cis.yale.edu/pclt/BOOT/VFAT.htm (http://pclt.cis.yale.edu/pclt/BOOT/VFAT.htm) ). You can use it for flashing.

If you had just fat16 without that enhancement you wouldn't be able to have long filenames.
Title: How To Install
Post by: whack9 on March 09, 2005, 01:32:12 am
I just got an SL-5500 and I can't seem to get oz 3.5.2 installed.  I followed the directions on the openzaurus docs for 5000d and 5500.  I used an empty fat 48 meg cf card, renamed opie-image.rootfs.img to initrd.bin and shortened name of zImage_collie-58-6 to zImage.  I put the cf card in the zaurus and reset it using the recessed button under the battery door while holding the d and c keys.   Both lights (mail, power) started flashing and just keep flashing.. for hours.  Finally, I got sick of watching it and I reset the zaurus with the reset button, then booted it and it booted using the original rom.  what are the lights supposed to do when the "flash" is occurring?  Are they supposed both blink on an off repeatedly?  If so, how long should it take?  Hours?  I formatted the cf card on win xp to be fat before I put the files in its root dir.  Help?

/9
Title: How To Install
Post by: bazmi on March 09, 2005, 02:10:36 am
just check that CF card is formatted FAT16, not FAT32. i had the same problem as you describe and in my case it was because i just used the default format in windows which does FAT32. you renaming seems to be correct. good luck.

cheers,

/bazmi.
Title: How To Install
Post by: whack9 on March 09, 2005, 02:41:38 am
Quote
just check that CF card is formatted FAT16, not FAT32. i had the same problem as you describe and in my case it was because i just used the default format in windows which does FAT32. you renaming seems to be correct. good luck.

cheers,

/bazmi.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69854\"][{POST_SNAPBACK}][/a][/div]

I right clicked on the cf card in windows explorer and selected format.  the 2 options were fat32 and fat.  I selected fat.

Also, I just tried to flash using the original roms from sharp and I got the same behavior.  as soon as I click the reset button while holding the c and d keys, the lights com on and then they start blinking on and off repeatedly.
Title: How To Install
Post by: Dave Smith on March 09, 2005, 05:22:05 am
I've just gone throught he process of formatting the CF, creating /mnt/cf, copying the correct files into /mnt/cf and religiously following the instructions in Openzaurus Docs (http://openzaurus.org/web/index.php?option=com_content&task=category§ionid=3&id=70&Itemid=44)

I notice tht during the boot up process it says updater.sh not found. This is strange because I definately installed in the /mnt/cf diretory on the CF.

The installation proceeds until the error message:

kernel panic: attempted to kill init!

That's where I am at the moment. I would much like to be further on ....
Title: How To Install
Post by: lardman on March 09, 2005, 05:36:49 am
Quote
I notice tht during the boot up process it says updater.sh not found. This is strange because I definately installed in the /mnt/cf diretory on the CF.

No, /mnt/cf *is* the CF card. You should place the files in the root of the card (which if you're using your Z to transfer them is mounted at /mnt/cf), not in a sub-directory named /mnt/cf.


Si
Title: How To Install
Post by: Dave Smith on March 09, 2005, 05:47:37 am
Re-formatted the CF just to make sure. Re-copied the three files into the root and got the same problem.

I am using FC3 and I wonder if I am formating wrong. I see from earlier posts that the CF should perhaps be formatted in FAT16. Not sure how to do this on Linux if that is what is necessary. Could this be causing the problem?
Title: How To Install
Post by: Dave Smith on March 09, 2005, 10:14:04 am
Quote
Re-formatted the CF just to make sure. Re-copied the three files into the root and got the same problem.

I am using FC3 and I wonder if I am formating wrong. I see from earlier posts that the CF should perhaps be formatted in FAT16. Not sure how to do this on Linux if that is what is necessary. Could this be causing the problem?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69869\"][{POST_SNAPBACK}][/a][/div]

Just checked. I've formatted the CF as vfat so that should be OK
Title: How To Install
Post by: lardman on March 09, 2005, 10:29:47 am
So you still get the not found error?


Si
Title: How To Install
Post by: Dave Smith on March 09, 2005, 10:46:31 am
Quote
So you still get the not found error?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69900\"][{POST_SNAPBACK}][/a][/div]

For sure. And also the kernel panic message.

I am trying to think this through ... software or hardware?

On the hardware front, the PDA worked fine before I started to try and "improve" things    and the CF card works OK in my camera and is obviously seen by the PDA otherwise I wouldn't get as far as I do.

So maybe software ... All the files have been downloaded in the last day or two so should be the most recent.  I've opted for version 3.5.2. and made sure I've gone for the SL-5600 version. I didn't need to change the file names for zImage or updater.sh.. I opted for opie-image.rootfs.img and changed the file name to initrd.bin.

I did my downloads from here: Index of /official/unstable/3.5.2/sl5600

As far as I can see all of this should be OK. Except that's it's not.
Title: How To Install
Post by: lardman on March 09, 2005, 11:04:48 am
It should be ok.

Have you checked the md5sums of the files you've downloaded?


Si
Title: How To Install
Post by: uberjoe on March 09, 2005, 11:17:28 am
I'm sure you thought of this already but, you don't have hidden file extensions turned on do you? If you did, your initrd.bin would be initrd.bin.bin and updater.sh would be updater.sh.sh. I know it sounds silly but I have done that before.
Title: How To Install
Post by: Dave Smith on March 09, 2005, 10:23:53 pm
Quote
It should be ok.

Have you checked the md5sums of the files you've downloaded?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69910\"][{POST_SNAPBACK}][/a][/div]

No. I thought about that but I can't find the md5sums for the files. I've search and looked everywhere in the OpenZaurus site.
Title: How To Install
Post by: Dave Smith on March 09, 2005, 10:29:26 pm
Quote
I'm sure you thought of this already but, you don't have hidden file extensions turned on do you? If you did, your initrd.bin would be initrd.bin.bin and updater.sh would be updater.sh.sh. I know it sounds silly but I have done that before.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69914\"][{POST_SNAPBACK}][/a][/div]

Hidden file extensions? Not as far as I know. I've turned on "view hidden files" which is showing nothing. Maybe this is not what you are asking though.

Also, I have just noticed that having gone through this process, my CF no longer contains the three files I was trying to install but instead I have a new directory called Documents and within that a sub-directory called Install_Files. Now that is a new one on me. Is that supposed to happen? I've never seen that before at all ...  
Title: How To Install
Post by: Dave Smith on March 09, 2005, 10:43:03 pm
Quote
Quote
It should be ok.

Have you checked the md5sums of the files you've downloaded?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69910\"][{POST_SNAPBACK}][/a][/div]

No. I thought about that but I can't find the md5sums for the files. I've search and looked everywhere in the OpenZaurus site.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69960\"][{POST_SNAPBACK}][/a][/div]

I think we may have found the problem. The md5sum for both zImage and initrd.bin are not correct which suggests a poor download. Now there is a potential lesson to be learned here.  

I'll let you know if a fresh download solved the problem.
Title: How To Install
Post by: uberjoe on March 09, 2005, 10:52:30 pm
I should have asked, are you running windows or linux? This is an option in windows that allows you to hide the file extension. The option is located in control panel>folder options>view tab. Then you uncheck the 'hide file extensions for known file types' box. I did this on my windows box at work and It screwed up my flash, because I had inavertently named initrd.bin to initrd.bin.bin. since the last .bin was hidden.  But if you are running linux (as you should be) this could not possibly been your problem.
Title: How To Install
Post by: lardman on March 10, 2005, 05:08:55 am
I presume you found the md5sums: http://www.openzaurus.org/official/unstabl...600/md5sums.txt (http://www.openzaurus.org/official/unstable/3.5.2/sl5600/md5sums.txt)

Note to others: there's a text file called md5sums.txt in the same directory where you found your initrd.bin and zImage which contains the correct md5sums for all the files in that directory.

Do check them to see that your download completed correctly.

Cheers,


Si
Title: How To Install
Post by: Dave Smith on March 10, 2005, 06:54:25 am
Quote
I should have asked, are you running windows or linux? This is an option in windows that allows you to hide the file extension. The option is located in control panel>folder options>view tab. Then you uncheck the 'hide file extensions for known file types' box. I did this on my windows box at work and It screwed up my flash, because I had inavertently named initrd.bin to initrd.bin.bin. since the last .bin was hidden.  But if you are running linux (as you should be) this could not possibly been your problem.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69966\"][{POST_SNAPBACK}][/a][/div]
Using FC3. As you will see from a later post the problem has been solved.
Title: How To Install
Post by: Dave Smith on March 10, 2005, 06:59:32 am
Quote
I presume you found the md5sums: http://www.openzaurus.org/official/unstabl...600/md5sums.txt (http://www.openzaurus.org/official/unstable/3.5.2/sl5600/md5sums.txt)

Note to others: there's a text file called md5sums.txt in the same directory where you found your initrd.bin and zImage which contains the correct md5sums for all the files in that directory.

Do check them to see that your download completed correctly.

At last!!! Well that was the problem. I've done a fresh download and we are up and running.

Yes, I found the md5sums eventually - although searching the site does not get an answer. Maybe there should be a reference to this in the installation notes.

Anyway, thanks to those of you on this list who have put in so much effort to get this little problem fixed. This is what the opensource community is all about