Re: [linux-sunxi] CubieTruck internal UARTs with 3.19 kernel for Bluetooth

2015-02-21 Thread Steven Saunderson
On Saturday, February 21, 2015 at 10:50:42 PM UTC+11, Al Thomas wrote: The maximum UART speed is stated to be 4Mbps in the datasheet. Have you got as far as using the highest rate and if so when do you switch over to using it? I tried increasing the bps to 1152000 but it didn't work.

[linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-02-21 Thread Hans de Goede
Hi all, Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting and/or different voltage settings. Unfortunately the old linux-sunxi-3.4 kernels have a number of hardcoded assumptions about PLL5 speed, and in some cases override the bootloader chosen PLL6 / voltages in a bad way.

[linux-sunxi] [PATCH 3.4 2/4] sunxi: axp152: Keep DRAM / Vddr at bootloader set value

2015-02-21 Thread Hans de Goede
Some fex files contain wrong values, causing stability issues. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Siarhei Siamashka siarhei.siamas...@gmail.com --- drivers/power/axp152.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git

[linux-sunxi] [PATCH 3.4 1/4] sunxi: nand: Fix nand clk calculation

2015-02-21 Thread Hans de Goede
Before the u-boot dram cleanup u-boot would always set PLL5 factor m to 2 (reg value 1) and div p to 1, and get_cmu_clk in the nand code would calculate the pll5p clk like this: clk = 24 * factor_n * factor_k / div_p / factor_m; aka: clk = 24 * factor_n * factor_k / (div_p * factor_m); This is

[linux-sunxi] [PATCH 3.4 4/4] sun5i: clock: Do not change PLL6 frequency

2015-02-21 Thread Hans de Goede
Keep the PLL6 frequency as it is set by the bootloader, it may be used as parent for the mbus, and if we change it we may be changing the mbus frequency, all peripherals (*) using pll6 are already capable of dealing with it running at a different frequency. *) Only mmc uses pll6 as a parent by

[linux-sunxi] Re: New sunxi-tools v1.3 release planning

2015-02-21 Thread Hans de Goede
Hi, On 21-02-15 14:51, Siarhei Siamashka wrote: Hello, The sunxi-tools repository contains the 'fel' utility, which allows booting Allwinner devices over USB using the FEL mode. The upcoming u-boot v2015.04 is going to use the new 'spl' command, recently added to the 'fel' tool. As I can see,

Re: [linux-sunxi] CubieTruck internal UARTs with 3.19 kernel for Bluetooth

2015-02-21 Thread 'Al Thomas' via linux-sunxi
From: Steven Saunderson essat2...@gmail.com Sent: Saturday, 21 February 2015, 6:06 Subject: Re: [linux-sunxi] CubieTruck internal UARTs with 3.19 kernel My bluetooth testing is to a mobile phone for wireless broadband.  I haven't tested any other bluetooth functions. Thanks for

[linux-sunxi] New sunxi-tools v1.3 release planning

2015-02-21 Thread Siarhei Siamashka
Hello, The sunxi-tools repository contains the 'fel' utility, which allows booting Allwinner devices over USB using the FEL mode. The upcoming u-boot v2015.04 is going to use the new 'spl' command, recently added to the 'fel' tool. As I can see, sunxi-tools is packaged at least in debian and