[linux-sunxi] Re: uboot for Mele M3 A20

2014-03-17 Thread ditmar . rose
For cubieboard there is a solution here http://www.cubieforums.com/index.php?topic=1175.0 -- 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+unsubsc

Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..

2014-03-17 Thread Puneet B
Hi Igor, Thanks for your reply. i am facing problem in booting of android4.2 from sdcard. but for android4.0 you can see this link. http://linux-sunxi.org/Boot_Android_from_SdCard. but if you are using android4.2 . boot u-boot, kernel from sdcard and mount file system from nand which will

[linux-sunxi] [PATCH] Add Ippo Q8H-v5

2014-03-17 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- sys_config/a23/ippo-q8h-v5.fex | 844 + 1 file changed, 844 insertions(+) create mode 100644 sys_config/a23/ippo-q8h-v5.fex diff --git a/sys_config/a23/ippo-q8h-v5.fex b/sys_config/a23/ippo-q8h-v5.fex new file mode 100644 i

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

2014-03-17 Thread mrnuke
On Monday, March 17, 2014 08:28:26 PM mrnuke wrote: I re-ran some captures after a clean reset. > However, on higher speeds, the > bursts seem to happen in 64-byte micro-bursts. My assumption is that > we aren't servicing the 3/4 FIFO interrupts fast enough, the FIFOs get > filled, and the contro

Re: [linux-sunxi] Re: How to boot from onboard eMMC ?

2014-03-17 Thread simon wong
Hi, Mallah's method is OK. Recompile the u-boot. Thanks. On Tue, Mar 18, 2014 at 7:59 AM, Igor Cardoso wrote: > > > Hi Rova, > > How did u solved it? I think it was hardware, right? Did you changed the > boot_sel0 and boot_sel1? > > boot-> check fel key pressed (yes)-> check if sd0 bootable(no)

[linux-sunxi] Re: uboot for Mele M3 A20

2014-03-17 Thread rova
Is there any way to turn off the red LED after booting up ? On Thursday, January 16, 2014 3:50:39 AM UTC+8, Rajesh Mallah wrote: > > > > Hi > > i would like to install uboot on the internal MMC card of mele m3 (A20 , > 1024MB) > model. could anyone suggest which uboot source and what board config

[linux-sunxi] Strange 2nd "sudo reboot" only shutdown not reboot

2014-03-17 Thread hunter hu
Hi, I am experiencing a strange soft reboot scenario on my A13 tablet: On a normal running ubuntu-12.04 A13 tablet, the first "sudo reboot" goes through and successfully reboots the system, but when I do the 2nd "sudo reboot" later, the system will shutdown but not coming back again, it needs

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

2014-03-17 Thread mrnuke
>From c541c363b339d145f326747db5a3b0fabce2780a Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Mon, 17 Mar 2014 20:08:05 -0500 Subject: [PATCH] NOTFORMERGE: ARM: sun4i: spi: Allow transfers larger than FIFO size SPI transfers were limited to one FIFO depth, which is 64 bytes. This was an

Re: [linux-sunxi] [PATCH v4 8/8] ARM: dts: sun7i: rename clock node names to clk@N

2014-03-17 Thread Olof Johansson
Hi, On Sun, Feb 2, 2014 at 5:51 PM, Chen-Yu Tsai wrote: > Device tree naming conventions state that node names should match > node function. Change fully functioning clock nodes to match and > add clock-output-names to all sunxi clock nodes. > > Signed-off-by: Chen-Yu Tsai This patch seems to

[linux-sunxi] [PATCH u-boot sunxi 12/12] sunxi: enable emac for sun4i and sun5i

2014-03-17 Thread Hans de Goede
Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/board.c | 17 + boards.cfg | 4 ++-- include/configs/sunxi-common.h | 32 3 files changed, 51 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/bo

[linux-sunxi] [PATCH u-boot sunxi 11/12] net: Rename and cleanup sunxi (Allwinner) emac driver

2014-03-17 Thread Hans de Goede
From: Stefan Roese There have been 3 versions of the sunxi_emac support patch during its development. Somehow version 2 ended up in upstream u-boot where as the u-boot-sunxi git repo got version 3. This bumps the version in upstream u-boot to version 3 of the patch: - Initialize MII clock earlie

[linux-sunxi] [PATCH u-boot sunxi 09/12] sunxi: Add axp152 pmic support

2014-03-17 Thread Hans de Goede
Based linux-sunxi#sunxi commit d854c4de2f57 "arm: Handle .gnu.hash section in ldscripts" vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the axp152.c file by: Stefan Roese Simon "theRat" Signed-off-by: Henrik Nordstrom Signed-off-by: Hans de Goede Signed-

[linux-sunxi] [PATCH u-boot sunxi 10/12] sunxi: fast MBUS support on sun7i

2014-03-17 Thread Hans de Goede
From: Emilio López For qualifying hardware, we can run MBUS at 400MHz without risking stability if we raise the DCDC3 voltage to 1.3V . This is desirable since on A20 the MBUS is a significant bottle-neck for some workloads. This has been tested on 50 pieces of Cubieboard2 by Cubietech and no i

[linux-sunxi] [PATCH u-boot sunxi 06/12] sunxi: Add sun5i support

2014-03-17 Thread Hans de Goede
Based linux-sunxi#sunxi commit d854c4de2f57 "arm: Handle .gnu.hash section in ldscripts" vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the sun5i dram bits by: Berg Xing Tom Cubie Signed-off-by: Henrik Nordstrom Signed-off-by: Stefan Roese Signed-off-by

[linux-sunxi] [PATCH u-boot sunxi 08/12] sunxi: Add axp209 pmic support

2014-03-17 Thread Hans de Goede
From: Henrik Nordstrom Based linux-sunxi#sunxi commit d854c4de2f57 "arm: Handle .gnu.hash section in ldscripts" vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the axp209.c file by: Stefan Roese Signed-off-by: Henrik Nordstrom Signed-off-by: Hans de Goed

[linux-sunxi] [PATCH u-boot sunxi 07/12] sunxi: Add i2c support

2014-03-17 Thread Hans de Goede
From: Henrik Nordstrom Based linux-sunxi#sunxi commit d854c4de2f57 "arm: Handle .gnu.hash section in ldscripts" vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the sunxi_i2c.c file by: Stefan Roese Signed-off-by: Henrik Nordstrom Signed-off-by: Oliver Sc

Re: [linux-sunxi] Re: How to boot from onboard eMMC ?

2014-03-17 Thread Igor Cardoso
Hi Rova, How did u solved it? I think it was hardware, right? Did you changed the boot_sel0 and boot_sel1? boot-> check fel key pressed (yes)-> check if sd0 bootable(no) -->go to fel mode \ \ \

[linux-sunxi] Moving from NAND to SD CARD - A31 sun6i

2014-03-17 Thread Igor Cardoso
Hello, I'm new to this forum. I have a system based on Allwinner A31 (sun6i). A while ago my NAND FLASH had a hardware problem and I physically removed it, and now I rely only on SD CARD. I used the PhoenixCard from Allwinner to create a SD CARD with the same image I was using before with th

Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..

2014-03-17 Thread Igor Cardoso
Hello friend, I'm new here but I might give you some light of your problem. I tried to do the reverse, use on fresh SD CARD. What I did was: dd if=boot0_sdcard.fex of=/dev/sdd seek=8 bs=1024 dd if=boot1_sdcard.fex of=/dev/sdd seek=19096 bs=1024 This was for sun6i, Allwinner A31. When I compile

[linux-sunxi] Re: New board: Merrii M2 (A20)

2014-03-17 Thread abelloni
Hi, I bought two of these boards and am trying to make them work with Linux. Did you copy the modified u-boot into the Nand or are you booting the system from the SD Card ? Did you changed anything on the kernel/root file system ? What about the drivers ? Is everything working fine (SATA, USB,

[linux-sunxi] did any one know interrupt controller of allwinner 10(on naked problem)

2014-03-17 Thread mosmith1992
recently i learn to use the interrupt controller of allwinner a10.but i just couldn't relocate the vector table to 0x.i am sure that the i did the relocation correctly,because there is no problem when i relocate the vector to 0x4000(use p15,c12).I have been searching for a few days about

[linux-sunxi] fail to relocate the exception vector table to 0x0 on a10(naked program,boot from sdcard).

2014-03-17 Thread mosmith1992
I am trying to use interrupt on cubieboard a10(with allwinner 10).i relocation the vector table to 0x(cp15,c12 is set to 0x0).but when the timer0 interrupt is triggered,it stops to run... but when i try to relocte it to 0x4000.everything goes all right.i have been searching for a few day

[linux-sunxi] Re: [PATCH v2 5/8] regulator: AXP20x: Add support for regulators subsystem

2014-03-17 Thread Krzysztof Kozlowski
> > AXP202 and AXP209 come with two synchronous step-down DC-DCs and five > LDOs. This patch introduces basic support for those regulators. > > Signed-off-by: Carlo Caione > --- > drivers/regulator/Kconfig| 7 + > drivers/regulator/Makefile | 1 + > drivers/regulator/

[linux-sunxi] [PATCH u-boot sunxi 05/12] sunxi: Add sun4i support

2014-03-17 Thread Hans de Goede
Based linux-sunxi#sunxi commit d854c4de2f57 "arm: Handle .gnu.hash section in ldscripts" vs v2014.01. As well as the following signed-off-by the sunxi branch shows commits to the new sun4i dram bits by: Berg Xing Tom Cubie Signed-off-by: Henrik Nordstrom Signed-off-by: Stefan Roese Signed-of

[linux-sunxi] [PATCH u-boot sunxi 01/12] sunxi: Implement reset_cpu

2014-03-17 Thread Hans de Goede
There is no way to reset the cpu, so use the watchdog for this. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/board.c| 7 +++ arch/arm/include/asm/arch-sunxi/timer.h | 4 2 files changed, 11 insertions(+) diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/

[linux-sunxi] [PATCH u-boot sunxi 03/12] sunxi: FIXUP: sunxi: initial sun7i clocks and timer support.

2014-03-17 Thread Hans de Goede
Add #ifdef CONFIG_SUN7I were appropriate to make adding sun4i / sun5i support later easier. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/clock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv7/sunxi/clock.c b/arch/arm/cpu/armv7/sunxi/clock.c index 9cdcc8a..d

[linux-sunxi] [PATCH u-boot sunxi 04/12] sunxi: FIXUP: sunxi: initial sun7i dram setup support

2014-03-17 Thread Hans de Goede
Add #ifdef CONFIG_SUN?I were appropriate to make adding sun4i / sun5i support later easier. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/dram.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/sunxi/dram.c b/arch/arm/cp

[linux-sunxi] [PATCH u-boot sunxi 02/12] sunxi: FIXUP: sunxi: initial generic sun7i cpu, board and start of day support

2014-03-17 Thread Hans de Goede
Add #ifdef CONFIG_SUN7I were appropriate to make adding sun4i / sun5i support later easier. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/armv7/sunxi/board.c in

[linux-sunxi] [PATCH u-boot sunxi 00/12] sun4i (v2) + sun5i + pmic + emac support

2014-03-17 Thread Hans de Goede
Hi All, Here is my continued work on getting various additional sunxi bits ready for upstreaming on top of Ian's sun7i upstreaming work. As a basis I'm using Ian's v1 series, without GMAC as that is in a bit of flux and with various cleanups which were later added to the u-boot-sunxi repo squashe

Re: [linux-sunxi] Re: [U-Boot] [PATCH u-boot sunxi 4/4] sunxi: Add sun4i support

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 01:43 PM, Tom Rini wrote: > On Sun, Mar 16, 2014 at 02:53:50PM +0100, Hans de Goede wrote: > >> Signed-off-by: Hans de Goede >> --- >> arch/arm/cpu/armv7/sunxi/board.c| 2 +- >> arch/arm/cpu/armv7/sunxi/clock.c| 2 + >> arch/arm/cpu/armv7/sunxi/cpu_info.c | 7 ++

[linux-sunxi] Re: [PATCH u-boot sunxi v2 0/6] sunxi: Clean up magic numbers for gpio config

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 04:32 PM, Chen-Yu Tsai wrote: > Hi, > > This series cleans up the gpio config definitions. Unused ones are removed, > and new ones are added for i2c, mmc, emac and gmac. Also fixed uart1 name > for sun5i. > > Changes since v1: > > * Renamed macros to SUNXI_GPXNN_FUNCTION (ex:

[linux-sunxi] Re: [U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 03:19:40PM +, Ian Campbell wrote: > On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote: > > On 03/14/2014 02:50 PM, Hans de Goede wrote: > > > Hi, > > > > > > On 03/14/2014 03:17 PM, Tom Rini wrote: > > >> On Fri, Mar 14, 2014 at 10:33:50AM +, Ian Campbell wrote: > >

Re: [linux-sunxi] CSI driver problems in 16bit mode + some successful debug

2014-03-17 Thread jonsm...@gmail.com
Yes, the kernel source is inside the Android SDK downloads. I can send you files if you need them so that you don't have to install the 4.2GB thing. I was able to get my camera working. I then got stuck on the h.264 encoder. The encoder works but it is not compressing enough. No matter what parame

[linux-sunxi] Re: [PATCH v2 5/8] regulator: AXP20x: Add support for regulators subsystem

2014-03-17 Thread Mark Brown
On Sat, Mar 15, 2014 at 04:43:42PM +0100, Carlo Caione wrote: > AXP202 and AXP209 come with two synchronous step-down DC-DCs and five > LDOs. This patch introduces basic support for those regulators. This is mostly fine apart from the things Krzysztof mentioned and... > +static int axp20x_set_dcd

[linux-sunxi] Re: uboot for Mele M3 A20

2014-03-17 Thread rova
Hi, How to turn off the red LED ? 在 2014年1月16日星期四UTC+8上午3时50分39秒,Rajesh Mallah写道: > > > > Hi > > i would like to install uboot on the internal MMC card of mele m3 (A20 , > 1024MB) > model. could anyone suggest which uboot source and what board config > should work. > > thanks (but sorry if the qu

Re: [linux-sunxi] How to boot from onboard eMMC for Mele A200 ?

2014-03-17 Thread simon wong
Hi rose, Solved. Thanks ! On Sun, Mar 16, 2014 at 11:42 PM, wrote: > Read the sunxi wiki and add your board with this > http://linux-sunxi.org/New_Device_howto > There is also a wiki about eMMC boot. > > -- > You received this message because you are subscribed to the Google Groups > "linux-sun

Re: [linux-sunxi] Re: How to boot from onboard eMMC ?

2014-03-17 Thread simon wong
Hi Wood, Solved. Thanks ! On Mon, Mar 17, 2014 at 11:40 PM, Patrick Wood wrote: > Did you search for emmc in linux-sunxi? When I did, many topics popped up. > > On Sunday, March 16, 2014 1:24:52 AM UTC-4, rova wrote: >> >> Hi, >> I have a board(A20) with an onboard eMMC. Booting from external S

Re: [linux-sunxi] CSI driver problems in 16bit mode + some successful debug

2014-03-17 Thread Ivan Kozic
One more update - it seems that the error comes from me :) - I've used bad multiplex options for d8..d15 pins (should be 5, but copy-paste from CSI1 made it 3 - standard copy-paste mistake...). Anyway, all the other fixes that I've posted should be implemented, as it will not work without them.

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

2014-03-17 Thread Maxime Ripard
Hi, On Thu, Mar 06, 2014 at 12:27:10AM +0800, Chen-Yu Tsai wrote: > 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

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

2014-03-17 Thread Maxime Ripard
On Thu, Mar 06, 2014 at 12:27:13AM +0800, Chen-Yu Tsai wrote: > The A31 has the same GMAC found on the A20 SoC, except it has > an extra reset control. > > Signed-off-by: Chen-Yu Tsai > --- > arch/arm/boot/dts/sun6i-a31.dtsi | 16 > 1 file changed, 16 insertions(+) > > diff --g

Re: [linux-sunxi] CSI driver problems in 16bit mode + some successful debug

2014-03-17 Thread Ivan Kozic
Very happy to say that I've got it :) The solution is actually very simple - DMA seems to work just fine, the problem is with GPIOs - even though we initialize fex file with csi_d0..csi_d15, it seems that only settings for d0..d7 are applied. For quick check, I've modified csi_probe function fou

Re: [linux-sunxi] sunxi-devel branch updated to 3.14-rc6

2014-03-17 Thread Maxime Ripard
On Mon, Mar 17, 2014 at 01:47:48PM +0100, Hans de Goede wrote: > Hi, > > On 03/17/2014 12:43 PM, Maxime Ripard wrote: > > Hi Hans, > > > > On Sat, Mar 15, 2014 at 04:37:55PM +0100, Hans de Goede wrote: > >> Hi All, > >> > >> I've just updated: > >> https://github.com/linux-sunxi/linux-sunxi/comm

[linux-sunxi] Re: How to boot from onboard eMMC ?

2014-03-17 Thread Patrick Wood
Did you search for emmc in linux-sunxi? When I did, many topics popped up. On Sunday, March 16, 2014 1:24:52 AM UTC-4, rova wrote: > > Hi, > I have a board(A20) with an onboard eMMC. Booting from external SD is > successful. The onboard eMMC can be found as mmcblk0, i can't boot from the > eMMC

[linux-sunxi] Re: [U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-17 Thread Tom Rini
On Mon, Mar 17, 2014 at 03:29:44PM +, Ian Campbell wrote: > On Mon, 2014-03-17 at 11:20 -0400, Tom Rini wrote: > > On Sun, Mar 16, 2014 at 04:45:57PM +, Ian Campbell wrote: > > > On Sun, 2014-03-16 at 15:19 +, Ian Campbell wrote: > > > > On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote

[linux-sunxi] [PATCH u-boot sunxi v2 6/6] ARM: sunxi: fix sun5i uart1 pin definition name

2014-03-17 Thread Chen-Yu Tsai
The pin definition for uart1 was mis-named as uart0. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/board.c | 4 ++-- arch/arm/include/asm/arch-sunxi/gpio.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/ar

[linux-sunxi] [PATCH u-boot sunxi v2 3/6] net: sunxi_emac: Use sunxi gpio pin function macros

2014-03-17 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- drivers/net/sunxi_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 0cadf89..5a06d68 100644 --- a/drivers/net/sunxi_emac.c +++ b/drivers/net/sunxi_emac.c @@ -497,7 +497,7 @@ int sunx

[linux-sunxi] [PATCH u-boot sunxi v2 4/6] net: sunxi_gmac: Use sunxi gpio pin function macros

2014-03-17 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- drivers/net/sunxi_gmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sunxi_gmac.c b/drivers/net/sunxi_gmac.c index b8b9016..7a36581 100644 --- a/drivers/net/sunxi_gmac.c +++ b/drivers/net/sunxi_gmac.c @@ -31,7 +31,7 @@ int sunxi_

[linux-sunxi] [PATCH u-boot sunxi v2 5/6] mmc: sunxi: Use sunxi gpio functions to configure pins

2014-03-17 Thread Chen-Yu Tsai
Use the sunxi gpio driver to configure pins, instead of directly writing magic numbers. Signed-off-by: Chen-Yu Tsai --- drivers/mmc/sunxi_mmc.c | 56 +++-- 1 file changed, 26 insertions(+), 30 deletions(-) diff --git a/drivers/mmc/sunxi_mmc.c b/driver

[linux-sunxi] [PATCH u-boot sunxi v2 1/6] ARM: sunxi: Add gpio pull-up/down and cleanup pin function definitions

2014-03-17 Thread Chen-Yu Tsai
Add definitions for pull-up/downs, and several pin functions used by various drivers, such as gmac, i2c, and mmc. Also remove any pin functions not currently used by drivers. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/gpio.h | 48 +++--- 1 file c

[linux-sunxi] [PATCH u-boot sunxi v2 0/6] sunxi: Clean up magic numbers for gpio config

2014-03-17 Thread Chen-Yu Tsai
Hi, This series cleans up the gpio config definitions. Unused ones are removed, and new ones are added for i2c, mmc, emac and gmac. Also fixed uart1 name for sun5i. Changes since v1: * Renamed macros to SUNXI_GPXNN_FUNCTION (ex: SUNXI_GPA0_EMAC), where NN identifies the start of the function g

[linux-sunxi] [PATCH u-boot sunxi v2 2/6] i2c: sunxi: Use sunxi gpio pin function macros

2014-03-17 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- drivers/i2c/sunxi_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/sunxi_i2c.c b/drivers/i2c/sunxi_i2c.c index 5fe790a..9a542f6 100644 --- a/drivers/i2c/sunxi_i2c.c +++ b/drivers/i2c/sunxi_i2c.c @@ -19,8 +19,8 @@ void i2c_in

[linux-sunxi] Re: [U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 11:20 -0400, Tom Rini wrote: > On Sun, Mar 16, 2014 at 04:45:57PM +, Ian Campbell wrote: > > On Sun, 2014-03-16 at 15:19 +, Ian Campbell wrote: > > > On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote: > > > > On 03/14/2014 02:50 PM, Hans de Goede wrote: > > > > > Hi, >

[linux-sunxi] Re: [U-Boot] [PATCH v1 5/9] sunxi: generic sun7i build infrastructure.

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 11:04 -0400, Tom Rini wrote: > On Sun, Mar 16, 2014 at 01:25:33PM +, Ian Campbell wrote: > > On Fri, 2014-03-14 at 10:17 -0400, Tom Rini wrote: > > > On Fri, Mar 14, 2014 at 10:33:47AM +, Ian Campbell wrote: > > > > > > +/* > > > > + * Size of malloc() pool > > > > +

[linux-sunxi] Re: [U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 04:45:57PM +, Ian Campbell wrote: > On Sun, 2014-03-16 at 15:19 +, Ian Campbell wrote: > > On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote: > > > On 03/14/2014 02:50 PM, Hans de Goede wrote: > > > > Hi, > > > > > > > > On 03/14/2014 03:17 PM, Tom Rini wrote: > > >

Re: [U-Boot] [linux-sunxi] [PATCH v1 9/9] sunxi: add gmac Ethernet support

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 03:09:01PM +, Ian Campbell wrote: > On Fri, 2014-03-14 at 10:22 -0400, Tom Rini wrote: > > On Fri, Mar 14, 2014 at 11:28:06AM +, Ian Campbell wrote: > > > On Fri, 2014-03-14 at 19:11 +0800, Chen-Yu Tsai wrote: > > [snip] > > > > I think you should keep them in the sa

[linux-sunxi] Re: [U-Boot] [PATCH v1 5/9] sunxi: generic sun7i build infrastructure.

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 01:25:33PM +, Ian Campbell wrote: > On Fri, 2014-03-14 at 10:17 -0400, Tom Rini wrote: > > On Fri, Mar 14, 2014 at 10:33:47AM +, Ian Campbell wrote: > > > > +/* > > > + * Size of malloc() pool > > > + * 1MB = 0x10, 0x10 = 1024 * 1024 > > > + */ > > > +#defin

Re: [linux-sunxi] Re: [U-Boot] [PATCH v1 3/9] sunxi: initial sun7i dram setup support

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 09:16 -0400, Stefan wrote: > > Unfortunately the only documentation we have on the sun7i DRAM > > controller is Allwinner boot0 + boot1 code, and that code uses.. magic > > numbers & shifts with no explanations. > > To avoid having to explain this over-and-over again, the cod

Re: [linux-sunxi] CSI driver problems in 16bit mode + some successful debug

2014-03-17 Thread Ivan Kozic
It might be somewhere in the Android SDK on this download server (it seems that only SDK has source files - everything else is either documentation or binaries). Either way, I'm very surprised that people from linux-sunxi git repo are ignoring this, as official git repo for sunxi still has the o

Re: [linux-sunxi] Re: [PATCH v6 2/3] ARM: sun7i/sun6i: dts: Add NMI irqchip support

2014-03-17 Thread Carlo Caione
On Mon, Mar 17, 2014 at 2:30 PM, Maxime Ripard wrote: > On Sat, Mar 15, 2014 at 02:41:00PM +0100, Carlo Caione wrote: >> This patch adds DTS entries for NMI controller as child of GIC. >> >> Signed-off-by: Carlo Caione >> --- >> arch/arm/boot/dts/sun6i-a31.dtsi | 9 + >> arch/arm/boot/dt

Re: [linux-sunxi] CSI driver problems in 16bit mode + some successful debug

2014-03-17 Thread jonsm...@gmail.com
On Mon, Mar 17, 2014 at 6:36 AM, Ivan Kozic wrote: > Hi John, > > I've only found it here: > > https://github.com/qubir/PhoenixA20_linux_sourcecode/tree/master/drivers/media/video/ It is somewhere on the download server: http://dl.linux-sunxi.org/ > > but this is not even forked from anywhere.

[linux-sunxi] Re: [PATCH v6 2/3] ARM: sun7i/sun6i: dts: Add NMI irqchip support

2014-03-17 Thread Maxime Ripard
On Sat, Mar 15, 2014 at 02:41:00PM +0100, Carlo Caione wrote: > This patch adds DTS entries for NMI controller as child of GIC. > > Signed-off-by: Carlo Caione > --- > arch/arm/boot/dts/sun6i-a31.dtsi | 9 + > arch/arm/boot/dts/sun7i-a20.dtsi | 9 + > 2 files changed, 18 insertio

[linux-sunxi] Re: [U-Boot] [PATCH v1 3/9] sunxi: initial sun7i dram setup support

2014-03-17 Thread Stefan
> Unfortunately the only documentation we have on the sun7i DRAM > controller is Allwinner boot0 + boot1 code, and that code uses.. magic > numbers & shifts with no explanations. To avoid having to explain this over-and-over again, the code could include some comment(s) pointing out that these are

Re: [linux-sunxi] A13 Mali400 GPU failed to load "g2d_23" and "mali_drm"

2014-03-17 Thread Luc Verhaegen
On Sun, Mar 16, 2014 at 03:30:23PM -0700, hunter hu wrote: > Hello, > > I am trying to enable the Mali400 GPU on my tablet running Ubuntu-12.04, > and followed the wiki page: http://linux-sunxi.org/Binary_drivers. > > I believe everything goes well regarding the installations, but Xorg.0.log >

Re: [linux-sunxi] sunxi-devel branch updated to 3.14-rc6

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 12:43 PM, Maxime Ripard wrote: > Hi Hans, > > On Sat, Mar 15, 2014 at 04:37:55PM +0100, Hans de Goede wrote: >> Hi All, >> >> I've just updated: >> https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-devel >> to 3.14-rc6 >> >> Besides rebasing to 3.14-rc6, this contains th

[linux-sunxi] Re: [U-Boot] [PATCH u-boot sunxi 4/4] sunxi: Add sun4i support

2014-03-17 Thread Tom Rini
On Sun, Mar 16, 2014 at 02:53:50PM +0100, Hans de Goede wrote: > Signed-off-by: Hans de Goede > --- > arch/arm/cpu/armv7/sunxi/board.c| 2 +- > arch/arm/cpu/armv7/sunxi/clock.c| 2 + > arch/arm/cpu/armv7/sunxi/cpu_info.c | 7 ++ > arch/arm/cpu/armv7/sunxi/dram.c | 129 > ++

Re: [linux-sunxi] sunxi-devel branch updated to 3.14-rc6

2014-03-17 Thread Maxime Ripard
Hi Hans, On Sat, Mar 15, 2014 at 04:37:55PM +0100, Hans de Goede wrote: > Hi All, > > I've just updated: > https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-devel > to 3.14-rc6 > > Besides rebasing to 3.14-rc6, this contains the following over the previous > sunxi-devel branch update: >

[linux-sunxi] Re: [PATCH 2/3] irqchip: sun4i: Simplify irq mapping

2014-03-17 Thread Maxime Ripard
On Thu, Mar 13, 2014 at 08:50:01PM +0100, Hans de Goede wrote: > Now that we're using handle_fasteio_irq for all interrupts, we can get rid > of having 2 irq_chip structs by making sun4i_irq_ack a nop for all irqs > except irq 0. > > Signed-off-by: Hans de Goede > --- > drivers/irqchip/irq-sun4i

[linux-sunxi] Re: [PATCH v2 2/2] irqchip: sun4i: simplify sun4i_irq_ack

2014-03-17 Thread Maxime Ripard
On Sat, Mar 15, 2014 at 04:04:54PM +0100, Hans de Goede wrote: > Now that we only ack irq 0 the code can be simplified a lot. > > Also switch from read / modify / write to a simple write clear: > 1) This is what the android code does (it has a hack for acking irq 0 > in its unmask code doing thi

[linux-sunxi] Re: [PATCH v2 1/2] irqchip: sun4i: Use handle_fasteoi_irq for all interrupts

2014-03-17 Thread Maxime Ripard
On Sat, Mar 15, 2014 at 04:04:53PM +0100, Hans de Goede wrote: > Since the sun4i irq chip does not require any action and clears the interrupt > when the level goes back to inactive, we don't need to mask / unmask for > non oneshot IRQs, to achieve this we make sun4i_irq_ack a nop for all irqs > ex

Re: [linux-sunxi] CSI driver problems in 16bit mode + some successful debug

2014-03-17 Thread Ivan Kozic
Hi John, I've only found it here: https://github.com/qubir/PhoenixA20_linux_sourcecode/tree/master/drivers/media/video/ but this is not even forked from anywhere. Also it seems to be a normal linux source - although, as far as I can see, both android and linux kernels are integrated into this

[linux-sunxi] Re: [PATCH u-boot sunxi 5/5] mmc: sunxi: Use sunxi gpio functions to configure pins

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 09:49 +0100, Hans de Goede wrote: > Hi, > > On 03/17/2014 09:28 AM, Ian Campbell wrote: > > On Mon, 2014-03-17 at 12:05 +0800, Chen-Yu Tsai wrote: > >> @@ -162,40 +151,47 @@ static int mmc_clk_io_on(int sdc_no) > >>switch (sdc_no) { > >>case 0: > >>/* D1-P

[linux-sunxi] Re: [PATCH u-boot sunxi 5/5] mmc: sunxi: Use sunxi gpio functions to configure pins

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 09:39 AM, Chen-Yu Tsai wrote: > On Mon, Mar 17, 2014 at 4:28 PM, Ian Campbell wrote: >> On Mon, 2014-03-17 at 12:05 +0800, Chen-Yu Tsai wrote: >>> @@ -162,40 +151,47 @@ static int mmc_clk_io_on(int sdc_no) >>> switch (sdc_no) { >>> case 0: >>> /* D1-PF0

[linux-sunxi] Re: [PATCH u-boot sunxi 5/5] mmc: sunxi: Use sunxi gpio functions to configure pins

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 09:28 AM, Ian Campbell wrote: > On Mon, 2014-03-17 at 12:05 +0800, Chen-Yu Tsai wrote: >> @@ -162,40 +151,47 @@ static int mmc_clk_io_on(int sdc_no) >> switch (sdc_no) { >> case 0: >> /* D1-PF0, D0-PF1, CLK-PF2, CMD-PF3, D3-PF4, D4-PF5 */ >> -wr

[linux-sunxi] Re: [PATCH u-boot sunxi 5/5] mmc: sunxi: Use sunxi gpio functions to configure pins

2014-03-17 Thread Chen-Yu Tsai
On Mon, Mar 17, 2014 at 4:28 PM, Ian Campbell wrote: > On Mon, 2014-03-17 at 12:05 +0800, Chen-Yu Tsai wrote: >> @@ -162,40 +151,47 @@ static int mmc_clk_io_on(int sdc_no) >> switch (sdc_no) { >> case 0: >> /* D1-PF0, D0-PF1, CLK-PF2, CMD-PF3, D3-PF4, D4-PF5 */ >> -

[linux-sunxi] Re: [PATCH u-boot sunxi 5/5] mmc: sunxi: Use sunxi gpio functions to configure pins

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 12:05 +0800, Chen-Yu Tsai wrote: > @@ -162,40 +151,47 @@ static int mmc_clk_io_on(int sdc_no) > switch (sdc_no) { > case 0: > /* D1-PF0, D0-PF1, CLK-PF2, CMD-PF3, D3-PF4, D4-PF5 */ > - writel(0x22, &gpio_f->cfg[0]); > - wri

[linux-sunxi] Re: [PATCH u-boot sunxi 0/5] sunxi: Clean up magic numbers for gpio config

2014-03-17 Thread Ian Campbell
On Mon, 2014-03-17 at 12:05 +0800, Chen-Yu Tsai wrote: > Hi, > > This series adds several macros for various pin functions and > pull-up/downs, then uses them to remove any magic numbers related > to gpio in various drivers. This is for the sunxi branch. > > Ian, you can squash these into your up