Author Topic: Hentges 3.5.4.1 For Collie  (Read 38375 times)

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges 3.5.4.1 For Collie
« Reply #30 on: April 13, 2006, 03:42:09 am »
It looks like the subdirectories are causing some confusing, so I'll try one last time to explain what this is all about.

A normal OZ / Hentges installation is flashed into the "ROM" of your Z. For a flash installation you need a flash image (called initrd.bin) which contains the rootfs in jffs2 format and a kernel (zImage for Collie, zImage.bin for Akita).

So, to install Hentges / OZ into the flash of your Z you'll have to download:

One kernel from $MACHINE/kernel/
One initrd.bin from $MACHINE/hentges-*-image*

The file hentges-*-image* is a compressed tarball which contains initrd.bin, you'll have to extract it first (winzip can do so just fine)

This isn't too complicated, now is it?

Also Hentges on Collie supports a so-called CardFs file. A cardfs file contains applications that can be installed onto SD or CF in addition to the apps shipped with a normal flash installation.

To use cardfs (which you really should on Collie) you'll have to download one more file in addition to the above:

One cardfs file from $MACHINE/cardfs

Make sure you download the GPE cardfs for a GPE initrd.bin and an Opie cardfs for an Opie initrd.bin (well, this should be obvious...)

To install, copy all 3 files (initrd.bin, zImage and cardfs*.bin) on your CF card and flash as usual. You'll be prompted to install the CardFF on first boot.

That's it, really!

Now to the other subdirectories / files included with this release

$MACHINE/ext2 contains - as the name suggests - ext2 loop images which can be booted directly off SD or CF using Altboot. The header text in that directory points to a FAQ explaining how to do that....

$MACHINE/tarballs contains a full rootfs (the stuff inside initrd.bin) in a compressed tarball. This is also to be used with altboot and this directory also features a header text explaining just that and where to look for more info.
Webmaster of hentges.net & Embedded Linux Developer.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges 3.5.4.1 For Collie
« Reply #31 on: April 13, 2006, 03:43:12 am »
Quote
Quote
Quote
Hi CoreDump,

I'm not having much luck with the latest version either. When I flash, the lights only come on for about thirty seconds, then go out. When I reboot, I get the error message about the wrong kernel. It seems to find zImage fine, and flash that, but not initrd.bin.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122905\"][{POST_SNAPBACK}][/a][/div]

Well, check the naming of initrd.bin then  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122962\"][{POST_SNAPBACK}][/a][/div]
I have exactly same problems. I can easily flash OZ 3.5.4 distribution, but old-style hentges installation fails. Lights come on for 10 seconds, and that's it. I'm using zImage-collie-64-0-20060409201626.bin renamed as zImage and initrd.bin extracted from hentges-opie-image-de-collie_T1-RC4.tar.gz.

And yes, I have double-checked naming of initrd.bin.

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

Hmmm, the opie initrd looks a little bit too large. I'll check when I get home.
Webmaster of hentges.net & Embedded Linux Developer.

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
Hentges 3.5.4.1 For Collie
« Reply #32 on: April 13, 2006, 09:47:50 am »
Quote
Quote
Attempts to tar -zxvf  hentges-opie-image-de-collie_T1-RC4-3.5.4.1-alpha2-collie.rootfs.ext2.gz
do nothing.

It unziped without error but ended up a 150 MB file.

Is this a tar file? Why does tar -zxvf not work?

Thanks - Dan
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Please read the header text of the directory you got that file from:
[a href=\"http://hentges.net/tmp/do_not_use/collie/ext2/]http://hentges.net/tmp/do_not_use/collie/ext2/[/url]

It points to a FAQ which explains what an .ext2 file is and what it is good for.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122963\"][{POST_SNAPBACK}][/a][/div]

Yes, I had read the FAQ. I was following the directions to extract the initrd.bin. The system is Linux. tar -zxvf seems to complete but it does not extract any files.

The FAQ states that Winzip will work.

On a LInux system what is the preferred way to extract files from the .gz ?

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Hentges 3.5.4.1 For Collie
« Reply #33 on: April 13, 2006, 10:19:56 am »
Quote
Quote
Quote
Attempts to tar -zxvf  hentges-opie-image-de-collie_T1-RC4-3.5.4.1-alpha2-collie.rootfs.ext2.gz
do nothing.

It unziped without error but ended up a 150 MB file.

Is this a tar file? Why does tar -zxvf not work?

Thanks - Dan
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Please read the header text of the directory you got that file from:
[a href=\"http://hentges.net/tmp/do_not_use/collie/ext2/]http://hentges.net/tmp/do_not_use/collie/ext2/[/url]

It points to a FAQ which explains what an .ext2 file is and what it is good for.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122963\"][{POST_SNAPBACK}][/a][/div]

Yes, I had read the FAQ. I was following the directions to extract the initrd.bin. The system is Linux. tar -zxvf seems to complete but it does not extract any files.

The FAQ states that Winzip will work.

On a LInux system what is the preferred way to extract files from the .gz ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123011\"][{POST_SNAPBACK}][/a][/div]

try gunzip
then tar -xf

I've had problems with tar -zxf sometimes and had to do the above.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges 3.5.4.1 For Collie
« Reply #34 on: April 13, 2006, 11:46:53 am »
Quote
Quote
Quote
Attempts to tar -zxvf  hentges-opie-image-de-collie_T1-RC4-3.5.4.1-alpha2-collie.rootfs.ext2.gz
do nothing.

It unziped without error but ended up a 150 MB file.

Is this a tar file? Why does tar -zxvf not work?

Thanks - Dan
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Please read the header text of the directory you got that file from:
[a href=\"http://hentges.net/tmp/do_not_use/collie/ext2/]http://hentges.net/tmp/do_not_use/collie/ext2/[/url]

It points to a FAQ which explains what an .ext2 file is and what it is good for.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122963\"][{POST_SNAPBACK}][/a][/div]

Yes, I had read the FAQ. I was following the directions to extract the initrd.bin. The system is Linux. tar -zxvf seems to complete but it does not extract any files.

The FAQ states that Winzip will work.

On a LInux system what is the preferred way to extract files from the .gz ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123011\"][{POST_SNAPBACK}][/a][/div]

As I already mentioned, the "*.ext2" file you are trying to extract is not a tarball.
It can not be extracted with tar -xzvf. And it isn't meant to be extracted in the first place.
The FAQ explains the concepts of an .ext2 nicely and it tells you how to use it.
Webmaster of hentges.net & Embedded Linux Developer.

Bompo

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • http://ex-geeks.de
Hentges 3.5.4.1 For Collie
« Reply #35 on: April 13, 2006, 12:00:15 pm »
same error for me:

I used this files
initrd from
/collie/hentges-gpe-image-collie_T1-RC4.tar.gz
uncompressed it and copied the initrd.bin to CF
kernel from
/collie/kernel/zImage-collie-64-0-20060409201626.bin
unnamed to zImage and copied to CF
cardfs from
/collie/cardfs/cardfs-gpe-collie-openzaurus_oz3.5.4.1-alpha2-gpe2.7-T1-RC4.bin
copied to CF

and then flashed
but the lights only come on for about thirty seconds and then go out.

After that only the Kernel is flashed.

gtroot2002

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hentges 3.5.4.1 For Collie
« Reply #36 on: April 13, 2006, 12:05:22 pm »
I'm having the same problem (short light duration) with the henteges initrd.  I can flash the stock oz kernel and opie without problem.  Also, is it still possible to put the cardfs image on sd?

Thanks,
Greg

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges 3.5.4.1 For Collie
« Reply #37 on: April 13, 2006, 12:21:49 pm »
Quote
I'm having the same problem (short light duration) with the henteges initrd.  I can flash the stock oz kernel and opie without problem.  Also, is it still possible to put the cardfs image on sd?

Thanks,
Greg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123038\"][{POST_SNAPBACK}][/a][/div]

I am looking at the initrd right now. It is too large to be flashable by the looks of it  
And yes, you can place cardfs on SD or CF.
Webmaster of hentges.net & Embedded Linux Developer.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges 3.5.4.1 For Collie
« Reply #38 on: April 13, 2006, 01:01:40 pm »
Forget my last comment. The 3.5.4.1 branch can not produce working initrd..bins for Collie, investigating..

Note for the curious: I always boot from NFS when developing.
Webmaster of hentges.net & Embedded Linux Developer.

reclusivemonkey

  • Newbie
  • *
  • Posts: 11
    • View Profile
Hentges 3.5.4.1 For Collie
« Reply #39 on: April 13, 2006, 02:21:50 pm »
Quote
Forget my last comment. The 3.5.4.1 branch can not produce working initrd..bins for Collie, investigating..

Note for the curious: I always boot from NFS when developing.

OK Thanks for the reply. I've used your CardFS before and had no problems previously. I've had my zaurus for a few years now, and to be honest, each release of Opie has become more problematic than the previous. I've been using Slackware for about five years now, so I am now stranger to GNU/Linux and the power of that in a PDA really appealed to me. Add to that the chance to play any kind of media I wanted regardless of format made it the ultimate media device for me. The first release of Opie I tried was wonderful for this, it played video brilliantly and any MP3s I threw at it. I don't really use it much for contacts or to do lists, so most of the software on Opie/GPE is a gimmick for me.  The collie is too small for web browsing/text editing, and the limited battery life of an hour and a half has become a real frustration. It takes several weeks after each release to get everything working as I like, so now rather than buy a new C Series as I was going to do, I'm just going to get an iPod.

Good luck with all your endeavours, Opie/GPE are great projects, but for me they just seem to be going further and further away from what I want.

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
Hentges 3.5.4.1 For Collie
« Reply #40 on: April 13, 2006, 10:57:57 pm »
"One initrd.bin from $MACHINE/hentges-*-image*

The file hentges-*-image* is a compressed tarball which contains initrd.bin, you'll have to extract it first (winzip can do so just fine)"

This is a cut from install instructions. I am unable to extract initrd.bin from the tarball. Can someone provide instructions on how to do this? Attempts to work with these .gz files result in a 157 MB ext2 file.

Thanks for you your help - Dan

DavidFong

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • http://www.users.bigpond.com/vkelim/
Hentges 3.5.4.1 For Collie
« Reply #41 on: April 14, 2006, 03:00:58 am »
Those expanded .gz files (both opie and gpe) are definitely very large, I also ended up with .ext2 files 153 megabytes in size. I don't think there is anything wrong with that, but you will need a decent size CF or SD card to store one, or both!, of them.

The hentges-*-image* files end in the extension '.tar.gz'
With Linux, they can be extracted using

tar xvzf (filename)

I am afraid I do not know how to extract tar/gz files with Windows, but there is bound to be a program somewhere! Tar is quite an old file archiving program, I remember using it when I had an Amiga

Anyway, the current initrd.bin files do not work with my collie (SL-5500), as CoreDump mentions previously in this thread.

Cheerio, David.

Quote
"One initrd.bin from $MACHINE/hentges-*-image*

The file hentges-*-image* is a compressed tarball which contains initrd.bin, you'll have to extract it first (winzip can do so just fine)"

This is a cut from install instructions. I am unable to extract initrd.bin from the tarball. Can someone provide instructions on how to do this? Attempts to work with these .gz files result in a 157 MB ext2 file.

Thanks for you your help - Dan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123131\"][{POST_SNAPBACK}][/a][/div]
David Fong, Ivanhoe, Australia.
Zaurus 5500 (OZ 3.5.4 Opie), SL-C3200 (Debian)
Athlon XP (SuSE 10.2), Fujitsu P1610 (SuSE 10.2)
Panasonic DMC-FZ10

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges 3.5.4.1 For Collie
« Reply #42 on: April 14, 2006, 09:27:15 am »
Well, I've found the problem with the collie images, they were indeed to large. Collies firmware detected this and refused to flash the initrd.bin. I'm currently rebuilding and reuploading, stay tuned.
Webmaster of hentges.net & Embedded Linux Developer.

michaelsonline

  • Newbie
  • *
  • Posts: 12
    • View Profile
Hentges 3.5.4.1 For Collie
« Reply #43 on: April 14, 2006, 10:35:16 am »
CoreDump I would just like to say thanks for working so hard on collie based rom
Palm III -> Palm IIIxe -> Palm V -> Palm M100 -> Palm TE -> HP Jornada 540 -> Palm Z71 (hardware modified) -> Garmin Ique 3600 -> Sharp Zaurus 5000d (Hentges openzaurus_oz3.5.4.1-alpha3-opie1.2.1-T1-RC5, root on 1 gig sd) Socket LA4100 Spectrum24 CF wifi card.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges 3.5.4.1 For Collie
« Reply #44 on: April 14, 2006, 01:14:44 pm »
Quote
CoreDump I would just like to say thanks for working so hard on collie based rom
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123194\"][{POST_SNAPBACK}][/a][/div]

You're welcome  

New Collie images are uploading, ETA is about 1.5hrs.
Webmaster of hentges.net & Embedded Linux Developer.