Re: [U-Boot] [linux-sunxi] Re: Problems to Allwinner H3's eFUSE/SID

2016-12-22 Thread Hans de Goede
Hi, On 22-12-16 11:31, Chen-Yu Tsai wrote: On Tue, Dec 20, 2016 at 12:17 AM, Hans de Goede <hdego...@redhat.com> wrote: Hi, On 19-12-16 17:06, Icenowy Zheng wrote: 19.12.2016, 23:30, "Hans de Goede" <hdego...@redhat.com>: Hi, On 19-12-16 16:22, Icenowy Zheng

Re: [U-Boot] Problems to Allwinner H3's eFUSE/SID

2016-12-19 Thread Hans de Goede
Hi, On 19-12-16 17:25, Icenowy Zheng wrote: 20.12.2016, 00:17, "Hans de Goede" <hdego...@redhat.com>: Hi, On 19-12-16 17:06, Icenowy Zheng wrote: 19.12.2016, 23:30, "Hans de Goede" <hdego...@redhat.com>: Hi, On 19-12-16 16:22, Icenowy Zheng wr

Re: [U-Boot] Problems to Allwinner H3's eFUSE/SID

2016-12-19 Thread Hans de Goede
Hi, On 19-12-16 17:06, Icenowy Zheng wrote: 19.12.2016, 23:30, "Hans de Goede" <hdego...@redhat.com>: Hi, On 19-12-16 16:22, Icenowy Zheng wrote: Hi everyone, Today, I and KotCzarny on IRC of linux-sunxi found a problem in the SID controller of H3 (incl. H

Re: [U-Boot] Problems to Allwinner H3's eFUSE/SID

2016-12-19 Thread Hans de Goede
Hi, On 19-12-16 16:22, Icenowy Zheng wrote: Hi everyone, Today, I and KotCzarny on IRC of linux-sunxi found a problem in the SID controller of H3 (incl. H2+). See https://irclog.whitequark.org/linux-sunxi/2016-12-19 . Two read method of the H3 eFUSE is used in the BSP: by register accessing,

Re: [U-Boot] [RFC PATCH 0/3] sunxi: video: Add support for HDMI output on H3

2016-12-14 Thread Hans de Goede
Hi, On 13-12-16 21:28, Simon Glass wrote: Hi, On 12 December 2016 at 19:36, Jernej Skrabec wrote: This patch series add support for HDMI output. Support for other, newer, SoCs, which also uses DE2 and same or similar HDMI controller and PHY can be easily added later

Re: [U-Boot] [PATCH 12/14] fdt: eth_fixup: Add hook for board to override MAC

2016-11-30 Thread Hans de Goede
Hi, On 30-11-16 11:50, Olliver Schinagl wrote: Hey maime, Sorry for constantly getting your e-mail address wrong! Sorry! On 30-11-16 10:12, maxime.rip...@free-electrons.com wrote: On Wed, Nov 30, 2016 at 09:00:51AM +, Marcel Ziswiler wrote: Hi Olliver On Fri, 2016-11-25 at 16:30 +0100,

Re: [U-Boot] [PATCH] sunxi: move CONFIG_SATAPWR to Kconfig option

2016-11-28 Thread Hans de Goede
HI, On 28-11-16 13:42, Maxime Ripard wrote: Hi Hans, On Fri, Nov 25, 2016 at 09:12:30AM +0100, Hans de Goede wrote: Hi, On 24-11-16 22:22, Maxime Ripard wrote: On Wed, Nov 23, 2016 at 07:28:16PM +0100, Jelle van der Waa wrote: Introduce a new CONFIG_SATAPWR Kconfig option to replace

Re: [U-Boot] [PATCH] cmd: usb: run 'usb start' when USB is stopped

2016-11-28 Thread Hans de Goede
Hi, On 28-11-16 07:54, Minkyu Kang wrote: Hi Jaehoon, On 28/11/16 14:08, Jaehoon Chung wrote: Hi Marek, On 09/23/2016 01:15 PM, Simon Glass wrote: +Marek On 9 September 2016 at 04:20, Jaehoon Chung wrote: If USB is stopped, just run 'usb start' instead of printing

Re: [U-Boot] [PATCH] sunxi: move CONFIG_SATAPWR to Kconfig option

2016-11-25 Thread Hans de Goede
Hi, On 24-11-16 22:22, Maxime Ripard wrote: On Wed, Nov 23, 2016 at 07:28:16PM +0100, Jelle van der Waa wrote: Introduce a new CONFIG_SATAPWR Kconfig option to replace the option in CONFIG_SYS_EXTRA_OPTIONS. Signed-off-by: Jelle van der Waa --- board/sunxi/Kconfig

Re: [U-Boot] Pull request: u-boot-spi/sunxi

2016-11-24 Thread Hans de Goede
CONFIG_SYS_MMC_MAX_DEVICE Hans de Goede (1): sunxi: Mele_M5_defconfig: Drop non existing STATUSLED setting Jelle van der Waa (1): sunxi: Use the available Kconfig option for AHCI Marcel Ziswiler (1): colibri_pxa270: transition to driver model for serial Maxime Ripard (3): sunxi: Sync

Re: [U-Boot] [PATCH] sunxi: Mele_M5_defconfig: Drop non existing STATUSLED setting

2016-11-21 Thread Hans de Goede
Hi, On 21-11-16 11:05, Jagan Teki wrote: On Mon, Nov 14, 2016 at 12:24 AM, Hans de Goede <hdego...@redhat.com> wrote: And also remove it from scripts/config_whitelist.txt as the Mele_M5_defconfig was the only one defining it. Signed-off-by: Hans de Goede <hdego...@redhat.com>

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-18 Thread Hans de Goede
016 at 12:53:13PM +0100, Hans de Goede wrote: Hi All, A while back I wrote: "Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm way too busy lately. So I've decided to seriously scale back my involvement in linux-sunxi,

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-17 Thread Hans de Goede
Hi, On 17-11-16 20:50, Simon Glass wrote: Hi Hans, On 14 November 2016 at 04:53, Hans de Goede <hdego...@redhat.com> wrote: Hi All, A while back I wrote: "Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm w

Re: [U-Boot] [PATCH 07/11] net: sunxi: Do not inject ethernet addresses into the env

2016-11-15 Thread Hans de Goede
and discuss this proper I guess. On 15-11-16 10:26, Hans de Goede wrote: Hi, On 15-11-16 04:25, Joe Hershberger wrote: On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl <oli...@schinagl.nl> wrote: Currently we inject 5 ethernet addresses into the environment, just in case we may need them.

Re: [U-Boot] [PATCH 07/11] net: sunxi: Do not inject ethernet addresses into the env

2016-11-15 Thread Hans de Goede
Hi, On 15-11-16 11:17, Olliver Schinagl wrote: Hey Hans, I was hopeing and expecting this :) As you will be able to tell below, I need to learn a bit more as to why we do things and discuss this proper I guess. On 15-11-16 10:26, Hans de Goede wrote: Hi, On 15-11-16 04:25, Joe

Re: [U-Boot] [PATCH 07/11] net: sunxi: Do not inject ethernet addresses into the env

2016-11-15 Thread Hans de Goede
Hi, On 15-11-16 04:25, Joe Hershberger wrote: On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: Currently we inject 5 ethernet addresses into the environment, just in case we may need them. We do this because some boards have no eeprom (programmed) with a proper

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-15 Thread Hans de Goede
Hi, On 14-11-16 18:00, Yann E. MORIN wrote: Hans, Ian, All, On 2016-11-14 12:53 +0100, Hans de Goede spake thusly: A while back I wrote: "Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm way too busy lately. So

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:12, Maxime Ripard wrote: On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: #ifdef CONFIG_SPL_SPI_SUNXI @@ -143,7 +157,14 @@ #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SUNXI #define CONFIG_MMC_SUNXI_SLOT 0 -#define CONFIG_ENV_IS_IN_MMC +#endif

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:11, Olliver Schinagl wrote: Hey Hans, On 14-11-16 12:26, Hans de Goede wrote: Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects all realtek PHY's. This is not needed

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:09, Maxime Ripard wrote: Hi, On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: #ifdef CONFIG_SPL_SPI_SUNXI @@ -143,7 +157,14 @@ #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SUNXI #define CONFIG_MMC_SUNXI_SLOT 0 -#define CONFIG_ENV_IS_IN_MMC

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 14:53, Maxime Ripard wrote: On Mon, Nov 14, 2016 at 12:29:25PM +0100, Hans de Goede wrote: Hi, On 14-11-16 12:18, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC

[U-Boot] [PATCH] MAINTAINERS: mark sunxi status as Orphan

2016-11-14 Thread Hans de Goede
@hellion.org.uk> Signed-off-by: Hans de Goede <hdego...@redhat.com> --- MAINTAINERS | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0bd8995..83a70df 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -167,9 +167,7 @@ F: arch/arm/cpu/armv7/s

[U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-14 Thread Hans de Goede
Hi All, A while back I wrote: "Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm way too busy lately. So I've decided to seriously scale back my involvement in linux-sunxi, as such I'm going to step down as u-boot sunxi

Re: [U-Boot] [PATCH 6/7] scripts: sunxi: Build an raw SPL image

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 12:19, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: Introduce a new sunxi-spl-with-ecc.bin image with already the right header, ECC, randomizer and padding for the BROM to be able to read it. It needs to be flashed using a raw access to the NAND so

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 12:18, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC and randomizer properly set up. Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> Looks good

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Hans de Goede
good to me: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 7/7] sunxi: Add support for the CHIP Pro

2016-11-14 Thread Hans de Goede
<maxime.rip...@free-electrons.com> Patch 3/3 needs a v3 before this can be merged, otherwise this looks good to me: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- configs/CHIP_pro_defconfig | 27 +++ 1 file changed, 27 insertions(+),

Re: [U-Boot] [PATCH 5/7] nand: sunxi: Add options for the SPL NAND configuration

2016-11-14 Thread Hans de Goede
<maxime.rip...@free-electrons.com> Looks good to me: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- drivers/mtd/nand/Kconfig | 16 1 file changed, 16 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/K

Re: [U-Boot] [PATCH 6/7] scripts: sunxi: Build an raw SPL image

2016-11-14 Thread Hans de Goede
to it, since we already have all the right parameters. Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> Looks good to me: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- Makefile | 3 +++ scripts/Makefile.spl | 12 2 files

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC and randomizer properly set up. Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> Looks good to me: Reviewed-by: Hans de Goede <hdego...@r

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: From: Hans de Goede <hdego...@redhat.com> Enable the NAND and UBI support in the configuration header so that we can (finally) use it. Signed-off-by: Hans de Goede <hdego...@redhat.com> Signed-off-by: Maxime Ripard <maxime.rip...@fre

Re: [U-Boot] [PATCH 2/7] mtd: nand: add support for the TC58NVG2S0H chip

2016-11-14 Thread Hans de Goede
l...@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> Looks good to me: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- drivers/mtd/nand/nand_ids.c | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/drive

Re: [U-Boot] [PATCH 1/7] sunxi: Sync GR8 DTS and AXP209 with the kernel

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: Those DT will be part of 4.10, sync them so we can have our own config. Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> Looks good to me: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans ---

Re: [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 11:19, Maxime Ripard wrote: The NextThing's C.H.I.P. can have expansion boards called DIPs. Those DIPs are connected through the external headers, and comes with an identification mechanism based on 1-Wire EEPROMs. That auto-detection works great, because 1-Wire allows the

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 01:34, Jaehoon Chung wrote: On 11/14/2016 07:50 AM, Tom Rini wrote: On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote: Hi, On 04-11-16 16:18, Maxime Ripard wrote: Some eMMC will fail at the first switch, but would succeed in a subsequent one. Make sure we try

Re: [U-Boot] [PATCH] tools: fix mksunxiboot build for tools-all target

2016-11-13 Thread Hans de Goede
SUNXI"), merged before that, renamed that symbol, so that the first patch basically gets ineffective. Adjust the symbol name in tools/Makefile to make it build again. Signed-off-by: Andre Przywara <andre.przyw...@arm.com> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com&g

Re: [U-Boot] [PATCH 08/10] sunxi: Add basic PSCI implementation for A80

2016-11-13 Thread Hans de Goede
. The structure is based on existing sunxi PSCI code. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- arch/arm/cpu/armv7/sunxi/Makefile| 4 + arch/arm/cpu/armv7/sunxi/psci-mcpm.c | 234 ++

Re: [U-Boot] [PATCH 09/10] sunxi: Enable PSCI on sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: Now that we have a basic version of PSCI firmware, enable non-secure boot and PSCI on the A80. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- board/sunxi

Re: [U-Boot] [PATCH 07/10] sunxi: Add support for TZPC on sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 also has the TrustZone Protection Controller (TZPC), called the Secure Memory Touch Arbiter (SMTA). Enable non-secure access to all the peripherals at boot time. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: Hans de

Re: [U-Boot] [PATCH 05/10] sunxi: Add PRCM register definition for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 has a different PRCM register layout. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- arch/arm/include/asm/arch-sunxi/prcm_

Re: [U-Boot] [PATCH 04/10] sunxi: Use secure SRAM B for secure RAM for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved for CPU0 hotplug flags. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- include/configs

Re: [U-Boot] [PATCH 06/10] sunxi: Add CPUCFG register definitions for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 has a different CPUCFG register layout, likely due to having 2 clusters. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- arch/arm/include/as

Re: [U-Boot] [PATCH 03/10] sunxi: Add base address of secure SRAM B for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved for CPU0 hotplug flags. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- arch/arm/incl

Re: [U-Boot] [PATCH 02/10] sunxi: Add CCI-400 and CPUCFG registers base address for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80, having 2 clusters of 4 cores each, has an ARM CCI-400 hardware block for cache coherency. Add the base address for CCI-400, and also add the base address for CPUCFG. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: H

Re: [U-Boot] [PATCH 01/10] ARM: PSCI: Set ARMV7_PSCI_NR_CPUS default to 8 for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 is a big.LITTLE SoC with 4x Cortex-A7 in cluster 0 and 4x Cortex-A15 in cluster 1. Signed-off-by: Chen-Yu Tsai <w...@csie.org> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- arch/arm/cpu/armv7

[U-Boot] [PATCH] sunxi: Mele_M5_defconfig: Drop non existing STATUSLED setting

2016-11-13 Thread Hans de Goede
And also remove it from scripts/config_whitelist.txt as the Mele_M5_defconfig was the only one defining it. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- configs/Mele_M5_defconfig| 2 +- scripts/config_whitelist.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff

Re: [U-Boot] [PATCH 3/4] sunxi: sina33: Enable the eMMC

2016-11-13 Thread Hans de Goede
Hi, On 04-11-16 16:18, Maxime Ripard wrote: The SinA33 has an 4GB Toshiba eMMC connected to the MMC2 controller. Enable it. Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans

Re: [U-Boot] [PATCH 4/4] sunxi: sina33: Enable the LCD

2016-11-13 Thread Hans de Goede
Hi, On 04-11-16 16:18, Maxime Ripard wrote: The SinA33 comes with an optional 7" display. Enable it in the configuration. Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-13 Thread Hans de Goede
<maxime.rip...@free-electrons.com> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Pantelis or Tom, can you pick this up please ? Regards, Hans --- drivers/mmc/mmc.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/mmc.c b

Re: [U-Boot] [PATCH 2/4] mmc: sunxi: Enable 8bits bus width for sun8i

2016-11-13 Thread Hans de Goede
Hi, On 04-11-16 16:18, Maxime Ripard wrote: The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the support for those too. Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans ---

Re: [U-Boot] [PATCH] sunxi: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE

2016-11-13 Thread Hans de Goede
Hi, On 05-11-16 20:51, Emmanuel Vadot wrote: Set CONFIG_SYS_MMC_MAX_DEVICE to 4 for sunxi SoC. This define is needed in the API code. Signed-off-by: Emmanuel Vadot <m...@bidouilliste.com> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- include/c

Re: [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi

2016-11-13 Thread Hans de Goede
nux kernel is about 1s now, down from ~5s (Nanopi Neo, sunxi H3). Signed-off-by: "Yann E. MORIN" <yann.morin.1...@free.fr> Cc: Ian Campbell <i...@hellion.org.uk> Cc: Hans De Goede <hdego...@redhat.com> --- This is a tentative patch, acting as an RFC (unless it is good to go

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-13 Thread Hans de Goede
Hi, On 03-11-16 01:58, Andre Przywara wrote: Somehow an int returning function without a return statement sneaked in. Fix it. Signed-off-by: Andre Przywara <andre.przyw...@arm.com> LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- drivers/mtd/spi/sun

Re: [U-Boot] [PATCH] sunxi: Use the available Kconfig option for AHCI

2016-11-13 Thread Hans de Goede
Hi, On 31-10-16 21:05, Jelle van der Waa wrote: Use the already available Kconfig option for AHCI. Tested on the BananaPi. Signed-off-by: Jelle van der Waa <je...@vdwaa.nl> Patch LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans --- configs/A

Re: [U-Boot] sunxi board: why MMC dev are swapped ?

2016-11-12 Thread Hans de Goede
Hi, On 11-11-16 19:33, Mylene Josserand wrote: Hi everyone, I am currently using FEL and Fastboot to flash a sunxi-device with SPL and u-boot. In my board, I have two MMC devices: a MMC slot and an eMMC. My use-case is to flash an empty device. I want to use FEL to boot a u-boot and

Re: [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi

2016-11-10 Thread Hans de Goede
get around to it soonish. Regards, Hans Regards, Yann E. MORIN. Signed-off-by: "Yann E. MORIN" <yann.morin.1...@free.fr> Cc: Ian Campbell <i...@hellion.org.uk> Cc: Hans De Goede <hdego...@redhat.com> --- This is a tentative patch, acting as an RFC (unless it is go

Re: [U-Boot] [PATCH 00/10] sunxi: Add basic PSCI support to enable SMP on the A80's first cluster

2016-11-09 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: Hi everyone, This series adds basic PSCI support for the A80 to enable SMP on the first cluster. This at least allows people to use more than one core. The term "basic" is used because the series does not add support for multi-cluster cache and power

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-11-05 Thread Hans de Goede
Hi, On 04-11-16 23:57, Alexandr Bochkarev wrote: I have found problem place, this patch with hotfix allows to boot Allwinner A20 from eMMC. Dont know how to full fix it. Maxime posted a proper fix for this issue yesterday: https://patchwork.ozlabs.org/patch/691284/ Can you give that one a

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 11:36, Alexander Graf wrote: On 11/03/2016 10:51 AM, Andre Przywara wrote: Hi, On 03/11/16 09:34, Hans de Goede wrote: Hi, First of all cool stuff! Thank you Andre and all others involved for making this happen. On 03-11-16 09:49, Alexander Graf wrote: On 11/03/2016 02

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 10:38, Andre Przywara wrote: Hi, On 03/11/16 08:49, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: Hi, this is my first take on the SPL support for the Allwinner A64 SoC. The actual meat - the DRAM initialization code - has been provided by Jens - many

Re: [U-Boot] [RFC PATCH 03/10] sunxi: provide default DRAM config for sun50i in Kconfig

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 10:17, Andre Przywara wrote: Hi Hans, thanks for having a look. On 03/11/16 09:13, Hans de Goede wrote: Hi, On 03-11-16 10:10, Andre Przywara wrote: Hi, On 03/11/16 08:54, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: To avoid enumerating the very

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Hans de Goede
Hi, First of all cool stuff! Thank you Andre and all others involved for making this happen. On 03-11-16 09:49, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: Hi, this is my first take on the SPL support for the Allwinner A64 SoC. The actual meat - the DRAM

Re: [U-Boot] [RFC PATCH 03/10] sunxi: provide default DRAM config for sun50i in Kconfig

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 10:10, Andre Przywara wrote: Hi, On 03/11/16 08:54, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: To avoid enumerating the very same DRAM values in defconfig files for each and every Allwinner A64 board out there, let's put some sane default values in

[U-Boot] Please pull u-boot-sunxi sun9i-a80-spl

2016-10-30 Thread Hans de Goede
Hi Tom, Here is another sunxi pull-req, this one is to be applied on top of the bug-fix one I send out a few seconds ago. I'm sending this one as a separate pull-req since it contains non-bugfix changes which were first submitted outside the merge window. The entire set of patches in this

[U-Boot] Please pull u-boot-sunxi master

2016-10-30 Thread Hans de Goede
Hi Tom, Here is a pull request with some small sunxi cleanups / fixes for v2016.11. Note I expect you to merge this after Marek's usb pull-req. If you don't nothing will break, but you will get a whole bunch of new compiler warnings when building the pine64_plus defconfig. The following

Re: [U-Boot] [linux-sunxi] Re: [U-Boot, 2/2] sunxi: A64: enable USB support

2016-10-30 Thread Hans de Goede
Hi, On 29-10-16 14:52, Hans de Goede wrote: Hi, On 21-10-16 03:24, Andre Przywara wrote: From: Amit Singh Tomar <amittome...@gmail.com> Mostly by adding MACH_SUN50I to some existing #ifdefs enable support for the the HCI0 USB host controller on the A64. Fix up some minor 64-bit h

Re: [U-Boot] [PATCH] MAINTAINERS: SUNXI: Add Jagan as Co-Maintainer

2016-10-30 Thread Hans de Goede
Cc: Maxime Ripard <maxime.rip...@free-electrons.com> Cc: Ian Campbell <i...@hellion.org.uk> Cc: Hans De Goede <hdego...@redhat.com> Signed-off-by: Jagan Teki <ja...@openedev.com> I appreciate all the reviews you've done of sunxi patches, thank you for that. But I've ye

Re: [U-Boot] [linux-sunxi] Re: [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-30 Thread Hans de Goede
Hi, On 30-10-16 06:30, Chen-Yu Tsai wrote: On Sat, Oct 29, 2016 at 8:06 PM, Hans de Goede <hdego...@redhat.com> wrote: Hi, On 28-10-16 19:30, Hans de Goede wrote: Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initiali

Re: [U-Boot] [U-Boot,2/2] sunxi: A64: enable USB support

2016-10-29 Thread Hans de Goede
;amittome...@gmail.com> Signed-off-by: Andre Przywara <andre.przyw...@arm.com> Other then CONFIG_USB_MAX_CONTROLLER_COUNT no longer being necessary (it should be dropped from include/configs/sun50i.h) this patch looks good to me and is: Reviewed-by: Hans de Goede <hdego...@redhat.com&g

Re: [U-Boot] [U-Boot, 1/2] drivers: USB: OHCI: allow compilation for 64-bit targets

2016-10-29 Thread Hans de Goede
Przywara <andre.przyw...@arm.com> Patch looks good to me: Reviewed-by: Hans de Goede <hdego...@redhat.com> Regards, Hans p.s. About the ohci_writel macro changes also giving the macro parameters more sensible names, I believe it is fine to do this while at it and that this does not need

Re: [U-Boot] [PATCH v1 1/1] ARM:SUNXI: Update DRAM clock for Olimex A20 boards

2016-10-29 Thread Hans de Goede
that your patch also modified the A20-SOM where as the patch I merged did not. I've added the A20-SOM part of your patch (with you as the author) to my tree now and will include it in my next pull-req. Regards, Hans Regards, Stefan Mavrodiev Olimex LDT On 10/11/2016 12:38 PM, Hans de

Re: [U-Boot] [PATCH] tools: add mksunxiboot to tools-all target

2016-10-29 Thread Hans de Goede
Hi, On 29-10-16 12:23, Stefan Brüns wrote: mksunxiboot is useful outside of u-boot, it is e.g. used by sunxi-tools. Signed-off-by: Stefan Brüns Thank you I've applied this to my tree and will include it in my next pull-req. Regards, Hans ---

Re: [U-Boot] [linux-sunxi] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-29 Thread Hans de Goede
Hi, On 21-10-16 02:11, Andre Przywara wrote: The sun8i-emac driver works fine with the A64 Ethernet IP, but we are missing an alias entry to trigger the driver instantiation by U-Boot. Add the line to point U-Boot to the Ethernet DT node. This enables TFTP boot on the Pine64. Signed-off-by:

Re: [U-Boot] [PATCH 3/3] ARM: sunxi: remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

2016-10-29 Thread Hans de Goede
Hi, On 13-10-16 17:40, Masahiro Yamada wrote: ARCH_SUNXI selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT is not used. Signed-off-by: Masahiro Yamada Thank you I've applied this to my tree and will include it in my next pull-req. Regards, Hans ---

Re: [U-Boot] [PATCH] sunxi: Rename CONFIG_SUNXI to CONFIG_ARCH_SUNXI

2016-10-29 Thread Hans de Goede
Hi, On 13-10-16 10:49, Jagan Teki wrote: CONFIG_SUNXI -> CONFIG_ARCH_SUNXI and removed CONFIG_SUNIX from config_whitelist.txt Cc: Simon Glass <s...@chromium.org> Cc: Ian Campbell <i...@hellion.org.uk> Cc: Hans de Goede <hdego...@redhat.com> Signed-off-by: Jagan Tek

Re: [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-29 Thread Hans de Goede
Hi, On 29-10-16 03:16, Chen-Yu Tsai wrote: On Sat, Oct 29, 2016 at 1:30 AM, Hans de Goede <hdego...@redhat.com> wrote: Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work wa

Re: [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-29 Thread Hans de Goede
Hi, On 28-10-16 19:30, Hans de Goede wrote: Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work was done by the people at Theobroma Systems. Their work can be found here: https

Re: [U-Boot] [PATCH 02/11] sunxi: add gtbus-initialisation for sun9i

2016-10-29 Thread Hans de Goede
Hi, On 29-10-16 13:08, Chen-Yu Tsai wrote: On Sat, Oct 29, 2016 at 2:45 AM, Jagan Teki wrote: On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: From: Philipp Tomsich On sun9i, the GTBUS manages transaction

Re: [U-Boot] [PATCH 01/11] sunxi: DRAM initialisation for sun9i

2016-10-29 Thread Hans de Goede
Hi, On 28-10-16 20:54, Jagan Teki wrote: On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: From: Philipp Tomsich This adds DRAM initialisation code for sun9i, which calculates the appropriate timings based on timing information for

Re: [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-28 Thread Hans de Goede
Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work was done by the people at Theobroma Systems. Their work can be found here: https://git.theobroma-systems.com/armadillo-u-boot.git/ I

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-26 Thread Hans de Goede
Hi, On 26-10-16 09:00, Jagan Teki wrote: On Tue, Oct 25, 2016 at 3:59 AM, André Przywara <andre.przyw...@arm.com> wrote: On 21/10/16 11:28, Hans de Goede wrote: Hi, On 21-10-16 12:06, Andre Przywara wrote: Hi, On 21/10/16 10:31, Jagan Teki wrote: On Fri, Oct 21, 2016 at 5:41 AM,

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-21 Thread Hans de Goede
Hi, On 21-10-16 12:06, Andre Przywara wrote: Hi, On 21/10/16 10:31, Jagan Teki wrote: On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara wrote: The sun8i-emac driver works fine with the A64 Ethernet IP, but we are missing an alias entry to trigger the driver

Re: [U-Boot] [PATCH v1 1/1] ARM:SUNXI: Update DRAM clock for Olimex A20 boards

2016-10-11 Thread Hans de Goede
Hi, On 10/11/2016 10:44 AM, Stefan Mavrodiev wrote: Originally dram clock was set to 480MHz, but this behaves unstable. To improve stability the clock is reduced to 384MHz Signed-off-by: Stefan Mavrodiev The exact same change is already in u-boot-sunxi/next, and

[U-Boot] Please pull u-boot-sunxi master

2016-10-10 Thread Hans de Goede
Hi Tom, Here is a small pull-req for v2016.11, consisting of 2 small DRAM handling bug-fixes. The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf: Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-10-08 09:33:37 -0400) are available in the git

Re: [U-Boot] Patch for OLinuXino Lime boards: default DRAM settings

2016-10-10 Thread Hans de Goede
Hi, On 30-09-16 07:19, Josh Marshall wrote: We have a number of OlinuXino Lime2 boards (both NAND and eMMC versions) which were experiencing sporadic hangs. After testing with some heavy benchmarking and help from the Armbian forum, it was pinned down as the DRAM settings for the board. The

Re: [U-Boot] [PATCH] sunxi: Fix H3 DRAM impedance calibration on rev. A chips

2016-10-10 Thread Hans de Goede
Hi, On 21-09-16 20:08, Jens Kuske wrote: H3 seems to have a silicon bug breaking the impedance calibration. This is currently worked around in software by multiple steps combining the results to replace the wrong values. Revision A chips need a different workaround, which is present in the

Re: [U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-10 Thread Hans de Goede
:42, Stephen Arnold wrote: On Sun, Oct 2, 2016 at 11:55 PM, Hans de Goede <hdego...@redhat.com> wrote: Hi, On 02-10-16 06:36, Stephen Arnold wrote: From: Steve Arnold <stephen.arnol...@gmail.com> * needs different GMAC_TX_DELAY than lamobo-r1 (not compatible) I see why thi

Re: [U-Boot] [PATCH v2 0/9] sunxi: sun5/7i: add the psci suspend function

2016-10-07 Thread Hans de Goede
Hi Antoine, On 06-10-16 16:33, Antoine Tenart wrote: Hi all, This series adds an implementation of the psci suspend function for both sun5i and sun7i. This was tested on Nextthing's CHIP and on a A20, using cpuidle in Linux. My tests showed a power consumption reduced by a factor 2 on the CHIP

Re: [U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-03 Thread Hans de Goede
HI, On 03-10-16 15:04, Jagan Teki wrote: On Mon, Oct 3, 2016 at 12:25 PM, Hans de Goede <hdego...@redhat.com> wrote: Hi, On 02-10-16 06:36, Stephen Arnold wrote: From: Steve Arnold <stephen.arnol...@gmail.com> * needs different GMAC_TX_DELAY than lamobo-r1 (not compatible)

Re: [U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-03 Thread Hans de Goede
000..30a827f --- /dev/null +++ b/arch/arm/dts/sun7i-a20-bananapi-r1.dts @@ -0,0 +1,321 @@ +/* + * Copyright 2015 Hans de Goede <hdego...@redhat.com> + * + * Changes copyright 2015 Stephen Arnold <nerd...@gentoo.org> + * This file is dual-licensed: you can use it either under the terms +

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-09-19 Thread Hans de Goede
HI, On 19-09-16 15:17, Maxime Ripard wrote: On Wed, Sep 14, 2016 at 12:05:19PM +0200, Hans de Goede wrote: Hi, On 13-09-16 13:50, Maxime Ripard wrote: Hi, On Mon, Sep 12, 2016 at 04:47:49PM +0200, Hans de Goede wrote: On 12-09-16 15:56, Maxime Ripard wrote: Hi, On Mon, Sep 12, 2016 at 01

Re: [U-Boot] [PATCH] A20-OLinuXino-Lime2: Enable USB gadget support

2016-09-19 Thread Hans de Goede
Hi, On 19-09-16 17:00, Tom Rini wrote: On Mon, Sep 19, 2016 at 04:53:04PM +0200, Hans de Goede wrote: Hi, On 19-09-16 16:03, Tom Rini wrote: Based on A13-OLinuXino, enable DFU and UMS support. Signed-off-by: Tom Rini <tr...@konsulko.com> --- With this change I've added DFU to my

Re: [U-Boot] [PATCH] A20-OLinuXino-Lime2: Enable USB gadget support

2016-09-19 Thread Hans de Goede
case there are space constraints, but normally we enable it on all sunxi boards offering a consistent set of available commands. " The same goes for this patch, otherwise this patch is: Reviewed-by: Hans de Goede <hdego...@redhat.com> Ig you want to feel free to apply this directly (given

Re: [U-Boot] [PATCH] sunxi: musb: Re-init musb controller on repeated probe calls

2016-09-18 Thread Hans de Goede
Hi, On 18-09-16 17:00, Ian Campbell wrote: On Sun, 2016-09-18 at 16:53 +0200, Hans de Goede wrote: With sunxi-musb musb_lowlevel_init() can fail when a charger; or no cable is plugged into the otg port. To avoid leaking the struct musb allocated by musb_init_controller() on repeated

[U-Boot] Please pull u-boot-sunxi master

2016-09-18 Thread Hans de Goede
): sunxi: musb: Power off OTG port VBUS when disabled sunxi: Add mmc0 card detect pin for Sinlinx SinA33 sunxi: Enable USB host support for Sinlinx SinA33 sunxi: Enable USB gadget support for Sinlinx SinA33 Hans de Goede (2): sunxi: axp2xx: disable ldoio0/1 at boot

[U-Boot] [PATCH] sunxi: musb: Re-init musb controller on repeated probe calls

2016-09-18 Thread Hans de Goede
controller(), it replaces this by free-ing the allocated memory in musb_usb_remove() and calling musb_usb_remove() on musb_usb_probe() errors to ensure proper cleanup. While at it also make musb_usb_probe() and musb_usb_remove() static. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- driv

Re: [U-Boot] [PATCH 2/3] sunxi: Enable USB host support for Sinlinx SinA33

2016-09-17 Thread Hans de Goede
Kconfig: config CMD_USB_MASS_STORAGE default y So that we can still disable it in case there are space constraints, but normally we enable it on all sunxi boards offering a consistent set of available comments. So I've dropped this bit of the patch. Otherwise this series LGTM: Reviewed-by: Hans

Re: [U-Boot] [PATCH] sunxi: musb: Power off OTG port VBUS when disabled

2016-09-17 Thread Hans de Goede
musb reset its state. This partially reverts commit c9f8947e6604 ("sunxi: usb-phy: Never power off the usb ports") Signed-off-by: Chen-Yu Tsai <w...@csie.org> Thank you, LGTM: Reviewed-by: Hans de Goede <hdego...@redhat.com> I've added this to my local queue and this wil

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-09-14 Thread Hans de Goede
Hi, On 13-09-16 13:50, Maxime Ripard wrote: Hi, On Mon, Sep 12, 2016 at 04:47:49PM +0200, Hans de Goede wrote: On 12-09-16 15:56, Maxime Ripard wrote: Hi, On Mon, Sep 12, 2016 at 01:53:24PM +0200, Ciprian Manea wrote: I'm using a SinA33 dev board (Allwinner a33 SoC) and at the moment I'm

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-09-12 Thread Hans de Goede
Hi, On 12-09-16 15:56, Maxime Ripard wrote: Hi, On Mon, Sep 12, 2016 at 01:53:24PM +0200, Ciprian Manea wrote: I'm using a SinA33 dev board (Allwinner a33 SoC) and at the moment I'm trying to boot from the eMMC. But it fails in the following way: *Got the following error at boot time:*

  1   2   3   4   5   6   7   8   9   10   >