Author Topic: opie camera on 3.5.1 ??  (Read 5292 times)

masterzen

  • Newbie
  • *
  • Posts: 17
    • View Profile
opie camera on 3.5.1 ??
« Reply #15 on: November 04, 2004, 05:17:07 am »
Quote
Very good. Please send the 5600 module to me @ mickeyl@handhelds.org
C7x0 folks might also send me their module, since it probably doesn't work there either.
OK,

I'll do that as soon as I come back home.
Unfortunately it seems Opie-camera does not handle quite well the resulting images, as the saved jpgs  look fine only with the native resolution (320x240).
All other settings results in screwed images.

Windrose

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
opie camera on 3.5.1 ??
« Reply #16 on: November 04, 2004, 09:10:43 am »
Quote
I grabbed the module from the original Sharp initrd.bin (it was quite complicated to do, especially since my host is a linux/ppc computer), and the modules are different.
On a bit of a tangent, are the instructions for how to uncompress/mount/whatever an initrd.bin image on one's desktop computer available anywhere? Most the links I managed to find by various google queries don't exist anymore.

Windrose
================================
Die Welt ist alles, was der Fall ist.
...
Wovon man nicht sprechen kann, darüber muß man schweigen.
================================

masterzen

  • Newbie
  • *
  • Posts: 17
    • View Profile
opie camera on 3.5.1 ??
« Reply #17 on: November 04, 2004, 10:02:09 am »
Quote
Quote
I grabbed the module from the original Sharp initrd.bin (it was quite complicated to do, especially since my host is a linux/ppc computer), and the modules are different.
On a bit of a tangent, are the instructions for how to uncompress/mount/whatever an initrd.bin image on one's desktop computer available anywhere? Most the links I managed to find by various google queries don't exist anymore.

Windrose
I've found that howto:
How to read/modify initrd.bin

There are a few gotchas:
  • your host must be running linux, I didn't find anything for other OS.
  • you might have to strip the 16 first bytes of the file (at least for sharp rom) as they seem to have some version header at the beginning of the file.
  • host endian-ness:
    jffs2 image are not endiannes friendly, so if your computer have not the same endianness as the jffs2 image, you won't be able to mount it.
    You have to modify the endianness of the jffs2 module by editing fs/jffs2/nodelist.h and change the following line:
    Code: [Select]
    #define JFFS2_NATIVE_ENDIANby
    Code: [Select]
    #define JFFS2_BIG_ENDIANand recompile the module.
  • block & erase size:
    You need to check the /proc/mtd pseudo file on your zaurus and note the numbers for the root block of the MTD.
    Then divide by 1024 and give those numbers when loading the mtdram module (as explained in the second post of the above url).

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
opie camera on 3.5.1 ??
« Reply #18 on: November 04, 2004, 01:40:39 pm »
Close to topic:

What is the best, most stable viewer on 3.5.1? I can create images but cannot view them.  

Dan

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
opie camera on 3.5.1 ??
« Reply #19 on: November 04, 2004, 01:42:31 pm »
opie-eye from the upgrades feed.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.