Re: a780 camera drivers

2007-05-21 Thread Stefan Schmidt
Hello.

On Sun, 2007-05-20 at 11:18, Antonio Ospite wrote:
 On Mon, 19 Mar 2007 13:25:16 +
 Daniel Ribeiro [EMAIL PROTECTED] wrote:
 
  2007/3/19, Michael 'Mickey' Lauer [EMAIL PROTECTED]:
   Excellent. Since this is an isolated interface, could you try to
   push pxacamera interface into mainline asap?
 
  Sure! But im afraid we may still have some copyright issues to solve
  here.. Motorola never released the sources mt9m111.c and adcm2700.c
  with a gpl file header. The kernel distributed on
  opensource.motorola.com lacks these files.
 
 I see mt9v111.c and adcm2700.c in A910 kernel code[0], and they have
 the GPL header. So maybe the issue is solved if we take the files from
 here.

Thanks for this observation.

As this is a long outstanding issue I ivestigated a bit more. I
fetched kernel tarball from different locations and for different
models and searched for the mentioned files.

I tried to order this chronologically:

1) First Motorola kernel release. Requested by someone from the
motorolafans.com forum. This one is hosted on sf.net
http://sourceforge.net/project/showfiles.php?group_id=142482package_id=156813

Interesting is the file original_kernel.tar.gz from 2005

Files: mt9v111.c, adcm2700.c, adcm2700.h, adcm2700_hw.c, adcm2700_hw.h
Licence: Motorola Confidential Proprietary

2) The kernel for A780/E680 from opensource.motorola.com and on the CD
Motorola shipped me does not contain the files at all.


3) A910 kernel source from opensource.motorola.com contains all above
mentioned files under the GPL, as Antonio already stated.

A diff between the two releases in question indicates that only the
licence header, plus some changelog rewrite, was changed in the files.


I'm not sure why there is so much confusion about the licence for this
dirvers inside Motorola, but we now have a GPL'ed driver for this chips
and it is fine to use them for a 2.6 kernel port.


The A910 source also contains driver for many other camera chips:
adcm2650, adcm3800, ov9640 and ov9650

I'm not sure if there are already GPL driver for this chips. If not
that could perhaps be a great help for other projects.

regards
Stefan Schmidt


signature.asc
Description: Digital signature


who care the dirver of FM radio?

2007-05-21 Thread Zhao Tongyi

philps Tea5765?
the kernel of 2.6.21  may contain the Chip driver
can it work ?

--
Best regards,

Tongyi ,Zhao



Re: a780 camera drivers

2007-05-21 Thread Daniel Ribeiro

This is great news! Hope that releasing camera drivers is just a initial
step to a more GPL friendly motorola. :)
Thank you for finding this Antonio.

CC to people that contacted me in the past about camera drivers.


2007/5/21, Stefan Schmidt [EMAIL PROTECTED]:


Hello.

On Sun, 2007-05-20 at 11:18, Antonio Ospite wrote:
 On Mon, 19 Mar 2007 13:25:16 +
 Daniel Ribeiro [EMAIL PROTECTED] wrote:

  2007/3/19, Michael 'Mickey' Lauer [EMAIL PROTECTED]:
   Excellent. Since this is an isolated interface, could you try to
   push pxacamera interface into mainline asap?
 
  Sure! But im afraid we may still have some copyright issues to solve
  here.. Motorola never released the sources mt9m111.c and adcm2700.c
  with a gpl file header. The kernel distributed on
  opensource.motorola.com lacks these files.

 I see mt9v111.c and adcm2700.c in A910 kernel code[0], and they have
 the GPL header. So maybe the issue is solved if we take the files from
 here.

Thanks for this observation.

As this is a long outstanding issue I ivestigated a bit more. I
fetched kernel tarball from different locations and for different
models and searched for the mentioned files.

I tried to order this chronologically:

1) First Motorola kernel release. Requested by someone from the
motorolafans.com forum. This one is hosted on sf.net

http://sourceforge.net/project/showfiles.php?group_id=142482package_id=156813

Interesting is the file original_kernel.tar.gz from 2005

Files: mt9v111.c, adcm2700.c, adcm2700.h, adcm2700_hw.c, adcm2700_hw.h
Licence: Motorola Confidential Proprietary

2) The kernel for A780/E680 from opensource.motorola.com and on the CD
Motorola shipped me does not contain the files at all.


3) A910 kernel source from opensource.motorola.com contains all above
mentioned files under the GPL, as Antonio already stated.

A diff between the two releases in question indicates that only the
licence header, plus some changelog rewrite, was changed in the files.


I'm not sure why there is so much confusion about the licence for this
dirvers inside Motorola, but we now have a GPL'ed driver for this chips
and it is fine to use them for a 2.6 kernel port.


The A910 source also contains driver for many other camera chips:
adcm2650, adcm3800, ov9640 and ov9650

I'm not sure if there are already GPL driver for this chips. If not
that could perhaps be a great help for other projects.

regards
Stefan Schmidt

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://www.datenfreihafen.org/contact.html

iD8DBQFGUV5/bNSsvd31FmURAp6AAJ0bkEGWQxl6Gjuq77k7W4NwerOCkgCgh/fT
mRRYwHSfGppLZUPICftvVHQ=
=q5FZ
-END PGP SIGNATURE-





--
EOF

Daniel Ribeiro


Re: who care the dirver of FM radio?

2007-05-21 Thread Daniel Ribeiro

2007/5/21, Zhao Tongyi [EMAIL PROTECTED]:


philps Tea5765?
the kernel of 2.6.21  may contain the Chip driver
can it work ?


Hi Zhao, i think that nobody taked a look on this driver yet.
We are lacking sound driver support, The FM chip probably needs the sound
driver working at least to route the audio.


--
EOF

Daniel Ribeiro


Re: Kernel updated in OE, new image for a780 available

2007-05-21 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Antonio Ospite schreef:
 On Sat, 19 May 2007 11:47:58 +0200
 Koen Kooi [EMAIL PROTECTED] wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 The ezx kernel has been updated to r2011 in OE:
 http://lists.linuxtogo.org/pipermail/openembedded-commits/2007-May/005595.html

 You can find a zImage and matching rootfs at
 http://www.angstrom-distribution.org/unstable/images/a780/20070519/

 share and enjoy,

 Koen
 
 Thanks koen, but for now we have to disable serial console in
 CONFIG_CMDLINE, because the needed code has been disabled in compress.c
 to achieve a faster boot.
 
 The attached patch could do that, but:
 Note that drWyrM is also working on an optional kernel patch to
 re-enable this code, so you may want to wait a bit ;P before changing
 CONFIG_CMDLINE the way I proposed.

I applied your patch, thanks!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGUZ/6MkyGM64RGpERAoiSAKCD/7dk2UnG2+L3kL9wI1Wh/cGwvACcCm4n
356ghOFslZOz1LdlpbRPVCw=
=UEFJ
-END PGP SIGNATURE-



a780 JTAG Pinouts

2007-05-21 Thread Matt Wall
story behind the problem.  I took a picture with the camera.  douring the 
process it froze the camera.  I could not power it down with the power 
button at all.  I removed the batt, let it sit for a minute or two, then i 
put it back in.  it would not power back up.  I was able to get it to the 
boot loader menu to attempt a reflash and got those errors every time i 
tried to flash.


Also it will be interesting if you will upload bootloader CG a020 with 
boot_usb or with ezxflash and look to lsusb -v messages after this.


as for that i've not jumped in deep enough to really give you a good answer 
to your question.


however here are some error logs in case anyone cares
and thanks for all the help guys.  even if this does end up a paperweight 
you guys have been very helpful


-
20:09:07,  December 17, 2005
Line: 139
ERROR: F:\Documents and Settings\matt\Desktop\OD\UNUSED1\780 
monster\r52\R52_G_0D.74.A2R_0D.C0.B1P_SE6822AD3B1_L001_S011_P004_SE6822AD3B1025_full.hmg 
was not found.

File: Y:\test_dev_usb\flash\code\flashdll\pst_fp_fileio.cpp

20:09:14,  December 17, 2005
Line: 139
ERROR: F:\Documents and Settings\matt\Desktop\OD\UNUSED1\780 
monster\r52\R52_G_0D.74.A2R_0D.C0.B1P_SE6822AD3B1_L001_S011_P004_SE6822AD3B1025_full.hmg 
was not found.

File: Y:\test_dev_usb\flash\code\flashdll\pst_fp_fileio.cpp

20:10:20,  December 17, 2005
Line: 3922
ERROR: Phone[]: The Secure_Motorola_Flash Interface could not be 
found.


The super-file is secure and for re-flash;

the phone needs a super-file that is not secure and for reflash.
File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_FlashThread.cpp

20:25:37,  December 17, 2005
Line: 3922
ERROR: Interface AP-OS: Error Flashing Subscriber Unit Error 0xE0020086
while sending address 0x8C18000.
File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_FlashThread.cpp

20:25:37,  December 17, 2005
Line: 3922
ERROR: Phone[]: *Flash FAILED!!!*
File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_FlashThread.cpp

20:26:28,  December 17, 2005
Line: 3922
ERROR: Phone[]: ***Error*** Unable to connect to the Subscriber Unit. 
Unable to get string descriptors.

File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_FlashThread.cpp

---
and
-
23:12:51,  December 01, 2005
Line: 139
ERROR: F:\Documents and Settings\matt\Desktop\780 
monster\R52_G_0D[1].74.A2R_0D.C0.B1P_SE6820AD3F1_L003_S008_P004_GCOA78E1025_full\R52_G_0D.74.A2R_0D.C0.B1P_SE6820AD3F1_L003_S008_P004_GCOA78E1025_full.hmg 
was not found.

File: Y:\test_dev_usb\flash\code\flashdll\pst_fp_fileio.cpp

01:32:45,  December 02, 2005
Line: 139
ERROR: F:\Documents and Settings\matt\Desktop\780 
monster\R52_G_0D[1].74.A2R_0D.C0.B1P_SE6820AD3F1_L003_S008_P004_GCOA78E1025_full\R52_G_0D.74.A2R_0D.C0.B1P_SE6820AD3F1_L003_S008_P004_GCOA78E1025_full.hmg 
was not found.

File: Y:\test_dev_usb\flash\code\flashdll\pst_fp_fileio.cpp

19:08:15,  December 17, 2005
Line: 139
ERROR: F:\Documents and Settings\matt\Desktop\OD\UNUSED1\780 
monster\R52_G_0D[1].74.A2R_0D.C0.B1P_SE6820AD3F1_L003_S008_P004_GCOA78E1025_full\R52_G_0D.74.A2R_0D.C0.B1P_SE6820AD3F1_L003_S008_P004_GCOA78E1025_full.hmg 
was not found.

File: Y:\test_dev_usb\flash\code\flashdll\pst_fp_fileio.cpp

19:08:40,  December 17, 2005
Line: 139
ERROR: F:\Documents and Settings\matt\Desktop\OD\UNUSED1\780 
monster\R52_G_0D[1].74.A2R_0D.C0.B1P_SE6820AD3F1_L003_S008_P004_GCOA78E1025_full\R52_G_0D.74.A2R_0D.C0.B1P_SE6820AD3F1_L003_S008_P004_GCOA78E1025_full.hmg 
was not found.

File: Y:\test_dev_usb\flash\code\flashdll\pst_fp_fileio.cpp

19:09:46,  December 17, 2005
Line: 3922
ERROR: Phone[]: The Secure_Motorola_Flash Interface could not be 
found.


The super-file is secure and for re-flash;

the phone needs a super-file that is not secure and for reflash.
File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_FlashThread.cpp

19:26:24,  December 17, 2005
Line: 3922
ERROR: Interface AP-OS: Error Flashing Subscriber Unit Error 0xE0020086
while sending address 0x8C18000.
File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_FlashThread.cpp

19:26:24,  December 17, 2005
Line: 3922
ERROR: Phone[]: *Flash FAILED!!!*
File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_FlashThread.cpp

---
and a 3'rd one
---
19:32:52,  December 17, 2005
Line: 690
ERROR: A sharing violation occurred while accessing F:\Documents and 
Settings\matt\Desktop\OD\UNUSED1\780 
monster\R52_G_0D[1].74.A2R_0D.C0.B1P_SE6822AD3B1_L001_S011_P004_SE6822AD3B1025_full\R52_G_0D.74.A2R_0D.C0.B1P_SE6822AD3B1_L001_S011_P004_SE6822AD3B1025_full.shx

File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_FlashFileIO.cpp

19:32:52,  December 17, 2005
Line: 2113
ERROR: Flash File IO pointer is a NULL Pointer
File: Y:\test_dev_usb\flash\code\flashdll\PST_FP_Flash.cpp

19:33:05,  December 17, 2005
Line: 139
ERROR: F:\Documents and