Re: [linux-sunxi] Re: Olimex Lime A10 board corrupts SD card

2014-11-04 Thread Dennis Kerrisk
Even at 900Mhz I am still getting corruption on the SD card. 

Dennis

-- 
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] Olimex Lime A10 board corrupts SD card

2014-10-31 Thread Dennis Kerrisk
I am running a Debian A10 image on an Olimex Lime A10 board from a 16 gig 
micro SD card. It boots and runs fine, but if I try to add or update 
package it corrupts the SD card. Am I doing something wrong or is there 
something I need to do before adding packages.

Dennis

-- 
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] Olimex Lime A10 board corrupts SD card

2014-10-31 Thread Dennis Kerrisk
Thanks I'll look at it this morning.

Dennis

-- 
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] Olimex Lime A10 board corrupts SD card

2014-10-31 Thread Dennis Kerrisk
2 rounds of testing and all is goof. Any other ideas?

Dennis

-- 
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 I2s drivers

2014-07-08 Thread Dennis Kerrisk
It works on the A10, but not on the A20. I still have the same issue I had 
a couple of month ago. I get an error when I try to play to it,

Dennis

-- 
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] A20 I2s drivers

2014-07-02 Thread Dennis Kerrisk
I have been off working on another project for the last few months. Are 
there any patches the fix the I2S output on an A20 board??

Dennis

-- 
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] Olimex A20 Sata

2014-04-23 Thread Dennis Kerrisk
What kernel config options do I need to enable the SATA port on my Olimex 
A20 board? I did not see any sunxi specific options in in menuconfig



Dennis

-- 
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] Olimex A20 SPDIF output

2014-04-22 Thread Dennis Kerrisk

Thanks this guide will help me. 

Dennis

-- 
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] Olimex A20 SPDIF output

2014-04-21 Thread Dennis Kerrisk

Thanks. I will look at this today.

-- 
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] Olimex A20 SPDIF output

2014-04-21 Thread Dennis Kerrisk
How do I set up the gpio correctly?

Dennis

-- 
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: USB audio issue

2014-04-18 Thread Dennis Kerrisk
My hardware can definitly support to 192k. I have tried 2 kinds of
hardware, a high end Audio DAC and a USB to I2s converter.Both work on
windows to 192k.

Using aplay it showed on the console it was set to the proper samplerate.
mpd there is no easy way to tell. I guess I will have to try this at home
on my ubuntu system.

Dennis


On Thu, Apr 17, 2014 at 4:23 PM, Stefan Monnier monn...@iro.umontreal.cawrote:

  I am running an Olimex A20 board running 2.4.79+.
  I am having an issue when playing USB audio. The audio always plays at
 48K
  no matter what the original sample rate is. I have tried with aplay and
  with mpd.If I play  a 44.1k file or a 192k file my DAC always shows 48k.
  aplay says it is playing at the correct sample rate:

 Just a stab in the dark: many cheap USB audio dongles only provide
 48KHz sample rate.  So maybe it's just the only sample supported by your
 hardware (and alsa or mpd then has to resample to account for that, but
 AFAIK they're both equipped to that transparently).


 Stefan

 --
 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/VMtaEDS046M/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.


[linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Dennis Kerrisk
I have an Olimex A20 board. My kernel has SPDIF compiled in. aplay sees the 
SPDIF and plays to it. But there is no data on the pins I have defined for 
it. 

What am I missing? What else do I need to setup to make this work?

Dennis

-- 
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] Olimex A20 SPDIF output

2014-04-18 Thread Dennis Kerrisk
What do you mean see the spdif illuminate?, I am currently just checking 
the pins with a scope. I see no activity on the pins, so I probably need to 
set up the gpio.

Yes, I can try out your patches. I am also still working on getting the I2s 
to work correctly on the A20. 

Dennis

-- 
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] Olimex A20 SPDIF output

2014-04-18 Thread Dennis Kerrisk
Yes I have modified my .fex file. I will look into the gpio. 

The I2s works on my A10 board but not my A20 board, so I am tracking down 
why. 

Dennis

-- 
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] USB audio issue

2014-04-17 Thread Dennis Kerrisk
I am running an Olimex A20 board running 2.4.79+.
I am having an issue when playing USB audio. The audio always plays at 48K 
no matter what the original sample rate is. I have tried with aplay and 
with mpd.If I play  a 44.1k file or a 192k file my DAC always shows 48k. 
aplay says it is playing at the correct sample rate:

root@OlimexWork:/usr/src/i2c# aplay  -D sysdefault:P20 /usr/src/y.wav
Playing WAVE '/usr/src/y.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo

What I want to know is this an ALSA or a USB driver issue? Or something 
else I am doing wrong. When I can get an Ubuntu x86 system, I will tryi it 
there.



Dennis

-- 
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] Olimex A20 board now hangs on boot.

2014-04-14 Thread Dennis Kerrisk
My Olimex A20 board is now locking up on boot. It gets so far and just 
Hangs. 
Here is where it hangs at:

[sw-ehci1]: open clock
[3.187148] [sw-ehci1]: open clock
[sw-ehci1]: Set USB Power ON
[3.213155] [sw-ehci1]: Set USB Power ON
6sw-eh


Does anyone have any ideas what my problem is? I thought it might be my 
kernel, but it now does the same thing with the original kernel I started 
with.

Dennis

-- 
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: Olimex A20 board now hangs on boot.

2014-04-14 Thread Dennis Kerrisk
There is only a USB to I2S converter connected to the USB. And it does the 
same thing with it removed.

Dennis

On Monday, April 14, 2014 6:52:54 AM UTC-6, TsvetanUsunov wrote:

 this usually happens when your power supply is not enough

 what you have connected to USB?
 do you have big LCD attached to LCD connector without external power 
 supply connected to it?

 Tsvetan

 14 април 2014, понеделник, 15:37:11 UTC+3, Dennis Kerrisk написа:

 My Olimex A20 board is now locking up on boot. It gets so far and just 
 Hangs. 
 Here is where it hangs at:

 [sw-ehci1]: open clock
 [3.187148] [sw-ehci1]: open clock
 [sw-ehci1]: Set USB Power ON
 [3.213155] [sw-ehci1]: Set USB Power ON
 6sw-eh


 Does anyone have any ideas what my problem is? I thought it might be my 
 kernel, but it now does the same thing with the original kernel I started 
 with.

 Dennis



-- 
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: Olimex A20 board now hangs on boot.

2014-04-14 Thread Dennis Kerrisk
Thanks. I upgraded my power suply and it works now!!
Dennis

On Monday, April 14, 2014 6:58:33 AM UTC-6, Dennis Kerrisk wrote:

 There is only a USB to I2S converter connected to the USB. And it does the 
 same thing with it removed.

 Dennis

 On Monday, April 14, 2014 6:52:54 AM UTC-6, TsvetanUsunov wrote:

 this usually happens when your power supply is not enough

 what you have connected to USB?
 do you have big LCD attached to LCD connector without external power 
 supply connected to it?

 Tsvetan

 14 април 2014, понеделник, 15:37:11 UTC+3, Dennis Kerrisk написа:

 My Olimex A20 board is now locking up on boot. It gets so far and just 
 Hangs. 
 Here is where it hangs at:

 [sw-ehci1]: open clock
 [3.187148] [sw-ehci1]: open clock
 [sw-ehci1]: Set USB Power ON
 [3.213155] [sw-ehci1]: Set USB Power ON
 6sw-eh


 Does anyone have any ideas what my problem is? I thought it might be my 
 kernel, but it now does the same thing with the original kernel I started 
 with.

 Dennis



-- 
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] Olimex A20 board I2s not starting for clock failure.

2014-04-09 Thread Dennis Kerrisk
I have an Olimex A20 board running version 3.4.79. I have built it to 
enable I2S, but when I boot I get 
[3.141094] try to set parent of i2s_moduleclk to i2s_pll2ck failed! 
line = 603

And the I2s driver does not start. 

The lines of code in the driver that fails is:
if(clk_set_rate(i2s_moduleclk, 24576000/8)){
printk(set i2s_moduleclk clock freq to 24576000 failed! line = 
%d\n, __LINE__);
goto out1;
} 

Any suggestions on what to look for to get this working???/

Dennis


-- 
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: Olimex A20 board I2s not starting for clock failure.

2014-04-09 Thread Dennis Kerrisk
Oops I grapped the wrong lines of code, Here are the correct ones:
if(clk_set_parent(i2s_moduleclk, i2s_pll2clk)){
printk(try to set parent of i2s_moduleclk to i2s_pll2ck failed! 
line = %d\n,__LINE__);
goto out1;
}
  Dennis

On Wednesday, April 9, 2014 7:05:27 AM UTC-6, Dennis Kerrisk wrote:

 I have an Olimex A20 board running version 3.4.79. I have built it to 
 enable I2S, but when I boot I get 
 [3.141094] try to set parent of i2s_moduleclk to i2s_pll2ck failed! 
 line = 603

 And the I2s driver does not start. 

 The lines of code in the driver that fails is:
 if(clk_set_rate(i2s_moduleclk, 24576000/8)){
 printk(set i2s_moduleclk clock freq to 24576000 failed! line = 
 %d\n, __LINE__);
 goto out1;
 } 

 Any suggestions on what to look for to get this working???/

 Dennis




-- 
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: Olimex A20 board I2s not starting for clock failure.

2014-04-09 Thread Dennis Kerrisk
Thanks I'll try that right now.

Dennis


On Wed, Apr 9, 2014 at 7:38 AM, Code Kipper codekip...@gmail.com wrote:

 0n 9 April 2014 15:13, Dennis Kerrisk dennisk8...@gmail.com wrote:

 Oops I grapped the wrong lines of code, Here are the correct ones:
 if(clk_set_parent(i2s_moduleclk, i2s_pll2clk)){
 printk(try to set parent of i2s_moduleclk to i2s_pll2ck failed!
 line = %d\n,__LINE__);
 goto out1;
 }
   Dennis


 On Wednesday, April 9, 2014 7:05:27 AM UTC-6, Dennis Kerrisk wrote:

 I have an Olimex A20 board running version 3.4.79. I have built it to
 enable I2S, but when I boot I get
 [3.141094] try to set parent of i2s_moduleclk to i2s_pll2ck failed!
 line = 603

 And the I2s driver does not start.

 The lines of code in the driver that fails is:
 if(clk_set_rate(i2s_moduleclk, 24576000/8)){
 printk(set i2s_moduleclk clock freq to 24576000 failed! line =
 %d\n, __LINE__);
 goto out1;
 }

 Any suggestions on what to look for to get this working???/

 Hi Dennis,
 a quick grep shows that the clocks in i2s haven't been changed for
 sun7i(A20). A quick hack would be something like this.
 /* i2s module clk */
 i2s_moduleclk = clk_get(NULL, i2s0);
 CK


 Dennis


  --
 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.


  --
 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/qILi8L-Z2mA/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: Olimex A20 board I2s not starting for clock failure.

2014-04-09 Thread Dennis Kerrisk
Thanks, that got it showing up. Now fore testing. 


Dennis

On Wednesday, April 9, 2014 7:38:45 AM UTC-6, CodeKipper wrote:

 0n 9 April 2014 15:13, Dennis Kerrisk denni...@gmail.com javascript:wrote:

 Oops I grapped the wrong lines of code, Here are the correct ones:
 if(clk_set_parent(i2s_moduleclk, i2s_pll2clk)){
 printk(try to set parent of i2s_moduleclk to i2s_pll2ck failed! 
 line = %d\n,__LINE__);
 goto out1;
 }
   Dennis


 On Wednesday, April 9, 2014 7:05:27 AM UTC-6, Dennis Kerrisk wrote:

 I have an Olimex A20 board running version 3.4.79. I have built it to 
 enable I2S, but when I boot I get 
 [3.141094] try to set parent of i2s_moduleclk to i2s_pll2ck failed! 
 line = 603

 And the I2s driver does not start. 

 The lines of code in the driver that fails is:
 if(clk_set_rate(i2s_moduleclk, 24576000/8)){
 printk(set i2s_moduleclk clock freq to 24576000 failed! line = 
 %d\n, __LINE__);
 goto out1;
 } 

 Any suggestions on what to look for to get this working???/

 Hi Dennis,
 a quick grep shows that the clocks in i2s haven't been changed for 
 sun7i(A20). A quick hack would be something like this.
 /* i2s module clk */
 i2s_moduleclk = clk_get(NULL, i2s0);
 CK
  

 Dennis


  -- 
 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...@googlegroups.com javascript:.
 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.


[linux-sunxi] A20 I2S Input/output error whan trying to play

2014-04-09 Thread Dennis Kerrisk
I now have the I2S showing up in ALSA, but when I try to play to it I get:
oot@OlimexWork:~# aplay -D hw:1,0 /usr/src/y.wav
Playing WAVE '/usr/src/y.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
aplay: pcm_write:1710: write error: Input/output error


Here are the outputs from aplay -l and -L
root@OlimexWork:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=sunxicodec
sunxi-CODEC, sunxi PCM
Default Audio Device
sysdefault:CARD=sunxisndi2s
sunxi-sndi2s,
Default Audio Device


root@OlimexWork:~# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sunxisndi2s [sunxi-sndi2s], device 0: SUNXI-I2S sndi2s-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0


What could I be missing or not have set up correctly? 

Dennis

-- 
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 I2S Input/output error whan trying to play

2014-04-09 Thread Dennis Kerrisk
I am also getting dma trigger messages in the log:
[15379.941504] [IIS] dma trigger start
[15379.948491] [IIS] 0x01c22400+0x24 = 0x0, line= 235
[15389.952592] [IIS] dma trigger stop


On Wednesday, April 9, 2014 12:05:39 PM UTC-6, Dennis Kerrisk wrote:

 I now have the I2S showing up in ALSA, but when I try to play to it I get:
 oot@OlimexWork:~# aplay -D hw:1,0 /usr/src/y.wav
 Playing WAVE '/usr/src/y.wav' : Signed 16 bit Little Endian, Rate 44100 
 Hz, Stereo
 aplay: pcm_write:1710: write error: Input/output error


 Here are the outputs from aplay -l and -L
 root@OlimexWork:~# aplay -L
 null
 Discard all samples (playback) or generate zero samples (capture)
 sysdefault:CARD=sunxicodec
 sunxi-CODEC, sunxi PCM
 Default Audio Device
 sysdefault:CARD=sunxisndi2s
 sunxi-sndi2s,
 Default Audio Device


 root@OlimexWork:~# aplay -l
  List of PLAYBACK Hardware Devices 
 card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 1: sunxisndi2s [sunxi-sndi2s], device 0: SUNXI-I2S sndi2s-0 []
   Subdevices: 1/1
   Subdevice #0: subdevice #0


 What could I be missing or not have set up correctly? 

 Dennis


-- 
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 I2S Input/output error whan trying to play

2014-04-09 Thread Dennis Kerrisk
Thanks
I will check out what I did on the A10 board. I did notice some differences 
in sunxi-i2sdma.c There are some if CONFIG_ARCH_SUN4I || CONFIG_ARCH_SUN5I 
that don't include the CONFIG_ARCH_SUN7I.  And if I include 
CONFIG_ARCH_SUN7I I get errors So I will follow that back.

I am trying to play to an external I2S DAC, but that should not matter, 
because there is no feedback from the DAC. I will probably just disconnect 
it and hook up my scope,

Dennis

On Wednesday, April 9, 2014 12:51:56 PM UTC-6, CodeKipper wrote:




 On 9 April 2014 20:28, Dennis Kerrisk denni...@gmail.com javascript:wrote:

 I am also getting dma trigger messages in the log:
 [15379.941504] [IIS] dma trigger start
 [15379.948491] [IIS] 0x01c22400+0x24 = 0x0, line= 235
 [15389.952592] [IIS] dma trigger stop



 On Wednesday, April 9, 2014 12:05:39 PM UTC-6, Dennis Kerrisk wrote:

 I now have the I2S showing up in ALSA, but when I try to play to it I 
 get:
 oot@OlimexWork:~# aplay -D hw:1,0 /usr/src/y.wav
 Playing WAVE '/usr/src/y.wav' : Signed 16 bit Little Endian, Rate 44100 
 Hz, Stereo
 aplay: pcm_write:1710: write error: Input/output error


 Here are the outputs from aplay -l and -L
 root@OlimexWork:~# aplay -L
 null
 Discard all samples (playback) or generate zero samples (capture)
 sysdefault:CARD=sunxicodec
 sunxi-CODEC, sunxi PCM
 Default Audio Device
 sysdefault:CARD=sunxisndi2s
 sunxi-sndi2s,
 Default Audio Device


 Hi Dennis,
 It is probably worth retracing your steps on the A10 board. What are you 
 connecting to?
 and how are you configuring it? I think you're entering uncharted 
 territory so it would be
 nice to get the overall picture. You will need to add some debugging to 
 the triggering functions
 to ensure they are being called and would also be wise to get a snap shot 
 of the register 
 values before playback/capture occurs.
 I've no linux experience with i2s but I would be under the impression that 
 you would be 
 interfacing to a codec driver (loads of which live under sound/soc/codecs) 
 and that will
 have to be a glue layer between that and the i2s driver.
 If anybody else has soon i2s experience of the A10 or linux then please 
 share,
 CK



 root@OlimexWork:~# aplay -l
  List of PLAYBACK Hardware Devices 
 card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 1: sunxisndi2s [sunxi-sndi2s], device 0: SUNXI-I2S sndi2s-0 []
   Subdevices: 1/1
   Subdevice #0: subdevice #0


 What could I be missing or not have set up correctly? 

 Dennis

  -- 
 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...@googlegroups.com javascript:.
 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.


[linux-sunxi] Re: i2s audio codec support for sun7i

2014-04-08 Thread Dennis Kerrisk
Yes, I have i2s running on an A10 mars board. I just enabled the sunxi i2s 
in the kernel config, built the kernel and it worked. But the mars board 
has LED's on the I2S pins, so they are almost impossible to use as I2s. I 
hooked wires up to it for a test and it worked. It showed up in alsa, using 
aplay. I will have to look for my kernel, as I don't think I saved it, I am 
now trying to get I2S to work on an A20 olimex board, because it have the 
I2S brought out to a header. I have a kernel built and loaded, but the I2S 
does not show up in aplay, so I am trying to track down what I am missing. 
If I find my kernel log from the mares board, I will let you know. I do 
have the kernel .config if you want that.

Dennis


On Monday, April 7, 2014 10:48:48 PM UTC-6, Puneet B wrote:

 Hi Dennis,

 How you done i2s porting on A10?

 Can you share kernel log?.

 are you getting audio through i2s codec?

 You help will be greatly appreciable.

 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: i2s audio codec support for sun7i

2014-04-08 Thread Dennis Kerrisk
Looks like I uploaded the wrong config.

On Wednesday, February 19, 2014 5:05:28 AM UTC-7, Puneet B wrote:

 Hi i downloaded sunxi kernel 3.4 from below link.


 http://docs.cubieboard.org/tutorials/ct1/development/compiling_latest_kernel_for_cubietruck_cubieboard3
 .

 i changed default configuration to sun7i_defconfig.

 but for sun7i there is no i2s codec support, it is for only sun4i and 
 sun5i( i saw from menuconfig ).

 How to get i2s codec support in my A20 board.

 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: i2s audio codec support for sun7i

2014-04-07 Thread Dennis Kerrisk
I have an A10 marsboard with i2s running. I just built the kernel for an 
A20 Olimex board, and I have the the same alsa packages on the olimex 
board.But the I2S does not show up on the olimex board.  What am I missing?

On Wednesday, February 19, 2014 5:05:28 AM UTC-7, Puneet B wrote:

 Hi i downloaded sunxi kernel 3.4 from below link.


 http://docs.cubieboard.org/tutorials/ct1/development/compiling_latest_kernel_for_cubietruck_cubieboard3
 .

 i changed default configuration to sun7i_defconfig.

 but for sun7i there is no i2s codec support, it is for only sun4i and 
 sun5i( i saw from menuconfig ).

 How to get i2s codec support in my A20 board.

 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.