[linux-sunxi] [PATCH] Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"

2016-10-17 Thread Chen-Yu Tsai
This reverts commit 157dfadef832 ("clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"). struct clocksource is also used by the clk notifier callback, to unregister and re-register the clocksource with a different clock rate. clocksource_mmio_init does not pass back a pointer

[linux-sunxi] [PATCH] clk: sunxi-ng: sun6i-a31: Force AHB1 clock to use PLL6 as parent

2016-10-17 Thread Chen-Yu Tsai
On the A31, the DMA engine only works if AHB1 is clocked from PLL6. In addition, the hstimer is clocked from AHB1, and if AHB1 is clocked from the CPU clock, and cpufreq is working, we get an unstable timer. Force the AHB1 clock to use PLL6 as its parent. Previously this was done in the device

Re: [linux-sunxi] usb boot on windows

2016-10-17 Thread Ronnel Tolentino
Hi Bernhard, It's working now. Thanks. Regards, Ronnel On Mon, Oct 17, 2016 at 8:06 PM, Bernhard Nortmann wrote: > Hello Ronnel! > > > Am 17.10.2016 um 12:24 schrieb Ronnel Tolentino: > >> Hi Bernhard, >> >> My PC doesn't recognize the device. >> ERROR: Allwinner

Re: [linux-sunxi] Kernel CEC driver.

2016-10-17 Thread Jarosław Nieć
Hi Maxime, On Mon, Oct 17, 2016 at 9:51 PM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi Jarosław, > > On Mon, Oct 17, 2016 at 08:15:53PM +0200, Jarosław Nieć wrote: > > I've decided that I want to learn kernel hacking a little and because of > > that and because of new HDMI CEC

Re: [linux-sunxi] [PATCH 2/5] pwm: sun4i: Add support for PWM controller on sun6i SoCs

2016-10-17 Thread Maxime Ripard
Hi Icenowy, On Sun, Oct 16, 2016 at 10:29:17PM +0800, Icenowy Zheng wrote: > Hi, > > 14.10.2016, 20:58, "Maxime Ripard" : > > Hi, > > > > On Wed, Oct 12, 2016 at 04:10:03PM +0800, Icenowy Zheng wrote: > >>  > On Wed, Oct 12, 2016 at 12:20 PM, Icenowy Zheng

Re: [linux-sunxi] Kernel CEC driver.

2016-10-17 Thread Maxime Ripard
Hi Jarosław, On Mon, Oct 17, 2016 at 08:15:53PM +0200, Jarosław Nieć wrote: > I've decided that I want to learn kernel hacking a little and because of > that and because of new HDMI CEC Framework in kernel 4.8 I chose to write > CEC driver for old Allwinner A10. > There in no CEC hardware core

Re: [linux-sunxi] Kernel CEC driver.

2016-10-17 Thread jonsm...@gmail.com
On Mon, Oct 17, 2016 at 3:07 PM, Jarosław Nieć wrote: >> >> https://groups.google.com/forum/#!topic/linux-sunxi/l5jhSY8PDFA >> >> This thread does seem to suggest there is (some) CEC hardware... >> >> Also some code here ; >>

Re: [linux-sunxi] Kernel CEC driver.

2016-10-17 Thread Jarosław Nieć
> > > https://groups.google.com/forum/#!topic/linux-sunxi/l5jhSY8PDFA > > This thread does seem to suggest there is (some) CEC hardware...​ > > Also some code here ; > https://groups.google.com/forum/#!msg/linux-sunxi/cNbMiwzgGJ0/tK-KvXkn-pQJ > > Not sure if you missed it or i'm blind, just ignore

Re: [linux-sunxi] Kernel CEC driver.

2016-10-17 Thread Bastiaan van den Berg
https://groups.google.com/forum/#!topic/linux-sunxi/l5jhSY8PDFA This thread does seem to suggest there is (some) CEC hardware...​ Also some code here ; https://groups.google.com/forum/#!msg/linux-sunxi/cNbMiwzgGJ0/tK-KvXkn-pQJ Not sure if you missed it or i'm blind, just ignore if nonsense ;)

[linux-sunxi] Kernel CEC driver.

2016-10-17 Thread Jarosław Nieć
Hi I've decided that I want to learn kernel hacking a little and because of that and because of new HDMI CEC Framework in kernel 4.8 I chose to write CEC driver for old Allwinner A10. There in no CEC hardware core for this CPU and I think the only way is to create implementation that uses bit

Re: [linux-sunxi] Sunxi tools for flashing the eMMC

2016-10-17 Thread Andre Przywara
Hi, On 17/10/16 14:08, Ciprian Manea wrote: > Hi Andre, > > Thanks for your answer! > The thing is that there are a lot of libs in the image and is > bigger than the available RAM. > If there's no way to flash the eMMC through the sunxi tools, is there a > way to boot over an USB storage

Re: [linux-sunxi] Sunxi tools for flashing the eMMC

2016-10-17 Thread Ciprian Manea
Hi Andre, Thanks for your answer! The thing is that there are a lot of libs in the image and is bigger than the available RAM. If there's no way to flash the eMMC through the sunxi tools, is there a way to boot over an USB storage device and flash an image that is store on the USB storage

Re: [linux-sunxi] usb boot on windows

2016-10-17 Thread Bernhard Nortmann
Hello Ronnel! Am 17.10.2016 um 12:24 schrieb Ronnel Tolentino: Hi Bernhard, My PC doesn't recognize the device. ERROR: Allwinner USB FEL device not found! What USB driver do I need? Regards, Ronnel Please be sure to keep the linux-sunxi mailing list in CC. There is no point in making this

Re: [linux-sunxi] Sunxi tools for flashing the eMMC

2016-10-17 Thread Bernhard Nortmann
Am 17.10.2016 um 12:49 schrieb Andre Przywara: [...] I think you can even automate this by some U-Boot environment magic (I think sunxi-fel gained something for this lately). [...] Environment "overrides" using uEnv.txt-style data are still work in progress. The sunxi-tools side of things

Re: [linux-sunxi] Sunxi tools for flashing the eMMC

2016-10-17 Thread Andre Przywara
Hi Ciprian, On 17/10/16 11:13, Ciprian Manea wrote: > > I'm using the Sinlinx SinA33 dev board, I connected it to my dev pc > using the OTG cable, and I was able to boot it in the FEL mode. > > I used the sunxi tools (sunxi-fel more specifically ) to get BROM > version and boot the board over

[linux-sunxi] Sunxi tools for flashing the eMMC

2016-10-17 Thread Ciprian Manea
I'm using the Sinlinx SinA33 dev board, I connected it to my dev pc using the OTG cable, and I was able to boot it in the FEL mode. I used the sunxi tools (sunxi-fel more specifically ) to get BROM version and boot the board over usb. But is there a way to flash the onboard eMMC over the

Re: [linux-sunxi] MAC address collision on H3

2016-10-17 Thread Bernhard Nortmann
Am 17.10.2016 um 10:21 schrieb LABBE Corentin: Hello An user reported on IRC that he get two OrangePi PC with the same MAC address with uboot 2016.05 and sun8i-emac v4. Giving the following MAC address 02:20:08:00:00:00 He dumped the two SID using devmem2: 2004620 34344314 503A04CE 800

Re: [linux-sunxi] Re: [PATCH RESEND v5] ARM: sun4i: spi: Allow transfers larger than FIFO size

2016-10-17 Thread Michal Suchanek
On 17 October 2016 at 10:26, Alex Gagniuc wrote: > On Thu, Aug 20, 2015 at 6:48 AM, Michal Suchanek wrote: >> Hello, >> >> On 14 August 2015 at 01:08, Alex G. wrote: >>> On 08/10/2015 07:54 AM, Michal Suchanek wrote: On 10

Re: [linux-sunxi] Re: [PATCH RESEND v5] ARM: sun4i: spi: Allow transfers larger than FIFO size

2016-10-17 Thread Alex Gagniuc
On Thu, Aug 20, 2015 at 6:48 AM, Michal Suchanek wrote: > Hello, > > On 14 August 2015 at 01:08, Alex G. wrote: >> On 08/10/2015 07:54 AM, Michal Suchanek wrote: >>> On 10 August 2015 at 15:44, Olliver Schinagl >>> wrote:

[linux-sunxi] MAC address collision on H3

2016-10-17 Thread LABBE Corentin
Hello An user reported on IRC that he get two OrangePi PC with the same MAC address with uboot 2016.05 and sun8i-emac v4. Giving the following MAC address 02:20:08:00:00:00 He dumped the two SID using devmem2: 2004620 34344314 503A04CE 800 2004620 34344314 503B0C0E 800 According to