[linux-sunxi] Build sunxi-next for A20

2014-03-05 Thread hmandevteam
Hi all, i trying to build kernel sunxi-next for my A20 Olinuxino. I using prev work sd with 3.4 (Debian Wheezy) and update uImage, modules and firmware. i follow standard steps: get linux-sunxi sunxi-next branch: $ git clone https://github.com/linux-sunxi/linux-sunxi -b sunxi-next get

Re: [linux-sunxi] Build sunxi-next for A20

2014-03-05 Thread Maxime Ripard
Hi, On Wed, Mar 05, 2014 at 01:37:10AM -0800, hmandevt...@gmail.com wrote: Hi all, i trying to build kernel sunxi-next for my A20 Olinuxino. I using prev work sd with 3.4 (Debian Wheezy) and update uImage, modules and firmware. i follow standard steps: get linux-sunxi sunxi-next branch:

[linux-sunxi] Is it possible encode mpeg2 with CedarX?

2014-03-05 Thread xavier . rovira . lanaccess
Hi: I would like to test if it is possible to encode mpeg2 at 4mbits/s 25fps D1 with the A20. For no realtime I suppose FFMEPG is enough. Is it possible to encode mpeg2 with CedarX? Is it possible with the MALI? In your page you say encode MPEG must be checked. So is it possible but it is

Re: [linux-sunxi] Re: Build sunxi-next for A20

2014-03-05 Thread Maxime Ripard
Hi, On Wed, Mar 05, 2014 at 02:48:20AM -0800, hmandevt...@gmail.com wrote: Many thanks, i trying to rebuild it. I need to use USBTV007 drivers that need at least 3.10 kernel. I saw that exists also some xxx-3.10 branches. The USB support isn't in sunxi-next yet, but should arrive in the few

Re: [linux-sunxi] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-05 Thread jonsm...@gmail.com
On Wed, Mar 5, 2014 at 6:45 AM, Luc Verhaegen l...@skynet.be wrote: On Mon, Mar 03, 2014 at 07:46:21PM -0500, jonsm...@gmail.com wrote: Videos of the announcement here... http://www.linaro.org/linaro-blog/2014/03/03/linaro-connect-asia-2014-kicks-off-in-macau/

Re: [linux-sunxi] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-05 Thread Luc Verhaegen
On Wed, Mar 05, 2014 at 09:22:45AM -0500, jonsm...@gmail.com wrote: I think you are misreading this. Allwinnner is trying to increase their appeal in Western markets. Joining Linaro will increase these Western ties. Big companies that have already made it send fluff engineers, not small

Re: [linux-sunxi] [PATCH] arch/arm/mach-sun7i/pm/standby/mem_printk.c used non-const char arrays. However gcc 4.6.3 likes to replace these by calls to memcpy. memcpy doesn't exist in the kernel. Havin

2014-03-05 Thread Andreas Baierl
Hi Alejandro, this patch breaks building because it's not applied as Danny sent it :) Regards rellla Am 02.03.2014 19:54, schrieb Alejandro Mery: On 01/03/14 20:56, Danny Milosavljevic wrote: --- arch/arm/mach-sun7i/pm/standby/mem_printk.c |6 +++--- 1 file changed, 3 insertions(+), 3

Re: [linux-sunxi] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-05 Thread Craig Whitcombe
What does this mean for the laymen? Will allwinner provide cedarx source code? Will allwinner release enough information that essentially linux distros (xbmclinux) can easiliy be created for allwinner based STBs and android sticks? (im thinking Mele M9 here!) Thanks, Craig On Wednesday, 5

Re: [linux-sunxi] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-05 Thread Dmitriy B.
For quite a few of the linaro member companies, this is really just another consortium. They dispatch some fluff engineers that are usually not too useful anywhere else, and then pat themselves on the back that they are now actively doing the open source thing as well. Linaro is completely

[linux-sunxi] [PATCH 3/5] ARM: sun6i: dt: Add A31 GMAC gigabit ethernet controller node

2014-03-05 Thread Chen-Yu Tsai
The A31 has the same GMAC found on the A20 SoC, except it has an extra reset control. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi

[linux-sunxi] [PATCH 2/5] ARM: sun6i: dt: Add GMAC clock node to the A31 DTSI

2014-03-05 Thread Chen-Yu Tsai
The GMAC uses 1 of 2 sources for its transmit clock, depending on the PHY interface mode. Add both sources as dummy clocks, and as parents to the GMAC clock node. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 28 1 file changed, 28

[linux-sunxi] [PATCH 0/5] ARM: sun6i: dt: Add support for GMAC

2014-03-05 Thread Chen-Yu Tsai
Hi Maxime, This series add support for the GMAC in A31. The GMAC is the same as in the A20, except it has an extra reset control. The GMAC clock module is mostly the same as in the A20, without the extra dividers, which I left out intentionally from the clock driver. The register offsets and

[linux-sunxi] [PATCH 1/5] ARM: sun6i: dt: Add pin muxing options for GMAC

2014-03-05 Thread Chen-Yu Tsai
The A31 SoC has a GMAC gigabit ethernet controller supporting MII, GMII, RGMII modes. Add pin muxing options for these modes. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 42 1 file changed, 42 insertions(+) diff --git

[linux-sunxi] [PATCH 5/5] ARM: sun6i: columbus: Enable the GMAC

2014-03-05 Thread Chen-Yu Tsai
The A31 Colombus board uses the GMAC with a Realtek RTL8211E-VB RGMII phy. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun6i-a31-colombus.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-colombus.dts

Re: [linux-sunxi] New u-boot from Hans de Geode's Git Repo won't boot any kernel (Cubieboard2)

2014-03-05 Thread Manfred Kreisl
Am Mittwoch, 5. März 2014 16:59:21 UTC+1 schrieb Hans de Goede: My sunxi-next u-boot branch is only intended for use with upstream kernels, not with the sunxi 3.4.x kernels. That it fails to boot the 3.4.x kernels is a known issue. Ah, I understand. So, I also tried to boot my new

Re: [linux-sunxi] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-05 Thread jonsm...@gmail.com
On Wed, Mar 5, 2014 at 11:16 AM, Dmitriy B. rzk...@gmail.com wrote: Besides, why can't linux-sunxi cooperate with the Linaro people? Everything Linaro does is on open mailing lists and servers Because its not. Try to find reference manuals for latest Exynos, HiSilicon K3V2 and other Linaro

Re: [linux-sunxi] [PATCH] sun4i_csi: fixed null value in camera init, same fix as for csi0

2014-03-05 Thread rdv0011
пятница, 31 мая 2013 г., 17:21:17 UTC+3 пользователь behrou...@gmail.com написал: On Thursday, May 30, 2013 11:44:39 PM UTC+4:30, npeacock wrote: On 05/30/2013 11:48 AM, mahdi Chi wrote: i have same problem

Re: [linux-sunxi] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-05 Thread jonsm...@gmail.com
On Wed, Mar 5, 2014 at 12:19 PM, Dmitriy B. rzk...@gmail.com wrote: That is not in the category of what Linaro does. The code written at Linaro is open and open lists discuss it. How do I discuss it when I cant even run it? It is the vendor pushing those NDAs, not Linaro. Joining Linaro

[linux-sunxi] Re: [PATCH] ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions

2014-03-05 Thread Marek Vasut
On Wednesday, March 05, 2014 at 08:17:49 PM, Hans de Goede wrote: This fixes the following warnings when CONFIG_PM_SLEEP is not set: drivers/ata/ahci_imx.c:284:12: warning: ‘imx_ahci_suspend’ defined but not used [-Wunused-function] drivers/ata/ahci_imx.c:299:12: warning: ‘imx_ahci_resume’

Re: [linux-sunxi] Possible G2D kernel bug

2014-03-05 Thread Andreas Baierl
Am 04.03.2014 11:56, schrieb Andreas Baierl: Hi all, it seems, that the G2D kernel driver has some issue: libvdpau-sunxi uses G2D_CMD_BITBLT for creating surfaces, so at the end of mixer_blt, there is g2d_wait_cmd_finish() called. As soon as (timeout==0) gets TRUE in

[linux-sunxi] Re: [PATCH] ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions

2014-03-05 Thread Alexander Shiyan
Среда, 5 марта 2014, 20:23 +01:00 от Marek Vasut ma...@denx.de: On Wednesday, March 05, 2014 at 08:17:49 PM, Hans de Goede wrote: This fixes the following warnings when CONFIG_PM_SLEEP is not set: drivers/ata/ahci_imx.c:284:12: warning: ‘imx_ahci_suspend’ defined but not used

[linux-sunxi] [PATCH v5 3/3] ARM: sun7i/sun6i: irqchip: Update the documentation

2014-03-05 Thread Carlo Caione
Added documentation for NMI irqchip. Signed-off-by: Carlo Caione ca...@caione.org --- .../allwinner,sun67i-sc-nmi.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644

[linux-sunxi] [PATCH v5 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-03-05 Thread Carlo Caione
Allwinner A20/A31 SoCs have special registers to control / (un)mask / acknowledge NMI. This NMI controller is separated and independent from GIC. This patch adds a new irqchip to manage NMI. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com ---

Re: [linux-sunxi] Re: [PATCH 0/7] mfd: AXP20x: Add support for AXP202 and AXP209

2014-03-05 Thread Hans de Goede
Hi, On 03/01/2014 08:29 PM, Hans de Goede wrote: Hi, On 03/01/2014 06:17 PM, Carlo Caione wrote: On Sat, Mar 1, 2014 at 5:56 PM, Hans de Goede hdego...@redhat.com wrote: Hi Carlo, Great work, thanks for all the time you're putting into this! Hi Hans :) I've 2 questions: 1) What

[linux-sunxi] sunxi-devel branch updated to 3.14-rc5

2014-03-05 Thread Hans de Goede
Hi All, I've just updated: https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-devel to 3.14-rc5. Besides rebasing to 3.14-rc5, this contains the following over the previous sunxi-devel branch update: -sun7i nmi irq controller support (by Carlo Caione) -axp209 support (by Carlo Caione)

Re: [linux-sunxi] Re: [PATCH 0/7] mfd: AXP20x: Add support for AXP202 and AXP209

2014-03-05 Thread Carlo Caione
On Wed, Mar 5, 2014 at 9:02 PM, Hans de Goede hdego...@redhat.com wrote: So I've added your patches to my sunxi-devel tree and they work as advertised :) Thank you for keeping the tree updated :) I've also added dt support for the axp209 to the cubietruck dts file, to avoid things becoming

Re: [linux-sunxi] [PATCH] arch/arm/mach-sun7i/pm/standby/mem_printk.c used non-const char arrays. However gcc 4.6.3 likes to replace these by calls to memcpy. memcpy doesn't exist in the kernel. Havin

2014-03-05 Thread Alejandro Mery
On 05/03/14 16:14, Andreas Baierl wrote: Hi Alejandro, this patch breaks building because it's not applied as Danny sent it :) yes, I couldn't apply it because of ^Ms... but compiled fine for me I'm kind of lost on why is `const char foo* =` instead of `const char foo[] =`. can you

Re: [linux-sunxi] Re: How to decide NAND boot address?

2014-03-05 Thread hunter hu
Hi Pat, I was not be able to get serial port access yet, work in progress. Regarding the syntax, what are the correct ones? thanks, -Hunter On Wednesday, March 5, 2014 8:51:22 PM UTC-6, Patrick Wood wrote: That's not the right syntax for file access. Don't you have a serial port you can

Re: [linux-sunxi] Re: How to decide NAND boot address?

2014-03-05 Thread Patrick Wood
fatload nand 0 kernel_address kernel_file Note that my u-boot is based on a heavily-modified version of the one used by android. On Wednesday, March 5, 2014 10:10:03 PM UTC-5, hunter hu wrote: Hi Pat, I was not be able to get serial port access yet, work in progress. Regarding the syntax,

Re: [linux-sunxi] [PATCH] arch/arm/mach-sun7i/pm/standby/mem_printk.c used non-const char arrays. However gcc 4.6.3 likes to replace these by calls to memcpy. memcpy doesn't exist in the kernel. Havin

2014-03-05 Thread Patrick Wood
On Wednesday, March 5, 2014 5:55:50 PM UTC-5, Alejandro Mery wrote: On 05/03/14 16:14, Andreas Baierl wrote: Hi Alejandro, this patch breaks building because it's not applied as Danny sent it :) yes, I couldn't apply it because of ^Ms... but compiled fine for me I'm kind of

Re: [linux-sunxi] Possible G2D kernel bug

2014-03-05 Thread Siarhei Siamashka
On Wed, 05 Mar 2014 20:32:42 +0100 Andreas Baierl l...@imkreisrum.de wrote: Am 04.03.2014 11:56, schrieb Andreas Baierl: Hi all, it seems, that the G2D kernel driver has some issue: libvdpau-sunxi uses G2D_CMD_BITBLT for creating surfaces, so at the end of mixer_blt, there is

Re: [linux-sunxi] Re: How to decide NAND boot address?

2014-03-05 Thread hunter hu
Thanks Pat, I have used the correct syntax, but still, stuck at the SUNXI logo; at this moment I have a few questions: 1 my cpu is A13, your u-boot is for A20, I would think that is not working for me? 2 I have been using lichee-dev, sun5i_a13 board, trying to modify the configurations as

Re: [linux-sunxi] Re: Build sunxi-next for A20

2014-03-05 Thread hmandevteam
Hi Priit, You need at least version 3.12 of Linus' tree because support for A20-OLinuXino was only added then: http://linux-sunxi.org/Mainlining_Effort To test the latest goodness like SATA and USB follow this page: http://linux-sunxi.org/Mainline_Kernel_Howto i follow howto and using $ git