Re: [U-Boot] [PATCH v3 3/4] net: phy: Force master mode A20-OLinuXino-Lime2

2016-03-25 Thread Iain Paton
On 24/03/16 06:46, Michael Haas wrote: > Force master mode on the A20-OLinuXino-Lime2. This change is required > to get a reliable link at gigabit speeds. > > Signed-off-by: Michael Haas Acked-by: Iain Paton Glad to see someone finally got to the bottom of this. On the boards I

Re: [U-Boot] [PATCH v2 1/3] sunxi: sun4i: improve cpu clock selection method

2015-03-30 Thread Iain Paton
On 29/03/15 13:39, Hans de Goede wrote: > Hi, > > On 28-03-15 11:25, Iain Paton wrote: >> clock_set_pll1 would pick the next highest available cpu clock speed if >> a value not in the pre defined table was selected. this potentially >> results in overclocking the soc.

[U-Boot] [PATCH v2 3/3] sunxi: a10-LIME set the cpu clock at boot to 912MHz

2015-03-28 Thread Iain Paton
following kernel patches to reduce the cpu clock to 912MHz due to reported instability at 1008MHz, select 912MHz as the boot speed for the a10-lime Signed-off-by: Iain Paton --- configs/A10-OLinuXino-Lime_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/A10-OLinuXino

[U-Boot] [PATCH v2 2/3] sunxi: use CONFIG_SYS_CLK_FREQ to set cpu clock

2015-03-28 Thread Iain Paton
make the CPU clock selectable via Kconfig this removes the sunxi specific CONFIG_CLK_FULL_SPEED defined in each soc header and replaces it's use in board/sunxi/board.c with CONFIG_SYS_CLK_FREQ from Kconfig which allows us to configure board specific frequency on boot Signed-off-by: Iain

[U-Boot] [PATCH v2 1/3] sunxi: sun4i: improve cpu clock selection method

2015-03-28 Thread Iain Paton
ed by sun7i which also uses the sun4i clock code. Signed-off-by: Iain Paton --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 35 ++ 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/clock_sun4i.c b/arch/arm/cpu/armv7/

Re: [U-Boot] [PATCH 1/3] sunxi: sun4i: add missing 912MHz clock divisors

2015-03-28 Thread Iain Paton
On 27/03/15 14:04, Ian Campbell wrote: > On Fri, 2015-03-27 at 00:10 +0000, Iain Paton wrote: >> clock divisors table was missing an entry for 912MHz. The same table is >> used for sun7i where the default boot clock is 912MHz, resulting in A20 >> boards being overclocked to 9

Re: [U-Boot] [PATCH 2/3] sunxi: promote CONFIG_CLK_FULL_SPEED to be selectable through Kconfig

2015-03-28 Thread Iain Paton
On 27/03/15 13:57, Hans de Goede wrote: > Hi, > > On 27-03-15 01:12, Iain Paton wrote: >> in order to allow for this to be set differently per board, remove the >> define from the associated soc headers and allow the user to choose a >> value through a Kconfig settin

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-27 Thread Iain Paton
On 26/03/15 19:08, Hans de Goede wrote: > Perhaps someone can test the reproducer on another board > with usb: on an A20-OLinuXino-lime2 U-Boot SPL 2015.04-rc4-00073-g07d8f86 (Mar 27 2015 - 08:05:11) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 U-Boot 2015.04-rc4-00073-g07d8f86 (Mar 27 2

[U-Boot] [PATCH 2/3] sunxi: promote CONFIG_CLK_FULL_SPEED to be selectable through Kconfig

2015-03-26 Thread Iain Paton
in order to allow for this to be set differently per board, remove the define from the associated soc headers and allow the user to choose a value through a Kconfig setting Signed-off-by: Iain Paton --- board/sunxi/Kconfig | 8 include/configs/sun4i.h | 1 - include/configs/sun5i.h

[U-Boot] [PATCH 3/3] sunxi: a10-LIME set the cpu clock at boot to 912MHz

2015-03-26 Thread Iain Paton
following kernel patches to reduce the cpu clock to 912MHz due to reported instability at 1008MHz, select 912MHz as the boot speed for the a10-lime Signed-off-by: Iain Paton --- configs/A10-OLinuXino-Lime_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/A10-OLinuXino

[U-Boot] [PATCH 1/3] sunxi: sun4i: add missing 912MHz clock divisors

2015-03-26 Thread Iain Paton
clock divisors table was missing an entry for 912MHz. The same table is used for sun7i where the default boot clock is 912MHz, resulting in A20 boards being overclocked to 960MHz Signed-off-by: Iain Paton --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH] sunxi: axp209: fix incorrect limits on ldo3

2015-03-25 Thread Iain Paton
eter. Signed-off-by: Iain Paton --- drivers/power/axp209.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/axp209.c b/drivers/power/axp209.c index 4565398..f8c9b77 100644 --- a/drivers/power/axp209.c +++ b/drivers/power/axp209.c @@ -119,7 +119,7 @@

Re: [U-Boot] [PATCH] embestmx6boards: Increase boot delay to 3s

2014-12-14 Thread Iain Paton
On 14/12/14 20:56, Nikolay Dimitrov wrote: > In summary - I won't carry a war for this change, as it doesn't worth > it. I just tried to contribute a tiny bit of improvement to the already > excellent work of Eric, so we can have a silk-smooth out-of-the-box > U-Boot user experience, and I'm do

Re: [U-Boot] [PATCH] allow config_distro_bootcmd to pass uuid to extlinux.conf

2014-12-14 Thread Iain Paton
On 14/12/14 17:22, Stephen Warren wrote: > On 12/14/2014 07:52 AM, Iain Paton wrote: >> Set ptuuid and fsuuid variables to the partition / filesystem >> where we found extlinux.conf which allows us to use a replaceable >> parameter in the append line in extlinux.conf like t

Re: [U-Boot] [PATCH] embestmx6boards: Increase boot delay to 3s

2014-12-14 Thread Iain Paton
On 13/12/14 17:03, Eric Bénard wrote: > Hi Nikolay, > > Le Sat, 13 Dec 2014 18:05:15 +0200, > Nikolay Dimitrov a écrit : >> On 12/13/2014 04:16 PM, Eric Bénard wrote: >>> This will increase the boot time by 2 seconds : why is that needed ? >> >> Thanks for commenting. My intent is to give by def

[U-Boot] [PATCH] allow config_distro_bootcmd to pass uuid to extlinux.conf

2014-12-14 Thread Iain Paton
. Signed-off-by: Iain Paton --- Since the uuids are only looked for after we've already found extlinux.conf there's little cost/risk to making them available. I realise that assuming extlinux.conf is on the root partition isn't perfect but for the common case where it will be,

[U-Boot] [PATCH 2/2] embestmx6boards: convert to use config_distro_bootcmd.h

2014-12-14 Thread Iain Paton
Since the Riot & Mars boards are dev boards it's likely people will want to run standard distros on them. So replace the current boot scripts with the standard one from config_distro_bootcmd.h Signed-off-by: Iain Paton --- include/configs/embestmx6board

[U-Boot] [PATCH 1/2] embestmx6boards: convert to use config_distro_defaults.h

2014-12-14 Thread Iain Paton
Update to use config_distro_defaults.h and remove explicit settings Signed-off-by: Iain Paton --- include/configs/embestmx6boards.h | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Iain Paton
On 28/09/14 17:20, Ian Campbell wrote: > You mean these two? > sun7i: Add support for Olimex A20-OLinuXino-LIME2 > mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i > > The latter seems like a feature to me, or at least the changelog doesn't > give any rationale why it should go

[U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2

2014-09-28 Thread Iain Paton
This adds support for the Olimex A20-OLinuXino-Lime2 https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2 Differences to previous Lime boards are 1GB RAM and gigabit ethernet Signed-off-by: Iain Paton --- patch is substantially the same as the one previously posted to linux-sunxi

[U-Boot] [PATCH] embestmx6boards: convert to generic board

2014-06-09 Thread Iain Paton
Enable CONFIG_SYS_GENERIC_BOARD to remove warning on boot. Signed-off-by: Iain Paton --- diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h index fbf47a7..2d4332b 100644 --- a/include/configs/embestmx6boards.h +++ b/include/configs/embestmx6boards.h @@ -19,6

[U-Boot] [PATCH] embest/mx6boards: only toggle eMMC usdhc3 RST line on MarSboard

2014-06-09 Thread Iain Paton
On MarS usdhc3 is eMMC, on RIoT usdhc3 is uSD and eMMC is usdhc4. Don't run the MarS specific eMMC reset code on usdhc3 when board_type == BOARD_IS_RIOTBOARD Signed-off-by: Iain Paton --- board/embest/mx6boards/mx6boards.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/e

Re: [U-Boot] [PATCH] embestmx6boards: Fix the dtb file name for riotboard

2014-06-09 Thread Iain Paton
MMC) > /* RiOTboard */ > -#define CONFIG_DEFAULT_FDT_FILE "imx6s-riotboard.dtb" > +#define CONFIG_DEFAULT_FDT_FILE "imx6dl-riotboard.dtb" > #define CONFIG_SYS_FSL_USDHC_NUM 3 > #define CONFIG_SYS_MMC_ENV_DEV 2

Re: [U-Boot] [PATCH] embestmx6boards: Fix CONFIG_CONSOLE_DEV

2014-06-09 Thread Iain Paton
tmx6boards.h > @@ -20,7 +20,7 @@ > #include > > #define CONFIG_MXC_UART_BASE UART2_BASE > -#define CONFIG_CONSOLE_DEV "ttymxc0" > +#define CONFIG_CONSOLE_DEV "ttymxc1" > #define CONFIG_MMCROOT "/dev/mmcblk1p2&q