On Mon, 2014-03-24 at 23:42 +0100, Olliver Schinagl wrote:
[...]
I've got a local cleanup patch set where I fixed this already to
clrsetbits_le32
[...]
Same here, got that in my local tree too
Could you post what you've got please?
+#ifdef CONFIG_SPL_BUILD
+#define PLL1_CFG(N, K, M, P)
On Mon, 2014-03-24 at 21:54 +0100, Marek Vasut wrote:
+ cfg = readl(pio-cfg[0] + index);
+ cfg = ~(0xf offset);
+ cfg |= val offset;
+
+ writel(cfg, pio-cfg[0] + index);
clrsetbits_le32() here.
I looked at this transform in a few different contexts and one concern I
On Mon, 2014-03-24 at 21:54 +0100, Marek Vasut wrote:
+int sunxi_gpio_set_cfgpin(u32 pin, u32 val);
+int sunxi_gpio_get_cfgpin(u32 pin);
+int sunxi_gpio_set_drv(u32 pin, u32 val);
+int sunxi_gpio_set_pull(u32 pin, u32 val);
+int name_to_gpio(const char *name);
+#define name_to_gpio
Hi,
On 03/24/2014 04:05 PM, Hans de Goede wrote:
Hi,
p.s.
I've taken a quick look at the mmc code we've for the A31 in the sunxi
provided kernel sources and it seems 100% identical to the mmc controller
in sun5i and sun7i. I've not yet gotten around to actually hooking things
up in
Dear Ian Campbell,
In message 1395822781.29683.12.ca...@dagon.hellion.org.uk you wrote:
On Mon, 2014-03-24 at 21:54 +0100, Marek Vasut wrote:
+int sunxi_gpio_set_cfgpin(u32 pin, u32 val);
+int sunxi_gpio_get_cfgpin(u32 pin);
+int sunxi_gpio_set_drv(u32 pin, u32 val);
+int
On Wed, 2014-03-26 at 10:03 +0100, Wolfgang Denk wrote:
Dear Ian Campbell,
In message 1395822781.29683.12.ca...@dagon.hellion.org.uk you wrote:
On Mon, 2014-03-24 at 21:54 +0100, Marek Vasut wrote:
+int sunxi_gpio_set_cfgpin(u32 pin, u32 val);
+int sunxi_gpio_get_cfgpin(u32 pin);
Hi Boris,
I downloaded git repo from you link.
https://github.com/bbrezillon/linux-sunxi/
but what will the config file. so i can get uImage and modules to boot in
my A20 board.
so i can use sunxi_nand module to access my boot0 and boot1 partition.
i am using cubieboard2.
your help is
Since my Mele A2000 keeps locking up when using the 3.4 kernel (as
reported here several months ago), I decided I should try the sunxi-next
kernel (my machine can be headless, it just needs USB and SATA support,
basically).
So I got the sunxi-next branch from Github's linux-sunxi. Then did
Hi Stefan,
I also have the A2000 and did have problems with it booting until MrNuke
fixed the MMC(the latest on sunxi-devel is 3.14.0.rc6). My setup is very
similar to yours(running Debian headless although without any external
devices). Looking at the size of the kernel then it seems that you
maybe I'm wrong about needing to use Hans' u-boot. According to this thread
it's only required for A13, A20
https://groups.google.com/forum/#!msg/linux-sunxi/DC1QtgONxPM/MDfCtlv4fFIJ.
CK
On 26 March 2014 15:10, Code Kipper codekip...@gmail.com wrote:
Hi Stefan,
I also have the A2000 and did
Hi,
On 03/26/2014 11:04 AM, Hans de Goede wrote:
Hi,
On 03/26/2014 10:39 AM, Maxime Ripard wrote:
On Wed, Mar 26, 2014 at 09:39:31AM +0100, Hans de Goede wrote:
Hi,
On 03/19/2014 08:21 PM, Carlo Caione wrote:
This patch adds DTS entries for NMI controller as child of GIC.
Hi,
On 03/26/2014 03:26 PM, Maxime Ripard wrote:
On Wed, Mar 26, 2014 at 09:48:18AM -0400, Stefan Monnier wrote:
Since my Mele A2000 keeps locking up when using the 3.4 kernel (as
reported here several months ago), I decided I should try the sunxi-next
kernel (my machine can be headless, it
Dear Ian Campbell,
In message 1395826756.22808.13.ca...@kazak.uk.xensource.com you wrote:
Please add a comment to explain that.
Unless you object I think I'll do as Marek suggested name the function
sunxi_name_to_gpio and make the #define to that, it seems more
consistent that way.
Hey all,
Just letting you know, that a new upstream u-boot version has been
merged and pushed. If you are in dire need of some new u-boot version,
git pull, compile and flash!
Though I don't recall there being a new feature ;)
It has been tested on the:
Olimexino-Lime
Cubieboard1
Hi,
On 03/26/2014 04:37 PM, Olliver Schinagl wrote:
P.S. one small issue is that the _config name has to match whatever is in
boards.cfg (obvious) including capitalization. I think we had a patch that
fixed this a while ago, so I will track this down and see if i can find it
again.
This
From: Marcus Cooper codekip...@gmail.com
Signed-off-by: Marcus Cooper codekip...@gmail.com
---
sys_config/a20/mk808c.fex | 1013 +
1 file changed, 1013 insertions(+)
create mode 100644 sys_config/a20/mk808c.fex
diff --git a/sys_config/a20/mk808c.fex
Cubietruck has four 4Gb x8 DDR3 chips, not two 8Gb x16. This doesn't
change anything for users, but reports correct values for timing
parameters depending on density.
Signed-off-by: Jens Kuske jensku...@gmail.com
---
board/sunxi/dram_cubietruck.c | 4 ++--
1 file changed, 2 insertions(+), 2
This patch unifies sun4i and sun[5,7]i autorefresh setup functions
and adds proper tRFC calculation.
tRFC (REF command to ACT time) depends on DDR type and chip density.
On sun4i there were two steps, 127.5ns for =1Gb density and 327.5ns
for the rest. This fits DDR2 specification for 1Gb and 4Gb
I tried to start cleaning up the u-boot DRAM setup code for sunxi and
found a bug(?) that *could* be responsible for the low possible memory
frequencies on some boards like cubietruck.
The patches don't raise any memory frequencies, but they could make it
possible to raise them. My cubietruck
On 03/26/2014 04:47 PM, Hans de Goede wrote:
Hi,
On 03/26/2014 04:37 PM, Olliver Schinagl wrote:
P.S. one small issue is that the _config name has to match whatever is in
boards.cfg (obvious) including capitalization. I think we had a patch that
fixed this a while ago, so I will track this
Add a new sun6i-a31-m9 dts file for the Mele M9 / Mele A1000G Quad. These
HTPCs use the same board in a different case, for more details see:
http://linux-sunxi.org/Mele_M9
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/Makefile | 1 +
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun6i-a31-m9.dts | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts
b/arch/arm/boot/dts/sun6i-a31-m9.dts
index c95ee77..22837bc 100644
---
This is necessary to support the sun6i-a31.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/mmc/host/sunxi-mmc.c | 19 +++
drivers/mmc/host/sunxi-mmc.h | 1 +
2 files changed, 20 insertions(+)
diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun6i-a31.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index cd0d4b0..45b5775 100644
---
On Wed, Mar 26, 2014 at 03:38:05PM +0100, Hans de Goede wrote:
Hi,
Hi Hans,
On 03/26/2014 11:04 AM, Hans de Goede wrote:
Hi,
On 03/26/2014 10:39 AM, Maxime Ripard wrote:
On Wed, Mar 26, 2014 at 09:39:31AM +0100, Hans de Goede wrote:
Hi,
On 03/19/2014 08:21 PM, Carlo Caione wrote:
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
---
This patch adds DTS entries for NMI controller as child of GIC.
Signed-off-by: Carlo Caione ca...@caione.org
Acked-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun6i-a31.dtsi | 8
arch/arm/boot/dts/sun7i-a20.dtsi | 8
2 files changed, 16
27 matches
Mail list logo