All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
@ 2013-08-14 17:44 thomas schorpp
  2014-08-12  6:25 ` anuroop.kamu
  0 siblings, 1 reply; 6+ messages in thread
From: thomas schorpp @ 2013-08-14 17:44 UTC (permalink / raw)
  To: linux-sunxi; +Cc: linux-media

OK, with the patched fex file and devices.c from
[linux-sunxi] [PATCH v2 1/1] [sunxi-boards/a20] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
[PATCH v2 1/1] [stage/sunxi-3.4] sw_nand: sunxi devices core using wrong MMIO region range, overlaps TSC/TSI register base address 0x01c04000
and the driver patches from this topic here

the driver basically loads and inits:

[  161.016837] [tsc-inf] tscdev_init: kmalloc memory, size: 0x212000
[  161.042378] [tsc-dbg] register_tsiomem: check_mem_region return: 0
[  161.055409] [tsc-dbg] register_tsiomem: devp->regsaddr: 0xf0104000

root@vdr2:~# cat /proc/iomem |grep -C 1 -i ts
01c03000-01c03fff : sw_nand
01c04000-01c04fff : ts regs
01c0a000-01c0afff : disp

root@vdr2:~# ls -l /dev/ts*
crw------- 1 root root 225, 0 Aug 14 19:10 /dev/tsc_dev

And ioctl() triggers the controller setup successfully.

root@vdr2:~# dd if=/dev/tsc_dev of=/dev/null bs=1K count=100 &

[ 1064.861178] [tsc-inf] tscdev_open: ahb_ts clk rate: 0x1
[ 1064.871506] [tsc-inf] tscdev_open: parent clock rate 384000000
[ 1064.881674] [tsc-inf] tscdev_open: clock rate 192000000
[ 1064.891079] [tsc-inf] tscdev_open: clock rate 192000000

Ready to build the Philips CU1216-MKIII TDA10023 DVB-C- Receiver "recycling" SMT extension board next days.
Others are invited to build boards with their receiver modules and extend driver Kconfig for more receivers, too.

Next i2c and frontend driver integration, if someone can do that faster, pls don't wait for me and pls CC linux-media list.

dvb_core integration after the hardware and driver PIO tests success.

Thanks for all the great community support :-)

y
tom


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
  2013-08-14 17:44 [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC) thomas schorpp
@ 2014-08-12  6:25 ` anuroop.kamu
  2014-08-12  7:55   ` thomas schorpp
  0 siblings, 1 reply; 6+ messages in thread
From: anuroop.kamu @ 2014-08-12  6:25 UTC (permalink / raw)
  To: linux-sunxi; +Cc: linux-media, thomas.schorpp

[-- Attachment #1: Type: text/plain, Size: 4389 bytes --]

On Wednesday, August 14, 2013 11:14:15 PM UTC+5:30, Thomas Schorpp wrote:
> OK, with the patched fex file and devices.c from
> 
> [linux-sunxi] [PATCH v2 1/1] [sunxi-boards/a20] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
> 
> [PATCH v2 1/1] [stage/sunxi-3.4] sw_nand: sunxi devices core using wrong MMIO region range, overlaps TSC/TSI register base address 0x01c04000
> 
> and the driver patches from this topic here
> 
> 

> 
> the driver basically loads and inits:
> 
> 
> 
> [  161.016837] [tsc-inf] tscdev_init: kmalloc memory, size: 0x212000
> 
> [  161.042378] [tsc-dbg] register_tsiomem: check_mem_region return: 0
> 
> [  161.055409] [tsc-dbg] register_tsiomem: devp->regsaddr: 0xf0104000
> 
> 
> 
> root@vdr2:~# cat /proc/iomem |grep -C 1 -i ts
> 
> 01c03000-01c03fff : sw_nand
> 
> 01c04000-01c04fff : ts regs
> 
> 01c0a000-01c0afff : disp
> 
> 
> 
> root@vdr2:~# ls -l /dev/ts*
> 
> crw------- 1 root root 225, 0 Aug 14 19:10 /dev/tsc_dev
> 
> 
> 
> And ioctl() triggers the controller setup successfully.
> 
> 
> 
> root@vdr2:~# dd if=/dev/tsc_dev of=/dev/null bs=1K count=100 &
> 
> 
> 
> [ 1064.861178] [tsc-inf] tscdev_open: ahb_ts clk rate: 0x1
> 
> [ 1064.871506] [tsc-inf] tscdev_open: parent clock rate 384000000
> 
> [ 1064.881674] [tsc-inf] tscdev_open: clock rate 192000000
> 
> [ 1064.891079] [tsc-inf] tscdev_open: clock rate 192000000
> 
> 
> 
> Ready to build the Philips CU1216-MKIII TDA10023 DVB-C- Receiver "recycling" SMT extension board next days.
> 
> Others are invited to build boards with their receiver modules and extend driver Kconfig for more receivers, too.
> 
> 
> 
> Next i2c and frontend driver integration, if someone can do that faster, pls don't wait for me and pls CC linux-media list.
> 
> 
> 
> dvb_core integration after the hardware and driver PIO tests success.
> 
> 
> 
> Thanks for all the great community support :-)
> 
> 
> 
> y
> 
> tom

Hi, I need some help. I am trying to take TS stream input through TS0 Allwinner A20 board by SMDT. 
I have the Fex file info as below.
[tsc_para]
tsc_used                 = 1
tsc_cla                  = port:PE00<2><default><default><default>
tsc_err                  = port:PE01<2><default><default><default>
tsc_sync                 = port:PE02<2><default><default><default>
tsc_dvld                 = port:PE03<2><default><default><default>
tsc_d0                   = port:PE04<2><default><default><default>
tsc_d1                   = port:PE05<2><default><default><default>
tsc_d2                   = port:PE06<2><default><default><default>
tsc_d3                   = port:PE07<2><default><default><default>
tsc_d4                   = port:PE08<2><default><default><default>
tsc_d5                   = port:PE09<2><default><default><default>
tsc_d6                   = port:PE10<2><default><default><default>
tsc_d7                   = port:PE11<2><default><default><default>

Now, with this I get some error when I load the tscdrv.ko.
below are the errors
<6>[  775.488646] [tsc-inf] tscdev_init: kmalloc memory, size: 0x212000
<6>[  775.509833] [tsc-inf] request_tsc_pio: request tsc pio119 failed, maybe error
<6>[  775.509889] [tsc-inf] request_tsc_pio: request tsc pio120 failed, maybe error
<6>[  775.509934] [tsc-inf] request_tsc_pio: request tsc pio121 failed, maybe error
<6>[  775.509979] [tsc-inf] request_tsc_pio: request tsc pio122 failed, maybe error
<6>[  775.510023] [tsc-inf] request_tsc_pio: request tsc pio123 failed, maybe error
<6>[  775.510067] [tsc-inf] request_tsc_pio: request tsc pio124 failed, maybe error
<6>[  775.510112] [tsc-inf] request_tsc_pio: request tsc pio125 failed, maybe error
<6>[  775.510156] [tsc-inf] request_tsc_pio: request tsc pio126 failed, maybe error
<6>[  775.510200] [tsc-inf] request_tsc_pio: request tsc pio127 failed, maybe error
<6>[  775.510245] [tsc-inf] request_tsc_pio: request tsc pio128 failed, maybe error
<6>[  775.510289] [tsc-inf] request_tsc_pio: request tsc pio129 failed, maybe error
<6>[  775.510333] [tsc-inf] request_tsc_pio: request tsc pio130 failed, maybe error
<6>[  775.514859] [tsc-dbg] register_tsiomem: check_mem_region return: 0
<6>[  775.514991] [tsc-dbg] register_tsiomem: devp->regsaddr: 0xf0012000

am I missing something? Do I need to modify the fex file?

please forgive me if my questions are wrong. I am fairly new to android & Allwinner platform.

thanks a lot
Anuroop


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
  2014-08-12  6:25 ` anuroop.kamu
@ 2014-08-12  7:55   ` thomas schorpp
  2014-08-12  8:51     ` anuroop.kamu
       [not found]     ` <729740fb-4a6f-4a7e-a151-dd12d2d8d944@googlegroups.com>
  0 siblings, 2 replies; 6+ messages in thread
From: thomas schorpp @ 2014-08-12  7:55 UTC (permalink / raw)
  To: anuroop.kamu, linux-sunxi; +Cc: linux-media

Am 12.08.2014 um 08:25 schrieb anuroop.kamu@gmail.com:
> On Wednesday, August 14, 2013 11:14:15 PM UTC+5:30, Thomas Schorpp wrote:
>> OK, with the patched fex file and devices.c from
>>
>> [linux-sunxi] [PATCH v2 1/1] [sunxi-boards/a20] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
>>
>> [PATCH v2 1/1] [stage/sunxi-3.4] sw_nand: sunxi devices core using wrong MMIO region range, overlaps TSC/TSI register base address 0x01c04000
>>
>> and the driver patches from this topic here
>>
>>
>
>>
>> the driver basically loads and inits:

>
> please forgive me if my questions are wrong. I am fairly new to android & Allwinner platform.

1. The tscdrv.c code (my linux-sunxi port, too) is (c) AW proprietary, You need to contact AW support (+ for a complete TSC Manual).

2. I've suspended my TSC project until a complete A20 TSC manual is available or I get the time for register probe rev. engineering.

3. https://groups.google.com/forum/#!topic/android-porting/EMAG4RUlOjI

"Now we are planning to integrate a TV chip with this (DVB-T) . Allwinner has TS control block and a sample driver along with it."

Who is "we"?

I don't support Android OS platform, nor do "we" support closed source product developers from hidden proprietary products manufacturers
usually not releasing derivated works of GPL'd code back to "us" or the android-porting project with their products,
especially not for free. Please refer to the known consultant companies if Your company needs "help".

Please, tell Your Boss there's a big difference between "help" and valuable expensive engineering project consulting, thank You.
Code maybe free under GPL (only the without warranty version) but consulting for it is not, and violating the GPL is breaking the law, worldwide.

This is the second request directly adressed to me off-list from a commercial company to work for free for them,
I will drop any further to the JUNK Mail folder without notice.

>
> thanks a lot
> Anuroop
>

thanks A LOT :-//
y
tom


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
  2014-08-12  7:55   ` thomas schorpp
@ 2014-08-12  8:51     ` anuroop.kamu
       [not found]     ` <729740fb-4a6f-4a7e-a151-dd12d2d8d944@googlegroups.com>
  1 sibling, 0 replies; 6+ messages in thread
From: anuroop.kamu @ 2014-08-12  8:51 UTC (permalink / raw)
  To: linux-sunxi; +Cc: anuroop.kamu, linux-media, thomas.schorpp

[-- Attachment #1: Type: text/plain, Size: 2424 bytes --]

On Tuesday, August 12, 2014 1:26:01 PM UTC+5:30, Thomas Schorpp wrote:
> Am 12.08.2014 um 08:25 schrieb anuroop.kamu@gmail.com:
> 
> > On Wednesday, August 14, 2013 11:14:15 PM UTC+5:30, Thomas Schorpp wrote:
> 
> >> OK, with the patched fex file and devices.c from
> 
> >>
> 
> >> [linux-sunxi] [PATCH v2 1/1] [sunxi-boards/a20] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
> 
> >>
> 
> >> [PATCH v2 1/1] [stage/sunxi-3.4] sw_nand: sunxi devices core using wrong MMIO region range, overlaps TSC/TSI register base address 0x01c04000
> 
> >>
> 
> >> and the driver patches from this topic here
> 
> >>
> 
> >>
> 
> >
> 
> >>
> 
> >> the driver basically loads and inits:
> 
> 
> 
> >
> 
> > please forgive me if my questions are wrong. I am fairly new to android & Allwinner platform.
> 
> 
> 
> 1. The tscdrv.c code (my linux-sunxi port, too) is (c) AW proprietary, You need to contact AW support (+ for a complete TSC Manual).
> 
> 
> 
> 2. I've suspended my TSC project until a complete A20 TSC manual is available or I get the time for register probe rev. engineering.
> 
> 
> 
> 3. https://groups.google.com/forum/#!topic/android-porting/EMAG4RUlOjI
> 
> 
> 
> "Now we are planning to integrate a TV chip with this (DVB-T) . Allwinner has TS control block and a sample driver along with it."
> 
> 
> 
> Who is "we"?
> 
> 
> 
> I don't support Android OS platform, nor do "we" support closed source product developers from hidden proprietary products manufacturers
> 
> usually not releasing derivated works of GPL'd code back to "us" or the android-porting project with their products,
> 
> especially not for free. Please refer to the known consultant companies if Your company needs "help".
> 
> 
> 
> Please, tell Your Boss there's a big difference between "help" and valuable expensive engineering project consulting, thank You.
> 
> Code maybe free under GPL (only the without warranty version) but consulting for it is not, and violating the GPL is breaking the law, worldwide.
> 
> 
> 
> This is the second request directly adressed to me off-list from a commercial company to work for free for them,
> 
> I will drop any further to the JUNK Mail folder without notice.
> 
> 
> 
> >
> 
> > thanks a lot
> 
> > Anuroop
> 
> >
> 
> 
> 
> thanks A LOT :-//
> 
> y
> 
> tom

I am sorry Tom. I was trying to build the AW TSC for SMDT. 
hope you forgive me for my mistakes.

-thanks
Anuroop

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
       [not found]     ` <729740fb-4a6f-4a7e-a151-dd12d2d8d944@googlegroups.com>
@ 2014-08-12 13:24       ` thomas schorpp
       [not found]       ` <CA+C5N_r6Vm8O==F4-EDakMPDnzTVKW9aifDPiEtFCW=9UBkQ8Q@mail.gmail.com>
  1 sibling, 0 replies; 6+ messages in thread
From: thomas schorpp @ 2014-08-12 13:24 UTC (permalink / raw)
  To: Mihail Tommonen, linux-sunxi; +Cc: anuroop.kamu, linux-media

Am 12.08.2014 um 14:21 schrieb Mihail Tommonen:>
> Hi,
>
> 2. I've suspended my TSC project until a complete A20 TSC manual is
>> available or I get the time for register probe rev. engineering.
>>
>
> Have you seen this:
> http://dl.linux-sunxi.org/A10/A10%20Transport%20Stream%20Controller%20V1.00%2020120917.pdf
> I expect a20 tsc to be really similiart to a10.

Incomplete. Prove me wrong by getting a full TS without bypassing the TSC using the GPIO ports in other MUX mode directly, if possible (sig speed).

>
> WBR
>
> Miska
>

y
tom

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
       [not found]       ` <CA+C5N_r6Vm8O==F4-EDakMPDnzTVKW9aifDPiEtFCW=9UBkQ8Q@mail.gmail.com>
@ 2016-02-04  6:48         ` yangkkokk
  0 siblings, 0 replies; 6+ messages in thread
From: yangkkokk @ 2016-02-04  6:48 UTC (permalink / raw)
  To: linux-sunxi; +Cc: patapovich, linux-media

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

在 2014年8月12日星期二 UTC+8下午11:20:16,anuroop kamu写道:
> Hi Miska, Thanks for that Doc
> 
> 
> I am still not able to visualize it fully. if this Tsc driver works well, which buffer/fifo will the data be available? 
> Do I need to make a separate media player app to get this data? Or any default media player can play the video directly from /dev/tsc_dev (or /dev/video0) ?
> 
> I am trying to use the default AW TS driver for A20.
> 
> 
> please correct me if my understanding is wrong.
> 
> 
> thanks
> Anuroop 
> 
> 
> 
> 
> 
> On Tue, Aug 12, 2014 at 5:51 PM, Mihail Tommonen <patap...@gmail.com> wrote:
> 
> 
> Hi,
> 
> 
> 2. I've suspended my TSC project until a complete A20 TSC manual is available or I get the time for register probe rev. engineering.
> 
> 
> 
> Have you seen this: http://dl.linux-sunxi.org/A10/A10%20Transport%20Stream%20Controller%20V1.00%2020120917.pdf
> 
> I expect a20 tsc to be really similiart to a10. 
> 
> WBR
> 
> Miska

hi
  you must have a tsdeviver like dibcom 3000 or anything,so you can done it.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-04 11:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 17:44 [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC) thomas schorpp
2014-08-12  6:25 ` anuroop.kamu
2014-08-12  7:55   ` thomas schorpp
2014-08-12  8:51     ` anuroop.kamu
     [not found]     ` <729740fb-4a6f-4a7e-a151-dd12d2d8d944@googlegroups.com>
2014-08-12 13:24       ` thomas schorpp
     [not found]       ` <CA+C5N_r6Vm8O==F4-EDakMPDnzTVKW9aifDPiEtFCW=9UBkQ8Q@mail.gmail.com>
2016-02-04  6:48         ` yangkkokk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.