Re: [linux-sunxi] Re: Communication with Allwinner

2015-03-18 Thread RFat
Hi Henrik,

Yes, I have but let's make sure I did not miss anything:

I looked at the SDK that appeared a while ago where versions of both 
linux-3.4 and u-boot-2011.01 can be found (under lichee and lichee/brandy).
In both places I found the sunxi video drivers and specifically the HDMI 
files (under aw directory). 
The file hdmi_core.c is the one where the HW initialisation appeared in the 
past, but now it is basically empty and calls a function 
sunxi_video_config(vic) whose source is unavailable (I assume that it is 
compiled inside libhdcp).

That's the most important missing piece. The A80 user manual also does not 
contain any info about the HDMI module.

Raanan

On Wednesday, March 18, 2015 at 9:35:39 AM UTC+2, Henrik Nordström wrote:

 tis 2015-03-17 klockan 09:38 -0700 skrev RFat: 

  I wonder if there is any progress on getting the basic info. behind 
  the HDMI module in the A80 chip (registers/initialization code)? Any 
  prospects whether such info. will become public anytime soon? 

 Have you looked at the existing code? 

 Regards 
 Henrik 




-- 
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: Communication with Allwinner

2015-03-18 Thread Henrik Nordström
ons 2015-03-18 klockan 01:58 -0700 skrev RFat:

 The file hdmi_core.c is the one where the HW initialisation appeared
 in the past, but now it is basically empty and calls a function
 sunxi_video_config(vic) whose source is unavailable (I assume that it
 is compiled inside libhdcp).

 That's the most important missing piece. The A80 user manual also does
 not contain any info about the HDMI module.

Ouch. You seem to be right.

Regards
Henrik



-- 
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: Communication with Allwinner

2015-03-18 Thread Henrik Nordström
tis 2015-03-17 klockan 09:38 -0700 skrev RFat:

 I wonder if there is any progress on getting the basic info. behind
 the HDMI module in the A80 chip (registers/initialization code)? Any
 prospects whether such info. will become public anytime soon?

Have you looked at the existing code?

Regards
Henrik


-- 
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: Communication with Allwinner

2015-03-17 Thread RFat
Hi David,

I wonder if there is any progress on getting the basic info. behind the 
HDMI module in the A80 chip (registers/initialization code)? Any prospects 
whether such info. will become public anytime soon?

Thank you!

On Sunday, February 15, 2015 at 10:12:46 PM UTC+2, David Lanzendörfer wrote:

 Hi 
 Sounds like a nobel cause! 
 I wanna build my FOSS sunxi community tablet. 
 And since the Allwinner folks and I like each other very much 
 they are supporting me 100% with it. 
 And yeah. It's also a noble goal I suppose, since the goal is to build 
 something totally open source for the community. 

 I am highly interested in getting the missing registers of the A80's HDMI 
 module (the description of this module is missing both from the A80 user 
 manual and the SDK). 
 I'm not sure whether there exists a full documentation about these 
 registers 
 at all, but I will pass the question on in proper Chinese underlining that 
 any 
 kind of documentation (even so it might only exist partially) would help 
 us. 

 There are various open issues with the documents released so far from 
 Allwinner which are listed here: 
 https://github.com/allwinner-zh/documents/issues/ 
 It will take time fixing all these issues (but the will is there). 
 Right now everything takes even longer than  usual  because it's Chinese 
 new 
 year, so with some specific hardware we will have to wait until the 
 respective 
 engineer has returned from his hollidays with his relatives. 

 I am sure the sunxi experts will have more to request! 
 I'm looking forward to translating these into Chinese :) 

 Thanks a lot! 
 -RF 
 I do my best! 

 All the best. 

 -lev

-- 
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: Communication with Allwinner

2015-02-24 Thread David Lanzendörfer
Hi
Wonder if they're willing to help out with the Cyanogenmod efforts.
A dude going by the name of Christian Troy was claimed to have worked with
Allwinner employees and released several Cyanogenmod distros for the A31,
but the problem is he hasn't released any complete source archives,
and others were having trouble building their own CM from scratch.
It's a problem since right now they are totally overworked with their driver 
development tasks.
But since we are going to mainline most of the drivers anyway within the next 
few months, it shouldn't be a problem to rebuild a CM for the sunxi platform.
Also the design for the A64 will be designed the way that all the code will be 
available in upstream (linux-next at least).
Also it was mostly Christian who has worked on the CM build together with the 
old team of which only a few are around (many have moved to other companies 
like Rockchip) so the people who were working on this CM build are no longer 
working at this company... I'd suggest contacting Christian Troy directly:
http://forum.xda-developers.com/member.php?u=1237780

Sorry for the bad news and all the best
-- 
David Lanzendörfer
OpenSourceSupport GmbH
System engineer and supporter
http://www.o2s.ch/

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


signature.asc
Description: This is a digitally signed message part.


[linux-sunxi] Re: Communication with Allwinner

2015-02-24 Thread David Lanzendörfer
Also you can find the patches here btw:
https://github.com/christiantroy/allwinner_a31

Cheers
-- 
David Lanzendörfer
OpenSourceSupport GmbH
System engineer and supporter
http://www.o2s.ch/

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


signature.asc
Description: This is a digitally signed message part.


[linux-sunxi] Re: Communication with Allwinner

2015-02-24 Thread Blake Gripling
Ugh, I knew it. Chris disabled private messaging on his XDA profile. :'(

On Sunday, February 15, 2015 at 5:02:38 AM UTC+8, David Lanzendörfer wrote:

 Hello 
 As you have maybe already heard in IRC I've taken a trip to Zhuhai and met 
 the 
 engineers of Allwinner Technology (全志科技) in person. 
 We decided that we want as much cooperation between the sunxi project and 
 Allwinner as possible for upstreaming our device drivers. 
 I've taken the job of managing the communication between Allwinner and you 
 guys since there is some language barrier. 
 Some of the engineers only hardly understand English and most of them do 
 not 
 understand English at all. 
 So if you have questions about documentation or request assistance with 
 some 
 pieces of the code please email me and I will translate it into Chinese 
 and 
 pass it on to the relevant engineer. 
 Also I will then pass on the translated answer back to you. 

 Hopefully this works out 
 All the best greatings from Switzerland 
 David 
 -- 
 David Lanzendörfer 
 OpenSourceSupport GmbH 
 System engineer and supporter 
 http://www.o2s.ch/

-- 
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: Communication with Allwinner

2015-02-24 Thread Blake Gripling
That's quite a drag. Also, I have to admit that I'm no programmer, but it would 
be nice if someone can at least give some pointers on how to use Christian's CM 
patches. Not to mention that he seems to have moved on from developing for 
Allwinner, and I'm afraid he might not even reply to my mail given the sheer 
number of requests he gets.

What I only wanted was an alternative Cyanogenmod distribution others can work 
on rather than making do with something that has since been discontinued by the 
author.

-- 
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: Communication with Allwinner

2015-02-24 Thread Blake Gripling
Wonder if they're willing to help out with the Cyanogenmod efforts. A dude 
going by the name of Christian Troy was claimed to have worked with 
Allwinner employees and released several Cyanogenmod distros for the A31, 
but the problem is he hasn't released any complete source archives, and 
others were having trouble building their own CM from scratch.

On Sunday, February 15, 2015 at 5:02:38 AM UTC+8, David Lanzendörfer wrote:

 Hello 
 As you have maybe already heard in IRC I've taken a trip to Zhuhai and met 
 the 
 engineers of Allwinner Technology (全志科技) in person. 
 We decided that we want as much cooperation between the sunxi project and 
 Allwinner as possible for upstreaming our device drivers. 
 I've taken the job of managing the communication between Allwinner and you 
 guys since there is some language barrier. 
 Some of the engineers only hardly understand English and most of them do 
 not 
 understand English at all. 
 So if you have questions about documentation or request assistance with 
 some 
 pieces of the code please email me and I will translate it into Chinese 
 and 
 pass it on to the relevant engineer. 
 Also I will then pass on the translated answer back to you. 

 Hopefully this works out 
 All the best greatings from Switzerland 
 David 
 -- 
 David Lanzendörfer 
 OpenSourceSupport GmbH 
 System engineer and supporter 
 http://www.o2s.ch/

-- 
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: Communication with Allwinner

2015-02-20 Thread mike . valk
On Tuesday, February 17, 2015 at 6:56:13 PM UTC+1, Manuel Braga wrote:
 On Tue, 17 Feb 2015 12:00:27 +0200 Simos Xenitellis
  
  At http://www.phoronix.com/scan.php?page=news_itempx=MTg4Mjg it
  mentions that Intel is doing Linux work on the PowerVR VXD392 VPU (as
  is used on Baytrail).
  Is the VPU similar to what exists on the A80?
 
 What is a VPU?, wikipedia says that a VPU is another term for GPU.
 And at the end this is huge confusion, that make people believe that for
 have hardware accelerated video playback is a requirement to have and
 use the GPU.

CPU : Central Processing Unit
GPU : Graphics Processing Unit
VPU : Video Processing unit

GPU, VPU are specialized processing unit/cores for specific workloads to unload 
the CPU or gain performance which is out of reach for a general purpose PU 

GPGPU: General purpose GPU. - OpeCL etc. 

Not that confusing IMHO, A little archaic perhaps. 

 
 This is wrong, it come from the fact that in the PC(x86) world are used
 graphic cards that are actually are (gpu + display engine + video codec
 engine), so this is 3 kind of difference hardware types put together in
 this some called graphic card.
 As this graphic card is one identity, it is usually all handled by the
 same software driver.

In x86 land we started with CGA, EGA and VGA cards. Which were a little more 
than Diplay Controllers. And were called video cards which was used pre 
x68. Because the C64 etc used a composite video signal to interface with 
tv's/display's

Than came the graphics accelerators, which would offload graphics processing 
from the CPU and send results back to CPU or directly to the display 
controller. 

http://commons.wikimedia.org/wiki/File:VideoLogic_Apocalypse_3Dx.jpg#mediaviewer/File:VideoLogic_Apocalypse_3Dx.jpg
An ancient PowerVR GPU for x86 without the display controller.


Because the chain CPU-GPU/Display Controller-Display. The display controller 
became embedded to the GPU cards.

Apart from that the came MPEG cards wich would decode MPEG video and 'stream' 
the result back to the system.

Because video decoding, VPU, should at the same place as the GPU the chain is 
broken. 
CPU - VPU - CPU - GPU - Display

Thus most GPU cards now have a video decoder onboard as well.
CPU - VPU/GPU/Display Controller - Display

 
 In ARM case this is not the case,
 http://www.cnx-software.com/2013/12/10/most-embedded-gpus-do-not-support-hardware-video-decoding-acceleration-the-vpu-does/

The driver issue is more a Mix and Match issue. In x86 the GPU/VPU/Display 
Controller are usually on one device. The set is alway the same and using a 
single driver makes sense. 

In ARM land the CPU,GPU,VPU,Display Controller are mixed and matched on a 
single device. Thus a single driver does not make sense. Hence the need for 
seperate drives and some glue (DeviceTree). Also the parts are no longer 
aligned but are placed side by side on the same memory(bus).

Luc has mostly figured out the Mali GPU and is now working on the display 
controller.


For A312 and A80 they chose Imagination's PowerVR as the GPU, I don't know if 
they chose the use Imagination parts for the Display Controller and VPU

 
 Please lets use a more correct term, that creates no ambiguity of what
 we are speaking about.
 
 Video Codec Engine, is the correct name for this type hardware in the
 sunxi(allwinner) case. This is the hardware to use for decoding and
 encoding of video codecs.

codec comes from coding and decoding. The VPU does more:
ColorCode conversion
Scaling
etc.

So calling it a mere codec is not more accurate.

Media Processing Unit I think is better. It whould also cover the audio codec 
and remove the confusion with video cards

But the Market/Marketing is stuck on the video term. 

 
 And in sunxi, sometimes called also cedar engine and it is the *same*
 Video Codec Engine in all allwinner socs.
 A10/A10s/A13/A20/A23/A31/A31s/A33/A80/A80T/A83T/H3/H8
 (with some minor and or new feature hardware versions)
 
 How do i know?
 From the kernel source code make available from allwinner.
 
 To the best of what could be found, this Video Codec Engine is a custom
 design made by www.chipsbank.com for allwinner. And this makes believe
 that is allwinner propriety and only used in allwinner socs.

That's intersting. I thought, altough it seemed odd me, the VPU was an in house 
development of Allwinner.

So the CedarX code may also be property of chipsbank.

Does chipsbank provide open documentation?



-- 
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: Communication with Allwinner

2015-02-20 Thread Henrik Nordström
fre 2015-02-20 klockan 03:03 -0800 skrev mike.v...@gmail.com:

 For A312 and A80 they chose Imagination's PowerVR as the GPU, I don't know if 
 they chose the use Imagination parts for the Display Controller and VPU

A80 has mostly the same display controller and video codec engine as the
other Allwinner SoC generations. The main differences in I/O space
compared to sun4i is the GPU and DDR controllers.

I think the PowerVR is also capable of some VPU processing so there may
be some noticeable functional overlap with Allwinner IP parts there.
 
 codec comes from coding and decoding. The VPU does more:
 ColorCode conversion
 Scaling
 etc.

Allwinner have those split in several components, with some overlap in
functionality. Allwinner do not own any GPU and normal video playback do
not use the GPU at all. Video playback is also possible to a memory
region mapped by the GPU but far from as efficient.

Things gets a little different when the VPU is merged into the GPU as
the GPU is then doing many of the transforms needed.

 But the Market/Marketing is stuck on the video term.

SoC world is still much more fragmented on terminology and
implementation.

 That's intersting. I thought, altough it seemed odd me, the VPU was an in 
 house development of Allwinner.
 
 So the CedarX code may also be property of chipsbank.

I very much doubt Allwinner do not have full control of CedarX IP (both
hardware and software), even if initially developed by/with others. It
is what made a market for Allwinner.

But yes, there almost certainly is shared ownership/licensing involved
which likely makes it troublesome for them to publish details.

Regards
Henrik

-- 
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: Communication with Allwinner

2015-02-17 Thread Luc Verhaegen
On Tue, Feb 17, 2015 at 02:21:28PM +0100, David Lanzendörfer wrote:
 Hi
  It makes business sense to be open and I think it is healthy to align
  with the FSF goals because it's also good for business.
  The field of SoC manufacturers gets somewhat saturated,
  and those that will get open first, will probably capture the market.
 I'm totally about free and open source software, I'm just not about Stallman 
 and the FSF dictatorship about the definition of what exactly is free and 
 what 
 unfree. (see the public argument between him and me which was on youtube a 
 while ago)
 Rest assured Allwinner is highly interested into mainlining as much of the 
 drivers as possible since they think as well that mainlining the drivers will 
 spare a lot of additional development efforts in the future.
 Also our goal is to move more towards being a community friendly manufacturer 
 so we build an open sourced platform of which everyone can reuse design for 
 his own projects.
 
 Hopefully that doesn't sound too assholish from me, but I had a lot of 
 trouble 
 with some of the people (Stallman and Luke) already which were mentioned in 
 the last few emails...

That's amazing. It's like these last three years just melted away now.

Oh wait.

I do not know what grass you smoke or what fun events happened when you 
visited allwinner, but all i see you do now is grandstanding about how 
things will be soo great in future. All you do is talk, talk, talk, and 
i see no actions.

And now you even are going down the route of eroding away at Allwinners 
legal requirements, especially those which cost time and money to fix, 
two things Allwinner clearly still is not willing to invest. On top 
of that, you have started to badmouth people who have actually done 
stuff in their lifetimes. What gives you that right? And what's next on 
this path?

Why don't you just shut up, completely, until you actually have 
something worth talking about. Say, after you produced code and/or 
datasheets.

Luc Verhaegen.

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


Re: [linux-sunxi] Re: Communication with Allwinner

2015-02-17 Thread David Lanzendörfer
Hi
 It makes business sense to be open and I think it is healthy to align
 with the FSF goals because it's also good for business.
 The field of SoC manufacturers gets somewhat saturated,
 and those that will get open first, will probably capture the market.
I'm totally about free and open source software, I'm just not about Stallman 
and the FSF dictatorship about the definition of what exactly is free and what 
unfree. (see the public argument between him and me which was on youtube a 
while ago)
Rest assured Allwinner is highly interested into mainlining as much of the 
drivers as possible since they think as well that mainlining the drivers will 
spare a lot of additional development efforts in the future.
Also our goal is to move more towards being a community friendly manufacturer 
so we build an open sourced platform of which everyone can reuse design for 
his own projects.

Hopefully that doesn't sound too assholish from me, but I had a lot of trouble 
with some of the people (Stallman and Luke) already which were mentioned in 
the last few emails...

All the best
-- 
David Lanzendörfer
OpenSourceSupport GmbH
System engineer and supporter
http://www.o2s.ch/

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


signature.asc
Description: This is a digitally signed message part.


Re: [linux-sunxi] Re: Communication with Allwinner

2015-02-17 Thread Manuel Braga
Hi,

On Tue, 17 Feb 2015 12:00:27 +0200 Simos Xenitellis
simos.li...@googlemail.com wrote:
 Hi David,
 
 Thanks for doing this and taking things forward!
 
 On Mon, Feb 16, 2015 at 9:54 PM, David Lanzendörfer
 david.lanzendoer...@o2s.ch wrote:
  Hi
  Javqui is not referring to the GPU but the VPU (Video). CedarX.
  MPEG-1/2, H.264, DivX, etc.
 
  Besides the opened part from PowerVR is sadly one of their
  publication stunts. http://libv.livejournal.com/. And when the PR
  department gets confronted with their own BS, they give you the
  silence treatment
 
  The only one thing I can say is PowerVR is poison. They don't even
  bow to Intel, Search for Poulsbo.
  I know it very well since I already have run Linux on Intel Atom
  CloverTrail platform and on BayTrail.
 
 
 At http://www.phoronix.com/scan.php?page=news_itempx=MTg4Mjg it
 mentions that Intel is doing Linux work on the PowerVR VXD392 VPU (as
 is used on Baytrail).
 Is the VPU similar to what exists on the A80?

What is a VPU?, wikipedia says that a VPU is another term for GPU.
And at the end this is huge confusion, that make people believe that for
have hardware accelerated video playback is a requirement to have and
use the GPU.

This is wrong, it come from the fact that in the PC(x86) world are used
graphic cards that are actually are (gpu + display engine + video codec
engine), so this is 3 kind of difference hardware types put together in
this some called graphic card.
As this graphic card is one identity, it is usually all handled by the
same software driver.

In ARM case this is not the case,
http://www.cnx-software.com/2013/12/10/most-embedded-gpus-do-not-support-hardware-video-decoding-acceleration-the-vpu-does/

Please lets use a more correct term, that creates no ambiguity of what
we are speaking about.

Video Codec Engine, is the correct name for this type hardware in the
sunxi(allwinner) case. This is the hardware to use for decoding and
encoding of video codecs.

And in sunxi, sometimes called also cedar engine and it is the *same*
Video Codec Engine in all allwinner socs.
A10/A10s/A13/A20/A23/A31/A31s/A33/A80/A80T/A83T/H3/H8
(with some minor and or new feature hardware versions)

How do i know?
From the kernel source code make available from allwinner.

To the best of what could be found, this Video Codec Engine is a custom
design made by www.chipsbank.com for allwinner. And this makes believe
that is allwinner propriety and only used in allwinner socs.

 
 Regarding the older SoCs in the A series, it is important to have a
 view whether there will be effort to support the VPU on Linux.

Did you already hear of libvdpau-sunxi? do you know what it is?
It is 100% open source, vdpau driver for this video codec engine by the
means of reverse engineering.
http://linux-sunxi.org/Cedrus
http://linux-sunxi.org/CedarX/Reverse_Engineering

Of course the work is not ended, this is only a workaround and the
plans to move and to make a proper driver that has the chances to be
mainlined is here:
http://linux-sunxi.org/VE_Planning


 I have the impression that it would greatly benefit boards like the
 Banana Pi, the OLinuXinos, the Cubieboards, etc.

I agree, but where is the support?
The support to the people that are working to make possible to have a
proper mainlined driver for this video codec engine.

 
  So open GPU Drivers for A80, is not going to happen. It didn't
  happen for Intel Atom, it didn't happen when the FSF made it a
  priority project. Besides the A80 will not exist long enough.
  The A64 might have the same GPU as well... So it's not about making
  an A80 specific driver but a generic control for Rogue.
  Besides. Poulsbo at least initializes with linux-next.
 
  If Allwinner is interested in FOSS gpu drivers, which they should
  be, they'd better support the Lima, Etnaviv, etc. projects.
  It doesn't support 4K high resolution video...
  It doesn't crash on regular basis either though.
  But the regular Mali just doesn't provide enough performance for
  these high end purpose this A64/A80 is intended for...
  I think at some point of time Allwinner will accomplish what FSF
  ist just talking about, just because Allwinner wants to have more
  spare time by streaming up as many drivers as possible -_-
 
 
 It makes business sense to be open and I think it is healthy to align
 with the FSF
 goals because it's also good for business.
 The field of SoC manufacturers gets somewhat saturated,
 and those that will get open first, will probably capture the market.
 
 Simos
 

-- 
thanks for reading.

-- 
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: Communication with Allwinner

2015-02-17 Thread Michal Suchanek
On 17 February 2015 at 11:00, Simos Xenitellis
simos.li...@googlemail.com wrote:
 Hi David,

 Thanks for doing this and taking things forward!

 On Mon, Feb 16, 2015 at 9:54 PM, David Lanzendörfer
 david.lanzendoer...@o2s.ch wrote:
 Hi
 Javqui is not referring to the GPU but the VPU (Video). CedarX. MPEG-1/2,
 H.264, DivX, etc.

 Besides the opened part from PowerVR is sadly one of their publication
 stunts. http://libv.livejournal.com/. And when the PR department gets
 confronted with their own BS, they give you the silence treatment

 The only one thing I can say is PowerVR is poison. They don't even bow to
 Intel, Search for Poulsbo.
 I know it very well since I already have run Linux on Intel Atom CloverTrail
 platform and on BayTrail.


 At http://www.phoronix.com/scan.php?page=news_itempx=MTg4Mjg it mentions
 that Intel is doing Linux work on the PowerVR VXD392 VPU (as is used
 on Baytrail).
 Is the VPU similar to what exists on the A80?

PVR is a GPU. A80 uses a different model of PVR GPU. That means that
the work done by Intel might be usable to some extent. However, the
PVR closed drivers provided so far are unstable leading to system
crashes. It is unknown if the issue is in software or if the hardware
is so buggy that a stable driver is not feasible.


 Regarding the older SoCs in the A series, it is important to have a view
 whether there will be effort to support the VPU on Linux.
 I have the impression that it would greatly benefit boards like the Banana Pi,
 the OLinuXinos, the Cubieboards, etc.

There is some effort to make opensource Mali GPU drivers by the Lima
project. There is no usable code, however. On Allwinner hardware this
is hindered by lack of KMS driver but Exynos which uses same GPU core
has something that looks like KMS driver by now.

Thanks

Michal

-- 
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: Communication with Allwinner

2015-02-17 Thread Simos Xenitellis
Hi David,

Thanks for doing this and taking things forward!

On Mon, Feb 16, 2015 at 9:54 PM, David Lanzendörfer
david.lanzendoer...@o2s.ch wrote:
 Hi
 Javqui is not referring to the GPU but the VPU (Video). CedarX. MPEG-1/2,
 H.264, DivX, etc.

 Besides the opened part from PowerVR is sadly one of their publication
 stunts. http://libv.livejournal.com/. And when the PR department gets
 confronted with their own BS, they give you the silence treatment

 The only one thing I can say is PowerVR is poison. They don't even bow to
 Intel, Search for Poulsbo.
 I know it very well since I already have run Linux on Intel Atom CloverTrail
 platform and on BayTrail.


At http://www.phoronix.com/scan.php?page=news_itempx=MTg4Mjg it mentions
that Intel is doing Linux work on the PowerVR VXD392 VPU (as is used
on Baytrail).
Is the VPU similar to what exists on the A80?

Regarding the older SoCs in the A series, it is important to have a view
whether there will be effort to support the VPU on Linux.
I have the impression that it would greatly benefit boards like the Banana Pi,
the OLinuXinos, the Cubieboards, etc.

 So open GPU Drivers for A80, is not going to happen. It didn't happen for
 Intel Atom, it didn't happen when the FSF made it a priority project.
 Besides the A80 will not exist long enough.
 The A64 might have the same GPU as well... So it's not about making an A80
 specific driver but a generic control for Rogue.
 Besides. Poulsbo at least initializes with linux-next.

 If Allwinner is interested in FOSS gpu drivers, which they should be, they'd
 better support the Lima, Etnaviv, etc. projects.
 It doesn't support 4K high resolution video...
 It doesn't crash on regular basis either though.
 But the regular Mali just doesn't provide enough performance for these high
 end purpose this A64/A80 is intended for...
 I think at some point of time Allwinner will accomplish what FSF ist just
 talking about, just because Allwinner wants to have more spare time by
 streaming up as many drivers as possible -_-


It makes business sense to be open and I think it is healthy to align
with the FSF
goals because it's also good for business.
The field of SoC manufacturers gets somewhat saturated,
and those that will get open first, will probably capture the market.

Simos

-- 
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: Communication with Allwinner

2015-02-16 Thread David Lanzendörfer
Hi
 Javqui is not referring to the GPU but the VPU (Video). CedarX. MPEG-1/2,
 H.264, DivX, etc.
 
 Besides the opened part from PowerVR is sadly one of their publication
 stunts. http://libv.livejournal.com/. And when the PR department gets
 confronted with their own BS, they give you the silence treatment
 
 The only one thing I can say is PowerVR is poison. They don't even bow to
 Intel, Search for Poulsbo.
I know it very well since I already have run Linux on Intel Atom CloverTrail 
platform and on BayTrail.

 So open GPU Drivers for A80, is not going to happen. It didn't happen for
 Intel Atom, it didn't happen when the FSF made it a priority project.
 Besides the A80 will not exist long enough.
The A64 might have the same GPU as well... So it's not about making an A80 
specific driver but a generic control for Rogue.
Besides. Poulsbo at least initializes with linux-next.

 If Allwinner is interested in FOSS gpu drivers, which they should be, they'd
 better support the Lima, Etnaviv, etc. projects.
It doesn't support 4K high resolution video...
It doesn't crash on regular basis either though.
But the regular Mali just doesn't provide enough performance for these high 
end purpose this A64/A80 is intended for...
I think at some point of time Allwinner will accomplish what FSF ist just 
talking about, just because Allwinner wants to have more spare time by 
streaming up as many drivers as possible -_-

 P.S. Take a look at EOMA-68 and Luck Leighton. He's pretty far along with a
 modular tablet including an A20 CPU.
I don't have to.
I know Aaron in person already and was involved into the Vivaldi project until 
I ran off because of Mr. Leighton.
And I don't even wanna hear Lukes name anymore since my experience with his 
super self confident crappy we castrate the Allwinner chipset hardware design 
approach and these super constructive threadlong flame wars on our mailing 
list...
You know what the right approach is to build a system on module?
Go and ask the chip manufacturer to build you a SoC made for that purpose
and they will help you (like Allwinner does)
But I don't even wanna discuss this past any further otherwise my stomach 
ulcer comes back... -.-'

cheers
-- 
David Lanzendörfer
OpenSourceSupport GmbH
System engineer and supporter
http://www.o2s.ch/

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


signature.asc
Description: This is a digitally signed message part.


[linux-sunxi] Re: Communication with Allwinner

2015-02-16 Thread mike . valk
On Monday, February 16, 2015 at 2:29:25 PM UTC+1, David Lanzendörfer wrote:
Hi David, Good news

 Hi Javqui
 That's is an interesting idea.
 (at least basic) Documentation about encoding libraries will be extremely
 useful from our side.Updates and minimum documentation about rogue/CedarX A80
 encoding libraries are in a dark area.
 Imagination has recently released the ISA for the Allwinner GPU:
 http://blog.imgtec.com/powervr/the-latest-powervr-sdk-v3-4-and-tools-are-live
 After what I've seen from it it should be very much possible to write an open 
 source GPU driver with this information.
Javqui is not referring to the GPU but the VPU (Video). CedarX. MPEG-1/2, 
H.264, DivX, etc.

Besides the opened part from PowerVR is sadly one of their publication stunts.
http://libv.livejournal.com/. And when the PR department gets confronted with 
their own BS, they give you the silence treatment

The only one thing I can say is PowerVR is poison. They don't even bow to 
Intel, Search for Poulsbo.

So open GPU Drivers for A80, is not going to happen. It didn't happen for Intel 
Atom, it didn't happen when the FSF made it a priority project. Besides the A80 
will not exist long enough.

If Allwinner is interested in FOSS gpu drivers, which they should be, they'd 
better support the Lima, Etnaviv, etc. projects.

P.S. Take a look at EOMA-68 and Luck Leighton. He's pretty far along with a 
modular tablet including an A20 CPU.

-- 
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: Communication with Allwinner

2015-02-16 Thread javqui
That's is an interesting idea.

(at least basic) Documentation about encoding libraries will be extremely 
useful from our side.Updates and minimum documentation about rogue/CedarX 
A80 encoding libraries are in a dark area.

Notes and dates about Android L release will be great.

Let me know if you need something that could help/improve your travel and 
task.

Javqui.


On Saturday, February 14, 2015 at 4:02:38 PM UTC-5, David Lanzendörfer 
wrote:

 Hello 
 As you have maybe already heard in IRC I've taken a trip to Zhuhai and met 
 the 
 engineers of Allwinner Technology (全志科技) in person. 
 We decided that we want as much cooperation between the sunxi project and 
 Allwinner as possible for upstreaming our device drivers. 
 I've taken the job of managing the communication between Allwinner and you 
 guys since there is some language barrier. 
 Some of the engineers only hardly understand English and most of them do 
 not 
 understand English at all. 
 So if you have questions about documentation or request assistance with 
 some 
 pieces of the code please email me and I will translate it into Chinese 
 and 
 pass it on to the relevant engineer. 
 Also I will then pass on the translated answer back to you. 

 Hopefully this works out 
 All the best greatings from Switzerland 
 David 
 -- 
 David Lanzendörfer 
 OpenSourceSupport GmbH 
 System engineer and supporter 
 http://www.o2s.ch/

-- 
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: Communication with Allwinner

2015-02-16 Thread javqui
Thanks, I really appreciate your feedback and tips. 

I download the SDK few days ago and started exploring it. The SDK tools 
works without problem with the A80.
Could be interesting to know what other hardware related with video 
encoding is available inside the A80 to improve/help the A80.

if you need something that I could provide from my side to help/ optimize 
your travel, just drop me a message. I had a short meeting /handshake with 
one Allwinner representative  at last CES and it was very pleasant. 

Javqui.


On Monday, February 16, 2015 at 8:29:25 AM UTC-5, David Lanzendörfer wrote:

 Hi Javqui 
 That's is an interesting idea. 
 (at least basic) Documentation about encoding libraries will be extremely 
 useful from our side.Updates and minimum documentation about rogue/CedarX 
 A80 
 encoding libraries are in a dark area. 
 Imagination has recently released the ISA for the Allwinner GPU: 

 http://blog.imgtec.com/powervr/the-latest-powervr-sdk-v3-4-and-tools-are-live 
 After what I've seen from it it should be very much possible to write an 
 open 
 source GPU driver with this information. 
 Notes and dates about Android L release will be great. 
 Right now a friend of mine has chosen to work on it as his bachelors 
 thesis 
 this semester, so it will not take long :) 
 Let me know if you need something that could help/improve your travel 
 and task. 
 I will. Thank you! 

 All the best 
 David

-- 
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: Communication with Allwinner

2015-02-16 Thread David Lanzendörfer
Hi Javqui
That's is an interesting idea.
(at least basic) Documentation about encoding libraries will be extremely
useful from our side.Updates and minimum documentation about rogue/CedarX A80
encoding libraries are in a dark area.
Imagination has recently released the ISA for the Allwinner GPU:
http://blog.imgtec.com/powervr/the-latest-powervr-sdk-v3-4-and-tools-are-live
After what I've seen from it it should be very much possible to write an open 
source GPU driver with this information.
Notes and dates about Android L release will be great.
Right now a friend of mine has chosen to work on it as his bachelors thesis 
this semester, so it will not take long :)
Let me know if you need something that could help/improve your travel
and task.
I will. Thank you!

All the best
David

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


signature.asc
Description: This is a digitally signed message part.


[linux-sunxi] Re: Communication with Allwinner

2015-02-16 Thread David Lanzendörfer
Hi
Thanks, I really appreciate your feedback and tips.
My pleasure ^^
I download the SDK few days ago and started exploring it.
The SDK tools works without problem with the A80.
Could be interesting to know what other hardware related with video
encoding is available inside the A80 to improve/help the A80.
Well. Maybe you could start supplying a GPU driver for the rogue chip since it 
will most likely also be the GPU within the A64.
if you need something that I could provide from my side to help/ optimize
your travel, just drop me a message. I had a short meeting /handshake with
one Allwinner representative  at last CES and it was very pleasant. 
Yes. The folks from Allwinner are the kindest people I've ever met.
I've even been invited to a wedding of one of their employees.

At the moment I'm quiet busy designing the schematics and the PCB.
Then after production I can ship the first versions to some of the developers 
for review and testing.

Hmm...
Maybe you could help me organize the presale campaign for the A64 devboards.

Thanks and all the best!
David

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


signature.asc
Description: This is a digitally signed message part.


[linux-sunxi] Re: Communication with Allwinner

2015-02-15 Thread David Lanzendörfer
Hi
Sounds like a nobel cause!
I wanna build my FOSS sunxi community tablet.
And since the Allwinner folks and I like each other very much
they are supporting me 100% with it.
And yeah. It's also a noble goal I suppose, since the goal is to build 
something totally open source for the community.

I am highly interested in getting the missing registers of the A80's HDMI
module (the description of this module is missing both from the A80 user
manual and the SDK).
I'm not sure whether there exists a full documentation about these registers 
at all, but I will pass the question on in proper Chinese underlining that any 
kind of documentation (even so it might only exist partially) would help us.

There are various open issues with the documents released so far from
Allwinner which are listed here: 
https://github.com/allwinner-zh/documents/issues/
It will take time fixing all these issues (but the will is there).
Right now everything takes even longer than  usual  because it's Chinese new 
year, so with some specific hardware we will have to wait until the respective 
engineer has returned from his hollidays with his relatives.

I am sure the sunxi experts will have more to request!
I'm looking forward to translating these into Chinese :)

Thanks a lot!
-RF
I do my best!

All the best.

-lev

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


signature.asc
Description: This is a digitally signed message part.


[linux-sunxi] Re: Communication with Allwinner

2015-02-15 Thread RFat
Hi David,

Sounds like a nobel cause! 

I am highly interested in getting the *missing registers of the A80's HDMI 
module* (the description of this module is missing both from the A80 user 
manual and the SDK).

There are various open issues with the documents released so far from 
Allwinner which are listed here: 

https://github.com/allwinner-zh/documents/issues/

I am sure the sunxi experts will have more to request!

Thanks a lot!
-RF


On Saturday, February 14, 2015 at 11:02:38 PM UTC+2, David Lanzendörfer 
wrote:

 Hello 
 As you have maybe already heard in IRC I've taken a trip to Zhuhai and met 
 the 
 engineers of Allwinner Technology (全志科技) in person. 
 We decided that we want as much cooperation between the sunxi project and 
 Allwinner as possible for upstreaming our device drivers. 
 I've taken the job of managing the communication between Allwinner and you 
 guys since there is some language barrier. 
 Some of the engineers only hardly understand English and most of them do 
 not 
 understand English at all. 
 So if you have questions about documentation or request assistance with 
 some 
 pieces of the code please email me and I will translate it into Chinese 
 and 
 pass it on to the relevant engineer. 
 Also I will then pass on the translated answer back to you. 

 Hopefully this works out 
 All the best greatings from Switzerland 
 David 
 -- 
 David Lanzendörfer 
 OpenSourceSupport GmbH 
 System engineer and supporter 
 http://www.o2s.ch/

-- 
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: Communication with Allwinner

2015-02-15 Thread Stefan Monnier
 What are the violation claims? Is it documented somewhere so that I can
 learn more about the issue?
 http://linux-sunxi.org/GPL_Violations

BTW, most of those are violations in Allwinner's SDK/kernel, whereas
most of the code that gets integrated into mainline is actually
different, AFAICT (using Allwinner's code as documentation rather than
as a starting point).

So while the two are emotionally connected, the technical connection is
less serious.  I think most people would be happy if Allwinner helped
get (GPL-clean, of course) code into mainline even if they don't fix the
GPL violations in the old SDKs.


Stefan

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