Re: [linux-sunxi] GPL Violations round-up.

2014-08-28 Thread Luc Verhaegen
aste even more time on you and show you biased. > But the damage has been done; there is so much bad blood that no matter > what is the outcome, you personally will never be able to reconcile > yourself with further sunxi development. Come again? > Simos Simos who? Luc Verhaegen.

Re: [linux-sunxi] GPL Violations round-up.

2014-08-27 Thread Luc Verhaegen
k. And anyone who interferes with that, and dares to mention minor and absolutely inconsequential legal issues, he should be surreptitiously told to go play somewhere else? What? Luc Verhaegen. -- You received this message because you are subscribed to the Google Groups "linux-sunxi&quo

Re: [linux-sunxi] GPL Violations round-up.

2014-08-27 Thread Luc Verhaegen
no-one has ever documented them properly. Now the picture is perfectly clear. 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+un

[linux-sunxi] GPL Violations round-up.

2014-08-27 Thread Luc Verhaegen
should do is to adhere to copyright law and well established open source license. 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

[linux-sunxi] Kurio 7S support.

2014-08-26 Thread Luc Verhaegen
Since you're not around on irc atm, i thought i'd put this on email. I committed a fixed u-boot addition for you last night. It removes the bananapi stuff you added on to your boards config, which definitely would not be helping. Chances are that your tablet might now work. Luc

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

2014-08-26 Thread Luc Verhaegen
On Tue, Aug 26, 2014 at 02:21:16PM +0200, Thierry Reding wrote: > On Tue, Aug 26, 2014 at 02:02:58PM +0200, Luc Verhaegen wrote: > > On Tue, Aug 26, 2014 at 09:52:49AM +0200, Thierry Reding wrote: > > > On Mon, Aug 25, 2014 at 05:09:00PM +0200, Luc Verhaegen wrote: > > >

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

2014-08-26 Thread Luc Verhaegen
On Tue, Aug 26, 2014 at 09:52:49AM +0200, Thierry Reding wrote: > On Mon, Aug 25, 2014 at 05:09:00PM +0200, Luc Verhaegen wrote: > > On Mon, Aug 25, 2014 at 05:05:04PM +0200, Thierry Reding wrote: > > > > > > No. simplefb just wants to write to some memory that hardwa

[linux-sunxi] (parts of) A80 SDK available.

2014-08-25 Thread Luc Verhaegen
through the list, see what really nice to have things are all binary blobs, and then either change tune or stfu. 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 fro

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

2014-08-25 Thread Luc Verhaegen
; simplefb node? > > Thierry https://www.mail-archive.com/linux-sunxi@googlegroups.com/msg06619.html 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

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

2014-08-25 Thread Luc Verhaegen
discrete graphics cards, fine for rpi where most things are hidden from the ARM core anyway, not so fine for anybody else. 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 e

Re: [linux-sunxi] u-boot-sunxi: add hdmi driver (v2)

2014-08-25 Thread Luc Verhaegen
s, i still need to go figure out how i got to those 8 months ago. I am a bit all over the place atm, but that's definitely high on my todo list, and i will post a set of new patches, with your additions, when i've done that. Luc Verhaegen. -- You received this message because you

Re: [linux-sunxi] Introductions and Allwinner documentation update

2014-08-22 Thread Luc Verhaegen
On Fri, Aug 22, 2014 at 03:16:44PM -0400, jonsm...@gmail.com wrote: > On Fri, Aug 22, 2014 at 1:45 PM, Luc Verhaegen wrote: > > > > First and foremost, the many GPL violations have to get resolved. > > And just exactly how is this supposed to happen when Allwinner doesn

Re: [linux-sunxi] Introductions and Allwinner documentation update

2014-08-22 Thread Luc Verhaegen
On Fri, Aug 22, 2014 at 07:45:21PM +0200, Luc Verhaegen wrote: > On Fri, Aug 22, 2014 at 07:59:33PM +0300, Simos Xenitellis wrote: > > Hi All, > > > > After the recent thread about interview questions to Allwinner, > > https://groups.google.com/d/topic/linux-sunxi/OMe3p

Re: [linux-sunxi] Introductions and Allwinner documentation update

2014-08-22 Thread Luc Verhaegen
all those pending issues. > What I find important is to start first with small but important issues so > that they get completed quickly, and we can figure out what works well in > this effort, and what we need to do better. > > It is a great opportunity, let's make the mo

Re: [linux-sunxi] u-boot-sunxi: add hdmi driver (v2)

2014-08-22 Thread Luc Verhaegen
On Fri, Aug 22, 2014 at 09:06:13AM -0400, jonsm...@gmail.com wrote: > On Fri, Aug 22, 2014 at 8:54 AM, Emilio López wrote: > > El 21/08/14 a las 15:28, Luc Verhaegen escibió: > > > >> If you do not do this beforehand, you will usually get a lower d

Re: [linux-sunxi] u-boot-sunxi: add hdmi driver (v2)

2014-08-22 Thread Luc Verhaegen
On Fri, Aug 22, 2014 at 09:54:12AM -0300, Emilio López wrote: > El 21/08/14 a las 15:28, Luc Verhaegen escibió: >> On Thu, Aug 21, 2014 at 04:21:16AM +0200, Luc Verhaegen wrote: >>> >>> My test CRT is refusing to show 640x480 though, so while i diligently >>> te

Re: [linux-sunxi] meminfo rewrite (v2).

2014-08-21 Thread Luc Verhaegen
On Wed, Aug 20, 2014 at 03:45:04AM +0200, Luc Verhaegen wrote: > Luc Verhaegen. Hrm. Empty. I thought i had stuck something in there... Apparently not then. Ok, second revision after Emilios review round. Now the issues were fixed, and a command line argument was added which allows

Re: [linux-sunxi] u-boot #ifdefs

2014-08-21 Thread Luc Verhaegen
sdcard-writer ) > That concept only works if it is possible to build a single u-boot > binary that can be patched after compilation though. I guess that the above identification code is good enough for u-boot as well, and that a lot of the board specifics can then be rewritten. But some

Re: [linux-sunxi] u-boot-sunxi: add hdmi driver (v2)

2014-08-21 Thread Luc Verhaegen
On Thu, Aug 21, 2014 at 04:21:16AM +0200, Luc Verhaegen wrote: > > My test CRT is refusing to show 640x480 though, so while i diligently > tested through the edges of the ranges (both of the internal loop, as > of the external divider), i did mess something else up :) > &

Re: [linux-sunxi] u-boot-sunxi: add hdmi driver (v2)

2014-08-20 Thread Luc Verhaegen
On Thu, Aug 14, 2014 at 10:22:04PM +0200, Luc Verhaegen wrote: > On Thu, Aug 14, 2014 at 09:47:34PM +0200, Luc Verhaegen wrote: > > > > > 4) Working on 3). made me realize that the clk setup code tries to use m > > > = 16 which > > > won't work. > &

Re: [linux-sunxi] sunxi-3.4 cleanup suggestions

2014-08-20 Thread Luc Verhaegen
as small as > possible with sunxi-3.4. There are somethings that I need for Replicant > and that you are probably not ready to accept in sunxi-3.4 though, such > as the entire removal of all proprietary firmwares, replicant-specific > defconfigs and a few other things along the way.

Re: [linux-sunxi] [PATCH] include: drm: Proper kernel define check

2014-08-20 Thread Luc Verhaegen
this was fixed upstream as: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b63305483 Reviewed-by: Luc Verhaegen Luc Verhaegen. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and

Re: [linux-sunxi] [PATCH 6/8] meminfo: read in soc version

2014-08-20 Thread Luc Verhaegen
this code, once the differences in dram controller are figured out. 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..

[linux-sunxi] [PATCH 1/8] meminfo: rewrite /dev/mem handling

2014-08-19 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- meminfo.c | 37 + 1 files changed, 21 insertions(+), 16 deletions(-) diff --git a/meminfo.c b/meminfo.c index b29da38..6d87897 100644 --- a/meminfo.c +++ b/meminfo.c @@ -19,6 +19,7 @@ #include #include #include

[linux-sunxi] [PATCH 8/8] meminfo: (re-)introduce fex and usage printing

2014-08-19 Thread Luc Verhaegen
Triggered by command line arguments. Signed-off-by: Luc Verhaegen --- meminfo.c | 87 - 1 files changed, 86 insertions(+), 1 deletions(-) diff --git a/meminfo.c b/meminfo.c index a01ff0a..fa8787e 100644 --- a/meminfo.c +++ b

[linux-sunxi] meminfo rewrite (v2).

2014-08-19 Thread Luc Verhaegen
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.go

[linux-sunxi] [PATCH 7/8] meminfo: fill in tpr4 on sun7i

2014-08-19 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- meminfo.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/meminfo.c b/meminfo.c index e22a748..a01ff0a 100644 --- a/meminfo.c +++ b/meminfo.c @@ -182,6 +182,7 @@ dram_clock_read(struct dram_para *dram_para) #define

[linux-sunxi] [PATCH 2/8] meminfo: fix up printing

2014-08-19 Thread Luc Verhaegen
Now we write out a dram file for u-boot directly. Signed-off-by: Luc Verhaegen --- meminfo.c | 60 +--- 1 files changed, 41 insertions(+), 19 deletions(-) diff --git a/meminfo.c b/meminfo.c index 6d87897..e0d6430 100644 --- a/meminfo.c

[linux-sunxi] [PATCH 5/8] meminfo: various cleanups

2014-08-19 Thread Luc Verhaegen
No functional changes. Signed-off-by: Luc Verhaegen --- meminfo.c | 39 +-- 1 files changed, 21 insertions(+), 18 deletions(-) diff --git a/meminfo.c b/meminfo.c index 34a387d..2ebece2 100644 --- a/meminfo.c +++ b/meminfo.c @@ -1,29 +1,32 @@ /* - * A10

[linux-sunxi] [PATCH 4/8] meminfo: rewrite dram parameter reading

2014-08-19 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- meminfo.c | 188 +++- 1 files changed, 85 insertions(+), 103 deletions(-) diff --git a/meminfo.c b/meminfo.c index 3fe3604..34a387d 100644 --- a/meminfo.c +++ b/meminfo.c @@ -22,67 +22,7 @@ #include

[linux-sunxi] [PATCH 3/8] meminfo: rewrite pll5 retrieval

2014-08-19 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- meminfo.c | 172 - 1 files changed, 68 insertions(+), 104 deletions(-) diff --git a/meminfo.c b/meminfo.c index e0d6430..3fe3604 100644 --- a/meminfo.c +++ b/meminfo.c @@ -20,19 +20,9 @@ #include

[linux-sunxi] [PATCH 6/8] meminfo: read in soc version

2014-08-19 Thread Luc Verhaegen
And bail if it fails to match anything we support. Signed-off-by: Luc Verhaegen --- meminfo.c | 68 + 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/meminfo.c b/meminfo.c index 2ebece2..e22a748 100644 --- a/meminfo.c

Re: [linux-sunxi] [PATCH 5/7] meminfo: various cleanups

2014-08-19 Thread Luc Verhaegen
On Mon, Aug 18, 2014 at 07:36:09PM -0300, Emilio López wrote: > El 18/08/14 a las 03:34, Luc Verhaegen escibió: >> No functional changes. >> >> Signed-off-by: Luc Verhaegen >> --- >> meminfo.c | 39 +-- >> 1 files

Re: [linux-sunxi] [PATCH 2/7] meminfo: fix up printing

2014-08-19 Thread Luc Verhaegen
On Mon, Aug 18, 2014 at 07:32:33PM -0300, Emilio López wrote: > Hi Luc, > > El 18/08/14 a las 03:34, Luc Verhaegen escibió: > > Can you preserve the old way of printing with a --flag or something? > This matches the fex format and can be copied/pasted to it to preserve &g

[linux-sunxi] [PATCH 4/7] meminfo: rewrite dram parameter reading

2014-08-17 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- meminfo.c | 188 +++- 1 files changed, 85 insertions(+), 103 deletions(-) diff --git a/meminfo.c b/meminfo.c index d27af71..44d5c78 100644 --- a/meminfo.c +++ b/meminfo.c @@ -22,67 +22,7 @@ #include

[linux-sunxi] [PATCH 6/7] meminfo: read in soc version

2014-08-17 Thread Luc Verhaegen
And bail if it fails to match anything we support. Signed-off-by: Luc Verhaegen --- meminfo.c | 68 + 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/meminfo.c b/meminfo.c index 0b7bfe2..5610bb1 100644 --- a/meminfo.c

[linux-sunxi] [PATCH 5/7] meminfo: various cleanups

2014-08-17 Thread Luc Verhaegen
No functional changes. Signed-off-by: Luc Verhaegen --- meminfo.c | 39 +-- 1 files changed, 21 insertions(+), 18 deletions(-) diff --git a/meminfo.c b/meminfo.c index 44d5c78..0b7bfe2 100644 --- a/meminfo.c +++ b/meminfo.c @@ -1,29 +1,32 @@ /* - * A10

[linux-sunxi] [PATCH 7/7] meminfo: fill in tpr4 on sun7i

2014-08-17 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- meminfo.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/meminfo.c b/meminfo.c index 5610bb1..9d4f894 100644 --- a/meminfo.c +++ b/meminfo.c @@ -182,6 +182,7 @@ dram_clock_read(struct dram_para *dram_para) #define

[linux-sunxi] [PATCH 3/7] meminfo: rewrite pll5 retrieval

2014-08-17 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- meminfo.c | 172 - 1 files changed, 68 insertions(+), 104 deletions(-) diff --git a/meminfo.c b/meminfo.c index f926380..d27af71 100644 --- a/meminfo.c +++ b/meminfo.c @@ -20,19 +20,9 @@ #include

[linux-sunxi] [PATCH 2/7] meminfo: fix up printing

2014-08-17 Thread Luc Verhaegen
Now we write out a dram file for u-boot directly. Signed-off-by: Luc Verhaegen --- meminfo.c | 59 --- 1 files changed, 40 insertions(+), 19 deletions(-) diff --git a/meminfo.c b/meminfo.c index 6d87897..f926380 100644 --- a/meminfo.c

[linux-sunxi] sunxi-tools: meminfo rewrite

2014-08-17 Thread Luc Verhaegen
overhauling meminfo. 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, v

[linux-sunxi] [PATCH 1/7] meminfo: rewrite /dev/mem handling

2014-08-17 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- meminfo.c | 37 + 1 files changed, 21 insertions(+), 16 deletions(-) diff --git a/meminfo.c b/meminfo.c index b29da38..6d87897 100644 --- a/meminfo.c +++ b/meminfo.c @@ -19,6 +19,7 @@ #include #include #include

[linux-sunxi] [PATCH 1/1] config:sunxi: add rtl wifi to sun5i_defconfig

2014-08-16 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- arch/arm/configs/sun5i_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/sun5i_defconfig b/arch/arm/configs/sun5i_defconfig index f837d69..da0e418 100644 --- a/arch/arm/configs/sun5i_defconfig +++ b/arch/arm

Re: [linux-sunxi] Re: Running Linux on a Jesurun A19 Android media player

2014-08-16 Thread Luc Verhaegen
it's only for small files, and only seems to support a > limited range of file types. > > I'd like to upload the stock Android image, You do not upload the stock android image. period. Try following the New Device Howto to the letter. Luc Verhaegen. -- You received thi

Re: [linux-sunxi] u-boot-sunxi: add hdmi driver (v2)

2014-08-14 Thread Luc Verhaegen
On Thu, Aug 14, 2014 at 09:47:34PM +0200, Luc Verhaegen wrote: > > > 4) Working on 3). made me realize that the clk setup code tries to use m = > > 16 which > > won't work. > > Hrm, that i need to go verify, as i am definitely doing that in my KMS &

Re: [linux-sunxi] u-boot-sunxi: add hdmi driver (v2)

2014-08-14 Thread Luc Verhaegen
o go dig that out. Some of that might be because my reworked disp driver is by now rather old and more recent disp fixes have not been worked in yet. > 6) And last add a small tweak also from the 3.4 kernel to fix the hdmi fifo > sometimes underrunning leading to small speckles on the s

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

2014-08-14 Thread Luc Verhaegen
row ~1kloc still. Also, i constantly am re-loading this (how else does one develop any sizable amount of code?), so it does that cleanly and correctly, which seems quite contrary to your experience with ARM drm drivers. Luc Verhaegen. -- You received this message because you are subsc

[linux-sunxi] Re: [PATCH 2/4] simplefb: add goto error path to probe

2014-08-14 Thread Luc Verhaegen
return ret; > > at least that's my conception how we format error paths in drivers/video/. Will do. Thanks. Luc Verhaegen. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receivin

[linux-sunxi] Re: [PATCH 2/4] simplefb: add goto error path to probe

2014-08-14 Thread Luc Verhaegen
On Wed, Aug 13, 2014 at 09:27:46AM +0200, David Herrmann wrote: > Hi > > On Wed, Aug 13, 2014 at 9:17 AM, Luc Verhaegen wrote: > > Signed-off-by: Luc Verhaegen > > --- > > drivers/video/fbdev/simplefb.c | 20 +--- > > 1 files chang

[linux-sunxi] [PATCH 1/1] fexc: add some sanity checking to bin reading

2014-08-13 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- script_bin.c | 39 +-- 1 files changed, 37 insertions(+), 2 deletions(-) diff --git a/script_bin.c b/script_bin.c index cd71218..c797fbe 100644 --- a/script_bin.c +++ b/script_bin.c @@ -210,17 +210,35 @@ int

[linux-sunxi] Re: [PATCH 3/4] simplefb: disable dt node upon remove

2014-08-13 Thread Luc Verhaegen
over from the simplefb? Not at all. A big blob of KMS code exists for our sunxi-3.4 kernel, where i can load the original display driver quickly and easily. This tree predates most of DT. I was rather hoping that the simplefb stop-gap didn't require me to have fully engineered everything yes

[linux-sunxi] Re: [PATCH 3/4] simplefb: disable dt node upon remove

2014-08-13 Thread Luc Verhaegen
On Wed, Aug 13, 2014 at 01:58:36PM -0600, Stephen Warren wrote: > On 08/13/2014 01:25 PM, Luc Verhaegen wrote: >> >> The code that sets up simplefb for sunxi is primarily for providing a >> console in u-boot (using the ancient cfbconsole infrastructure). From >> what

[linux-sunxi] Re: [PATCH 3/4] simplefb: disable dt node upon remove

2014-08-13 Thread Luc Verhaegen
quite a few people in our sunxi community are interested in it, primarily for u-boot and early console, and only secondarily as a stop-gap for a full driver. Luc Verhaegen. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscri

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

2014-08-13 Thread Luc Verhaegen
dn't see anything in u-boot for instance. But the code for handling clocks where they are supposed to be handled is pretty generic from where i sit. Luc Verhaegen. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsu

Re: [linux-sunxi] [PATCH] sunxi: Ainol AW1 support

2014-08-13 Thread Luc Verhaegen
ged, 33 insertions(+) > create mode 100644 board/sunxi/dram_ainol_aw1.c Pushed. 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

Re: [linux-sunxi] [PATCH] a20: Ainol AW1 support

2014-08-13 Thread Luc Verhaegen
On Wed, Aug 13, 2014 at 04:04:27PM +0200, Paul Kocialkowski wrote: > Signed-off-by: Paul Kocialkowski > --- > sys_config/a20/ainol_aw1.fex | 1044 > ++ > 1 file changed, 1044 insertions(+) > create mode 100644 sys_config/a20/ainol_aw1

Re: [linux-sunxi] Re: [PATCH 3/4] simplefb: disable dt node upon remove

2014-08-13 Thread Luc Verhaegen
On Wed, Aug 13, 2014 at 11:45:24AM +0200, Luc Verhaegen wrote: > On Wed, Aug 13, 2014 at 10:23:14AM +0100, Grant Likely wrote: > > > > The majority of the DT code is based on the assumption of a static > > tree. Pantelis has been working on being able to modify it at runt

[linux-sunxi] Re: [PATCH 3/4] simplefb: disable dt node upon remove

2014-08-13 Thread Luc Verhaegen
e to be part of the solution. In any case, i will gladly drop this patch, as it is not absolutely necessary. But it should be very clear that there is no going back on this dt node after the clocks were released once. Luc Verhaegen. -- You received this message because you are subscribed to t

[linux-sunxi] Re: simplefb: add clock handling

2014-08-13 Thread Luc Verhaegen
ing the device would not work there? If yes, > I will look into the "disable-idea". The clocks we currently claim handle the ahb gating of different display engines. Disable the gating bit, and all power is lost to the respective engine, and register content vanishes. So there is

[linux-sunxi] simplefb: add clock handling

2014-08-13 Thread Luc Verhaegen
as disabled, as we really have no way back when the clocks get disabled. 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-sunx

[linux-sunxi] [PATCH 3/4] simplefb: disable dt node upon remove

2014-08-13 Thread Luc Verhaegen
sense to also flag the dt node as disabled, even though it has no real value today. Signed-off-by: Luc Verhaegen --- drivers/video/fbdev/simplefb.c | 43 --- 1 files changed, 39 insertions(+), 4 deletions(-) diff --git a/drivers/video/fbdev/simplefb.c b

[linux-sunxi] [PATCH 1/4] simplefb: formalize pseudo palette handling

2014-08-13 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- drivers/video/fbdev/simplefb.c | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/simplefb.c index 210f3a0..32be590 100644 --- a/drivers/video/fbdev/simplefb.c +++ b/drivers

[linux-sunxi] [PATCH 2/4] simplefb: add goto error path to probe

2014-08-13 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- drivers/video/fbdev/simplefb.c | 20 +--- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/simplefb.c index 32be590..72a4f20 100644 --- a/drivers/video/fbdev/simplefb.c +++ b

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

2014-08-13 Thread Luc Verhaegen
This claims and enables clocks listed in the simple framebuffer dt node. This is needed so that the display engine, in case the required clocks are known by the kernel code and are described in the dt, will remain properly enabled. Signed-off-by: Luc Verhaegen --- drivers/video/fbdev/simplefb.c

[linux-sunxi] [PATCH 4/4] sunxi:video: make video enabled the default

2014-08-12 Thread Luc Verhaegen
Add "NO_VIDEO" to the options list to disable. Signed-off-by: Luc Verhaegen --- include/configs/sunxi-common.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 81f893c..6d99111 100644 ---

[linux-sunxi] [PATCH 2/4] sunxi:video: add simplefb support

2014-08-12 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- arch/arm/include/asm/arch-sunxi/sunxi_display.h | 21 board/sunxi/board.c | 14 + drivers/video/sunxi_display.c | 61 +++ include/configs/sunxi-common.h |8

[linux-sunxi] [PATCH 3/4] sunxi:video: claim clocks for simplefb

2014-08-12 Thread Luc Verhaegen
significantly altered again when KMS happens. Signed-off-by: Luc Verhaegen --- drivers/video/sunxi_display.c | 85 + 1 files changed, 85 insertions(+), 0 deletions(-) diff --git a/drivers/video/sunxi_display.c b/drivers/video/sunxi_display.c index d5bc88e

[linux-sunxi] u-boot-sunxi: add hdmi driver (v2)

2014-08-12 Thread Luc Verhaegen
in dt). * removed a leftover variable from the sunxi_display struct. Matching mainline kernel patches (to simplefb) are coming up, and a port of the attached code to mainline u-boot (safe for the default setting bit) will be submitted as well. Luc Verhaegen. -- You received this message because yo

[linux-sunxi] [PATCH 1/4] video: add cfb console driver for sunxi

2014-08-12 Thread Luc Verhaegen
as hoped. Signed-off-by: Luc Verhaegen --- drivers/video/Makefile |1 + drivers/video/sunxi_display.c | 581 include/configs/sunxi-common.h | 23 ++ 3 files changed, 605 insertions(+), 0 deletions(-) create mode 100644 drivers/video

Re: [linux-sunxi] [PATCH] sunxi: ICOU Fatty I support

2014-08-10 Thread Luc Verhaegen
files changed, 33 insertions(+) > create mode 100644 board/sunxi/dram_icou_fatty_i.c Done. 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

Re: [linux-sunxi] [PATCH] a20: ICOU Fatty I support

2014-08-10 Thread Luc Verhaegen
On Sun, Aug 10, 2014 at 04:26:08PM +0200, Paul Kocialkowski wrote: > Signed-off-by: Paul Kocialkowski > --- > sys_config/a20/icou_fatty_i.fex | 983 > +++ > 1 file changed, 983 insertions(+) > create mode 100644 sys_config/a20/icou_fatty

[linux-sunxi] [PATCH 6/6] meminfo: rename and add to build

2014-08-10 Thread Luc Verhaegen
* rename a10-meminfo to meminfo * add static build to Makefile * fix operand warning * built binary verified on proper linux and android Signed-off-by: Luc Verhaegen --- .gitignore |1 + Makefile |3 +++ README |6 ++ a10

Re: [linux-sunxi] Move meminfo into sunxi-tools

2014-08-10 Thread Luc Verhaegen
On Sun, Aug 10, 2014 at 03:38:59PM +0200, Luc Verhaegen wrote: > > All patches are as they appear in the original repo, but are limited to > only the C file. Author and date info was kept as is. To keep the dates of the original commits, i will, after review, push this code direc

[linux-sunxi] [PATCH 5/6] meminfo: fix 'dram_clk' reporting for frequencies that are not multiples of 24

2014-08-10 Thread Luc Verhaegen
From: Siarhei Siamashka The K and M factors encode values 1-4 in two bits (starting from 1 and not 0). The typical DRAM clock frequency setup uses K=2 and M=2, which means that both of them are read as 1 from the bit fields. That's why a10-meminfo used to work in most cases (1/1 is the same as 2/

[linux-sunxi] [PATCH 6/6] meminfo: rename and add to build

2014-08-10 Thread Luc Verhaegen
* rename a10-meminfo to meminfo * add static build to Makefile * fix operand warning * built binary verified on proper linux and android Signed-off-by: Luc Verhaegen --- .gitignore|1 + Makefile |3 + README|6 + a10-meminfo.c | 288

[linux-sunxi] [PATCH 2/6] meminfo: do not assume Memory is always 24MHz * X

2014-08-10 Thread Luc Verhaegen
From: Oliver Schinagl DDR runs from the PLL5 and has several option to be configured, just as factor N, M, P and K. This patch probes all those registers to determine the clock. --- a10-meminfo.c | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/a1

[linux-sunxi] [PATCH 3/6] meminfo: swap PLL1 TUN2 register to proper location

2014-08-10 Thread Luc Verhaegen
From: Oliver Schinagl PLL1_tun2 had a wrong comment (0x34) in the original and was swapped to accomidate this position. Actually the comment was wrong and the location right, so this patch puts pll1_tun2 to 0x38. 0x34 is now reserved. --- a10-meminfo.c |2 +- 1 files changed, 1 insertions(+)

[linux-sunxi] [PATCH 4/6] meminfo: fix 'dram_tpr3' reporting

2014-08-10 Thread Luc Verhaegen
From: Siarhei Siamashka Get it from the dllcr registers instead of always returning 0. --- a10-meminfo.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/a10-meminfo.c b/a10-meminfo.c index 2c815af..b4dc2d4 100644 --- a/a10-meminfo.c +++ b/a10-meminfo.c @@ -229,6 +229

[linux-sunxi] Move meminfo into sunxi-tools

2014-08-10 Thread Luc Verhaegen
kept as is. In a final commit, the tool was renamed to meminfo, a static build line was added to the Makefile. The resulting binary has been verified on an ubuntu and on android. Luc Verhaegen. -- You received this message because you are subscribed to the Google Groups "linux-sunxi&q

[linux-sunxi] [PATCH 1/6] meminfo: Initial upload

2014-08-10 Thread Luc Verhaegen
From: Floris Bos --- a10-meminfo.c | 262 + 1 files changed, 262 insertions(+), 0 deletions(-) create mode 100644 a10-meminfo.c diff --git a/a10-meminfo.c b/a10-meminfo.c new file mode 100644 index 000..ebd43ac --- /dev/null +++ b/a1

Re: [linux-sunxi] Re: Running Linux on a Jesurun A19 Android media player

2014-08-10 Thread Luc Verhaegen
7;t clear from the wiki how to do that. Try reading that sentence on the wiki _again_. 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 li

Re: [linux-sunxi] Running Linux on a Jesurun A19 Android media player

2014-08-09 Thread Luc Verhaegen
's this section called "Allwinner based devices" on the front page of our wiki: http://linux-sunxi.org/Main_Page It reads: "If you are looking for support for your device from the sunxi community here, please take a look at our guide to identifying your device. If you cann

[linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-06 Thread Luc Verhaegen
On Tue, Aug 05, 2014 at 01:56:36PM +0200, Hans de Goede wrote: > Hi, > > On 08/02/2014 06:14 PM, Luc Verhaegen wrote: > > This adds a fixed mode hdmi driver (lcd to be added in future) for the > > sunxi platform. Current config is such that 8MB is shaved off at the top >

Re: [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Luc Verhaegen
On Mon, Aug 04, 2014 at 05:31:36PM +0200, Henrik Nordström wrote: > mån 2014-08-04 klockan 17:05 +0200 skrev Luc Verhaegen: > > But... What do we do when u-boot sets up cfb, without setting up a > > simplefb node in the dt. Or what do we do when a simplefb node is set > > up,

[linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi

2014-08-04 Thread Luc Verhaegen
to work. This means that you can have both cfb and uart working side by side, but you do not get anything on cfb unless the env is set as such. For a future spin of this patch, the logic around enabling this code will be swapped around. People will have to manually add VIDEO to their board

Re: [linux-sunxi] Re: [PATCH 1/2] ARM: clk: sunxi: claim clocks used by simplefb

2014-08-03 Thread Luc Verhaegen
nvalid clock ID, and > be able to deal with "holes" in our register. In time. 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] [PATCH] video: add cfb console driver for sunxi

2014-08-03 Thread Luc Verhaegen
On Sun, Aug 03, 2014 at 09:39:23PM +0200, Maxime Ripard wrote: > On Sun, Aug 03, 2014 at 05:51:49PM +0200, Luc Verhaegen wrote: > > > > One big open question mark with the dt solution is... What is this > > memory that we reserved compatible with? At which point can this &

Re: [linux-sunxi] Re: [PATCH 1/2] ARM: clk: sunxi: claim clocks used by simplefb

2014-08-03 Thread Luc Verhaegen
On Sun, Aug 03, 2014 at 08:44:44PM +0200, Maxime Ripard wrote: > On Sun, Aug 03, 2014 at 05:17:40PM +0200, Luc Verhaegen wrote: > > On Sun, Aug 03, 2014 at 01:53:56PM +0200, Maxime Ripard wrote: > > > Hi, > > > > > > You forgot to Cc the linux-arm-kernel mailin

Re: [linux-sunxi] [PATCH] video: add cfb console driver for sunxi

2014-08-03 Thread Luc Verhaegen
On Sun, Aug 03, 2014 at 02:18:13PM +0200, Maxime Ripard wrote: > Hi, > > Thanks for working on this > > On Sat, Aug 02, 2014 at 04:06:09PM +0200, Luc Verhaegen wrote: > > +#define CONFIG_SYS_MEM_TOP_HIDE ((CONFIG_SUNXI_FB_SIZE + 0xFFF) & ~0xFFF) > > I'm not t

[linux-sunxi] Re: [PATCH 1/2] ARM: clk: sunxi: claim clocks used by simplefb

2014-08-03 Thread Luc Verhaegen
#x27;ve made your hair stand on end. It is pure luck that that works today, but that sort of luck will run out very quickly. Luc Verhaegen. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop rec

Re: [linux-sunxi] [PATCH] video: add cfb console driver for sunxi

2014-08-02 Thread Luc Verhaegen
d to fix up the merge issue, and still get a build and run out of it before having to leave. Thanks for taking the time to look into this, and thanks for convincing me that this is a worthwhile effort the first place. Luc Verhaegen. -- You received this message because you are subscribed to th

[linux-sunxi] [PATCH] video: add cfb console driver for sunxi

2014-08-02 Thread Luc Verhaegen
This adds a fixed mode hdmi driver (lcd to be added in future) for the sunxi platform. Current config is such that 8MB is shaved off at the top of the RAM. Simplefb support is available for kernels that know how to use it. Signed-off-by: Luc Verhaegen --- arch/arm/include/asm/arch-sunxi

Re: [linux-sunxi] [PATCH] video: add cfb console driver for sunxi

2014-08-02 Thread Luc Verhaegen
On Sat, Aug 02, 2014 at 06:03:40PM +0300, Siarhei Siamashka wrote: > On Sat, 2 Aug 2014 16:06:09 +0200 > Luc Verhaegen wrote: > > > This adds a fixed mode hdmi driver (lcd to be added in future) for the > > sunxi platform. Current config is such that 8MB is shaved off at t

Re: [linux-sunxi] u-boot cfb console

2014-08-02 Thread Luc Verhaegen
On Sat, Aug 02, 2014 at 10:15:12AM -0400, jonsm...@gmail.com wrote: > On Sat, Aug 2, 2014 at 10:06 AM, Luc Verhaegen wrote: > > > * sets up 1024x768. It does not do EDID due to the display infrastructure > > inside u-boot being very last millenium. Modesetting is fully algor

[linux-sunxi] u-boot cfb console

2014-08-02 Thread Luc Verhaegen
a memory address, and the size and layout of this memory. There is no two way communication. You do not get DPMS or anything. If it is on, then it stays on. There is no way to switch modes. Wait for a full blown display driver for all the normal display driver goodness. Luc Verhaegen. -- You rece

[linux-sunxi] [PATCH] video: add cfb console driver for sunxi

2014-08-02 Thread Luc Verhaegen
This adds a fixed mode hdmi driver (lcd to be added in future) for the sunxi platform. Current config is such that 8MB is shaved off at the top of the RAM. Simplefb support is available for kernels that know how to use it. Signed-off-by: Luc Verhaegen --- arch/arm/include/asm/arch-sunxi

Re: [linux-sunxi] [PATCH 1/2] ARM: clk: sunxi: claim clocks used by simplefb

2014-08-02 Thread Luc Verhaegen
On Sat, Aug 02, 2014 at 03:07:16PM +0200, Luc Verhaegen wrote: > This code claims the display engine clocks used by the simplefb support > in u-boot. Without this code, the relevant blocks in the display engine > get disabled. > > Signed-off-by: Luc Verhaegen This code depe

[linux-sunxi] [PATCH] sunxi:platform: disable display engine clocks

2014-08-02 Thread Luc Verhaegen
U-boot might have set up an fb which we, without dt, do not know how to use. Just turn everything off and wait for a proper display driver to kick in, or not. Signed-off-by: Luc Verhaegen --- arch/arm/plat-sunxi/core.c | 35 +++ 1 files changed, 35 insertions

[linux-sunxi] [PATCH 2/2] ARM: sunxi_defconfig: add simplefb support

2014-08-02 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen --- arch/arm/configs/sunxi_defconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 4ae42cf..309c889 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm

[linux-sunxi] [PATCH] ARM: sunxi_defconfig: add NLS_CODEPAGE_437 and NLS_ISO8859_1

2014-08-02 Thread Luc Verhaegen
Otherwise CONFIG_VFAT_FS is useless as mounting vfat fails. Signed-off-by: Luc Verhaegen --- arch/arm/configs/sunxi_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 7209bfd..4532059

<    1   2   3   4   5   >