Re: [linux-sunxi] Re: Allwinner strips symbols from latest cedar binaries.

2015-03-26 Thread Christian Ege
Am 26.03.2015 11:59 schrieb "Jens Lucius" :
>
>
> Am Donnerstag, 26. März 2015 10:58:17 UTC+1 schrieb Simon Kenyon:
>>
>> On 03/26/15 09:44, Michal Suchanek wrote:
>> > It was only worth having this list while decent Allwinner hardware was
>> > produced and Allwinner was somewhat cooperative with respect to
>> > development. It seems that period of both decent hardware based on
>> > Allwinner chips and Allwinner cooperation has ceased so there is not
>> > much point anymore except using the existing somewhat obsolete
>> > devices. Thanks Michal
>> +1
>
>
>>
>> +1
>
>
> But whats the alternative? Who is better supporting linux? Rockchip?
Mediatek?
>
> For declining quality see
>
https://olimex.wordpress.com/2015/03/23/adafruit-ranked-11-from-top-20-us-manufacturers/#comment-18201
>
> --
> 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.

That quality stuff is bitter. Stripping symbols is pretty headless,
especially when a lot of people with reverse engineering watching those
source pernickety :)

Amlogic have a lot stuff released a lot of code. But some of it lacks
appropriate licence information in my opinion. But some kernel modules are
binary only like NAND.

Seems freescale does at the moment the best job.

Regards,
Christian

-- 
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: [PATCH][RFC] Add standalone driver for the A20 Soc TP embedded temperature sensor

2014-11-05 Thread Christian Ege
Am 05.11.2014 12:44 schrieb :
>
> clabbe.montjoie wrote:
> > For the temperature value, I cannot found any document on how to
transform the raw value in °C.
> > [...]
> > Under heavy loads, the temperature of both sensors rise linearly.
>
> But based on a series of tests with and without heatsinks applied to the
A20 I came to the conclusion that the values reported here must be already
pre-calibrated. The base idle temperatures reported without an applied
heatsink are way higher compared to the value of the very same A20 with
heatsink:
>
>
http://forum.lemaker.org/forum.php?mod=redirect&goto=findpost&ptid=8137&pid=40817
>
> Does anyone have a clue how the A20's CHOP_TEMP_EN register (according to
the A20's user manual: "Chop temperature calibration enable: 0: Disable, 1:
Enable") can be read/set?

For read write access from user space you can try to use devmem2 with the
address given in the user manual.

http://manpages.ubuntu.com/manpages/natty/man1/devmem2.1.html

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

-- 
You received this message because you are subscribed to 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] ICplus IP101A

2014-10-25 Thread Christian Ege
Am 24.10.2014 22:34 schrieb "Tim Tisdall" :
>
> On Fri, Oct 24, 2014 at 3:51 PM, Christian Ege  wrote:
>>
>> Am 23.10.2014 20:17 schrieb "Tim Tisdall" :
>> >
>> > Does anyone have a device with an ICplus IP101A PHYceiver that's
properly working?  I've had it working intermittently but not
consistently.  I'm at a loss as to what the issue could be.
>> >
>> I do not own one. But maybe this is an issue with clock skew. Some Phy's
allow the setting of a clock skew. We had stability issues with a micrel
phy and fixed them by tuning clock skew.
>
> How does one do that?   Did you have to modify the kernel driver source
code to make those changes?
>
We did this for a different platform I.mx6 based. As a first approach we
patched u-boot and kernel a second one was using device tree. As I remember
there had been patches to tweak this from user space as well.

The values itself have been calculated be some h/w eng. We used the dived
and concur approach which resulted in the same values.

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

-- 
You received this message because you are subscribed to 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] ICplus IP101A

2014-10-24 Thread Christian Ege
Am 23.10.2014 20:17 schrieb "Tim Tisdall" :
>
> Does anyone have a device with an ICplus IP101A PHYceiver that's properly
working?  I've had it working intermittently but not consistently.  I'm at
a loss as to what the issue could be.
>
I do not own one. But maybe this is an issue with clock skew. Some Phy's
allow the setting of a clock skew. We had stability issues with a micrel
phy and fixed them by tuning clock skew.
> Of course, it seems to have no issues with the stock Android ROM that
comes with the device.
>
regards,
Christian
> --
> You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to linux-sunxi+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to 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] Are there any HDMI-CEC related information for A10/A20 available?

2014-10-03 Thread Christian Ege

Hi,
Am 03.10.2014 um 09:56 schrieb Vladimir Komendantskiy:
The Allwinner SoCs that have an HDMI pin, also have a memory-mapped 
HDMI-CEC register located at HDMI base 0xf1c16000 plus the offset 
0x214. This register provides the following bits


#define CEC_RX 0x0100  /* phys. line value, either high or low */
#define CEC_TX 0x0200
#define CEC_ENABLE 0x0800

Other bits are unused.

I asked Allwinner about CEC once but they only replied that A10s 
doesn't have a hardware CEC core.


You can find examples of using the CEC register in some unfinished CEC 
code in the 3.4 linux-sunxi kernel.



Thx, a lot I found this PATCH
https://groups.google.com/forum/#!msg/linux-sunxi/cNbMiwzgGJ0/tK-KvXkn-pQJ

And the source
https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.4/drivers/video/sunxi/hdmi/hdmi_cec.c

I'll take a closer look on this. It looks like they do bitbanging on 
those two bits.


regards,
Christian


--Vladimir


On 3 October 2014 07:33, Chen-Yu Tsai <mailto:w...@csie.org>> wrote:


Hi,

On Fri, Oct 3, 2014 at 3:29 AM, jonsm...@gmail.com
<mailto:jonsm...@gmail.com> mailto:jonsm...@gmail.com>> wrote:
> I
>
    > On Thu, Oct 2, 2014 at 1:19 PM, Christian Ege mailto:k423...@gmail.com>> wrote:
>> During a quick search I had not been able to find any HDMI CEC
driver. In
>> the docs available there is only one Register about CEC.
>>
>> I thought about implementation of an driver and libcec support
for the A20.
>
> I believe CEC is just I2C on the HDMI connector.
>
> So maybe --- it is one of the I2C devices. Then that bit enables it
> onto the HDMI pin? Just a guess.
>
> EDID works the same way. How is it implemented?

You are referring to DDC. The HDMI block has a separate DDC
controller.
IIRC, the DDC pins also have standard TWI muxed on them, so you could
use either one.

But this is entirely irrelevant to the original question.

As Christian stated, the HDMI block does have a register named
HDMI_HDP_CEC. However it does not contain any useful descriptions.
Also the SoC does have a pin for HDMI CEC.

Best ask Allwinner for some help.


ChenYu

--
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
<mailto:linux-sunxi%2bunsubscr...@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 
<mailto: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] Are there any HDMI-CEC related information for A10/A20 available?

2014-10-02 Thread Christian Ege
During a quick search I had not been able to find any HDMI CEC driver. In
the docs available there is only one Register about CEC.

I thought about implementation of an driver and libcec support for the A20.

Regards,
Christian

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