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

2015-12-04 Thread Puneet B
Hi

I did only playback in my A20 setup, for record may be you need to
configure codec register properly.
and also check your machine driver is configure properly for capture the
audio.



On Wed, Dec 2, 2015 at 5:26 PM, <omeraygo...@gmail.com> wrote:

> Dear Punith
>
> my codec is working as playback device.
> i am trying to work with as capture device.
>
> i connect tlv320aic via i2s and i am contorlling tlv's registers as
> manually using i2c. it is working while play mode.
>
> my console logs is below.
>
> and i sniffed i2s data in of A20 , the sound signal is exist.
>
> do you have any idea why not work capture?
>
> root@marsboard:/var/app/sound# 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
>
> root@marsboard:/var/app/sound# arecord -l
>  List of CAPTURE 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
> root@marsboard:/var/app/sound#
>
> root@marsboard:/var/app/sound# arecord - /dev/null -D hw:1,0 -f S16_LE
> Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 8000 Hz,
> Mono
> Hardware PCM card 1 'sunxi-sndi2s' device 0 subdevice 0
> Its setup is:
>   stream   : CAPTURE
>   access   : RW_INTERLEAVED
>   format   : S16_LE
>   subformat: STD
>   channels : 1
>   rate : 8000
>   exact rate   : 8000 (8000/1)
>   msbits   : 16
>   buffer_size  : 8192
>   period_size  : 2048
>   period_time  : 256000
>   tstamp_mode  : NONE
>   period_step  : 1
>   avail_min: 2048
>   period_event : 0
>   start_threshold  : 1
>   stop_threshold   : 8192
>   silence_threshold: 0
>   silence_size : 0
>   boundary     : 1073741824
>   appl_ptr : 0
>   hw_ptr   : 0
> arecord: pcm_read:1801: read error: Input/output error
>
>
>
>
>
>
>
> On Saturday, April 4, 2015 at 11:25:36 AM UTC+2, Puneet B wrote:
> > You need to check codec driver and please aware of that whatever you are
> doing in machine driver should be supported
> > from codec driver.
> >
> >
> > Check the difference of codec drivers.
> >
> > Regards
> > Punith
> >
> >
> >
> > On Sat, Apr 4, 2015 at 1:59 PM, OMER AYGOR EYZA TEKNOLOJİ <
> oay...@eyzateknoloji.com> wrote:
> >
> >
> > hi
> >
> > i tried your machine code and log is like this:
> >
> > root@marsboard:~# mplayer -ao alsa:device=hw=2.0 a.mp3
> > MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
> > mplayer: could not connect to socket
> > mplayer: No such file or directory
> > Failed to open LIRC support. You will not be able to use your remote
> control.
> >
> > Playing a.mp3.
> > Detected file format: MPEG audio layer 2/3 (libavformat)
> > [mp3 @ 0xb5b3c558]max_analyze_duration reached
> > [mp3 @ 0xb5b3c558]Estimating duration from bitrate, this may be
> inaccurate
> > [lavf] stream 0: audio (mp3), -aid 0
> > Clip info:
> >  title: Overprotected
> >  artist: Britney Spears
> >  genre: Other
> > Load subtitles in .
> >
> ==
> > Requested audio codec family [mpg123] (afm=mpg123) not available.
> > Enable it at compilation.
> > Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> > AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16000->352800)
> > Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3
> audio)
> >
> ==
> > [AO_ALSA] Format floatle is not psupported by hardware, trying default.
> > uneet rx51_hw_params
> > [   47.143600] puneet rx51_hw_params
> > puneet@TLV320AIC3100 aic31xx_set_dai_fmt
> > [   47.151019] puneet@TLV320AIC3100 aic31xx_set_dai_fmt
> > puneet@TLV320AIC3100 aic31xx_change_page
> > [   47.159817] puneet@TLV320AIC3100 aic31xx_change_page
> > ##+ aic31xx_set_dai_fmt (4101)
> > [   47.169024] ##+ aic31xx_set_dai_fmt (4101)
> > ##- aic31xx_set_dai_fmt (0)
> > [   47.175716] ##- aic31xx_set_dai_fmt (0)
> > puneet@TLV320AIC3100 aic31xx_set_dai_sysclk
> > [   47.184386] puneet@TLV320AIC3100 aic31xx_set_dai_sysclk
> > ##aic31xx_set_dai_sysclk c

[linux-sunxi] 6LowPan Suuport in linux-sunxi kernel

2015-05-07 Thread Puneet B
Hi ALL,

I need to test IOT kind of application with A20 board, but to test i need 
kernel which will support 6LowPan .
But only kernel 3.17 and above will support 6LowPan. So is it any branch of 
this kernel for A20 or  is it possible 
to make 3.4 to support 6LowPan?.

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.


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

2015-03-23 Thread Puneet B
Made the codec driver as kernel driver not as module(make all as drivers
not as module)  and add printk statement in probe function of codec driver.
Then ensure that in log you are getting that message.

Regards
Puntih

On Mon, Mar 23, 2015 at 6:11 PM, OMER AYGOR EYZA TEKNOLOJİ 
oay...@eyzateknoloji.com wrote:

 i used same i2c with you.
 is there any way to check whether sound card is created or not.

 my proc/modules is
 cat /proc/modules
 snd_soc_tlv320aic3x 32090 0 - Live 0xbf283000
 g_mass_storage 43040 0 - Live 0xbf259000
 bnep 13989 2 - Live 0xbf251000
 rfcomm 57794 0 - Live 0xbf23a000
 bluetooth 262236 10 bnep,rfcomm, Live 0xbf13b000
 sunxi_sndi2s 3543 0 - Live 0xbf137000
 sunxi_i2s 6772 1 - Live 0xbf132000
 sunxi_i2sdma 4995 1 - Live 0xbf12d000
 sndi2s 3085 1 - Live 0xbf129000
 sunxi_cedar_mod 9760 0 - Live 0xbf122000
 mali 111646 0 - Live 0xbf0f9000
 ump 50945 1 mali, Live 0xbf0e6000
 hdmi 31945 0 - Live 0xbf0cc000
 sunxi_gmac 29321 0 - Live 0xbf0bf000
 8188eu 500444 0 - Live 0xbf02d000
 sg 22771 0 - Live 0xbf022000
 usb_storage 45317 0 - Live 0xbf00
 root@marsboard:/lib/modules/3.4.103+/kernel/sound/soc/codecs#

 as you see, snd_soc_tlv320aic3x  module is loaded.



 2015-03-23 13:22 GMT+02:00 Puneet B punit...@gmail.com:

 Still sound card not created , for that you need to change machine driver
 code with i2c bus number and address.
 same thing you need to add in device.c file. First ensure that codec
 driver probe in calling.

 Regards
 Punith

 On Mon, Mar 23, 2015 at 3:46 PM, OMER AYGOR EYZA TEKNOLOJİ 
 oay...@eyzateknoloji.com wrote:

 Hi thanks for your replay.

 when i load your machine code. it looks like this:
 root@marsboard:/lib/modules/3.4.103+/kernel/sound/soc/sunxi/i2s#
 modprobe snd-soc-rx51
 4soc-audio soc-audio.3: ASoC machine RX-51 should use
 snd_soc_register_card()
 [ 1625.151383] soc-audio soc-audio.3: ASoC machine RX-51 should use
 snd_soc_register_card()

 i think i2s works:
 root@marsboard:/lib/modules/3.4.103+/kernel/sound/soc/sunxi/i2s# ls
 /dev/snd/
 by-path  controlC0  controlC1  pcmC0D0c  pcmC0D0p  pcmC1D0p  timer

 root@marsboard:/lib/modules/3.4.103+/kernel/sound/soc/sunxi/i2s# 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

 i connet logic anaalyser. there is not any song i played. but some i2s
 signals is showing up on the line.
 i didnt understand.

 but for now my problem is machine driver has fault. did you get any
 error like this.


 [image: Satır içi resim 1]



 2015-03-23 7:16 GMT+02:00 Puneet B punit...@gmail.com:

 If you look at some of example code of machine driver you will get it.
 like ompa, davinic

 Actually you need to make your machine driver should compile by making
 changes in Kconfig and makefile.
 then your machine driver will create the snd node file by linking
 platform and codec driver .

 Regards
 Punith

 On Sat, Mar 21, 2015 at 1:49 AM, omeraygo...@gmail.com wrote:

 hi,

 where will we put the file (rx51.c) that you gave?
 A20 sees as module tlv320 but alsa dont include it.
 when i write aplay -l , only sunxi device is showing.

 i looked with logic anaylzer to i2c pins. scl and sda works.

 Thanks for your help.



 On Tuesday, January 6, 2015 at 7:46:40 AM UTC+2, Puneet B wrote:
  i used i2c second bus,
 
  [twi2_para]
  twi2_used = 1
  twi2_scl = port:PB202defaultdefaultdefault
  twi2_sda = port:PB212defaultdefaultdefault
 
  Regards
  Punith
 
 
 
  On Mon, Jan 5, 2015 at 11:28 PM,  omera...@gmail.com wrote:
  Hi Punith B,
 
 
 
  which i2c pin did you use?
 
 
 
 
 
  On Saturday, September 27, 2014 8:19:22 AM UTC+3, Puneet B wrote:
 
Hi Rafel,
 
  
 
   The fex file i have attached in my previous post i did not done
 any changes.
 
   and here my machine driver .
 
  
 
   in device.c file just add fallowing line.
 
   +static struct i2c_board_info __initdata aic3x_i2c_board_info[] = {
 
   +{
 
+   .type = tlv320aic31xx,
 
+   .addr = 0x18,
 
   +}
 
   +};
 
   void __init sw_pdev_init(void)
 
   {
 
   platform_add_devices(sw_pdevs, ARRAY_SIZE(sw_pdevs));
 
   +i2c_register_board_info(2, aic3x_i2c_board_info,
 
 +  ARRAY_SIZE(aic3x_i2c_board_info));
 
   }
 
  
 
   which kernel you are using?.
 
  
 
   Regards
 
   Punith
 
 
 
  --
 
  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/t44VY2-cOMo/unsubscribe.
 
  To unsubscribe from this group and all its topics, send an email to
 linux-sunxi...@googlegroups.com.
 
  For more options, visit https://groups.google.com/d/optout.

 --
 You received this message because you are subscribed to a topic

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

2015-03-23 Thread Puneet B
Still sound card not created , for that you need to change machine driver
code with i2c bus number and address.
same thing you need to add in device.c file. First ensure that codec driver
probe in calling.

Regards
Punith

On Mon, Mar 23, 2015 at 3:46 PM, OMER AYGOR EYZA TEKNOLOJİ 
oay...@eyzateknoloji.com wrote:

 Hi thanks for your replay.

 when i load your machine code. it looks like this:
 root@marsboard:/lib/modules/3.4.103+/kernel/sound/soc/sunxi/i2s# modprobe
 snd-soc-rx51
 4soc-audio soc-audio.3: ASoC machine RX-51 should use
 snd_soc_register_card()
 [ 1625.151383] soc-audio soc-audio.3: ASoC machine RX-51 should use
 snd_soc_register_card()

 i think i2s works:
 root@marsboard:/lib/modules/3.4.103+/kernel/sound/soc/sunxi/i2s# ls
 /dev/snd/
 by-path  controlC0  controlC1  pcmC0D0c  pcmC0D0p  pcmC1D0p  timer

 root@marsboard:/lib/modules/3.4.103+/kernel/sound/soc/sunxi/i2s# 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

 i connet logic anaalyser. there is not any song i played. but some i2s
 signals is showing up on the line.
 i didnt understand.

 but for now my problem is machine driver has fault. did you get any error
 like this.


 [image: Satır içi resim 1]



 2015-03-23 7:16 GMT+02:00 Puneet B punit...@gmail.com:

 If you look at some of example code of machine driver you will get it.
 like ompa, davinic

 Actually you need to make your machine driver should compile by making
 changes in Kconfig and makefile.
 then your machine driver will create the snd node file by linking
 platform and codec driver .

 Regards
 Punith

 On Sat, Mar 21, 2015 at 1:49 AM, omeraygo...@gmail.com wrote:

 hi,

 where will we put the file (rx51.c) that you gave?
 A20 sees as module tlv320 but alsa dont include it.
 when i write aplay -l , only sunxi device is showing.

 i looked with logic anaylzer to i2c pins. scl and sda works.

 Thanks for your help.



 On Tuesday, January 6, 2015 at 7:46:40 AM UTC+2, Puneet B wrote:
  i used i2c second bus,
 
  [twi2_para]
  twi2_used = 1
  twi2_scl = port:PB202defaultdefaultdefault
  twi2_sda = port:PB212defaultdefaultdefault
 
  Regards
  Punith
 
 
 
  On Mon, Jan 5, 2015 at 11:28 PM,  omera...@gmail.com wrote:
  Hi Punith B,
 
 
 
  which i2c pin did you use?
 
 
 
 
 
  On Saturday, September 27, 2014 8:19:22 AM UTC+3, Puneet B wrote:
 
Hi Rafel,
 
  
 
   The fex file i have attached in my previous post i did not done any
 changes.
 
   and here my machine driver .
 
  
 
   in device.c file just add fallowing line.
 
   +static struct i2c_board_info __initdata aic3x_i2c_board_info[] = {
 
   +{
 
+   .type = tlv320aic31xx,
 
+   .addr = 0x18,
 
   +}
 
   +};
 
   void __init sw_pdev_init(void)
 
   {
 
   platform_add_devices(sw_pdevs, ARRAY_SIZE(sw_pdevs));
 
   +i2c_register_board_info(2, aic3x_i2c_board_info,
 
 +  ARRAY_SIZE(aic3x_i2c_board_info));
 
   }
 
  
 
   which kernel you are using?.
 
  
 
   Regards
 
   Punith
 
 
 
  --
 
  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/t44VY2-cOMo/unsubscribe.
 
  To unsubscribe from this group and all its topics, send an email to
 linux-sunxi...@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/t44VY2-cOMo/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 a topic in the
 Google Groups linux-sunxi group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/linux-sunxi/t44VY2-cOMo/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.




 --
 ...

 *​*
 *Sayg. / Best Regards*

 *ÖMER AYGÖR*
 Elektronik Ar-Ge Mühendisi



 *www.eyzateknoloji.com http://www.eyzateknoloji.com/*
 Tel:05066725407
 Özankara San. Sit. 1122 Cd.
 1418.Sk. No:14 Yenimahalle/ANKARA

 --
 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/t44VY2-cOMo/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 linux-sunxi+unsubscr

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

2015-03-22 Thread Puneet B
If you look at some of example code of machine driver you will get it.
like ompa, davinic

Actually you need to make your machine driver should compile by making
changes in Kconfig and makefile.
then your machine driver will create the snd node file by linking platform
and codec driver .

Regards
Punith

On Sat, Mar 21, 2015 at 1:49 AM, omeraygo...@gmail.com wrote:

 hi,

 where will we put the file (rx51.c) that you gave?
 A20 sees as module tlv320 but alsa dont include it.
 when i write aplay -l , only sunxi device is showing.

 i looked with logic anaylzer to i2c pins. scl and sda works.

 Thanks for your help.



 On Tuesday, January 6, 2015 at 7:46:40 AM UTC+2, Puneet B wrote:
  i used i2c second bus,
 
  [twi2_para]
  twi2_used = 1
  twi2_scl = port:PB202defaultdefaultdefault
  twi2_sda = port:PB212defaultdefaultdefault
 
  Regards
  Punith
 
 
 
  On Mon, Jan 5, 2015 at 11:28 PM,  omera...@gmail.com wrote:
  Hi Punith B,
 
 
 
  which i2c pin did you use?
 
 
 
 
 
  On Saturday, September 27, 2014 8:19:22 AM UTC+3, Puneet B wrote:
 
Hi Rafel,
 
  
 
   The fex file i have attached in my previous post i did not done any
 changes.
 
   and here my machine driver .
 
  
 
   in device.c file just add fallowing line.
 
   +static struct i2c_board_info __initdata aic3x_i2c_board_info[] = {
 
   +{
 
+   .type = tlv320aic31xx,
 
+   .addr = 0x18,
 
   +}
 
   +};
 
   void __init sw_pdev_init(void)
 
   {
 
   platform_add_devices(sw_pdevs, ARRAY_SIZE(sw_pdevs));
 
   +i2c_register_board_info(2, aic3x_i2c_board_info,
 
 +  ARRAY_SIZE(aic3x_i2c_board_info));
 
   }
 
  
 
   which kernel you are using?.
 
  
 
   Regards
 
   Punith
 
 
 
  --
 
  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/t44VY2-cOMo/unsubscribe.
 
  To unsubscribe from this group and all its topics, send an email to
 linux-sunxi...@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/t44VY2-cOMo/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] Re: Hoe to enable CSI CAMERA

2015-02-06 Thread Puneet B
first check , i2cdetect is giving the sensor address or not  , if not 
sensor or connector is an issue.

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.


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

2015-01-05 Thread Puneet B
i used i2c second bus,

[twi2_para]
twi2_used = 1
twi2_scl = port:PB202defaultdefaultdefault
twi2_sda = port:PB212defaultdefaultdefault

Regards
Punith

On Mon, Jan 5, 2015 at 11:28 PM, omeraygo...@gmail.com wrote:

 Hi Punith B,

 which i2c pin did you use?

 On Saturday, September 27, 2014 8:19:22 AM UTC+3, Puneet B wrote:
   Hi Rafel,
 
  The fex file i have attached in my previous post i did not done any
 changes.
  and here my machine driver .
 
  in device.c file just add fallowing line.
  +static struct i2c_board_info __initdata aic3x_i2c_board_info[] = {
  +{
   +   .type = tlv320aic31xx,
   +   .addr = 0x18,
  +}
  +};
  void __init sw_pdev_init(void)
  {
  platform_add_devices(sw_pdevs, ARRAY_SIZE(sw_pdevs));
  +i2c_register_board_info(2, aic3x_i2c_board_info,
+  ARRAY_SIZE(aic3x_i2c_board_info));
  }
 
  which kernel you are using?.
 
  Regards
  Punith

 --
 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/t44VY2-cOMo/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: Nand partition is not ok.

2014-12-03 Thread Puneet B
This problem is because of WP pin in hardware just cut trace of wp pin from 
nand to A20. it will work.
or else keep WP as pullup.


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: is it possible to chnage fb0 width and height for dual display.

2014-11-12 Thread Puneet B
Hi Dmitry,

You are making confused, i tested a10disp in both android and ubuntu.

Can you tell the a10disp command to increase the width and height without 
enabling scaler?.

send the link a10disp which has instruction to enable dual screen after 
boot.

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 - Android HDMI resolutions

2014-11-11 Thread Puneet B
Test by changing fb0 width and height to 1280x720.
Regards
Punith

On Tuesday, November 11, 2014 3:05:25 PM UTC+5:30, sputty wrote:

 stulluk@... writes: 

  
  Hi, sorry for long message, but I am really fighting with this SDK :( 
  
  I am trying to be able to set HDMI resolutions on A20 chip with 
 Android4.2.2 OS. 
  
  I have 2 pcs OLIMEX A20 and 2pcs HummingBird board. I also have two 
 different A20 SDK which correspond to each board. 
  
  In both SDK and both boards, I am modifying sys_config.fex file, and 
 then 
 running following commands: 
  
  ch lichee 
  ./build.sh -p sun7i_android 
  cd ../android4.2 
  source build/envsetup.sh 
  lunch 15 
  make -j8 
  pack 
  
  1) Everytime I modify sys_config.fex file, I have to do above steps, and 
 therefore I created one makeall.sh 
  in top dir, and executes above commands one by one and create an IMG 
 file 
 (~515MByte)... 
  
  I also checked to mount /dev/block/nanda and modify script.bin, but for 
 android, it has no effect, I feel it 
  reads the sys_config parameters somewhere else. 
  
  Does anybody know how to do above steps more easily? When we change 1 
 byte 
 in sys_config.fex, do we have to 
  burn whole 515Mbyte image everytime? 
  
  2) I can set my resolution to 1280x800 with following setting: 
  
  [...] 
  
  Any help will be appreciated.. 
  

 Hi stulluk, 

 I don't know if anyone still reads this old post but maybe we are lucky. 

 As far as I found out you only have to repack the image in the android42 
 directory with 'pack' this seems to be enough if you only changed the 
 sys_config.fex. within th 'pack' command the files are fetched from their 
 various locations and put into the target directory. 

 I found this post recently because also I got a problem getting my HDMI to 
 work with 1280*800px it constantly keeps setting itself to 720p and i do 
 not 
 have a clue why. 
 I figured out the same changes as you did in ther sys_config.fex but this 
 does not seem to be enough. 

 Did you change someting ele than that file to get the resolution? 

 This is driving me insane and I'd really appreciato some help. 

 Thanks in advance 




-- 
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: is it possible to chnage fb0 width and height for dual display.

2014-11-11 Thread Puneet B
 Hi All,

Is it possible to scale the width and height of tv display without enabling 
scaler(By usig a10disp tool)?.
can you tell how can i get full screen on both display?.

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: is it possible to chnage fb0 width and height for dual display.

2014-11-11 Thread Puneet B
 Hi Dmitry,

Thanks for your replay.

I need HDMI and TV both full screen display.

a10disp enablescaler n x100y100 
this is not affecting anything ..

a10disp --screen 1enablescaler n x100y100w720h480 
then getting black screen overlapped on  home screen for screen 1(TV) .

fbset -a -x -xres 720 -yres 480
this will change fb width and height for both display then i will not get 
full screen on HDMI.

if i am enabled scaler . then video output is not coming. so i need to do 
without enabling scaler.

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] is it possible to chnage fb0 width and height for dual display.

2014-11-09 Thread Puneet B
Hi All,

I have anddroid 4.2 in my A20 board with dual display support(HDMI and Tv).
But HDMI is not full screen and some portion is missing in TV.
Once i changed fb0_width=1280 fb0_height=720 , HDMI become full screen but 
TV output is going out of home screen and has some jitter.
i need to change fb0 width and height to TV as 720*480 .
Is it possible, without disturbing HDMI?

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: Cedarx hardware decoder not supporting dual display video output.

2014-10-13 Thread Puneet B
Hi All,

with this branch,
 
https://github.com/mittorn/libvdpau-sunxi

some improvements.

with export VDPAU_SCREEN=0 i am getting video in HDMI.
with export VDPAU_SCREEN=1 i am getting video in TV.

But i want on both.

can any one  tell me what need to change in code. 


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: Cedarx hardware decoder not supporting dual display video output.

2014-10-12 Thread Puneet B
 HI All,

I tried with vlc from below link , but having same result that video 
display is not coming on second display.

http://linux-sunxi.org/VLC

Can anyone know , how to solve this. Kindly suggest me .

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] Cedarx hardware decoder not supporting dual display video output.

2014-10-10 Thread Puneet B
Hi All,

I have ubuntu with linux-sunxi kernel 3.4 with ported cedarx from below 
link.

http://linux-sunxi.org/Cedrus

Now i am able to play videos smoothly in ubuntu with mpv player.

But if enable dual display , i am getting video output only in HDMI and not 
in TV(In TV it is full black screen).

If i enable only one display i am getting video output corresponding to 
display.

But  aby player without cedarx , video output is coming on both display but 
not smoothly. 

Here is my script for display.

[disp_init]
disp_init_enable = 1
disp_mode = 4
screen0_output_type = 3
screen0_output_mode = 4
screen1_output_type = 2
screen1_output_mode = 11
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb0_width = 0
fb0_height = 0
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
fb1_width = 0
fb1_height = 0
lcd0_backlight = 197
lcd1_backlight = 197
lcd0_bright = 50
lcd0_contrast = 50
lcd0_saturation = 57
lcd0_hue = 50
lcd1_bright = 50
lcd1_contrast = 50
lcd1_saturation = 57
lcd1_hue = 50

Can you tell why cedarx not able to play videos on both display?.

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.


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

2014-09-26 Thread Puneet B
 Hi Rafel,

The fex file i have attached in my previous post i did not done any 
changes. 
and here my machine driver .

in device.c file just add fallowing line.
+static struct i2c_board_info __initdata aic3x_i2c_board_info[] = {
+{
 +   .type = tlv320aic31xx,
 +   .addr = 0x18,
+}
+};
void __init sw_pdev_init(void)
{
platform_add_devices(sw_pdevs, ARRAY_SIZE(sw_pdevs));
+i2c_register_board_info(2, aic3x_i2c_board_info,
  +  ARRAY_SIZE(aic3x_i2c_board_info));
}

which kernel you are using?.

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.
/*
 * rx51.c  --  SoC audio for Nokia RX-51
 *
 * Copyright (C) 2008 - 2009 Nokia Corporation
 *
 * Contact: Peter Ujfalusi peter.ujfal...@ti.com
 *  Eduardo Valentin eduardo.valen...@nokia.com
 *  Jarkko Nikula jarkko.nik...@bitmer.com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 *
 */

#include linux/delay.h
#include linux/gpio.h
#include linux/mutex.h
#include linux/platform_device.h
#include linux/clk.h
#include linux/module.h
#include sound/core.h
#include sound/jack.h
#include sound/pcm.h
#include sound/soc.h
#include sound/soc-dapm.h
#include mach/sys_config.h
#include linux/io.h
#include sound/pcm_params.h

#include sun7i-i2s.h
#include sun7i-i2sdma.h


static int rx51_hw_params(struct snd_pcm_substream *substream,
	struct snd_pcm_hw_params *params)
{
	struct snd_soc_pcm_runtime *rtd = substream-private_data;
	struct snd_soc_dai *codec_dai = rtd-codec_dai;
	//struct snd_soc_dai *codec_dai = rtd-codec_dai;
struct snd_soc_dai *cpu_dai = rtd-cpu_dai;
   	printk(puneet %s \n,__func__);
	int ret = 0;

	ret = snd_soc_dai_set_sysclk(cpu_dai, 0 , 22579200, SND_SOC_CLOCK_OUT);
if (ret  0) {
return ret;
}


/* *comments added by Punith/

	/*
	 * DAI hardware audio formats.
 	*
	* Describes the physical PCM data formating and clocking. Add new formats
	* to the end.
	 */
	//#define SND_SOC_DAIFMT_I2S		1 /* I2S mode */
	//#define SND_SOC_DAIFMT_RIGHT_J		2 /* Right Justified mode */
	//#define SND_SOC_DAIFMT_LEFT_J		3 /* Left Justified mode */
	//#define SND_SOC_DAIFMT_DSP_A		4 /* L data MSB after FRM LRC */
	//#define SND_SOC_DAIFMT_DSP_B		5 /* L data MSB during FRM LRC */
	//#define SND_SOC_DAIFMT_AC97		6 /* AC97 */
	//#define SND_SOC_DAIFMT_PDM		7 /* Pulse density modulation */

	/* left and right justified also known as MSB and LSB respectively */
	//#define SND_SOC_DAIFMT_MSB		SND_SOC_DAIFMT_LEFT_J
	//#define SND_SOC_DAIFMT_LSB		SND_SOC_DAIFMT_RIGHT_J

	/*
	 * DAI Clock gating.
	 *
	 * DAI bit clocks can be be gated (disabled) when the DAI is not
	 * sending or receiving PCM data in a frame. This can be used to save power.
	 */
	//#define SND_SOC_DAIFMT_CONT		(1  4) /* continuous clock */
	//#define SND_SOC_DAIFMT_GATED		(2  4) /* clock is gated */

	/*
	 * DAI hardware signal inversions.
	 *
	 * Specifies whether the DAI can also support inverted clocks for the specified
	 * format.
	 */
	//#define SND_SOC_DAIFMT_NB_NF		(1  8) /* normal bit clock + frame */
	//#define SND_SOC_DAIFMT_NB_IF		(2  8) /* normal BCLK + inv FRM */
	//#define SND_SOC_DAIFMT_IB_NF		(3  8) /* invert BCLK + nor FRM */
	//#define SND_SOC_DAIFMT_IB_IF		(4  8) /* invert BCLK + FRM */

	/*
	 * DAI hardware clock masters.
	 *
	 * This is wrt the codec, the inverse is true for the interface
	 * i.e. if the codec is clk and FRM master then the interface is
	 * clk and frame slave.
	 */
	//#define SND_SOC_DAIFMT_CBM_CFM		(1  12) /* codec clk  FRM master */
	//#define SND_SOC_DAIFMT_CBS_CFM		(2  12) /* codec clk slave  FRM master */
	//#define SND_SOC_DAIFMT_CBM_CFS		(3  12) /* codec clk master  frame slave */
	//#define SND_SOC_DAIFMT_CBS_CFS		(4  12) /* codec clk  FRM slave */
	/*
	 * Master Clock Directions
	 */
	//#define SND_SOC_CLOCK_IN		0
	//#define SND_SOC_CLOCK_OUT		1
/**ended by punith**/

	
	 /* set codec DAI configuration */
//ret = snd_soc_dai_set_fmt(codec_dai, 

[linux-sunxi] Is it possible to get same audio in two sound cards at a time.

2014-09-18 Thread Puneet B
Hi all,

I have dual display in my A20 custom board.
1.HDMI(snd_hdmi).
2.TVout(snd_i2s).

And both sound cards are working fine.

Now if i play video file , i am getting video in both display and audio 
through snd_hdmi card.

Is it possible to get audio in both cards when i play video file?.

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.


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

2014-09-10 Thread Puneet B
Finally i2s worked for me in A20 board.  the issue is DIN from cpu is 
connected to DIN of codec and same for DOUT.
Once i changed it works.

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.


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

2014-08-19 Thread Puneet B
In my case 

MCLK=5.6448MHZ
BCLK=1.411MHZ
WCLK=44.1KHZ

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

2014-08-19 Thread Puneet B
Hi Jon,

Thanks for you reply, my i2c is working fin(i2c read and write working 
fine). 
here my register configuration from codec side.
I am able to create 2khz beep by running amixer commands. 
can you look at my codec configuration and processor both , if any mismatch 
is there kindly let me know.

Here will be the register configuration from processor side.

register SUN7I_IISCTL=0x00reg_val=0x105
register SUN7I_IISFAT0=0x04   reg_val=0x0
register SUN7I_IISFAT1=0x08   reg_val=0x4030
register SUN7I_IISFCTL=0x14   reg_val=0x400f5
register SUN7I_IISCLKD=0x24   reg_val=0x92
register SUN7I_IISFAT0=0x30reg_val=0x1
register SUN7I_TXCHMAP=0x34 reg_val=0x76543210

[i2s_para]
i2s_used= 1
i2s_channel = 2
i2s_master  = 4
i2s_select  = 1
audio_format= 1
signal_inversion= 1
over_sample_rate= 256
sample_resolution   = 16
word_select_size= 32
pcm_sync_period = 256
msb_lsb_first   = 0
sign_extend = 0
slot_index  = 0
slot_width  = 16
frame_width = 1
tx_data_mode= 0
rx_data_mode= 0
i2s_mclk= port:PB0521defaultdefault
i2s_bclk= port:PB0621defaultdefault
i2s_lrclk   = port:PB0721defaultdefault
i2s_dout0   = port:PB0821defaultdefault
i2s_dout1   =
i2s_dout2   =
i2s_dout3   =
i2s_din = port:PB1221defaultdefault


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.
### Page 0 Regs from 0 to 95
reg = 0 val = 0
reg = 1 val = 0
reg = 2 val = 1
reg = 3 val = 66
reg = 4 val = 3
reg = 5 val = 93
reg = 6 val = 5
reg = 7 val = 0
reg = 8 val = 0
reg = 9 val = 0
reg = 10 val = 0
reg = 11 val = 85
reg = 12 val = 83
reg = 13 val = 0
reg = 14 val = 80
reg = 15 val = 80
reg = 16 val = 8
reg = 17 val = 0
reg = 18 val = 85
reg = 19 val = 83
reg = 20 val = 80
reg = 21 val = 80
reg = 22 val = 4
reg = 23 val = 0
reg = 24 val = 0
reg = 25 val = 3
reg = 26 val = 81
reg = 27 val = 30
reg = 28 val = 1
reg = 29 val = 5
reg = 30 val = 80
reg = 31 val = 0
reg = 32 val = 0
reg = 33 val = 0
reg = 34 val = 0
reg = 35 val = 0
reg = 36 val = 80
reg = 37 val = ba
reg = 38 val = 11
reg = 39 val = e0
reg = 40 val = 0
reg = 41 val = 0
reg = 42 val = 0
reg = 43 val = 0
reg = 44 val = 10
reg = 45 val = 0
reg = 46 val = 10
reg = 47 val = 0
reg = 48 val = c0
reg = 49 val = 0
reg = 50 val = 0
reg = 51 val = 12
reg = 52 val = 32
reg = 53 val = 12
reg = 54 val = 3
reg = 55 val = 2
reg = 56 val = 2
reg = 57 val = 11
reg = 58 val = 10
reg = 59 val = 0
reg = 60 val = 19
reg = 61 val = 4
reg = 62 val = 0
reg = 63 val = d4
reg = 64 val = 0
reg = 65 val = 0
reg = 66 val = 0
reg = 67 val = a7
reg = 68 val = 6f
reg = 69 val = 38
reg = 70 val = 0
reg = 71 val = 80
reg = 72 val = 0
reg = 73 val = 0
reg = 74 val = aa
reg = 75 val = 0
reg = 76 val = 23
reg = 77 val = fb
reg = 78 val = 7a
reg = 79 val = d7
reg = 80 val = 0
reg = 81 val = 0
reg = 82 val = 80
reg = 83 val = 0
reg = 84 val = 0
reg = 85 val = 0
reg = 86 val = 0
reg = 87 val = 0
reg = 88 val = 7f
reg = 89 val = 0
reg = 90 val = 0
reg = 91 val = 0
reg = 92 val = 0
reg = 93 val = 0
reg = 94 val = 0
---
### Page 1 Regs from 30 to 52
puneet@TLV320AIC3100 aic31xx_change_page 
reg = 30 val = 3
reg = 31 val = c4
reg = 32 val = 86
reg = 33 val = af
reg = 34 val = 70
reg = 35 val = 44
reg = 36 val = 80
reg = 37 val = 80
reg = 38 val = 92
reg = 39 val = 7f
reg = 40 val = 1f
reg = 41 val = 1f
reg = 42 val = 1d
reg = 43 val = 0
reg = 44 val = 0
reg = 45 val = 86
reg = 46 val = 0
reg = 47 val = 80
reg = 48 val = 0
reg = 49 val = 0
reg = 50 val = 0
reg = 51 val = 0
SPL_DRIVER_GAIN 29

# L_ANALOG_VOL_2_SPL 146 R_ANLOG_VOL_2_SPR 127

puneet@TLV320AIC3100 aic31xx_change_page 
 LDAC_VOL 0 RDAC_VOL 0

###OVER Temperature STATUS ( Page 0 Reg 3) 66

###SHORT CIRCUIT STATUS (Page 0 Reg 44) 0

###INTR_FLAG: SHORT_CKT(Page 0 Reg 46) 10

puneet@TLV320AIC3100 aic31xx_change_page 
###Speaker_Driver_Short_Circuit ( Page 1 Reg 32)86

@@@  MIC_PGA (P1 R47) = 0x80

puneet@TLV320AIC3100 aic31xx_change_page 
@@@  ADC_FGA (P0 R82) = 0x80

@@@  ADC_CGA (P0 R83) = 0x0

##-aic31xx_mute_codec 0




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

2014-08-17 Thread Puneet B
I am able to get beep in my board by making both A20 and codec as salve.

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

2014-08-17 Thread Puneet B
Hi JonCodeKipper,

Could you say whether Allwinner i2s will acts as master or slave?.

Because if configure A20 i2s as master and codec as slave then i am not 
getting bclk and wclk and audio is not processing.

if configure A20 i2s as slave and codec as slave then i am getting bclk and 
wclk and audio is processing.

In my codec all clock are coming form A20 to TI codec.

Kindly suggest me.

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] Wifi+Bt driver in linux-sunxi

2014-07-17 Thread Puneet B
Hi All,

For our new project we want both Bt+Wifi.

For that

1.Is any driver support is there in sunxi for any chipset?.

2.For broadcom apc6210 chipset we are not getting any datasheet and 
footprints. if any one have kindly share with me.

3.Is the existing rtl8723as and rtl8723au driver have both wifi+bt support 
or we need to use any combo.

4.if any one know any combo with driver support for sunxi , kindly suggest 
me.

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


Re: [linux-sunxi] Wifi+Bt driver in linux-sunxi

2014-07-17 Thread Puneet B

Hi CodeKipper,

But i am not getting any data sheet for rtl8723au ?. 






On Thursday, July 17, 2014 4:25:35 PM UTC+5:30, CodeKipper wrote:

 Hi Punith,
 'dack' added instructions to the MK808C page for the rtl8723as driver for 
 both BT  WIFI. I can confirm that it works for WIFI on the linux-sunxi 
 branch, however I've not tried BT but i'm sure it works. I will look soon 
 at getting this working on linux-next.
 BR,
 CK


 On 17 July 2014 12:03, Puneet B puni...@gmail.com javascript: wrote:

 Hi All,

 For our new project we want both Bt+Wifi.

 For that

 1.Is any driver support is there in sunxi for any chipset?.

 2.For broadcom apc6210 chipset we are not getting any datasheet and 
 footprints. if any one have kindly share with me.

 3.Is the existing rtl8723as and rtl8723au driver have both wifi+bt 
 support or we need to use any combo.

 4.if any one know any combo with driver support for sunxi , kindly 
 suggest me.

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


Re: [linux-sunxi] Wifi+Bt driver in linux-sunxi

2014-07-17 Thread Puneet B
Hi Jon,

But we are going to use bt+wifi in our custom A20 board. So we need 
datasheet and foot prints of hardware.


-- 
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] Wifi+Bt driver in linux-sunxi

2014-07-17 Thread Puneet B
Thanks Jon , i will update this to my hardware team.

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

2014-07-08 Thread Puneet B
Hi Dennis,

I am also looking for same thing, which dac you are using ?.
I am using TLV320AIC3100 chip.

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.


Re: [linux-sunxi] Re: A20 I2s drivers

2014-07-08 Thread Puneet B
Hi Dennis,

I tested with allwinner 3.4 it works fine, getting mclk, wclk,bclk and din 
signals  but not getting any sound form codec.

On Tuesday, July 8, 2014 6:21:03 PM UTC+5:30, Dennis Kerrisk wrote:

 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] Re: A20 Tv out display not full screen

2014-07-02 Thread Puneet B

Hi Ditma,

I dnt get any overscan function , could you tell where i will get this?.

Regards
Punith

On Wednesday, July 2, 2014 1:57:33 PM UTC+5:30, ditma...@gmail.com wrote:

 Did set overscan  function in your tvset correct (that means set to zero)?

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

2014-06-25 Thread Puneet B
Hi All,

Did any one tried of interfacing external codec to i2s of sunxi?.

Because in my case i am able to play audio , but not getting any audio in 
HPL and HPR lines.

And also codec part is not through any error also.

i am getting all signals of mclk,wclk,bclk,din.

Here will be link for my log:

http://e2e.ti.com/support/arm/sitara_arm/f/791/t/345940.aspx?pi301021=3

Can any one have any idea?.

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.


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

2014-06-21 Thread Puneet B
Yes Yassin, but not get any idea.

if you see this link, here they are passing via ldo.

http://e2e.ti.com/support/arm/sitara_arm/f/791/p/345940/1224371.aspx

* Regulators */ 
AVDD-supply = ldo4_reg; 
IOVDD-supply = ldo4_reg; 
DRVDD-supply = ldo4_reg; 
DVDD-supply = ldo1_reg; 
HPVDD-supply = ldo4_reg; 
SPRVDD-supply = ldo4_reg; 
SPLVDD-supply = ldo4_reg; 

Is it possible in sunxi?.

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.


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

2014-06-20 Thread Puneet B
Hi ,

i did probing of external codec by adding in device.c.

But external codec failed at

[9.586716] tlv320aic3x-codec 2-0018: Failed to get supply 'IOVDD': -517
[9.598903] tlv320aic3x-codec 2-0018: Failed to request supplies: -517
[9.613160] tlv320aic3x-codec 2-0018: asoc: failed to probe CODEC 
tlv320aic3x-codec.2-0018: -517


Can i missing any thing in script.

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.


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

2014-06-20 Thread Puneet B
Hi All,

If you see this link

http://e2e.ti.com/support/arm/sitara_arm/f/791/t/345940.aspx?pi301021=1

it means i missing some configuration in script, Can you say where i am 
wrong.

Your help will be greatly appreciable.

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

2014-06-20 Thread Puneet B
By the to probe, i added i2c board info in /arch/arm/plat-sunxi/device.c

static struct i2c_board_info __initdata aic3x_i2c_board_info[] = {
{
.type = tlv320aic3x,
.addr = 0x18,
//.platform_data = axp_pdata,
//.irq = pmu_irq_id,
},
};

void __init sw_pdev_init(void)
{
platform_add_devices(sw_pdevs, ARRAY_SIZE(sw_pdevs));
i2c_register_board_info(2, aic3x_i2c_board_info,
ARRAY_SIZE(aic3x_i2c_board_info));
}


And regarding mclk , bclk and wclk.

While audio playing through sndi2s soundcard.
i2smclk=11.24MHZ
i2sblck=2.8MHZ
i2swclk=2.8MHZ.

But there is no clock if audio is not playing.

I also pointed the kernel not fetching these clock parameter and i2sdout 
and i2sdin parameter from script.

Is the pin muxing for i2s is hard codec or what?

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.


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

2014-06-19 Thread Puneet B
 
I did some printk statements it is throwing error in

vim sound/soc/soc-core.c +777

soc_bind_dai_link.(){}

telling CODEC DAI tlv320aic3x-hifi  and codec dai name  not registered.

i think i am missing codec configuration in my machine driver.

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.


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

2014-06-19 Thread Puneet B
Hi all,

I able to find the problem, it is because probe function of tlv320aic3x.c 
is not calling.
so i am not able register it and also there is no board specific file under 
arch/arm/ to assign i2c probe manually.
like

vim ./arch/arm/mach-s3c64xx/mach-crag6410-module.c

static struct i2c_board_info mxc_i2c0_board_info[] __initdata = {
{
I2C_BOARD_INFO(sgtl5000, 0x14),
},};


So how can i make probe of my external codec.
Your 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.


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

2014-06-19 Thread Puneet B
 Hi Yassin,

Thanks for your kind reply. But still not able to do probe.
Here my changes in device.c

struct platform_device tlv320aic3x =
{
.name = tlv320aic3x-codec,
.id = -1,
};
static struct platform_device *sw_pdevs[] __initdata = {
debug_uart,
sw_dmac_device,
sw_pdev_nand,
tlv320aic3x,
};

Kindly let me know , is i am doing correct.

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.


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

2014-06-19 Thread Puneet B
 Hi Yassin,

Here i did same thing but directly in codec driver , 

vim sound/soc/codec/tlv320aic3x.c

/* added by punith */
static struct i2c_board_info __initdata aic3x_i2c_board_info[] = {
{
.type = tlv320aic3x,
.addr = 0x18,
//.platform_data = axp_pdata,
//.irq = pmu_irq_id,
},
};

static int __init aic3x_modinit(void)
{
int ret = 0;
ret = i2c_add_driver(aic3x_i2c_driver);
printk(%s puneet\n,__func__);

/* addedd by punith*/
i2c_register_board_info(2, aic3x_i2c_board_info,
ARRAY_SIZE(aic3x_i2c_board_info));

if (ret != 0) {
printk(KERN_ERR Failed to register TLV320AIC3x I2C driver: 
%d\n,
   ret);
}
return ret;
}

But not yet able to probe the codec.

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.


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

2014-06-19 Thread Puneet B
Hi Yassin,

I tried adding same thing in platform codec files sun7i-i2s.c and 
sun7i-i2sdma.c each  but not yet worked.


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

2014-06-17 Thread Puneet B
HI Jon,

I tried with cubieboard android kernel , then there is no issue with i2s 
soundcard, because it is fetching all parameter from fex file.

But only thing i am not able to invoke the external dac from machine driver 
and also i probed mclk,bclk which is working fine.

Here i am attaching dmesg log once i play audio through i2s. 

*Log:*
root@localhost:/# mplayer -ao alsa:device=hw=2.0 /Waka.mp4
Warning unknown option skin at line 101
MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /Waka.mp4.
Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
[lavf] stream 0: audio (aac), -aid 0, -alang und
[lavf] stream 1: video (h264), -vid 0
VIDEO:  [H264]  1920x1080  24bpp  24.000 fps  3714.5 kbps (453.4 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isomavc1mp42
 creation_time: 2010-06-03 23:14:31
Load subtitles in /
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 125.6 kbit/8.90% (ratio: 15695-176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   1.7 (01.6) of 210.6 (03:30.5)  4.1% $3


MPlayer interrupted by signal 2 in module: unknown

Exiting... (Quit)

*DMESG log:*
[SWITCH] 
sun7i_sndi2s_hw_params,line:131,audio_format:1,SND_SOC_DAIFMT_DSP_A:4
[SWITCH] 
sun7i_sndi2s_hw_params,line:133,signal_inversion:1,signal_inversion8:256,SND_SOC_DAIFMT_IB_NF:768
[SWITCH] 
sun7i_sndi2s_hw_params,line:135,i2s_master:4,i2s_master12:16384,SND_SOC_DAIFMT_CBM_CFM:4096
play:sun7i_i2sdma.c::func:sun7i_pcm_hw_params(line:261)
play DMA_OP_STOP:sun7i-i2sdma.c::func:sun7i_pcm_hw_free(line:382)

Can you kindly tell what i am missing in machine driver.

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.


Re: [linux-sunxi] USB port not working on A20 based device with sunxi-3.4

2014-06-06 Thread Puneet B
 This may tool chain problem use some other arm tool chain.

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] Nand issue in A20 custom board.

2014-05-22 Thread Puneet B
Hi all,

We are using  A20 custom board , in that we have sk hynix nand of 4 gb.

once i booted ubuntu from sdcard with nand used=1 in script.

i am getting otp copy 0 is ok! in contineous loop.

but once i disable nand in script , ubuntu is working fine.

and i also tried flashing android to nand from Phonix suite but getting 
fallowing error.

nand driver init failed.

Your 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.
6Booting Linux on physical CPU 0
6Initializing cgroup subsys cpuset
6Initializing cgroup subsys cpu
5Linux version 3.4.61+ (embdes@embdes-desktop) (gcc version 4.6.3 20120201 
(prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro4
CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun7i
6Memory cut off:
6 MALI : 0x5c00 - 0x5fff  (  64 MB)
4Ignoring unrecognised tag 0x
6Memory Reserved:
6 SYS  : 0x4300 - 0x4300  (  64 kB)
6 VE   : 0x4400 - 0x48ff  (  80 MB)
6 G2D  : 0x4900 - 0x49ff  (  16 MB)
6 LCD  : 0x5a00 - 0x5bff  (  32 MB)
Memory policy: ECC disabled, Data cache writealloc
6sunxi: Allwinner A20 (AW1651/sun7i) detected.
7On node 0 totalpages: 245760
7free_area_init_node: node 0, pgdat c0a2d840, node_mem_map d000
7  DMA zone: 512 pages used for memmap
7  DMA zone: 0 pages reserved
7  DMA zone: 65024 pages, LIFO batch:15
7  Normal zone: 1008 pages used for memmap
7  Normal zone: 111632 pages, LIFO batch:31
7  HighMem zone: 528 pages used for memmap
7  HighMem zone: 67056 pages, LIFO batch:15
6PERCPU: Embedded 7 pages/cpu @d0808000 s7360 r8192 d13120 u32768
7pcpu-alloc: s7360 r8192 d13120 u32768 alloc=8*4096c
7pcpu-alloc: c[0] c0 c[0] c1 c
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243712
5Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 loglevel=8 
panic=10 rootfstype=ext4 rootwait
6PID hash table entries: 4096 (order: 2, 16384 bytes)
6Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
6Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
6allocated 2097152 bytes of page_cgroup
6please try 'cgroup_disable=memory' option if you don't want memory cgroups
6Memory: 448MB 512MB = 960MB total
5Memory: 828952k/828952k available, 154088k reserved, 270336K highmem
5Virtual kernel memory layout:
vector  : 0x - 0x1000   (   4 kB)
fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
vmalloc : 0xf000 - 0xff00   ( 240 MB)
lowmem  : 0xc000 - 0xef80   ( 760 MB)
pkmap   : 0xbfe0 - 0xc000   (   2 MB)
modules : 0xbf00 - 0xbfe0   (  14 MB)
  .text : 0xc0008000 - 0xc0981970   (9703 kB)
  .init : 0xc0982000 - 0xc09bbcc0   ( 232 kB)
  .data : 0xc09bc000 - 0xc0a39720   ( 502 kB)
   .bss : 0xc0a39744 - 0xc0c05f90   (1843 kB)
6SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
6Preemptible hierarchical RCU implementation.
6 RCU dyntick-idle grace-period acceleration is enabled.
6 Additional per-CPU info printed with stalls.
6NR_IRQS:192
6Architected local timer running at 24.00MHz.
6sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
2start_kernel(): bug: interrupts were enabled early
6Console: colour dummy device 80x30
6Calibrating delay loop... c761.03 BogoMIPS (lpj=3805184)
6pid_max: default: 32768 minimum: 301
6Mount-cache hash table entries: 512
6Initializing cgroup subsys cpuacct
6Initializing cgroup subsys memory
6Initializing cgroup subsys devices
6Initializing cgroup subsys freezer
6Initializing cgroup subsys blkio
6Initializing cgroup subsys perf_event
6CPU: Testing write buffer coherency: ok
6CPU0: thread -1, cpu 0, socket 0, mpidr 8000
6hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
6Setting up static identity map for 0x406a93c8 - 0x406a9420
CPU1: Booted secondary processor
6CPU1: thread -1, cpu 1, socket 0, mpidr 8001
6Brought up 2 CPUs
6SMP: Total of 2 processors activated (1527.80 BogoMIPS).
6devtmpfs: initialized
6dummy: 
6NET: Registered protocol family 16
6hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
6hw-breakpoint: maximum watchpoint size is 8 bytes.
6[ccu-inf] aw clock manager init
6[ccu-inf] aw_ccu_init
6[ccu-inf] script config pll4 to 300MHz
6[ccu-inf] script config pll6 to 600MHz
6[ccu-inf] script config pll7 to 297MHz
6[ccu-inf] script config pll8 to 336MHz
6Init eGon pin module V2.0
6bio: create slab bio-0 at 0
6sunxi_gpio driver init ver 1.3
6gpiochip_add: registered GPIOs 1 to 2 on device: A1X_GPIO
5SCSI subsystem initialized
7libata version 3.00 loaded.
6usbcore: 

[linux-sunxi] Re: Nand issue in A20 custom board.

2014-05-22 Thread Puneet B
While flashing through phonix suite i got fallowing error in continuous 
loop in serial port.

FES:INFO : ..1
FES:INFO : ..2
FES:INFO : ..3
FES:INFO : ..5
FES:INFO : ..6
FES:INFO : ..7
FES:INFO : ..8
FES:INFO : ..9
FES:CONFIG_USB_GADGET_DUALSPEED
FES:fes connect to host
FES:USB_MOV_DATA_BY_DMA!
FES:INFO : ..10...
FES:jump to fes_main
FES:INFO: fes_protocol_process start
FES:[info]: set address 3
FES:write special pipe
FES:INFO: fed reg_addr = 0x4011f6f4
FES:fed para[0] = 0x40a0
FES:fed para[1] = 0x40a01000
FES:fed para[2] = 0x
FES:fed para[3] = 0x
[Fed]:-
[Fed]:Hello, Nand Register 
[Fed]:-
NHW : start nand scan
[NAND] nand driver(A20) version: 0x2, 0x12, data: 20130826 2119
NFC Randomizer start. 
[SCAN_DBG] Nand flash chip id is:0xad 0xd7 0x94 0x91 0x60 0x44
NFC Read Retry Init. 
chip 0, block 8, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 9, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 10, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 11, page 0, oob: 0xff, 0xff, 0xff, 0xff
[PHY_DBG] can't get right otp value from nand otp blocks, then use otp 
command
_vender_get_param_otp_hynix time 0!
otp copy 0 is ok!
set retry default value:  0 0 0 0 0 0 0 0
NFC_LSBExit 
[PHY_DBG] repair otp value end
chip 0, block 8, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 9, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 10, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 11, page 0, oob: 0xff, 0xff, 0xff, 0xff
[PHY_DBG] can't get right otp value from nand otp blocks, then use otp 
command
_vender_get_param_otp_hynix time 0!
otp copy 0 is ok!
set retry default value:  0 0 0 0 0 0 0 0
NFC_LSBExit 
[PHY_DBG] repair otp value end
chip 0, block 8, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 9, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 10, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 11, page 0, oob: 0xff, 0xff, 0xff, 0xff
[PHY_DBG] can't get right otp value from nand otp blocks, then use otp 
command
_vender_get_param_otp_hynix time 0!
otp copy 0 is ok!
set retry default value:  0 0 0 0 0 0 0 0
NFC_LSBExit 
[PHY_DBG] repair otp value end
chip 0, block 8, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 9, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 10, page 0, oob: 0xff, 0xff, 0xff, 0xff
chip 0, block 11, page 0, oob: 0xff, 0xff, 0xff, 0xff
[PHY_DBG] can't get right otp value from nand otp blocks, then use otp 
command

Kindly tell me what will be the issue.

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: How to unpack and repack the fedor image.

2014-04-29 Thread Puneet B
Hi Sudhir,

i am also doing same thing.

once i copied my uImage and flash it and boot it.

then i am getting fallowing error.

5772656 bytes read
## Booting kernel from Legacy Image at 4800 ...
   Image Name:   Linux-3.4.61+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:5772592 Bytes = 5.5 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
sun7i#

Did any one know how to solve this issue?.

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.


Re: [linux-sunxi] Re: How to Flash android in NAND in custom A20 Board (No OTG port)

2014-04-25 Thread Puneet B
Hi Emilio,

Can you tell how to make phonix card?.

Is there any software to make it?.

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] Not able to get HDMI display output...

2014-04-24 Thread Puneet B
Hi,

I have android sdk source code from humming board.

with i tested  android which is working fine.

same uImage i used to boot fedora from sdcard.

but i am getting display output not getting penguin logo also.

but kernel and file system booted fine upto login prompt.

with linux-sunxi 3.4 kernel i am getting display output.

i selected all disp modules.

Kindly tell me what was problem.

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] Not able to get HDMI display output .

2014-04-24 Thread Puneet B
Hi,

I have android sdk source code from humming board.

with i tested  android which is working fine.

same uImage i used to boot fedora from sdcard.

but i am not getting display output and also not getting penguin logo .

but kernel and file system booted fine up to login prompt.

with linux-sunxi 3.4 kernel i am getting display output.

i selected all disp modules.

Kindly tell me what was problem.

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.


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

2014-04-08 Thread Puneet B

Thanks Code Kipper,

I will go through this.

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 Puneet B
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] sunxi-nfc-mtd modules to access to boot0 partition.

2014-03-29 Thread Puneet B
Hi from yuq git 

https://github.com/yuq/sunxi-nfc-mtd

i downloaded sunxi-nfc-mtd source code.

i compiled as a module by  doing some changes according to my kernel.

once i insert my module , i am getting kernel panic error.

Here i am attaching the log.

i am using A20 board with kernel 3.4.

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.
audiodump.wav  dev   homemedia  run  srv  user
binemplayer  lib proc   sbin sys  usr
boot   etc   lost+found  root   selinux  tmp  var
root@localhost:/# modprobe sunxi_nanf
FATAL: Module sunxi_nanf not found.
root@localhost:/# modprobe sunxi_nand
6[MTD][NAND][SUNXI]: nand driver, init.
6[MTD][NAND][SUNXI]: nand driver, ok.
6[MTD][NAND][SUNXI]: hardware ECC is on
6[MTD][NAND][SUNXI]: use flash bad block table
6[MTD][NAND][SUNXI]: random read/write is off
6[MTD][NAND][SUNXI]: cmu_clk is 480 
6[MTD][NAND][SUNXI]: nand clk init end 
6[MTD][NAND][SUNXI]: offset 0xc:  0x202e95e 
6[MTD][NAND][SUNXI]: offset 0x14:  0x820b 
6[MTD][NAND][SUNXI]: get nand pio ok
6nand: device found, Manufacturer ID: 0xad, Chip ID: 0xd7
6nand: Hynix NAND 4GiB 3,3V 8-bit
6nand: 4096MiB, MLC, page size: 8192, OOB size: 640
6[MTD][NAND][SUNXI]: nand chip id: 0 0 0 0 0 0 0 0
6[MTD][NAND][SUNXI]: cmu_clk is 480 
6[MTD][NAND][SUNXI]: nand clk init end 
6[MTD][NAND][SUNXI]: offset 0xc:  0x202e95e 
6[MTD][NAND][SUNXI]: offset 0x14:  0x820f 
6[MTD][NAND][SUNXI]: set final clock freq to 15MHz
6[MTD][NAND][SUNXI]: flash chip bus width 8
6[MTD][NAND][SUNXI]: OOB size = 640  page size = 8192  block size = 2097152  
total size = 4294967296
4nand: 8192 byte HW ECC not possible on 8192 byte page size, fallback to SW 
ECC
1Unable to handle kernel paging request at virtual address 3f10ba60
[   28.832151] Unable to handle kernel paging request at virtual address 
3f10ba60
1pgd = eeb3
[   28.854414] pgd = eeb3
1[3f10ba60] *pgd=[   28.859488] [3f10ba60] *pgd=

0Internal error: Oops: 805 [#1] PREEMPT SMP ARM
[   28.877575] Internal error: Oops: 805 [#1] PREEMPT SMP ARM
dModules linked in:[   28.884898] Modules linked in: sunxi_nand(O+) 
sunxi_nand(O+) nand nand nand_ids nand_ids nand_hynix nand_hynix mtd mtd h

CPU: 0Tainted: G   O  (3.4.61+ #65)
[   28.907971] CPU: 0Tainted: G   O  (3.4.61+ #65)
PC is at dma_nand_config_start+0xa8/0x104 [sunxi_nand]
[   28.918460] PC is at dma_nand_config_start+0xa8/0x104 [sunxi_nand]
LR is at 0x7f077f07
[   28.926481] LR is at 0x7f077f07
pc : [bf109b34]lr : [7f077f07]psr: 200f0013
sp : ee6b7b48  ip :   fp : f1c03000
[   28.938487] pc : [bf109b34]lr : [7f077f07]psr: 200f0013
[   28.938500] sp : ee6b7b48  ip :   fp : f1c03000
r10: 0001  r9 :   r8 : 0008
[   28.953894] r10: 0001  r9 :   r8 : 0008
r7 : edd98000  r6 : 2000  r5 : bf10f6b8  r4 : fff0
[   28.964338] r7 : edd98000  r6 : 2000  r5 : bf10f6b8  r4 : fff0
r3 : 3f10ba48  r2 : 0002  r1 : ee6b7b4c  r0 : fff0
[   28.976084] r3 : 3f10ba48  r2 : 0002  r1 : ee6b7b4c  r0 : fff0
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   28.988439] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: 6eb3006a  DAC: 0015
[   29.15] Control: 10c5387d  Table: 6eb3006a  DAC: 0015

SP: 0xee6b7ac8:
[   29.007424] 
[   29.007430] SP: 0xee6b7ac8:
7ac8 [   29.012156] 7ac8  10624dd3 10624dd3   9a6e09bd 9a6e09bd 
0003 0003 000f 000f 0006 0006 3b9aca00 0

7ae8 [   29.027424] 7ae8  c088a027 c088a027 bf109b34 bf109b34 200f0013 200f0013 
  ee6b7b34 ee6b7b34 c000e5d8 c000e5d8 fff0 c

7b08 [   29.042690] 7b08  0002 0002 3f10ba48 3f10ba48 fff0 fff0 
bf10f6b8 bf10f6b8 2000 2000 edd98000 edd98000 0008 0

7b28 [   29.057954] 7b28  0001 0001 f1c03000 f1c03000   
ee6b7b48 ee6b7b48 7f077f07 7f077f07 bf109b34 bf109b34 200f0013 f

7b48 [   29.073220] 7b48    05230002 05230002 0201 0201 
01c03030 01c03030   7f077f07 7f077f07 0041 0

7b68 [   29.088485] 7b68  bf10ce90 bf10ce90 ee8ac000 ee8ac000 850c 850c 
bf107914 bf107914 000284d0 000284d0 c0823dc0 c0823dc0  c

7b88 [   29.103752] 7b88    0007ff00 0007ff00   
    ee8ac000 ee8ac000 ee8ac250 0

7ba8 [   29.119018] 7ba8  ee6b7c38 ee6b7c38 0007ff00 0007ff00   
  05d0 05d0 bf0f61f4 bf0f61f4 0001 0


FP: 0xf1c02f80:
[   29.135499] 
[   29.135505] FP: 0xf1c02f80:
2f80 [   29.140231] 2f80   

[linux-sunxi] Re: [PATCH pre-v3 00/26] mtd: nand: add sunxi NAND controller support

2014-03-26 Thread Puneet B
Hi Boris,

I downloaded git repo from you link.

https://github.com/bbrezillon/linux-sunxi/

but what will the config file. so i can get uImage and modules to boot in 
my A20 board.

so i can use sunxi_nand module to access my boot0 and boot1 partition.

i am using cubieboard2.

your help is greatly appreciable.

BRs
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: Moving from NAND to SD CARD - A31 sun6i

2014-03-21 Thread Puneet B
you can use fallowing kind of commands in you sd card.

sed -i s/nandd/mmcblk0p3/g  /mnt/init.sun4i.rc
sed -i s/nande/mmcblk0p5/g  /mnt/init.sun4i.rc
sed -i s/nandh/mmcblk0p8/g  /mnt/init.sun4i.rc
sed -i s/nandi/mmcblk0p10/g /mnt/init.sun4i.rc



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.


Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-03-19 Thread Puneet B
Hi,
 
i fallow this link

http://linux-sunxi.org/Cedrus

In my ubuntu for mpv player i install from this repository.

https://github.com/mpv-player/mpv

To get audio through hdmi output, i just compile hdmi as driver and 
sunxi-codec as module.

so now card 0 is hdmi. so audio is playing through hdmi outputs.

but once played , there is an  audio and video de synchronization detected 
for .mkv and .avi format files repeatedly. 

But some time for mp4 and flv formats(1:5 )(especially when i make video to 
full screen). 

but if i mute audio , all videos are playing fine.

what will be the issue.

how can i solve this.

Kindly help me.


Error log:

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.


Re: [linux-sunxi] Using coreboot to boot from NAND witout boot0/boot1

2014-03-15 Thread Puneet B
Hi Nuke.

Now take the resulting 'u-boot' file, and use it as the coreboot payload. 
Install as usual and monitor the serial console

How to install u-boot to sdcard?.

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: Unable to play 720p video in Ubuntu

2014-03-06 Thread Puneet B
how to configure default configuration of mpv in /home/local/.mpv/config

so i can play video from gui.

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/groups/opt_out.


Re: [linux-sunxi] Fedora porting in A20.

2014-03-03 Thread Puneet B
Hi Oliver.

I tried this one. 
 
http://linux-sunxi.org/VLChttp://www.google.com/url?q=http%3A%2F%2Flinux-sunxi.org%2FVLCsa=Dsntz=1usg=AFQjCNHashBJDExaaquJaC4ACKzvBYNMqg
 

But getting lot of error while compiling.

http://linux-sunxi.org/Cedrus

Need to test.

Regarding login issue,

i booted as default root by using you suggestion.

at NEW password:
(i give passwd and enter it but system is not coming out of statement , 
then i press cntrl+c then it comes out).

then to assing passwd.( i press cntrl+Enter then it comes of line NEW 
password).

so then i login as root and user form gui successfully.

But real problem is:
In my  GUI , for first time i am seeing only Quick option.(after adding 
user ,and root passwd).

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/groups/opt_out.


[linux-sunxi] SATA link down after some time.

2014-03-01 Thread Puneet B
Hi i am using humming board..

i flashed fedora 19 in my board.

i used kernel from this link

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

For first time:

sata is also power up after some time.

able to mount  hard disk in gui.

but after some time , sata links gets down and hard disk partition is 
removed from GUI.

speed limited to 1.5 from 3.0 Gbps.

I am power on hard disk from humming bird board  not  externally.

But later:
 
The SATA links in not powered On.

Here will be log for sata:
[0.926792] sw_ahci sw_ahci.0: controller can't do PMP, turning off 
CAP_PMP
[0.931106] sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
[0.938548] sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 
0x1 impl platform mode
[0.945011] sw_ahci sw_ahci.0: flags: ncq sntf pm led clo only pio slum 
part ccc 
[0.948321] scsi0 : sw_ahci_platform
[0.955491] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] 
port 0x100 irq 88
[6.348940] ata1: link is slow to respond, please be patient (ready=0)
[   10.966801] ata1: COMRESET failed (errno=-16)
[   11.317839] ata1: SATA link down (SStatus 0 SControl 300)


[   82.555121] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 
0xe frozen
[   82.605854] ata1: irq_stat 0x0040, connection status changed
[   82.634155] ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }
[   82.671739] ata1: hard resetting link
[   83.783246] ata1: SATA link down (SStatus 0 SControl 300)
[   83.785235] ata1: EH complete
[   83.783246] ata1: SATA link down (SStatus 0 SControl 300)
[   84.087543] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 
0xe frozen
[   84.100147] ata1: irq_stat 0x0040, connection status changed
[   84.111488] ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }
[   84.122753] ata1: hard resetting link
[   85.313114] ata1: SATA link down (SStatus 0 SControl 300)
[   85.315574] ata1: EH complete
[   85.619974] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 
0xe frozen
[   85.632861] ata1: irq_stat 0x0040, connection status changed
[   85.644387] ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }
[   85.655018] ata1: limiting SATA link speed to 1.5 Gbps
[   85.657699] ata1: hard resetting link
[   85.313114] ata1: SATA link down (SStatus 0 SControl 300)
[   85.655018] ata1: limiting SATA link speed to 1.5 Gbps

[   92.363710] ata1: link is slow to respond, please be patient (ready=0)
[   95.661301] ata1: COMRESET failed (errno=-16)
[   95.668550] ata1: hard resetting link
[  101.463094] ata1: link is slow to respond, please be patient (ready=0)
[  106.501534] ata1: SATA link down (SStatus 0 SControl 310)
[  105.720693] ata1: COMRESET failed (errno=-16)
[  105.727695] ata1: hard resetting link
[  106.501534] ata1: SATA link down (SStatus 0 SControl 310)
[  106.503507] ata1: EH complete


Kindly tell me what will be issue.

i check same hard disk in cubieboard2  there it  is working fine.
(but not with my uImage).

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/groups/opt_out.


Re: [linux-sunxi] Fedora porting in A20.

2014-02-28 Thread Puneet B

In Fedora,

Is it possible to port vlc and mplayer with cedarx by using fallowing link.

http://linux-sunxi.org/VLC

http://linux-sunxi.org/Cedrus

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/groups/opt_out.


Re: [linux-sunxi] Fedora porting in A20.

2014-02-25 Thread Puneet B
Hi Oliver,

i did as you said.

then i am able to login as root.

Then  i am able to add user.

but once i assign passwd to user.

the system hangs 
at NEW password:
(i give passwd and enter it but system is not coming out of statement , 
then i press cntrl+c then it comes out).

i tried with one more time flashing the sd card.
and then assign root passwd and user in GUI  by using other keyboard.

but same result , login is incorrect.

Now how can solve this issue so i can see gui.

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/groups/opt_out.


[linux-sunxi] Fedora porting in A20.

2014-02-24 Thread Puneet B
Hi HNO,

I fallow this link to boot fedora 19 in my A20 board.

http://docs.cubieboard.org/tutorials/cb2/installation/cb2_fedora_19_card_install

my device is booted fine.

then i set root passwd and  created an user.

but if login both as root and user , device is showing always incorrect 
password.

i double check it. but same result.

How can i change root passwd and create one more user.

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/groups/opt_out.


Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..

2014-02-21 Thread Puneet B
 Hi Ditmar,

I already saw this link .

This link will tell us to take the back up of boot0 and boot1.

since i am using custom board.

i have fresh nand.

so how can flash linux into NAND starting from boot0 and boot1.

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/groups/opt_out.


Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..

2014-02-21 Thread Puneet B
Hi Patwood,
 In my himming bird board android is booting fine from NAND.

so i tried to install ubuntu in NAND by this link.

https://www.miniand.com/forums/forums/development/topics/boot-ubuntu-lubuntu-from-internal-4g-flash?page=2

My steps:
1i booted ubuntu from sdcard.
2./nand-partv /dev/nand 'linux 800'
3remove sdcard 
4booted from NAND.

i did not done any changes in nanda partition.
(i check by mounting nanda also , but u-boot is not evoked).

in log:

U-Boot 2014.01-rc1-09161-gaf9f405-dirty (Feb 19 2014 - 19:20:31) Allwinner 
Technology

CPU:   Allwinner A20 (SUN7I)
Board: embdes
I2C:   ready
DRAM:  1 GiB
HELLO! BOOT0 is starting!
boot0 version : 2.0.0 � 
read dram para.
dram size =1024MB
0x01a48608
super_standby_flag = 0
Succeed in opening nand flash.
block from 2 to 6
deal block 2
Succeed in reading Boot1 file head.
The size of Boot1 is 0x00068000.
The file stored in 0x of block 2 is perfect.
Check is correct.
Ready to disable icache.
Succeed in loading Boot1.
Jump to Boot1.
[   0.150] boot1 version : 2.0.0
[   0.159] script installed early ok
[   0.160] pmu type = 3
[   0.161] bat vol = 0 mv
[   0.179] axi:ahb:apb=4:2:2
[   0.179] set dcdc2=1400mv, clock=912M successed
[   0.181] key
[   0.194] no key found
[   0.194] flash init start
[   2.177] flash init finish
[   2.203] fs init ok
[   2.531] fattype FAT16
[   2.531] fs mount ok
[   2.536] nand good_block_ratio=944
[   2.536] storage_type=0
[   2.587] 0
[   2.601] set pc
[   2.603] usbdc_vol = 4000, usbdc_cur = 0
[   2.603] usbpc_vol = 4400, usbpc_cur = 0
[   2.606] init to usb pc
[   2.609] set pc
[   2.804] battery enough
[   2.804] power_start=0x0001
[   2.804] key value = 0
[   2.807] recovery key high 40, low 4
[   2.901] show pic finish
[   2.901] load kernel start
[   2.930] load kernel successed
[   2.931] start address = 0x4a00
[   2.933] boot1: bad boot image magic, maybe not a boot.img?
[   2.942] power exit detect
[   2.942] usb exit detect
[   2.944] try to fel in 1 secend

Booting stop here.

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/groups/opt_out.


[linux-sunxi] how to split stereo in to two mono channels

2014-02-21 Thread Puneet B
Hi,

How to split stereo input  into  two mono outputs.

if it does, is it possible to play two audio at a time with one soundcard.

How to do this one.

Kindly tell me.

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/groups/opt_out.


Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..

2014-02-20 Thread Puneet B
Hi arete74,

Actually i am not booted android successfully from sdcard.

only u-boot ,kernel  from sdcard and rootfs  mounted from NAND.

sorry for inconvenience.

and also i dont want to flash NAND  from live suite also.

i want to flash in to nand from command line ( by using bootable sd card)

Kindly tell me  how can i do it.

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/groups/opt_out.


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

2014-02-20 Thread Puneet B
Hi CodeKipper,

Now i2s is compiled without any error.

for i2s interface i am using TLV320AIC3100IRHBR chip for TI.

this chip has i2c interface .

so is i need to write middle level driver to make i2s audio codec to work.

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/groups/opt_out.


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

2014-02-20 Thread Puneet B
 Hi Codekipper,


we are taking only HPLOUT  and HPROUT signal from TI chip.
(we are not using remaining outputs).

To make this work  is we need to write any middle level driver for 
TLV320AIC3100IRHBR as you shared in link.

or did i need to configure from user space by using i2c node file 
/dev/i2c-0.
(the chip has i2c interface).

writing new driver will take more time. Is there any other way.

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/groups/opt_out.


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

2014-02-20 Thread Puneet B
Hi Jon,

if i select i2s codec and spdif codec , i am not getting any node file in 
/dev/snd/

only have sunxi-codec and sndhdmi node file.

ls /dev/snd/

by-path  controlC0  controlC1  pcmC0D0c  pcmC0D0p  pcmC1D0p  timer


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/groups/opt_out.


Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..

2014-02-20 Thread Puneet B
Hi ,

Atleast how to flash linux in fresh NAND.

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/groups/opt_out.


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

2014-02-19 Thread Puneet B
Hi CodeKipper,

ls  sound/soc/sunxi/i2s

built-in.o  Makefile modules.order  sndi2s.h sunxi-i2sdma.c  
sunxi-i2s.h sunxi-sndi2s.h
Kconfig modules.builtin  sndi2s.c   sunxi-i2s.c  sunxi-i2sdma.h  
sunxi-sndi2s.c

in menuconfig if i select ARCH_SUN7i then there is no option for i2s 
support in sound card support for ALSA.

but if i select ARCH_SUN4i or ARCH_SUN5i  then there is option for i2s 
support in sound card support for ALSA.


in my actual project we are using TLV320AIC3100IRHBR chip set for i2s 
support.

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/groups/opt_out.


[linux-sunxi] how to flash android in NAND without phonixsuite ..

2014-02-19 Thread Puneet B
Hi all,

I am using A20 humming bird board.

i want to boot android from NAND.

i booted android from sd card successfully.

i want to know boot0 and boot1 , is it common for all A20 board.

and to which sector i need to flash this.

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/groups/opt_out.


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

2014-02-14 Thread Puneet B
 Hi ,

Finally i got audio output through hdmi without passing command.

Here my Update.

I remover etc/asound.conf file.

in vi /usr/share/alsa/alsa.conf

defaults.ctl.card 1   //changed 0 to 1
defaults.pcm.card 1 changed 0 to 1
defaults.pcm.device 0


Now hdmi output working fine.

Now i want to test LINEIN connector.

How can i do it?

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/groups/opt_out.


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

2014-02-14 Thread Puneet B
But how to get audio in both head phone jack and in HDMI.

means without changing card in alsa.conf.

because in real time, user dont want to  change card number every time.

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/groups/opt_out.


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

2014-02-13 Thread Puneet B
Hi,

I have Line in connector in my A20 board.

Now how can i  test it.

In my audio jack is working fine.

Is i need to select any proper driver.

Kindly suggest me.

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/groups/opt_out.


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

2014-02-13 Thread Puneet B
Hi CodeKipper,

speaker-test -twav -c2 -Dhw:1,0

mplayer -ao alsa:device=hw=1.0 *.flac

both are working fine.

i am getting audio through hdmi.

i have set capture_audio in script also.

but how can i get audio through hdmi without passing any command.

Kindly suggest me.

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/groups/opt_out.


Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-11 Thread Puneet B
Hi Oliver ,

Here my update:

i tried with linaro rootfs also  from below link.

http://releases.linaro.org/latest/ubuntu/saucy-images.
(linaro-saucy-developer-20131216-586.tar.gz).

Now linaro ubuntu is booting fine.

Here also has the same issue. still video is not playing smoothly.

Regarding Log:
1.i installed mplayer2 by
apt-get install mplayer2.
still i am getting.
 MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team 
(how to istall mplayer2 newer version).

2. [vdpau] Got display refresh rate 50.000 Hz. 
 [vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption 
 manually. 
so i change refresh rate manually by passing argument -vo vdpau:fps=60.
Now refresh rate is 60.

3 [VDPAU SUNXI] Presentation time not supported  0 ??% ??% ??,?% 0 0 
i have the error, but not the 0 ?? stuff (due to old mplayer?) 

How to install newest version of mplayer2.

4 [VDPAU SUNXI] vdp_output_surface_put_bits_indexed called but 
unimplemented! 
don't have this (are you using the master branch?) 
 [VDPAU SUNXI] vdp_output_surface_render_output_surface called but 
 unimplemented! 
don't have this (are you using the master branch?) 

This log is because of forward play of video.
if i did not forward the video with right aero mark , i am also not getting 
this.

finally i think problem with mplayer.


So how can i install.

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/groups/opt_out.


[linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
 http://linux-sunxi.org/Cedrus

Is this link will allow to play the hd video from Gui.

or this will also work in only command prompt.

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/groups/opt_out.


[linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
Hi 

I am not able to play hd videos smoothly from this link.

http://linux-sunxi.org/Cedrus

Here is my Procedure what i have done:
1setenv sunxi_ve_mem_reserve '128'
2git clone https://github.com/linux-sunxi/libvdpau-sunxi
3cd libvdpau-sunxi
4make
5make install
Then i have 
libvdpau_sunxi.so.1  
libvdpau_trace.so.1 
libvdpau_trace.so.1.0.0
libraries under /usr/lib/vdpau directory
4then i login as user in gnome-terminal and export fallowing path.
export VDPAU_DRIVER=sunxi
5sudo chmod -R 777 /dev/disp /dev/cedar_Dev
6apt-get install mplayer2.
6mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, /media/9513-1851/aa.mp4

But once i play video , it is not playing smoothly.
Here is my video log:

MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /media/95E5-18AE/aga_naga.mp4.
Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1264x536  24bpp  23.976 fps  3674.8 kbps (448.6 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: mp42ndhdavc1isom
 creation_time: 2011-07-28 17:45:17
Load subtitles in /media/95E5-18AE/
[VDPAU SUNXI] VE version 0x1623 opened.
==
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 447.6 kbit/9.71% (ratio: 55947-576000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 2.36:1 - prescaling to correct movie aspect.
VO: [vdpau] 1264x536 = 1264x536 H.264 VDPAU acceleration 
[vdpau] Got display refresh rate 50.000 Hz.
[vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption 
manually.
[VDPAU SUNXI] Presentation time not supported  0 ??% ??% ??,?% 0 0 
A:  12.2 V:  12.2 A-V: -0.000 ct: -0.000   0/  0 17%  0%  7.1% 0 0 

Exiting... (Quit)



I tried with smplayer also but has same issue.

Is i am missing anything else.

Kindly suggest me.

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/groups/opt_out.


Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
Hi Oliver.

sorry i changed permission to cedar_dev (typo error).


Try the big buck buney h264 or sintel h264 demo's. 

Can you explain this , as i am not getting.

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/groups/opt_out.


Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
Hi Oliver,

As i played you video also , has the same issue.

Video is not playing smoothly.

Here is log:

MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /media/95E5-18AE/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4
Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1280x720  24bpp  24.000 fps  1748.2 kbps (213.4 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2014-01-06 15:51:24
Load subtitles in /media/95E5-18AE/
[VDPAU SUNXI] VE version 0x1623 opened.
==
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000-176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1280x720 = 1280x720 H.264 VDPAU acceleration 
[vdpau] Got display refresh rate 50.000 Hz.
[vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption 
manually.
[VDPAU SUNXI] Presentation time not supported  0 ??% ??% ??,?% 0 0 
[VDPAU SUNXI] vdp_output_surface_put_bits_indexed called but unimplemented!
[VDPAU SUNXI] vdp_output_surface_render_output_surface called but 
unimplemented!
A:  34.2 V:  34.2 A-V: -0.000 ct:  0.000   0/  0 17%  0%  2.6% 0 0 


Exiting... (End of file)


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/groups/opt_out.


Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
 Hi Oliver,

Sorry for inconvenience , actually i  upload wrong log.

Because my logitech keyboard is not good.

still Video is not playing smoothly.

Here is actual log:

MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /media/95E5-18AE/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4.
Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb5bd9590]max_analyze_duration reached
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1920x1080  24bpp  25.000 fps  7254.9 kbps (885.6 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 1
 compatible_brands: isommp423gp5
 creation_time: 2011-08-04 01:51:12
 title: big_buck_bunny_1080p_surround.avi_006.AVI.MP4
 artist: created with SUPER(C).v2011.bld.49
 encoder: eRightSoft
 comment: 09:51:32
Load subtitles in /media/95E5-18AE/
[VDPAU SUNXI] VE version 0x1623 opened.
==
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 96.1 kbit/6.81% (ratio: 12009-176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 = 1920x1080 H.264 VDPAU acceleration 
[vdpau] Got display refresh rate 50.000 Hz.
[vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption 
manually.
[VDPAU SUNXI] Presentation time not supported  0 ??% ??% ??,?% 0 0 
[VDPAU SUNXI] vdp_output_surface_put_bits_indexed called but unimplemented!
[VDPAU SUNXI] vdp_output_surface_render_output_surface called but 
unimplemented!
A:  44.9 V:  45.0 A-V: -0.045 ct: -0.000   0/  0 26%  0%  1.9% 0 0 


Exiting... (End of file)



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/groups/opt_out.


[linux-sunxi] Is it possible to open the image always in land scape mode.

2014-02-08 Thread Puneet B
Hi ,

I ported Ubuntu in my A20 board.

Is it possible to  open image always in landscape mode.

if image in portrait mode.

Is i need to do any software changes.

and how to get better quality image display.

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/groups/opt_out.


[linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-04 Thread Puneet B

 Hi Patrick,

i just fallow this procedure in link.

http://linux-sunxi.org/Cedrus http://linux-sunxi.org/XBMC 

every thing done correctly.

but once i play the video , only audio is coming ,there is no video output.

Here is log.

mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, /media/2CA3-91FB/aa.mp4

MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /media/2CA3-91FB/aa.mp4.
Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1280x720  24bpp  29.970 fps  2922.4 kbps (356.7 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2012-12-09 02:04:04
Load subtitles in /media/2CA3-91FB/
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000-176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or 
directory
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   1.0 (01.0) of 307.9 (05:07.9)  1.7% $3

Exiting... (End of file)
root@localhost:/libvdpau-sunxi# 


Kindly suggest what will be issue.

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/groups/opt_out.


Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-04 Thread Puneet B
Hi Oliver,

I did same procedure.


Regards
punith



On Tue, Feb 4, 2014 at 8:00 PM, Olliver Schinagl oliver+l...@schinagl.nlwrote:

 On 04-02-14 11:35, Puneet B wrote:

 vo: couldn't open the X11 display ()!
 Error opening/initializing the selected video_out (-vo) device.

 You probably forgot a step or two.


 --
 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/PGlgXgaEh24/unsubscribe.
 To unsubscribe from this group and all of its topics, send an email to
 linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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/groups/opt_out.


Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-04 Thread Puneet B
Hi Patrick,

If i run in an xterm, video playing but not smoothly.

if i run in an minicom console video is not playing.

Xterm
video is playing with vdpau ,x11 but not smooothly.
video is not playing with directfb .

in minicom terminal
video is not playing with vdpau ,x11 
video is  playing with directfb . but not smooothly.


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/groups/opt_out.


Re: [linux-sunxi] Re: How to port ubuntu in my A20 board.

2014-02-02 Thread Puneet B
Hi Patrick,

I dont have any ttyS0.conf file in my etc directory.

Can you tell, how to add this.

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/groups/opt_out.


Re: [linux-sunxi] Re: How to port ubuntu in my A20 board.

2014-01-31 Thread Puneet B
HI ,

I used some previous rootfs which is used for my A10 board.

Now UBUNTU is booting fine.

But Once i play 720p video , the video is not playing smoothly(playing like 
slow motion).

i tried with installing mali.ko and ump.ko.

But not yet worked.

kindly suggest me what will be issue.

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/groups/opt_out.


Re: [linux-sunxi] Re: How to port ubuntu in my A20 board.

2014-01-28 Thread Puneet B
Hi Dimitriy,

I downloded 

linaro-saucy-developer-20131216-586.tar.gz

and i copied in sdcard  and booted.


But i got struck here:

[7.057834] devtmpfs: mounted
6Freeing init memory: 216K
[7.069043] Freeing init memory: 216K
6Write protecting the kernel text section c0008000 - c0817000
[7.078378] Write protecting the kernel text section c0008000 - c0817000
4init: ureadahead main process (71) terminated with status 5
[7.644747] init: ureadahead main process (71) terminated with status 5

Kindly tell me what will be the issue.

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/groups/opt_out.


[linux-sunxi] Re: How to port ubuntu in my A20 board.

2014-01-27 Thread Puneet B
Hi Patrick,

I downloaded rootfs from this link for armhf .

http://cdimage.ubuntu.com/ubuntu-core/releases/13.10/release/

but once i boot i got struck here.

6Freeing init memory: 212K
[6.629097] Freeing init memory: 212K
6Write protecting the kernel text section c0008000 - c07d2000
[6.638421] Write protecting the kernel text section c0008000 - c07d2000
30systemd-udevd[165]: starting version 204
4init: plymouth main process (78) killed by ABRT signal
4init: plymouth-splash main process (202) terminated with status 2
4init: failsafe main process (225) killed by TERM signal
4init: plymouth-stop pre-start process (303) terminated with status 1


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/groups/opt_out.


[linux-sunxi] Re: How to port ubuntu in my A20 board.

2014-01-27 Thread Puneet B
i downloaded fallowing package.

ubuntu-core-13.10-core-armhf.tar.gz

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/groups/opt_out.


[linux-sunxi] Re: How to test wifi in A20.

2014-01-16 Thread Puneet B
Hi,

While tracing problem i found below issue.

i am getting error in log as:

[4.780261] [dhd_module_init] get wl_host_wake gpio failed

The code is from here:./

vim linux-sunxi/drivers/net/wireless/bcmdhd/dhd_linux.c +4396

if (gpio_request(WL_HOST_WAKE_DEF_GPIO, wl_host_wake)) {
pr_warning([%s] get wl_host_wake gpio failed\n, 
__FUNCTION__);
wl_host_wake = -1;
return -1;
}

Which means  some gpio error:

In script for wifi:
ap6xxx_wl_regon  = port:PH091defaultdefault0
ap6xxx_wl_host_wake  = port:PH100defaultdefault0
ap6xxx_bt_regon  = port:PB051defaultdefault0
ap6xxx_bt_wake   = port:PI201defaultdefault0
ap6xxx_bt_host_wake  = port:PI210defaultdefault0
ap6xxx_lpo  = port:PI124defaultdefaultdefault


For ap6xxx_wl_host_wake  , i check by making high and low but error is same.

Can any one tell why that error is, Is it  because of some gpio pins or 
something else went wrong?

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/groups/opt_out.


Re: [linux-sunxi] Re: ethernet is not working...

2014-01-15 Thread Puneet B
Hi ma haijun,

My wifi chip ap6210 is not working.

Here My log regarding wifi:

 wakeup src cnt is : 0. 
[0.373732] [wifi]: select wifi: ap6210 !!
[0.374115] [ap6xxx]: module power name 
[0.374134] [ap6xxx]: ap6xxx module power set by axp.
[0.374151] [ap6xxx]: get power regulator failed.
[0.374182] [wifi_pm]: wifi gpio init is OK !!
[3.230488] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[3.335739] [ap6xxx]: sdio wifi power state: on
[3.347909] === WLAN placed in POWER ON 
[5.344407] failed to power up wifi chip puneet , retry again (4 left) **

[5.362732] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[5.472678] [ap6xxx]: sdio wifi power state: off
[5.477309] sw_mci_rescan_card
[5.480381] === WLAN placed in POWER OFF 
[5.508189] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[5.514829] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 
1 timing LEGACY(SDR12) dt B
[5.613428] [ap6xxx]: sdio wifi power state: on
[5.617975] [dhd_customer_gpio_wlan_ctrl 175]
[5.622329] sw_mci_rescan_card
[5.625429] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 
timing LEGACY(SDR12) dt B
[5.625607] === WLAN placed in POWER ON 
[7.624396] failed to power up wifi chip puneet , retry again (3 left) **
[7.755725] === WLAN placed in POWER OFF 

[7.770976] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to 
turn on WL_REG_ON
[7.779202] [dhd_customer_gpio_wlan_ctrl 173]
[7.783567] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[7.907814] [ap6xxx]: sdio wifi power state: on
[7.912346] [dhd_customer_gpio_wlan_ctrl 175]
[7.919968] === WLAN placed in POWER ON 
[9.924386] failed to power up wifi chip puneet , retry again (2 left) **
[9.924393] 
[9.934429] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to 
turn off WL_REG_ON
[9.942702] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[   10.047959] [ap6xxx]: sdio wifi power state: off
[   10.052580] sw_mci_rescan_card
[   10.055683] === WLAN placed in POWER OFF 

[   10.070930] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to 
turn on WL_REG_ON
[   10.079160] [dhd_customer_gpio_wlan_ctrl 173]
[   10.083525] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[   10.090003] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 
1 timing LEGACY(SDR12) dt B
[   10.197856] [ap6xxx]: sdio wifi power state: on
[   10.202394] [dhd_customer_gpio_wlan_ctrl 175]
[   10.206764] sw_mci_rescan_card
[   10.209857] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 
timing LEGACY(SDR12) dt B
[   10.210031] === WLAN placed in POWER ON 
[   12.204443] failed to power up wifi chip puneet , retry again (1 left) **
[   12.204450] [   12.339882] === WLAN placed in POWER OFF 
[   12.354794] failed to power up wifi chip puneet, max retry reached, 
exits **

I used sane script what you shared, with that script my ethernet is working 
fine, and i used same source code what hummingbird people shared with me.

Can you share what you are getting on you console regarding wifi. 

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/groups/opt_out.


[linux-sunxi] Re: How to test wifi in A20.

2014-01-15 Thread Puneet B
 Hi

My wifi chip ap6210 is not working.

Here My log regarding wifi:


 wakeup src cnt is : 0. 
[0.373732] [wifi]: select wifi: ap6210 !!
[0.374115] [ap6xxx]: module power name 
[0.374134] [ap6xxx]: ap6xxx module power set by axp.
[0.374151] [ap6xxx]: get power regulator failed.
[0.374182] [wifi_pm]: wifi gpio init is OK !!
[3.230488] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[3.335739] [ap6xxx]: sdio wifi power state: on
[3.347909] === WLAN placed in POWER ON 
[5.344407] failed to power up wifi chip puneet , retry again (4 left) **

[5.362732] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[5.472678] [ap6xxx]: sdio wifi power state: off
[5.477309] sw_mci_rescan_card
[5.480381] === WLAN placed in POWER OFF 
[5.508189] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[5.514829] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 
1 timing LEGACY(SDR12) dt B
[5.613428] [ap6xxx]: sdio wifi power state: on
[5.617975] [dhd_customer_gpio_wlan_ctrl 175]
[5.622329] sw_mci_rescan_card
[5.625429] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 
timing LEGACY(SDR12) dt B
[5.625607] === WLAN placed in POWER ON 
[7.624396] failed to power up wifi chip puneet , retry again (3 left) **
[7.755725] === WLAN placed in POWER OFF 

[7.770976] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to 
turn on WL_REG_ON
[7.779202] [dhd_customer_gpio_wlan_ctrl 173]
[7.783567] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[7.907814] [ap6xxx]: sdio wifi power state: on
[7.912346] [dhd_customer_gpio_wlan_ctrl 175]
[7.919968] === WLAN placed in POWER ON 
[9.924386] failed to power up wifi chip puneet , retry again (2 left) **
[9.924393] 
[9.934429] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to 
turn off WL_REG_ON
[9.942702] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[   10.047959] [ap6xxx]: sdio wifi power state: off
[   10.052580] sw_mci_rescan_card
[   10.055683] === WLAN placed in POWER OFF 

[   10.070930] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to 
turn on WL_REG_ON
[   10.079160] [dhd_customer_gpio_wlan_ctrl 173]
[   10.083525] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[   10.090003] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 
1 timing LEGACY(SDR12) dt B
[   10.197856] [ap6xxx]: sdio wifi power state: on
[   10.202394] [dhd_customer_gpio_wlan_ctrl 175]
[   10.206764] sw_mci_rescan_card
[   10.209857] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 
timing LEGACY(SDR12) dt B
[   10.210031] === WLAN placed in POWER ON 
[   12.204443] failed to power up wifi chip puneet , retry again (1 left) **
[   12.204450] [   12.339882] === WLAN placed in POWER OFF 
[   12.354794] failed to power up wifi chip puneet, max retry reached, 
exits **

I used sane script what you shared, with that script my ethernet is working 
fine, and i used same source code what hummingbird people shared with me.

Can you share what you are getting on you console regarding wifi. 

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/groups/opt_out.


Re: [linux-sunxi] Re: ethernet is not working...

2014-01-11 Thread Puneet B
Hi ma haijun,

From hummingbird people only i got source code.

But in my script i dont have any gmac. 

Can you tell me which driver need to enabled for gmac.

and is there need to do any change  in script.

Kindly suggest me.

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/groups/opt_out.


Re: [linux-sunxi] Re: ethernet is not working...

2014-01-10 Thread Puneet B
Hi Jon,

I did not get any message while plug an unplug.

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/groups/opt_out.


Re: [linux-sunxi] Re: Lcd in danger

2014-01-10 Thread Puneet B
Hi 

Actually the that error is because of

wrong configuration lcd parameters in scripts.

try to add default configuration or if you are using lcd , try to add 
actual configuration.

and check with this also

[disp_init]
disp_init_enable= 1
disp_mode   = 0

screen0_output_type = 3
screen0_output_mode = 5

screen1_output_type = 1
screen1_output_mode = 4

fb0_framebuffer_num = 2
fb0_format  = 10
fb0_pixel_sequence  = 0
fb0_scaler_mode_enable  = 0

fb1_framebuffer_num = 2
fb1_format  = 10
fb1_pixel_sequence  = 0
fb1_scaler_mode_enable  = 0

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/groups/opt_out.


Re: [linux-sunxi] Re: ethernet is not working...

2014-01-10 Thread Puneet B
Hi Jon,

Yes it is working with my pc.

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/groups/opt_out.


[linux-sunxi] Re: ethernet is not working...

2014-01-09 Thread Puneet B
i am getting repeated execution of these statement.

Can you explain for what it is?.

[ 9501.003002] sunxi_emac sunxi_emac.0: tx time out, resetting emac
3sunxi_emac sunxi_emac.0: tx time out, resetting emac
[ 9511.003140] sunxi_emac sunxi_emac.0: tx time out, resetting emac
3sunxi_emac sunxi_emac.0: tx time out, resetting emac
[ 9521.002999] sunxi_emac sunxi_emac.0: tx time out, resetting emac

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/groups/opt_out.


Re: [linux-sunxi] Re: ethernet is not working...

2014-01-09 Thread Puneet B
Hi,

I am using linux sunxi 3.4 kernel.

form linux-sunxi git


On Thu, Jan 9, 2014 at 9:31 PM, Arokux X aro...@gmail.com wrote:

 Which kernel are you booting? Without this info how can someone help you?

 --
 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/EkQmr6IBDO4/unsubscribe.
 To unsubscribe from this group and all of its topics, send an email to
 linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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/groups/opt_out.


  1   2   >