Re: [linux-sunxi] Experimenting with eu3000 board

2014-07-11 Thread Adilson Oliveira
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Em 11-07-2014 00:55, ditmar.r...@gmail.com escreveu:
 Hi Adilson, you didnt mention that you also read the wiki. Do you
 know  http://linux-sunxi.org/Main_Page
 
 
 There is a lot of information about nand as well as building
 images. Dont forget to chek the boads and the new device howto 
 http://linux-sunxi.org/New_Device_howto
 

Hello

I did indeed. As a matter of fact it's been my main source of
information. I was able to create and install an image onto the NAND
and I'm missing now wifi (which seems to be recognized but won't
activate) and the camera.

[]s

Adilson.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJTv8mXAAoJENqn0z1Ab/BxQ8AH/2ZQ6cHZWGHlI1M4MSXvn/QR
aCkaWKuYnh8SoWNYCZZT9ZLW2b5lpJRevx16iUJGMrNsMDRF9qiLYKnDq7C3mdOI
1cSLCOxunxJyYBYQdfD/GE/ORJZJ+F1lYnMevfxgjQQ9hUHvbiJP8VLWSS50ULUN
jqKOpoPZJBxDcn+v82AbAINh0xMmAh59Ssub9yHWHbtbaZiAb40gXdxQkULp7KY7
WSst4kz7cVk7laFvoeQq0eb9yoOu1UE66/2WOOyqxQVjUdYaBrHj936IvlfWXjSC
Xm1Zs0njrk7e9OY0ctMhtHfvcVaIc9IHlBM45nQNZSGP3u+FBlBaKzPLXwIAqjc=
=BinY
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Experimenting with eu3000 board

2014-07-11 Thread jonsm...@gmail.com
On Thu, Jul 10, 2014 at 7:58 PM, Adilson Oliveira adil...@adilson.net wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Em 10-07-2014 20:24, jonsm...@gmail.com escreveu:
 On Thu, Jul 10, 2014 at 7:00 PM, Adilson Oliveira
 adil...@adilson.net wrote: Em 10-07-2014 19:51,
 jonsm...@gmail.com escreveu:

 Hello Jon


 I played with the EU3000 for a while.  You can write the
 NAND using LiveSuit. But that was about a year ago.

 I was able to decompress, replace the root file system and
 compress again an image a few minutes ago. I was wondering how to
 create an image like that from, say a bootable sd card.

 Use PhoenixCard on windows

 I'll check that, thanks.

 It worked fine with Allwinner Android. I don't think any cameras
 work on the sunxi kernel builds.

 Do you know what's missing?

The CSI driver code ported into linux-sunxi is from two years or more
ago. Allwinner has done a lot of work the driver in the last two
years. Probably better to just toss it and re-port the current
Allwinner driver.


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.14 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQEcBAEBCAAGBQJTvyizAAoJENqn0z1Ab/BxNhIH/A+F7z0esqJVWrur5EKSgUT4
 7amqZ3sbTahlp3YXu06WrBxCieE69ZuK7MjBH6M9Ue1E8D3ZtakRL3TpK96+d98X
 wKs/ejrX9eUZe5izUV76Kj1EyI3wQo4S7G3hhNSeA13OcU2iV+cvr47bWQC4VQMl
 9Rk1T4E/j0HKV19n22txXLJ8lCZncPh8m4nahAc/4R67jFxf2lpjTBQzfNffEumx
 1ooFtXB6h0C3psoaG06mt2KWYzogQ5OM8TepjD0NBA0xWJpo0K1WTGxVwDe/xNac
 FoV30SP3f908jfh0d+ajNEmM8oJeS/DVhAZDlopwircjgmhCC+Zfq0pHy38B32E=
 =AdmY
 -END PGP SIGNATURE-

 --
 You received this message because you are subscribed to the Google Groups 
 linux-sunxi group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
Jon Smirl
jonsm...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Testing of Line In my A20 board.

2014-07-11 Thread Puneet B
Hi Rajesh,

Can you explain how can i test Line In in my Android.

I have sound recorder apk and also accessing capture node of sunxi-codec.

Can you tell how can i convert my line in to mic in.

Regards
Punith

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: A20 + OV5640 (parallel) issues

2014-07-11 Thread dfsong80
Hi, All
I am debugging ov5640 on CB2 now.
Who have enabled the ov5640 on CB1 or 2 successfully? Hope you to share the 
experience here.
On Friday, July 4, 2014 7:53:17 PM UTC+8, alex simohin wrote:
 Hi! I've done everything according to the instructions 
 http://docs.cubieboard.org/tutorials/dvk521/documentations/a20/driver_porting_and_configuration.
  fex file I changed to ov5640. Pay attention to the sections in the manual 
 porting I2C bus driver and porting csi driver.
 
 вторник, 1 июля 2014 г., 11:40:54 UTC+4 пользователь zahra...@gmail.com 
 написал:On Thursday, June 26, 2014 10:48:35 AM UTC+4:30, alex simohin wrote:
  Hello everyone! I want to run on the OV5642 sensor cubieboard2 (A20). First 
  tried to run OV7670. Works well. Ov5642 sensor used in another project, so 
  the working registers I have. Tried to use them in the driver ov5640 and 
  get a green screen with lower stripes, and in the background, the image 
  movement visible. I do not know what the problem is. Maybe the wrong color 
  conversion? Tested through gstreamer rtp on hardware encoder cedar264. 
  Tried to jpeg-encode the same picture.
 hi alex how did you run ov7670 on A20 could you please share your fex and any 
 other important settings?
 thanks,
 вторник, 1 июля 2014 г., 11:40:54 UTC+4 пользователь zahra...@gmail.com 
 написал:On Thursday, June 26, 2014 10:48:35 AM UTC+4:30, alex simohin wrote:
  Hello everyone! I want to run on the OV5642 sensor cubieboard2 (A20). First 
  tried to run OV7670. Works well. Ov5642 sensor used in another project, so 
  the working registers I have. Tried to use them in the driver ov5640 and 
  get a green screen with lower stripes, and in the background, the image 
  movement visible. I do not know what the problem is. Maybe the wrong color 
  conversion? Tested through gstreamer rtp on hardware encoder cedar264. 
  Tried to jpeg-encode the same picture.
 hi alex how did you run ov7670 on A20 could you please share your fex and any 
 other important settings?
 thanks,

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: A20 + OV5640 (parallel) issues

2014-07-11 Thread jonsm...@gmail.com
On Fri, Jul 11, 2014 at 12:09 PM,  dfson...@gmail.com wrote:
 Hi, All
 I am debugging ov5640 on CB2 now.
 Who have enabled the ov5640 on CB1 or 2 successfully? Hope you to share the 
 experience here.

How did you attach the sensor to the CB2?


 On Friday, July 4, 2014 7:53:17 PM UTC+8, alex simohin wrote:
 Hi! I've done everything according to the instructions 
 http://docs.cubieboard.org/tutorials/dvk521/documentations/a20/driver_porting_and_configuration.
  fex file I changed to ov5640. Pay attention to the sections in the manual 
 porting I2C bus driver and porting csi driver.

 вторник, 1 июля 2014 г., 11:40:54 UTC+4 пользователь zahra...@gmail.com 
 написал:On Thursday, June 26, 2014 10:48:35 AM UTC+4:30, alex simohin wrote:
  Hello everyone! I want to run on the OV5642 sensor cubieboard2 (A20). 
  First tried to run OV7670. Works well. Ov5642 sensor used in another 
  project, so the working registers I have. Tried to use them in the driver 
  ov5640 and get a green screen with lower stripes, and in the background, 
  the image movement visible. I do not know what the problem is. Maybe the 
  wrong color conversion? Tested through gstreamer rtp on hardware encoder 
  cedar264. Tried to jpeg-encode the same picture.
 hi alex how did you run ov7670 on A20 could you please share your fex and 
 any other important settings?
 thanks,
 вторник, 1 июля 2014 г., 11:40:54 UTC+4 пользователь zahra...@gmail.com 
 написал:On Thursday, June 26, 2014 10:48:35 AM UTC+4:30, alex simohin wrote:
  Hello everyone! I want to run on the OV5642 sensor cubieboard2 (A20). 
  First tried to run OV7670. Works well. Ov5642 sensor used in another 
  project, so the working registers I have. Tried to use them in the driver 
  ov5640 and get a green screen with lower stripes, and in the background, 
  the image movement visible. I do not know what the problem is. Maybe the 
  wrong color conversion? Tested through gstreamer rtp on hardware encoder 
  cedar264. Tried to jpeg-encode the same picture.
 hi alex how did you run ov7670 on A20 could you please share your fex and 
 any other important settings?
 thanks,

 --
 You received this message because you are subscribed to the Google Groups 
 linux-sunxi group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
Jon Smirl
jonsm...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: A20 + OV5640 (parallel) issues

2014-07-11 Thread Danny Song
I attached ov5640 to CB2 CS1 bus.
Have you enabled the ov5640 successfully ?



2014-07-12 1:17 GMT+08:00 jonsm...@gmail.com jonsm...@gmail.com:

 On Fri, Jul 11, 2014 at 12:09 PM,  dfson...@gmail.com wrote:
  Hi, All
  I am debugging ov5640 on CB2 now.
  Who have enabled the ov5640 on CB1 or 2 successfully? Hope you to share
 the experience here.

 How did you attach the sensor to the CB2?


  On Friday, July 4, 2014 7:53:17 PM UTC+8, alex simohin wrote:
  Hi! I've done everything according to the instructions
 http://docs.cubieboard.org/tutorials/dvk521/documentations/a20/driver_porting_and_configuration.
 fex file I changed to ov5640. Pay attention to the sections in the manual
 porting I2C bus driver and porting csi driver.
 
  вторник, 1 июля 2014 г., 11:40:54 UTC+4 пользователь zahra...@gmail.com
 написал:On Thursday, June 26, 2014 10:48:35 AM UTC+4:30, alex simohin wrote:
   Hello everyone! I want to run on the OV5642 sensor cubieboard2 (A20).
 First tried to run OV7670. Works well. Ov5642 sensor used in another
 project, so the working registers I have. Tried to use them in the driver
 ov5640 and get a green screen with lower stripes, and in the background,
 the image movement visible. I do not know what the problem is. Maybe the
 wrong color conversion? Tested through gstreamer rtp on hardware encoder
 cedar264. Tried to jpeg-encode the same picture.
  hi alex how did you run ov7670 on A20 could you please share your fex
 and any other important settings?
  thanks,
  вторник, 1 июля 2014 г., 11:40:54 UTC+4 пользователь zahra...@gmail.com
 написал:On Thursday, June 26, 2014 10:48:35 AM UTC+4:30, alex simohin wrote:
   Hello everyone! I want to run on the OV5642 sensor cubieboard2 (A20).
 First tried to run OV7670. Works well. Ov5642 sensor used in another
 project, so the working registers I have. Tried to use them in the driver
 ov5640 and get a green screen with lower stripes, and in the background,
 the image movement visible. I do not know what the problem is. Maybe the
 wrong color conversion? Tested through gstreamer rtp on hardware encoder
 cedar264. Tried to jpeg-encode the same picture.
  hi alex how did you run ov7670 on A20 could you please share your fex
 and any other important settings?
  thanks,
 
  --
  You received this message because you are subscribed to the Google
 Groups linux-sunxi group.
  To unsubscribe from this group and stop receiving emails from it, send
 an email to linux-sunxi+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.



 --
 Jon Smirl
 jonsm...@gmail.com

 --
 You received this message because you are subscribed to a topic in the
 Google Groups linux-sunxi group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/linux-sunxi/ijitRnbl8c8/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: A20 + OV5640 (parallel) issues

2014-07-11 Thread jonsm...@gmail.com
On Fri, Jul 11, 2014 at 1:19 PM, Danny Song dfson...@gmail.com wrote:
 I attached ov5640 to CB2 CS1 bus.
 Have you enabled the ov5640 successfully ?

Only ov5640 I have is the one in the EU3000. It works with the
standard Allwinner Android image.

So you build some kind of converter board from a FPC cable to the CB2 pins?




 2014-07-12 1:17 GMT+08:00 jonsm...@gmail.com jonsm...@gmail.com:

 On Fri, Jul 11, 2014 at 12:09 PM,  dfson...@gmail.com wrote:
  Hi, All
  I am debugging ov5640 on CB2 now.
  Who have enabled the ov5640 on CB1 or 2 successfully? Hope you to share
  the experience here.

 How did you attach the sensor to the CB2?


  On Friday, July 4, 2014 7:53:17 PM UTC+8, alex simohin wrote:
  Hi! I've done everything according to the instructions
  http://docs.cubieboard.org/tutorials/dvk521/documentations/a20/driver_porting_and_configuration.
  fex file I changed to ov5640. Pay attention to the sections in the manual
  porting I2C bus driver and porting csi driver.
 
  вторник, 1 июля 2014 г., 11:40:54 UTC+4 пользователь zahra...@gmail.com
  написал:On Thursday, June 26, 2014 10:48:35 AM UTC+4:30, alex simohin 
  wrote:
   Hello everyone! I want to run on the OV5642 sensor cubieboard2 (A20).
   First tried to run OV7670. Works well. Ov5642 sensor used in another
   project, so the working registers I have. Tried to use them in the 
   driver
   ov5640 and get a green screen with lower stripes, and in the 
   background, the
   image movement visible. I do not know what the problem is. Maybe the 
   wrong
   color conversion? Tested through gstreamer rtp on hardware encoder 
   cedar264.
   Tried to jpeg-encode the same picture.
  hi alex how did you run ov7670 on A20 could you please share your fex
  and any other important settings?
  thanks,
  вторник, 1 июля 2014 г., 11:40:54 UTC+4 пользователь zahra...@gmail.com
  написал:On Thursday, June 26, 2014 10:48:35 AM UTC+4:30, alex simohin 
  wrote:
   Hello everyone! I want to run on the OV5642 sensor cubieboard2 (A20).
   First tried to run OV7670. Works well. Ov5642 sensor used in another
   project, so the working registers I have. Tried to use them in the 
   driver
   ov5640 and get a green screen with lower stripes, and in the 
   background, the
   image movement visible. I do not know what the problem is. Maybe the 
   wrong
   color conversion? Tested through gstreamer rtp on hardware encoder 
   cedar264.
   Tried to jpeg-encode the same picture.
  hi alex how did you run ov7670 on A20 could you please share your fex
  and any other important settings?
  thanks,
 
  --
  You received this message because you are subscribed to the Google
  Groups linux-sunxi group.
  To unsubscribe from this group and stop receiving emails from it, send
  an email to linux-sunxi+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.



 --
 Jon Smirl
 jonsm...@gmail.com

 --
 You received this message because you are subscribed to a topic in the
 Google Groups linux-sunxi group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/linux-sunxi/ijitRnbl8c8/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 linux-sunxi+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


 --
 You received this message because you are subscribed to the Google Groups
 linux-sunxi group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
Jon Smirl
jonsm...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: A20 + OV5640 (parallel) issues

2014-07-11 Thread Adilson Oliveira
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Em 11-07-2014 14:19, Danny Song escreveu:
 I attached ov5640 to CB2 CS1 bus. Have you enabled the ov5640
 successfully ?

I was told by the manufacturer of eu3000 board they are moving to the
s5k4ec sensor because the OV5640 is been phased out.
I'm not 100% sure if this is true because just a design engineer told
me that but, worth the heads up I guess.

[]s

Adilson.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJTwB3MAAoJENqn0z1Ab/BxT2IH/0mO0sD4Oh0P/hbIKNuR0gPp
ejMi5Vc+IE475p/jIsNfUcXGoxuTd8iXLVjEt27UKaa96y2dU16jfC4DTy/nqrqk
Vov/IfWtWlbQZOZeu/EWzF2lJIkvNxnOjWaJ491ah9i+w0c4zKSjIEkmr/9XqoAa
BjtqjSW5268fMwrH2b2Z+XMEDtV8tByiCwyHDZvanw/tp6lnBc49YHj6pEZxi6lI
k49loXlUNPz81yF3xJGpihd29iwn9Tw5d16KuA9R1/CQcLKezVyF1OoBGlV+hgAS
dhFmwaoJK/PoybfVnKjUGKz3STr6tNHVAcn0ihmtu2lygwWkoF0UvXm4K2l0emI=
=T6Rh
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Experimenting with eu3000 board

2014-07-11 Thread Luc Verhaegen
On Thu, Jul 10, 2014 at 05:59:59PM -0300, Adilson Oliveira wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 Hello folks
 
 First of all, let me thank you for the amazing work done by this
 group. I stumbled upon the linux-sunxi website recently and decide to
 rekindle my interest in embedded devices using a eu3000. I just done a
 few quick experiments here, booting Linaro from the SD and now I'm
 checking on 3 things:
 - - How to write to the nand. Already checking the
 http://linux-sunxi.org/Installing_to_NAND but I wonder if a LiveSuit
 image could be created.
 - - Camera support. Looks like it's an ov5436 but it does not seem to
 work, the boot does not find it.
 - - Same with wifi.

 Does anyone here have any experience with the device that can share?

No, as Jon Smirl failed to do http://linux-sunxi.org/New_Device_howto

 The backlog on this list seems to be quite sparse on that.
 
 All the best

You can fix this by working through 
http://linux-sunxi.org/New_Device_howto

Luc Verhaegen.

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: GSoC 2014 #0 status report - Improving Allwinner SoC support

2014-07-11 Thread Emilio López

Hi,

El 10/07/14 17:39, Maxime Ripard escribió:

Lately, I have also been working on the audio part, now that I have
a working DMA driver. After implementing cyclic DMA transfers and
some clock code, and armed with a Buildroot image with mpg123 and an
OpenBSD release track[5] in mp3 format, I've been trying to get some
sound out of my Cubietruck's headphone jack, but without much
success so far. I have verified my userspace stack and hardware by
running these same binaries on top of the linux-sunxi 3.4 kernel,
and it worked fine. I have since then been dumping relevant
registers with devmem and comparing them, resolving issues as I see
them - hopefully this will yield some audible results.


What have you been working on? A new driver from scratch, tried to
take Allwinner's code and then cleant it up, or used the recently
published driver Jon made?


I've been working on top of Jon's codec patches. Seeing that the last 
series Jon published on his github produces some sound, I got a fresh 
copy of it today, and with some changes on DMAEngine, it's playing nicely.


As cyclic transactions are special (eg, they don't become empty) I 
rewrote the cyclic support Jon had, making it issue subsequent transfers
directly from the interrupt request, and minimizing the number of times 
this needs to be done. If we use the half done interrupt, we can get 
away with one hardware programming per two periods.


It's rather late now and I still need to clean up the code a bit, but 
I'll push a branch with these changes on my repo during the weekend.



Interestingly enough, Allwinner themselves do not seem to be using
cyclic DMA transfers on their driver[6]. I hope this is not a sign
of a hardware bug that's not documented.


So they just implement a cyclic-like behaviour in software?


Yep, they have this code to cycle through the buffer

https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.4/sound/soc/sunxi/sunxi-codec.c#L648

Cheers!

Emilio

--
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.