Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Thierry Reding
On Mon, Sep 29, 2014 at 05:11:01PM +0100, Mark Brown wrote: On Mon, Sep 29, 2014 at 10:06:39AM +0200, Thierry Reding wrote: On Sat, Sep 27, 2014 at 04:56:01PM -0700, Mike Turquette wrote: With that said I think that Luc's approach is very sensible. I'm not sure what purpose in the

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Ian Campbell
On Sun, 2014-09-28 at 20:13 +0200, Hans de Goede wrote: In order for the gmac nic to work reliable on the Bananapi, we need to poke these 2 undocumented bits in the gmac clk register. Since these are undocumented, this commit only sets these bits on the Bananapi for now. I'll contact

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-30 Thread Ian Campbell
On Mon, 2014-09-29 at 20:08 +0200, Hans de Goede wrote: Right, so lets just drop the board and I'll do a pull-req with only the bananapi gmac fix, can I have your Reviewed-by for that one please? Done. -- You received this message because you are subscribed to the Google Groups

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Maxime Ripard
On Tue, Sep 30, 2014 at 06:59:59AM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 05:57:18PM +0200, Maxime Ripard wrote: On Mon, Sep 29, 2014 at 03:54:00PM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 01:34:36PM +0200, Maxime Ripard wrote: On Mon, Sep 29, 2014 at 12:44:57PM

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Maxime Ripard
On Tue, Sep 30, 2014 at 07:21:11AM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 06:28:14PM +0200, Maxime Ripard wrote: On Mon, Sep 29, 2014 at 03:47:15PM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 01:46:43PM +0200, Maxime Ripard wrote: On Mon, Sep 29, 2014 at 12:18:08PM

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Maxime Ripard
On Tue, Sep 30, 2014 at 07:39:02AM +0200, Thierry Reding wrote: You keep bringing up the Raspberry Pi for some reason and suggest that it is somehow inferior to sunxi. What makes you think it's less entitled to be supported on Linux than sunxi? I don't care about the Raspberry Pi and I equally

Re: [linux-sunxi] A80 mixed OS (Linux / RTOS)

2014-09-30 Thread Benjamin Henrion
On Tuesday, September 30, 2014, Quink wantl...@gmail.com wrote: Such a big plan. I just did a small project with (Real-time patch for linux kernel) + (processor affinity) + (super loop) on A20. Since A20 has two A7, a real time process can occupy a processor and leave the other for other tasks.

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Thierry Reding
On Tue, Sep 30, 2014 at 09:52:58AM +0200, Maxime Ripard wrote: On Tue, Sep 30, 2014 at 07:21:11AM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 06:28:14PM +0200, Maxime Ripard wrote: On Mon, Sep 29, 2014 at 03:47:15PM +0200, Thierry Reding wrote: [...] What happened in the Snow

[linux-sunxi] uart5 not working right on sun4i and sun7i (mainline mostly tested)

2014-09-30 Thread oliver+list
Hey list, I'm trying to get uart5 to work on a setup here, and am having some strange issues. I tried this on stage-3.4 but couldn't get any output, so I quickly switched over to mainline without going to deep into this. I've configured uart0, uart2, uart5 and uart6 to do some tests. Using

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Michal Suchanek
On 30 September 2014 10:54, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Sep 30, 2014 at 09:52:58AM +0200, Maxime Ripard wrote: On Tue, Sep 30, 2014 at 07:21:11AM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 06:28:14PM +0200, Maxime Ripard wrote: On Mon, Sep 29, 2014 at

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Thierry Reding
On Tue, Sep 30, 2014 at 10:03:54AM +0200, Maxime Ripard wrote: On Tue, Sep 30, 2014 at 07:39:02AM +0200, Thierry Reding wrote: You keep bringing up the Raspberry Pi for some reason and suggest that it is somehow inferior to sunxi. What makes you think it's less entitled to be supported on

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Thierry Reding
On Tue, Sep 30, 2014 at 11:38:50AM +0200, Michal Suchanek wrote: On 30 September 2014 10:54, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Sep 30, 2014 at 09:52:58AM +0200, Maxime Ripard wrote: On Tue, Sep 30, 2014 at 07:21:11AM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Hans de Goede
Hi, On 09/30/2014 06:59 AM, Thierry Reding wrote: On Mon, Sep 29, 2014 at 05:57:18PM +0200, Maxime Ripard wrote: snip But sure, you can still try to point new issues, get an obvious and robust solution, and then discard the issue when the solution doesn't go your way... And you've

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Thierry Reding
On Tue, Sep 30, 2014 at 01:43:45PM +0200, Hans de Goede wrote: Hi, On 09/30/2014 06:59 AM, Thierry Reding wrote: On Mon, Sep 29, 2014 at 05:57:18PM +0200, Maxime Ripard wrote: snip But sure, you can still try to point new issues, get an obvious and robust solution, and then discard

Re: [linux-sunxi] Re: [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Hans de Goede
Hi, On 09/29/2014 08:35 PM, jonsm...@gmail.com wrote: On Mon, Sep 29, 2014 at 2:16 PM, Karsten Merker mer...@debian.org wrote: On Mon, Sep 29, 2014 at 09:13:37AM +0300, Siarhei Siamashka wrote: How did you come to the idea to poke these bits? The linux 3.4 kernel from

Re: [linux-sunxi] Re: [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread jonsm...@gmail.com
On Tue, Sep 30, 2014 at 8:02 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 09/29/2014 08:35 PM, jonsm...@gmail.com wrote: On Mon, Sep 29, 2014 at 2:16 PM, Karsten Merker mer...@debian.org wrote: On Mon, Sep 29, 2014 at 09:13:37AM +0300, Siarhei Siamashka wrote: How did you come to the

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Maxime Ripard
On Tue, Sep 30, 2014 at 10:54:32AM +0200, Thierry Reding wrote: On Tue, Sep 30, 2014 at 09:52:58AM +0200, Maxime Ripard wrote: On Tue, Sep 30, 2014 at 07:21:11AM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 06:28:14PM +0200, Maxime Ripard wrote: On Mon, Sep 29, 2014 at 03:47:15PM

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Mark Brown
On Tue, Sep 30, 2014 at 12:02:50AM +0200, Luc Verhaegen wrote: 2) Simplefb will only have a single user: the rpi. As the only other users i can think of, which does not have a full driver and which does not have clocks automatically disabled, are discrete cards. And they do not really tend

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread jonsm...@gmail.com
On Tue, Sep 30, 2014 at 8:41 AM, Mark Brown broo...@kernel.org wrote: On Tue, Sep 30, 2014 at 12:02:50AM +0200, Luc Verhaegen wrote: 2) Simplefb will only have a single user: the rpi. As the only other users i can think of, which does not have a full driver and which does not have clocks

Re: [linux-sunxi] [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-30 Thread Koen Kooi
Op 30 sep. 2014, om 14:02 heeft Hans de Goede hdego...@redhat.com het volgende geschreven: Hi, On 09/29/2014 08:35 PM, jonsm...@gmail.com wrote: On Mon, Sep 29, 2014 at 2:16 PM, Karsten Merker mer...@debian.org wrote: On Mon, Sep 29, 2014 at 09:13:37AM +0300, Siarhei Siamashka wrote: How

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Michal Suchanek
On 30 September 2014 13:31, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Sep 30, 2014 at 11:38:50AM +0200, Michal Suchanek wrote: On 30 September 2014 10:54, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Sep 30, 2014 at 09:52:58AM +0200, Maxime Ripard wrote: On Tue, Sep

Re: [linux-sunxi] A80 mixed OS (Linux / RTOS)

2014-09-30 Thread javqui
Maybe a complete separate OS is a little easier than implement a modified Linux Kernel as you did (impressive Job) Maybe the Kernel is not the right word in my first post and a customized boot will be a better definition. The system will have 2 simultaneous OS kernels. For the Linux Kernel OS

[linux-sunxi] Wiki page to track allwinner datasheets (user manual) errata

2014-09-30 Thread Hans de Goede
Hi All, I think we should start an errata page on the linux-sunxi wiki somewhere, specifically targeting errata for the official user manual documents. I know we already have various pages to document specific blocks, the idea here would be to have a general errata page. The purpose is to have

Re: [linux-sunxi] Wiki page to track allwinner datasheets (user manual) errata

2014-09-30 Thread Luc Verhaegen
On Tue, Sep 30, 2014 at 06:21:18PM +0200, Hans de Goede wrote: Hi All, I think we should start an errata page on the linux-sunxi wiki somewhere, specifically targeting errata for the official user manual documents. I know we already have various pages to document specific blocks, the idea

Re: [linux-sunxi] Wiki page to track allwinner datasheets (user manual) errata

2014-09-30 Thread jonsm...@gmail.com
On Tue, Sep 30, 2014 at 12:21 PM, Hans de Goede hdego...@redhat.com wrote: Hi All, I think we should start an errata page on the linux-sunxi wiki somewhere, specifically targeting errata for the official user manual documents. Why not issue tracking on the github account Allwinner made?

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Mark Brown
On Tue, Sep 30, 2014 at 07:09:24AM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 04:55:17PM +0100, Mark Brown wrote: So long as we're ensuring that when we don't start supporting resources without DT additions or at least require DT additions to actively manage them (which can then

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Mark Brown
On Tue, Sep 30, 2014 at 08:03:14AM +0200, Thierry Reding wrote: On Mon, Sep 29, 2014 at 05:11:01PM +0100, Mark Brown wrote: Not really thought this through fully yet but would having phandles to the relevant devices do the job? Kind of lines up with Grant's idea of having dummy drivers.

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-30 Thread Mike Turquette
Quoting Thierry Reding (2014-09-29 06:54:00) On Mon, Sep 29, 2014 at 01:34:36PM +0200, Maxime Ripard wrote: On Mon, Sep 29, 2014 at 12:44:57PM +0200, Thierry Reding wrote: Plus, speaking more specifically about the clocks, that won't prevent your clock to be shut down as a side effect

[linux-sunxi] [PATCH 1/1] sunxi: Enable network commands by default

2014-09-30 Thread 'Alistair' via linux-sunxi
Network commands are enabled by default in include/config_cmd_default.h Undefining them in sunxi-common.h then causes multiple build warnings when re-enabled If there is good reason to disable by default then their should be a cleaner way to enable the commands for those who want to use

Re: [linux-sunxi] A80 mixed OS (Linux / RTOS)

2014-09-30 Thread Jhon Yi
This project is amazing. It will be very useful in industrial and control area. I have two question: 1. Since you only need one or two A7 cores to run RTOS, why not let the remaining A7 run Linux together with A15 since this will use less power? 2. Are you going to build only one image contain