[linux-sunxi] second kmstest failing on DRM_IOCTL_MODE_ATOMIC on dual head A20 KMS/DRM mainline 4.15.rc sunxi-next

2018-01-03 Thread Andrea Venturi
hello, i've got an issue on a dual head DRM/KMS test setup on sun7i A20. i'm writing a quick report to seek advice about where to head my further investigation. DRM stack is quite unknown to me, looks pretty deep and so i suppose someone with more experience can point me faster then myself

[linux-sunxi] Re: DRM KMS dual pipeline DTS LCD-HDMI..

2017-12-23 Thread Andrea Venturi
ge but two differents. i'm wondering if one can configure DTS to get *two different /dev/fbX *in "emulated framebuffer" or has to modify app to use the full DRM/KMS capability for the dual-head setup. Il giorno mercoledì 20 dicembre 2017 13:01:14 UTC+1, Andrea Venturi ha scritto: >

[linux-sunxi] Re: DRM KMS dual pipeline DTS LCD-HDMI..

2017-12-22 Thread Andrea Venturi
/0x28 @ 1 [0.702670] initcall dumb_vga_driver_init+0x0/0x28 returned 0 after 140 usecs [0.702682] calling topology_sysfs_init+0x0/0x50 @ 1 ... i fail to find a "kwnon working" DTS DRM cfg for or panel.. anyone? how can i improve the debugging of DRM init steps? what am i

[linux-sunxi] Re: DRM KMS dual pipeline DTS LCD-HDMI..

2017-12-20 Thread Andrea Venturi
8i-a33-sinlinx-sina33.dts: panel { arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts: panel_input: endpoint@0 { arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts: remote-endpoint = <_out_panel>; arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts: tcon0_out_panel: end

[linux-sunxi] DRM KMS dual pipeline DTS LCD-HDMI..

2017-12-20 Thread Andrea Venturi
hello, i've just checked sunxi-next git kernel tree and i didn't found any DTS for sun7i A20 tablets with LCD+HDMI support.. does anyone knows if there are samples on other trees? bye andrea -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group.

[linux-sunxi] Re: Using sunxi i2s drivers interfacing an ADC

2017-10-23 Thread Andrea Venturi
tocol, so I will try to get > that to work instead, unless there is somebody who actually > manged to use TDM on the A20 platform. > > Regards > Per > > Den fredag 20 oktober 2017 kl. 13:58:45 UTC+2 skrev Andrea Venturi: >> >> hi, >> >> it looks like your A

[linux-sunxi] Re: Using sunxi i2s drivers interfacing an ADC

2017-10-20 Thread Andrea Venturi
hi, it looks like your ADC is working in TDM mode and not really I2S (the wires are the same but the frames are different as you can see..). AFAIK the A10/A20 looks like (from datasheets) not being capable to do TDM; instead other Allwinner SOCs like H3 shoud be HW-wise capable. never check

Re: [linux-sunxi] testing Orange PI PC2 boot from SPI flash, a one liner to fix a missing comma

2017-01-11 Thread Andrea Venturi
Il giorno mercoledì 11 gennaio 2017 06:46:10 UTC+1, Priit Laes ha scritto: > > On Tue, 2017-01-10 at 15:44 -0800, Andrea Venturi wrote: > > hello > > > > i'm following the notes for booting my Orange PI PC2 from the > > embedded SPI flash! finally.. >

[linux-sunxi] testing Orange PI PC2 boot from SPI flash, a one liner to fix a missing comma

2017-01-10 Thread Andrea Venturi
hello i'm following the notes for booting my Orange PI PC2 from the embedded SPI flash! finally.. https://linux-sunxi.org/Bootable_SPI_flash i,m using H5 branch of apritzel uboot: https://github.com/apritzel/u-boot/tree/h5 after having enabled SPI flash support (and CONFIG_SPL_SPI_SUNXI=y

Re: [linux-sunxi] Olimex A20 SOM EVB + DRM + LCD panel, a (someway working) experience..

2016-12-12 Thread Andrea Venturi
Il giorno lunedì 12 dicembre 2016 03:20:56 UTC+1, Jonathan Liu ha scritto: > > Hi Andrea, > > On 11 December 2016 at 22:48, Andrea Venturi <ennesim...@gmail.com > > wrote: > >> hello, >> >> the only issue is that, after few minutes (10 o

[linux-sunxi] Olimex A20 SOM EVB + DRM + LCD panel, a (someway working) experience..

2016-12-11 Thread Andrea Venturi
hello, this mail just to report an experience about using the DRM driver on sun7i (Olimex A20 SOM EVB). let me start thanking all the guys doing the "heavylifting" for this feature/driver. *TL;DR* i'll be very synthetic, it starts to work (you can see a picture, then some minutes later screen

[linux-sunxi] Re: patch for I2S test on 'mripard' A20 wip-i2s branch

2016-01-15 Thread Andrea Venturi
Il giorno giovedì 14 gennaio 2016 14:25:34 UTC+1, mar...@r2r.nl ha scritto: > > On Wednesday, January 13, 2016 at 6:49:03 AM UTC+1, Andrea Venturi wrote: > > hello, > > > > > > i've tested the experimental github branch for I2S DAI mainline linux > dr

[linux-sunxi] patch for I2S test on 'mripard' A20 wip-i2s branch

2016-01-12 Thread Andrea Venturi
re options, visit https://groups.google.com/d/optout. >From e2f3144ba703104601150345d4d6d70f57d56add Mon Sep 17 00:00:00 2001 From: Andrea Venturi <ennesimamail...@gmail.com> Date: Tue, 12 Jan 2016 14:10:22 +0100 Subject: [PATCH 4/4] add entries for enabling both I2S DAI link toward PC

[linux-sunxi] patch for I2S test on 'mripard' A20 wip-i2s branch

2016-01-12 Thread Andrea Venturi
re options, visit https://groups.google.com/d/optout. >From e2f3144ba703104601150345d4d6d70f57d56add Mon Sep 17 00:00:00 2001 From: Andrea Venturi <ennesimamail...@gmail.com> Date: Tue, 12 Jan 2016 14:10:22 +0100 Subject: [PATCH 4/4] add entries for enabling both I2S DAI link toward PC

[linux-sunxi] Re: A20 mainline kernel questions

2015-08-31 Thread Andrea Venturi
Il giorno domenica 30 agosto 2015 13:55:14 UTC+2, Alexis Jeandet ha scritto: > > Hi Andrea, > > Indeed my song is mono, so that may explain the issue. > > ok > I also continued to investigate the code from Marcus, which if I > understood correctly, is based on your code. I got some

[linux-sunxi] Re: A20 mainline kernel questions

2015-08-30 Thread Andrea Venturi
Il giorno venerdì 28 agosto 2015 15:11:47 UTC+2, Alexis Jeandet ha scritto: Hi Andrea, Good news! I can hear some sounds :). good! After some discussions with Marcus I've checked I2S pins with logic analyser, the data where at the output but really fast (340kS/s). I decided to

[linux-sunxi] Re: A20 mainline kernel questions

2015-08-27 Thread Andrea Venturi
Il giorno giovedì 27 agosto 2015 11:53:04 UTC+2, Alexis Jeandet ha scritto: Hi Andrea, I got slightly better results, I played with alsa and some GUI mixers like qashctl over ssh, now I can hear a click when playing a sound but, still no sound. umhh.. i feel you are quite there.. let

[linux-sunxi] Re: A20 mainline kernel questions

2015-08-27 Thread Andrea Venturi
Il giorno mercoledì 26 agosto 2015 17:45:45 UTC+2, Alexis Jeandet ha scritto: Now I2C works :), I can see 2 sound cards in /proc/asound, I use this to switch from card 0 to 1 sudo amixer -c 1 -- sset Master Playback 0dB I play with this: sudo aplay -vv someWaveFile.wav But I

[linux-sunxi] Re: A20 mainline kernel questions

2015-08-24 Thread Andrea Venturi
Il giorno domenica 23 agosto 2015 13:25:06 UTC+2, Alexis Jeandet ha scritto: Hi, ... Then would a UDA1380 work? hello, on mainline, you can patch a kernel source code then the I2S device and the UDA1380 codec someway work, at least for audio playing you'll find the relevant patches

Re: [linux-sunxi] [PATCH] sunxi watchdog: setting the system reset function correctly

2015-07-20 Thread Andrea Venturi
hi, sorry if i top reply on my own post.. :-) but i've been just made aware on linux-sunxi IRC channel that the watchdog oneliner patch has been finally submitted on LKML: https://marc.info/?l=linux-kernelm=143620559723693w=2 bye On Wednesday, July 1, 2015 at 11:11:06 AM UTC+2, Andrea

Re: [linux-sunxi] [PATCH] sunxi watchdog: setting the system reset function correctly

2015-07-01 Thread Andrea Venturi
hello, i have been testing the watchdog feature on sun7i today, and it was not triggering the reset. i was a bit puzzled because i supposed it was a simple well working feature but.. there's still a known bug and the relative patch has not been applied! funny! please help me understand if

Re: [linux-sunxi] testing sunxi-codec on Cubieboard A10

2015-06-13 Thread Andrea Venturi
iteration of the linux-wip and report the eventual patch to make the cubieboard .dts support the codec. On 03-06-15 22:03, Andrea Venturi wrote: hello, moreover when moving control to the position where it was muted, again on mplayer console i could spot messages of audio device

[linux-sunxi] testing sunxi-codec on Cubieboard A10

2015-06-03 Thread Andrea Venturi
hello, i started testing the 4.1rcX kernel from https://github.com/jwrdegoede/linux-sunxi/blob/sunxi-wip/ to check how the sunxi-codec was working on my Cubieboard A10 board. i found some pitfall that's why i'm writing here for a feedback. BTW i know it's been mainly developed and tested on

[linux-sunxi] Re: tv-in documentation from allwinner?

2015-05-28 Thread Andrea Venturi
On Thursday, May 28, 2015 at 9:39:11 PM UTC+2, Stefan Monnier wrote: There is quite a bit of documentation on the MPEG-TS part. And some people have been looking into writing a driver, but lack of commonly available hardware to develop on slows things down. I suspect that lack of

Re: [linux-sunxi] Lemon Pi on Indiegogo campaign,$35 ARM Quad-core A9 and Imagination PowerVR SGX544 open source board

2015-05-27 Thread Andrea Venturi
On Wednesday, May 27, 2015 at 9:13:05 AM UTC+2, Julian Calaby wrote: ... I'm waiting for them to run out of fruit options. just to keep this thread REALLY out of topic, the fruit race remembers me my early days (80ies..) of computing when my father bought me and my brother a not so

Re: [linux-sunxi] tv-in documentation from allwinner?

2015-05-26 Thread Andrea Venturi
On Tuesday, May 26, 2015 at 4:07:00 AM UTC+2, Julian Calaby wrote: Hi Euge, On Tue, May 26, 2015 at 3:24 AM, euge sobrino eu...@pcbya.com javascript: wrote: I need to decode a analog signal, but i cannot see any reference nor documentation of the 4 TVIN pins of A20. I Even see

[linux-sunxi] Re: [ANNOUNCE] Allwinner releasing CedarX open source

2015-05-21 Thread Andrea Venturi
Hi Kevin, as a casual tinkerer of Allwinner (AW) SOCs, let me tell you i appreciate A LOT AW attitude and commitment for becoming more and more a proper citizen in the free software and open source community. This release is a step in a continuous process BUT is surely a step in the right

Re: [linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-05-07 Thread Andrea Venturi
On Thursday, May 7, 2015 at 10:00:04 AM UTC+2, Maxime Ripard wrote: ... any advice for further investigation? There's more to it. thanx for the quick reply! I don't think that ever supposed to work that way, most notably because it just wouldn't work with SoCs that multiple

[linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-05-07 Thread Andrea Venturi
hello, i have an issue about external interrupts, following this clear example: http://linux-sunxi.org/External_interrupts it works for EINT up to EINT21 in PH port, but if i try in an Olimex A20 SOM (on a A20 SOM EVB who have a schematic available showing no hints AFAICS) an EINT in PI port