Re: [U-Boot] [PATCH 1/4] sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3

2016-01-21 Thread Hans de Goede
Hi, On 01/06/2016 08:13 AM, Chen-Yu Tsai wrote: Secure Memory Touch Arbiter is the same thing as the TrustZone Protection Controller found on A31/A31s. Access to many peripherals on the H3 can be controlled by the SMTA, and the settings default to secure access only. This patch supports the

Re: [U-Boot] [PATCH 0/4] sunxi: PSCI support for H3

2016-01-21 Thread Hans de Goede
Hi, On 01/06/2016 08:13 AM, Chen-Yu Tsai wrote: Hi everyone, This series enables PSCI support for the H3. Like other Allwinner SoCs, the implementation only supports PSCI 0.1, specifically only secondary CPU boot/hotplug. Patch 1 supports the SMTA (previously called TZPC) TrustZone hardware

[U-Boot] [PATCH 1/2] i2c: mvtwsi: Fix mvtwsi not working on sun6i and newer sunxi SoCs

2016-01-14 Thread Hans de Goede
On sun6i and newer IFLG is a write-clear bit which is cleared by writing 1, rather then a normal r/w bit which is cleared by writing 0. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- drivers/i2c/mvtwsi.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-)

[U-Boot] [PATCH 2/2] sunxi: Add support for the I2C controller which is part of the PRCM

2016-01-14 Thread Hans de Goede
From: Jelle van der Waa <je...@vdwaa.nl> Signed-off-by: Jelle van der Waa <je...@vdwaa.nl> [hdego...@redhat.com: Minor cleanups] Signed-off-by: Hans de Goede <hdego...@redhat.com> --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c | 10 ++ arch/arm/cpu/armv7/sunxi/prcm.

[U-Boot] [PATCH v2 resend 0/1] cmd_boot: Add a poweroff command

2016-01-13 Thread Hans de Goede
Hi Tom, This patch is a prereq of the board poweroff patches I've pending for sunxi, since it is a core patch I would prefer for you to merge it directly, rather then "sneak it in" in a sunxi pull-req. This is a resend of v2 of the patch which contains the changes you requested. Regards, Hans

[U-Boot] [PATCH v2 resend] cmd_boot: Add a poweroff command

2016-01-13 Thread Hans de Goede
ke the cmd conditional on a CMD_POWEROFF Kconfig] Signed-off-by: Hans de Goede <hdego...@redhat.com> --- Changes in v2: -Improve poweroff help text -Remove unnecessary #ifdef from command.h --- common/Kconfig| 3 +++ common/cmd_boot.c | 8 include/command.h | 1 + 3 files changed, 12 insert

Re: [U-Boot] [PATCH 2/3] sunxi: add support for LPDDR3 for A83T

2016-01-07 Thread Hans de Goede
Hi, On 06-01-16 17:11, Vishnu Patekar wrote: Banana-pi M3 has LPDDR3 DRAM. this adds support for LPDDR3 for A83T. Mostly the timing parameters are different from DDR3. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c| 56

[U-Boot] Please pull u-boot-sunxi master (v2016.01 bugfix)

2015-12-27 Thread Hans de Goede
to fetch changes up to e7d6aa0b74b7f4d08ee68da8a586c76c761348e2: sunxi: Reduce Orangepi PC RAM speed to 624 MHz (2015-12-27 12:30:39 +0100) Hans de Goede (1): sunxi: Reduce Orangepi PC RAM speed to 624 MHz configs

Re: [U-Boot] [PATCH] sunxi: Remove Orangepi PC RAM speed to 624 MHz

2015-12-27 Thread Hans de Goede
Hi, On 24-12-15 17:08, Ian Campbell wrote: On Wed, 2015-12-23 at 11:50 +0100, Hans de Goede wrote: There are some reports of stability issues at 672 MHz, see: http://linux-sunxi.org/Orange_Pi_PC#DRAM_clock_speed_limit Looks like only one (in that table at least)? Correct, but another 7 out

Re: [U-Boot] [PATCH v2] cmd_boot: Add a poweroff command

2015-12-23 Thread Hans de Goede
Hi, On 23-12-15 07:33, Wolfgang Denk wrote: Dear Hans de Goede, In message <1450822985-19135-1-git-send-email-hdego...@redhat.com> you wrote: From: Michael van Slingerland <mich...@deviousops.nl> Add a 'poweroff' command to boot commands, this only gets enabled if the board

[U-Boot] [PATCH] sunxi: Remove Orangepi PC RAM speed to 624 MHz

2015-12-23 Thread Hans de Goede
There are some reports of stability issues at 672 MHz, see: http://linux-sunxi.org/Orange_Pi_PC#DRAM_clock_speed_limit So reduce the DRAM speed to 624MHz which seems to be reliable everywhere. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- configs/orangepi_pc_defconfig | 2 +-

[U-Boot] [PATCH v2] cmd_boot: Add a poweroff command

2015-12-22 Thread Hans de Goede
ke the cmd conditional on a CMD_POWEROFF Kconfig] Signed-off-by: Hans de Goede <hdego...@redhat.com> --- Changes in v2: -Improve poweroff help text -Remove unnecessary #ifdef from command.h --- common/Kconfig| 3 +++ common/cmd_boot.c | 8 include/command.h | 1 + 3 files changed, 12 insert

[U-Boot] [PATCH] sunxi: Select DM_KEYBOARD

2015-12-21 Thread Hans de Goede
We need to select DM_KEYBOARD now that the usb-kbd code has been converted to this, otherwise usb keyboards do not work. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- arch/arm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/ar

Re: [U-Boot] [linux-sunxi] [PATCH] sunxi: Add CONFIG_SUNXI_NO_PMIC to Marsboard A10 config

2015-12-21 Thread Hans de Goede
Hi, On 20-12-15 22:45, Aleksei Mamlin wrote: Marsboard A10 haven't any PMIC at all, so add CONFIG_SUNXI_NO_PMIC=y to Marsboard_A10_defconfig Signed-off-by: Aleksei Mamlin Thanks I've added this to my personal tree and will send it out with the next pull-req. Regards,

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

2015-12-21 Thread Hans de Goede
to edf5dd835e5da2d7dbc91422db204a344dd10e4b: sunxi: Add CONFIG_SUNXI_NO_PMIC to Marsboard A10 config (2015-12-21 20:40:25 +0100) Aleksei Mamlin (1): sunxi: Add CONFIG_SUNXI_NO_PMIC to Marsboard A10 config Hans de Goede (2): sun5i: Add

Re: [U-Boot] [PATCH] sun5i: Add defconfig and dts file for the Empire Electronix D709 tablet

2015-12-21 Thread Hans de Goede
Hi, On 20-12-15 21:12, Ian Campbell wrote: On Sun, 2015-12-20 at 12:44 +0100, Hans de Goede wrote: The Empire Electronix D709 tablet is a fairly standard 7" A13 tablet, featuring usb-wifi, a micro-sd slot, micro-usb otg and headphone jack. Empire Electronix is written on the

Re: [U-Boot] [PATCH 2/2 v2] usb: musb: Fix hub port number for SPLIT transactions

2015-12-21 Thread Hans de Goede
this set. With that done this patch is: Reviewed-by: Hans de Goede <hdego...@redhat.com> Tested-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 1/2 v3] usb: Move determination of TT hub address/port into seperate function

2015-12-21 Thread Hans de Goede
Hi, On 20-12-15 20:12, Hans de Goede wrote: Hi, On 19-12-15 21:26, Stefan Brüns wrote: Start split and complete split tokens need the hub address and the downstream port of the first HS hub (device view). The core of the function was duplicated in both host/ehci_hcd and musb-new/usb-compat.h

Re: [U-Boot] [PATCH 1/2 v3] usb: Move determination of TT hub address/port into seperate function

2015-12-20 Thread Hans de Goede
Hi, On 19-12-15 21:26, Stefan Brüns wrote: Start split and complete split tokens need the hub address and the downstream port of the first HS hub (device view). The core of the function was duplicated in both host/ehci_hcd and musb-new/usb-compat.h. Signed-off-by: Stefan Brüns

[U-Boot] [PATCH] sun5i: Add defconfig and dts file for the Empire Electronix D709 tablet

2015-12-20 Thread Hans de Goede
kings to speak of. This dts file is identical to the one submitted to the upstream kernel. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun5i-a13-empire-electronix-d709.dts | 241 ++ board/sunxi/

[U-Boot] [PATCH 0/4] Add a new poweroff command and implement it for sunxi

2015-12-20 Thread Hans de Goede
Hi All, I've had this idea that it would be good to have a poweroff command in u-boot in my head for a while now. The reason being that during u-boot development one often stays in just u-boot (e.g. when testing usb kbd support), when I'm then done testing having a poweroff command would be

[U-Boot] [PATCH 2/4] sunxi: Implement poweroff support for axp152 pmic

2015-12-20 Thread Hans de Goede
Adds poweroff support for axp152 pmic. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- drivers/power/Kconfig | 1 + drivers/power/axp152.c | 12 2 files changed, 13 insertions(+) diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index e86dd72..de32828

[U-Boot] [PATCH 1/4] cmd_boot: Add a poweroff command

2015-12-20 Thread Hans de Goede
ke the cmd conditional on a CMD_POWEROFF Kconfig] Signed-off-by: Hans de Goede <hdego...@redhat.com> --- common/Kconfig| 3 +++ common/cmd_boot.c | 8 include/command.h | 3 +++ 3 files changed, 14 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index ccf5475..9d446bf 100644 --- a

[U-Boot] [PATCH 4/4] sunxi: Implement poweroff support for axp221 pmic

2015-12-20 Thread Hans de Goede
Adds poweroff support for axp221 pmic. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- drivers/power/Kconfig | 1 + drivers/power/axp221.c | 12 include/axp221.h | 2 ++ 3 files changed, 15 insertions(+) diff --git a/drivers/power/Kconfig b/drivers/power/K

Re: [U-Boot] [linux-sunxi] [PATCH V2 0/2] sunxi: support for a second SD card socket

2015-12-20 Thread Hans de Goede
Hi, On 16-12-15 20:59, Karsten Merker wrote: Hello, this patchset enables the full-size SD card socket on the A20-Olimex-SOM-EVB baseboard in u-boot and adds support for including this kind of secondary socket into the boot environment provided by config_distro_bootcmd.h on sunxi-based

[U-Boot] [PATCH 3/4] sunxi: Implement poweroff support for axp209 pmic

2015-12-20 Thread Hans de Goede
From: Michael van Slingerland <mich...@deviousops.nl> Adds poweroff support for axp209 pmic. Signed-off-by: Michael van Slingerland <mich...@deviousops.nl> Signed-off-by: Hans de Goede <hdego...@redhat.com> --- drivers/power/Kconfig | 1 + drivers/power/axp209.c | 12 +++

Re: [U-Boot] [PATCH] usb: Move determination of TT hub address/port into seperate function

2015-12-19 Thread Hans de Goede
Hi, On 19-12-15 18:17, Stefan Bruens wrote: On Friday 18 December 2015 11:00:19 Hans de Goede wrote: Hi, On 18-12-15 02:11, Stefan Brüns wrote: Start split and complete split tokens need the hub address and the downstream port of the first HS hub (device view). The core of the function

Re: [U-Boot] [PATCH] usb: Move determination of TT hub address/port into seperate function

2015-12-18 Thread Hans de Goede
Hi, On 18-12-15 02:11, Stefan Brüns wrote: Start split and complete split tokens need the hub address and the downstream port of the first HS hub (device view). The core of the function was duplicated in both host/ehci_hcd and musb-new/usb-compat.h. Signed-off-by: Stefan Brüns

Re: [U-Boot] ATAGS for Tegra, Sunxi, etc.

2015-12-17 Thread Hans de Goede
Hi, On 17-12-15 10:21, Ian Campbell wrote: On Thu, 2015-12-17 at 07:40 +0100, Karsten Merker wrote: On Thu, Dec 17, 2015 at 01:59:57PM +0900, Masahiro Yamada wrote: 2015-12-17 13:58 GMT+09:00 Masahiro Yamada : Hi, I noticed some well-maintained new SoC

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

2015-12-11 Thread Hans de Goede
at: http://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to bb3654629a6b2ab131de96489f70421f6a848c70: sunxi: Fix H3 DRAM DQ read delay configuration (2015-12-10 15:45:48 +0100) Hans de Goede (2): sunxi: Set AHB1

Re: [U-Boot] [U-Boot, PATCHv1, 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-12-11 Thread Hans de Goede
Hi, On 10-12-15 21:26, Joe Hershberger wrote: Hi Hans, On Thu, Dec 10, 2015 at 4:29 AM, Hans de Goede <hdego...@redhat.com> wrote: Hi Olliver and Joe, On 11/30/2015 05:50 PM, Oliver Schinagl wrote: From: Olliver Schinagl <o.schin...@ultimaker.com> This patch allows Kconf

Re: [U-Boot] [PATCH 1/2] sunxi: twi: enable clocks on sun7i

2015-12-10 Thread Hans de Goede
Hi, On 12/03/2015 05:49 PM, Olliver Schinagl wrote: From: Olliver Schinagl Commit 6c739c5d added code to enable i2c bus 4 and 5 on the sun7i SoC but forgot to enable the clocks for these 2 i2c busses. This patch enables the clocks for i2c bus 4 and 5 on sun7i.

Re: [U-Boot] [PATCH 2/2] sun4i: clock: cleanup some whitespace errors

2015-12-10 Thread Hans de Goede
Hi, On 12/03/2015 05:49 PM, Olliver Schinagl wrote: From: Olliver Schinagl Add some spaces around operators. Signed-off-by: Olliver Schinagl Thanks, applied. Regards, Hans --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 6 +++--- 1

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-12-10 Thread Hans de Goede
Hi, On 11/30/2015 04:39 PM, Vishnu Patekar wrote: Hello Hans, On Mon, Nov 30, 2015 at 4:13 PM, Hans de Goede <hdego...@redhat.com> wrote: Hi Vishnu, This patch v2 of series that adds basic support for Allwinner A83T SOC with review comments addressed. Can you provide some

Re: [U-Boot] [U-Boot, PATCHv1, 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-12-10 Thread Hans de Goede
Hi Olliver and Joe, On 11/30/2015 05:50 PM, Oliver Schinagl wrote: From: Olliver Schinagl This patch allows Kconfig to enable and set parameters to make it possible to read the MAC address from an EEPROM. This patch only sets up some environment variables, it is up

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-12-01 Thread Hans de Goede
Hi, On 30-11-15 16:39, Vishnu Patekar wrote: Hello Hans, On Mon, Nov 30, 2015 at 4:13 PM, Hans de Goede <hdego...@redhat.com> wrote: Hi Vishnu, This patch v2 of series that adds basic support for Allwinner A83T SOC with review comments addressed. Can you provide some quick instru

Re: [U-Boot] [PATCH] sunxi: usb: Rename the sunxi usb driver DM entry

2015-12-01 Thread Hans de Goede
Hi, On 30-11-15 18:19, Marek Vasut wrote: The DM entry should be unique, otherwise it will collide with other drivers. Fix this by assigning the driver a more unique name than usb_ehci. Signed-off-by: Marek Vasut <ma...@denx.de> Cc: Hans de Goede <hdego...@redhat.com> Cc: Ian

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-11-30 Thread Hans de Goede
Hi Vishnu, > This patch v2 of series that adds basic support for Allwinner A83T SOC with > review comments addressed. Can you provide some quick instructions on how to test this on the A83T HomletV2 ? With v1 of these patches I tried to just build them and dd them to the sdcard, but that did

Re: [U-Boot] [PATCH v2 5/9] sunxi: do not enable smp for A83T

2015-11-30 Thread Hans de Goede
Hi, > When smp is enabled for A83T, intermittent hang is observed after booting kernel. > for now do not enable the smp for CPU0. This has to be fixed. > Also, fixed the space at line start warning at these two lines. Is this still needed now that we bring up only one CPU anyways? Regards,

Re: [U-Boot] Rpi Uboot not working ; USB keyboard undetected

2015-11-26 Thread Hans de Goede
Hi, On 26-11-15 01:38, Stefan Bruens wrote: On Wednesday 25 November 2015 16:55:54 Sumeet Jauhar wrote: Hello All, I am new to Rpi and for a project I need to install Uboot for Rpi. For starters I installed Raspbian-jessie to the pi and it worked fine. Now I am attempting to use uboot but I

Re: [U-Boot] [PATCH] sunxi: Set AHB1 clock to PLL6/3 on all clock_sun6i.h using SoCs

2015-11-22 Thread Hans de Goede
Hi, On 22-11-15 15:14, Chen-Yu Tsai wrote: On Sat, Nov 21, 2015 at 11:48 PM, Ian Campbell <ijc+ub...@hellion.org.uk> wrote: On Fri, 2015-11-20 at 19:32 +0100, Hans de Goede wrote: According to the datasheets the max speed of AHB1 is 276 MHz, so setting it to PLL6 / 3 which gives us

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

2015-11-22 Thread Hans de Goede
3:58 +0100) -------- Hans de Goede (2): sunxi: Add H3 dts[i] files sunxi: Add support for Orangepi Plus and Orangepi PC boards Jelle de Jong (1): sunxi: Add support for the Lamobo R1 board Jens Kuske (2): sunxi: Add basic

Re: [U-Boot] [U-Boot,1/2] sunxi: Enable DFU for RAM

2015-11-20 Thread Hans de Goede
Hi, On 25-10-15 05:44, Siarhei Siamashka wrote: The DFU protocol implementation in U-Boot is much faster than the FEL protocol implementation in the boot ROM on Allwinner devices. Using DFU instead of FEL improves the USB transfer speed from 500-900 KB/s to 3.2-3.7 MB/s. This is particularly

Re: [U-Boot] [U-Boot,1/2] sunxi: Add basic H3 support

2015-11-20 Thread Hans de Goede
Hi, On 17-11-15 15:12, Jens Kuske wrote: Add initial sun8i H3 support, only uart + mmc are supported for now. Signed-off-by: Jens Kuske Thanks! I've applied both patches and added 2 more from myself to bring in the latest upstream dts[i] work and add defconfigs for the

Re: [U-Boot] [PATCH] sunxi: clock: Set AHB1 clock frequency to 200MHz on Allwinner H3

2015-11-20 Thread Hans de Goede
Hi, On 20-11-15 06:07, Siarhei Siamashka wrote: The 3.4 kernel from the Allwinner SDK is clocking AHB1 at 200MHz on Allwinner H3 and using PLL6 as the clock source (PLL6/3). This can be verified by reading the value of the AHB1_APB1_CFG_REG register via /dev/mem. It always reads as 0x3180

[U-Boot] [PATCH] sunxi: Set AHB1 clock to PLL6/3 on all clock_sun6i.h using SoCs

2015-11-20 Thread Hans de Goede
According to the datasheets the max speed of AHB1 is 276 MHz, so setting it to PLL6 / 3 which gives us 200MHz everywhere is fine, and gives us a nice speed-up in certain workloads. Suggested-by: Chen-Yu Tsai <w...@csie.org> Signed-off-by: Hans de Goede <hdego...@redhat.com> --- arch

Re: [U-Boot] [PATCH] sunxi: clock: Set AHB1 clock frequency to 200MHz on Allwinner H3

2015-11-20 Thread Hans de Goede
HI, On 20-11-15 17:04, Chen-Yu Tsai wrote: On Fri, Nov 20, 2015 at 11:40 PM, Hans de Goede <hdego...@redhat.com> wrote: Hi, On 20-11-15 06:07, Siarhei Siamashka wrote: The 3.4 kernel from the Allwinner SDK is clocking AHB1 at 200MHz on Allwinner H3 and using PLL6 as the clock source (

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-16 Thread Hans de Goede
Hi, On 16-11-15 18:16, Stephen Warren wrote: On 11/15/2015 12:40 PM, Hans de Goede wrote: Hi, On 11/13/2015 09:34 PM, Stephen Warren wrote: From: Stephen Warren <swar...@nvidia.com> When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a GET_REPORT control transfer to re

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-15 Thread Hans de Goede
Hi, On 11/13/2015 10:58 PM, Simon Glass wrote: Hi Hans, Talking about usb-stop, there is still one (BIG!) problem after this patch set when building usb-support with DM_DEVICE_REMOVE not set. This means that the controllers dma engines will not be stopped when booting the actual OS and

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-15 Thread Hans de Goede
state. This is useful since it eliminates the remaining use of interrupt transfers from the USB keyboard driver, which allows it to work with USB HCD that don't support interrupt transfers. Cc: Hans de Goede <hdego...@redhat.com> Signed-off-by: Stephen Warren <swar...@nvidia.com>

Re: [U-Boot] [PATCH 07/10] sunxi: Add support for Allwinner A83T DRAM

2015-11-13 Thread Hans de Goede
@ -0,0 +1,424 @@ +/* + * Sun8i a33 platform dram controller init. + * + * (C) Copyright 2007-2015 Allwinner Technology Co. + * Jerry Wang <wangfl...@allwinnertech.com> + * (C) Copyright 2015 Vishnu Patekar <vishnupatekar0...@gmail.com> + * (C) Copyright 2015

Re: [U-Boot] [PATCH 09/10] sunxi: dts: sun8i: Add Allwinner A83T dtsi

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Allwinner A83T is new octa-core cortex-a7 SOC. This adds the basic dtsi, the clocks differs from earlier sun8i SOCs. This is not yet included in kernel. Signed-off-by: Vishnu Patekar --- arch/arm/dts/sun8i-a83t.dtsi

Re: [U-Boot] [PATCH 03/10] sunxi: power: axp818: add support for axp818 driver

2015-11-13 Thread Hans de Goede
xp818.c b/drivers/power/axp818.c new file mode 100644 index 000..4b21a83 --- /dev/null +++ b/drivers/power/axp818.c @@ -0,0 +1,132 @@ +/* + * AXP818 driver based on AXP221 driver + * + * + * (C) Copyright 2015 Vishnu Patekar <vishnuptekar0...@gmail.com> + * + * Based on axp221.c + * (C) Co

Re: [U-Boot] [PATCH 06/10] sunxi: clk: add basic clocks for A83T

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Add basic clocks pll1, pll5, and some default values from allwinner u-boot. Signed-off-by: Vishnu Patekar This one looks good as is. Regards, Hans --- arch/arm/cpu/armv7/sunxi/Makefile | 4 +

Re: [U-Boot] [PATCH 05/10] sunxi: do not enable smp for A83T

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: When smp is enabled for A83T, intermittent hang is observed after booting kernel. for now do not enable the smp for CPU0. This has to be fixed. Also, fixed the space at line start warning at these two lines. Signed-off-by: Vishnu Patekar

Re: [U-Boot] [PATCH 08/10] sunxi: do not include display for A83T

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Currently, there no display support for A83T. Signed-off-by: Vishnu Patekar Please merge this one into the "sunxi: Add Machine Support for A83T SOC" commmit. Regards, Hans --- board/sunxi/Kconfig | 1 + 1 file

Re: [U-Boot] [PATCH 04/10] sunxi: power: enabled support for axp818

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Enabled support for AXP818 in SPL and u-boot. DCDC1, DCDC2, DCDC3 and DCSC5 are enabled. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/pmic_bus.c | 15

Re: [U-Boot] [PATCH 00/10] basic support for Allwinner A83T SOC.

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: This patch series adds basic support for Allwinner A83T SOC. Allwinner A83T is octa-core cortex-a7 based SoC. It's clock control unit and prcm, pinmux are different from previous sun8i series. Its processor cores are arragned in two clusters 4 cores

Re: [U-Boot] [PATCH 10/10] sunxi: Add suport for A83T HomletV2 Board by Allwinner

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Add dts and defconfig for h8homletv2 board. H8Homlet Proto v2.0 Board is A83T Dev Board by Allwinner. It has UART, ethernet, USB, HDMI, etc ports on it. A83T patches are tested on this board. For FEL mode it needs USB A-A(Male) cable. I used uart0

Re: [U-Boot] [PATCH 02/10] sunxi: Add support for UART0 in PB pin group on A83T

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: On A83T, PB9,PB10 are UART0 pins. On allwinner A83T Dev board(h8homlet), this uart0 serial connector is exposed. Signed-off-by: Vishnu Patekar This one looks good as is. Regards, Hans ---

Re: [U-Boot] [PATCH 01/10] sunxi: Add Machine Support for A83T SOC

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Allwinner A83T is octa-core cortex-a7 SOC. This enables support for A83T. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 2 ++ board/sunxi/Kconfig | 11 ++-

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-12 Thread Hans de Goede
Hi, On 11-11-15 19:15, Simon Glass wrote: Hi Hans, On 11 November 2015 at 10:02, Hans de Goede <j.w.r.dego...@gmail.com> wrote: Ok, I've ran a whole battery of tests on your u-boot-dm/usb-working branch. Thanks! There are 2 issues: 1) You need to add these change to the

[U-Boot] [PATCH] fastboot: mmc: Fix use of 64 bit division

2015-11-11 Thread Hans de Goede
/ blks, since the passed in "download_bytes" is only 32 bits anyways. But we may want to support files / partitions larger then 4G in the near future and using div_u64 is future proof for when download_bytes' type gets changed to a lbaint_t itself. Signed-off-by: Hans de Goede <hdego.

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-11 Thread Hans de Goede
Hi, On 11-11-15 00:30, Simon Glass wrote: Hi Hans, On 9 November 2015 at 12:25, Simon Glass <s...@chromium.org> wrote: Hi Hans, On 9 November 2015 at 00:22, Hans de Goede <hdego...@redhat.com> wrote: Hi, On 09-11-15 07:48, Simon Glass wrote: Each scan of the USB bus may retu

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-11 Thread Hans de Goede
Hi, On 11-11-15 00:30, Simon Glass wrote: Hi Hans, On 9 November 2015 at 12:25, Simon Glass <s...@chromium.org> wrote: Hi Hans, On 9 November 2015 at 00:22, Hans de Goede <hdego...@redhat.com> wrote: Hi, On 09-11-15 07:48, Simon Glass wrote: Each scan of the USB bus may retu

Re: [U-Boot] [PATCH v2 00/26] usb: Drop requirement for USB unbinding, add tests

2015-11-09 Thread Hans de Goede
Hi Simon, On 09-11-15 07:47, Simon Glass wrote: There was quite a bit of discussion about the change that required the unbinding of USB devices for the subsystem to function correctly. E.g. https://patchwork.ozlabs.org/patch/485637/ The key issue is the usb_get_dev_index() function which is

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-09 Thread Hans de Goede
Hi, On 09-11-15 07:48, Simon Glass wrote: Each scan of the USB bus may return different results. Existing driver-model devices are reused when found, but if a device no longer exists it will stay around, de-activated, but bound. Detect these devices and remove them after the scan completes.

Re: [U-Boot] [PATCH 05/12] spl: mmc: get rid of #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION check

2015-10-23 Thread Hans de Goede
Hi, On 10/23/2015 11:40 AM, Nikita Kiryanov wrote: These are the results for arm boards. Note that I had to manually edit a few files that caused buildman report to stumble with the following type of error Thanks, I see that the compiler manages to reduce the damage done to growing the SPL

Re: [U-Boot] [PATCH 02/12] spl: mmc: add break statements in spl_mmc_load_image()

2015-10-22 Thread Hans de Goede
Hi, On 22-10-15 15:08, Nikita Kiryanov wrote: On Thu, Oct 22, 2015 at 02:37:11PM +0200, Hans de Goede wrote: Hi, On 22-10-15 14:01, Nikita Kiryanov wrote: The original intention of the mmc load_image() function was to try multiple boot modes before failing. This is evident by the lack

Re: [U-Boot] [PATCH 02/12] spl: mmc: add break statements in spl_mmc_load_image()

2015-10-22 Thread Hans de Goede
Hi, On 22-10-15 14:01, Nikita Kiryanov wrote: The original intention of the mmc load_image() function was to try multiple boot modes before failing. This is evident by the lack of break statements in the switch, and the following line in the default case: puts("spl: mmc: no boot mode left to

Re: [U-Boot] [PATCH 04/12] spl: mmc: remove #ifdef CONFIG_SPL_OS_BOOT check

2015-10-22 Thread Hans de Goede
ONFIG_SPL_OS_BOOTHi, On 22-10-15 14:01, Nikita Kiryanov wrote: Implement default versions of falcon mode functions to make the CONFIG_SPL_OS_BOOT check in spl_mmc_load_image() unnecessary, thus reducing its #ifdef complexity. No functional changes. Signed-off-by: Nikita Kiryanov

Re: [U-Boot] [PATCH 03/12] spl: mmc: refactor device location code to its own function

2015-10-22 Thread Hans de Goede
Hi, On 22-10-15 14:01, Nikita Kiryanov wrote: Simplify spl_mmc_load_image() code by moving the part that finds the mmc device into its own function spl_mmc_find_device(), available in two flavors: DM and non-DM. This refactor fixes a bug in which an error in the device location sequence does

Re: [U-Boot] [PATCH 05/12] spl: mmc: get rid of #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION check

2015-10-22 Thread Hans de Goede
Hi, On 22-10-15 14:01, Nikita Kiryanov wrote: Implement defaults for the raw partition image loading so that the #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION in spl_mmc_load_image() will no longer be necessary. This change makes it possible for mmc_load_image_raw_partition() and

[U-Boot] [PATCH] ohci: Add missing cache-flush for hcca area

2015-10-20 Thread Hans de Goede
We need to cache-flush the hcca area after the initial memset, otherwise on the first hc_interrupt we might see an old $random value as done_head and try to interpret that as the address for a completed td (followed by chaos). Signed-off-by: Hans de Goede <hdego...@redhat.com> --- drive

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

2015-10-20 Thread Hans de Goede
9:38 -0400) are available in the git repository at: http://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to fd8133b725198978865ead730ff20d3991e05f20: sunxi: Add CHIP support (2015-10-20 22:48:29 +0200) -------- Han

Re: [U-Boot] [PATCH] arm: sunxi: Add icnova-a20-swac defconfig and dts file

2015-10-19 Thread Hans de Goede
Hi, On 19-10-15 12:38, Stefan Roese wrote: Hi Hans, On 17.10.2015 15:47, Hans de Goede wrote: On 01-10-15 11:41, Stefan Roese wrote: The ICnova-A20-SWAC is a baseboard, equipped with the ICnova-A20 SoM from In-Circuit: http://wiki.in-circuit.de/index.php5?title=ICnova_A20_SODIMM http

Re: [U-Boot] [PATCH] arm: sunxi: Add icnova-a20-swac defconfig and dts file

2015-10-19 Thread Hans de Goede
Marcus Heuer <marcus.he...@swac.de> Cc: Hans de Goede <hdego...@redhat.com> Cc: Ian Campbell <i...@hellion.org.uk> --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun7i-a20-icnova-a20-swac.dts | 177 + board/sunxi/MAINTAINERS

Re: [U-Boot] [PATCH] RFC: dm: Add proposed timeline and guide for porting serial drivers

2015-10-19 Thread Hans de Goede
Hi, On 18-10-15 14:18, Simon Glass wrote: Hi, On 9 September 2015 at 12:06, Simon Glass <s...@chromium.org> wrote: Hi, On Saturday, 5 September 2015, Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote: On Sat, 5 Sep 2015 15:52:03 +0200 Hans de Goede <hdego...@redhat.c

Re: [U-Boot] [PATCH 4/5] dm: usb: Add support for USB keyboards with driver model

2015-10-19 Thread Hans de Goede
Hi, On 19-10-15 01:17, Simon Glass wrote: Hi Hans, On 12 September 2015 at 09:15, Hans de Goede <hdego...@redhat.com> wrote: Hi, On 08-09-15 19:15, Simon Glass wrote: Switch USB keyboards over to use driver model instead of scanning with the horrible usb_get_dev_index() fu

Re: [U-Boot] [PATCH] arm: sunxi: Add icnova-a20-swac defconfig and dts file

2015-10-17 Thread Hans de Goede
, LCD and USB support. Thanks, I've merged this and it will show up in u-boot-sunxi/next soon. I've made 2 small changes, see comments inline. Signed-off-by: Stefan Roese <s...@denx.de> Cc: Marcus Heuer <marcus.he...@swac.de> Cc: Hans de Goede <hdego...@redhat.com> C

Re: [U-Boot] [PATCH v2 00/14] Implement fastboot over NAND and sparse transfers

2015-10-17 Thread Hans de Goede
Hi, On 15-10-15 14:34, Maxime Ripard wrote: Hi everyone, Here is the second attempt at getting fastboot flashing functions working on top of a NAND, for arbitraly large images. While the NAND support itself was quite easy to do, the support for the Android sparse images was quite difficult to

Re: [U-Boot] [PATCH v2 00/14] Implement fastboot over NAND and sparse transfers

2015-10-17 Thread Hans de Goede
Hi, On 17-10-15 15:59, Hans de Goede wrote: Hi, On 15-10-15 14:34, Maxime Ripard wrote: Hi everyone, Here is the second attempt at getting fastboot flashing functions working on top of a NAND, for arbitraly large images. While the NAND support itself was quite easy to do, the support

Re: [U-Boot] [PATCH v2 7/7] sunxi: Add CHIP support

2015-10-17 Thread Hans de Goede
Hi, On 15-10-15 22:04, Maxime Ripard wrote: The C.H.I.P. is a small SBC with an Allwinner R8, 8GB of NAND, 512MB of RAM, USB host and OTG, a wifi / bluetooth combo chip, an audio/video jack and two connectors to plug additional boards on top of it. The DT is identical to the DT submitted to

[U-Boot] [PATCH v2 1/2] sunxi: Fix sorting of boards in MAINTAINERS

2015-10-15 Thread Hans de Goede
Signed-off-by: Hans de Goede <hdego...@redhat.com> --- board/sunxi/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index c6371ea..dd27487 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@

[U-Boot] [PATCH v2 2/2] sunxi: Add defconfig for the Sinovoip BPI-M2 board

2015-10-15 Thread Hans de Goede
regulators. DLDO1 is used for Vdd for the ethernet phy, ALDO2 is used for AVdd for the ethernet phy. ALDO1 is used to power the sdio wifi module. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun6i-a3

[U-Boot] [PATCH v2] sunxi: Add a bootcmd_sunxi_compat to the default environment to boot old kernels

2015-10-11 Thread Hans de Goede
ld and new kernels. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- Changes in v2: -Rename env variable from bootcmd_old to bootcmd_sunxi_compat -Set the default root environment value used from the bootcmd_sunxi_compat script rather then polluting the default environment wit

Re: [U-Boot] [PATCH 4/7] sunxi: power: Change A23/A33 VDD-SYS default from 1.2V to 1.1V

2015-10-11 Thread Hans de Goede
Hi, On 10-10-15 16:13, Chen-Yu Tsai wrote: On Sat, Oct 3, 2015 at 10:26 PM, Hans de Goede <hdego...@redhat.com> wrote: Change the axp223 dcdc2 / VDD-SYS default from 1.2V to 1.1V, 1.1V is the value recommended by Allwinner and is what most fex files specify. This has been tested on a

Re: [U-Boot] [PATCH] sunxi: Add a bootcmd_old to the default environment to boot old kernels

2015-10-11 Thread Hans de Goede
Hi, On 11-10-15 11:12, Ian Campbell wrote: On Fri, 2015-10-09 at 18:15 +0200, Hans de Goede wrote: Add a bootcmd_old value to the default environment when building with CONFIG_OLD_SUNXI_KERNEL_COMPAT, this way people who occasionally want to boot an old kernel can do so by simply typing &quo

Re: [U-Boot] [PATCH v2] sunxi: Kconfig-ify CONFIG_AXP152_POWER and _AXP209_POWER

2015-10-11 Thread Hans de Goede
Hi, On 11-10-15 11:04, Ian Campbell wrote: On Sat, 2015-10-10 at 14:24 +0200, Hans de Goede wrote: [...] + Select this to enable support for the axp152 pmic found on most + A10s boards. [...] + Select this to enable support for the axp209 pmic found on most + A10, A13

Re: [U-Boot] [PATCH 0/2] sunxi: Linksprite_pcDuino_defconfig bugfixes

2015-10-10 Thread Hans de Goede
Hi, On 08-10-15 22:22, Siarhei Siamashka wrote: Fixes for DRAM reliability problems and unsafe use of the PH6 pin. Thanks, I've applied this to the u-boot-sunxi tree, and I've send out a pull-req so that we can hoepfully still get these fixes into v2015.10 Regards, Hans

[U-Boot] Please pull u-boot-sunxi master for v2015.10

2015-10-10 Thread Hans de Goede
Hi Tom, Here is a last-minute bugfix pull-req v2015.10. This pull-req only touches a single defconfig file, fixing some stability issues seen on the board in question by lowering the dram-clk. The following changes since commit 38ab75a2aa54b97429b2f33ff5d3c7ddcabf1456: Merge

[U-Boot] [PATCH v2] sunxi: Kconfig-ify CONFIG_AXP152_POWER and _AXP209_POWER

2015-10-10 Thread Hans de Goede
explicitly select SUNXI_NO_PMIC in their defconfig. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- Changes in v2: -Turn the pmic selection into a choice, add a SUNXI_NO_PMIC option --- configs/A10-OLinuXino-Lime_defconfig | 2 +- configs/A10s-OLinuXino-M_defconfig

[U-Boot] [PATCH 1/3] sunxi: power: Add support for disabling axp209 regulators

2015-10-10 Thread Hans de Goede
Add support for disabling the regulators found on the axp209 pmic. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- drivers/power/axp209.c | 50 ++ include/axp209.h | 8 2 files changed, 54 insertions(+), 4 deletions(-)

[U-Boot] [PATCH 2/3] sunxi: power: Change axp209 LDO3 and LDO4 default to disabled

2015-10-10 Thread Hans de Goede
LDO3 and LDO4 are normally either unused, or used to power csi attached camera sensors, and as such do not need to be enabled at boot time. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- drivers/power/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

[U-Boot] [PATCH 3/3] sunxi: power: Columbus: only enable ELDO3 when necessary

2015-10-10 Thread Hans de Goede
ELDO3 is only necessary when using the lcd-panel, and not when using hdmi, the display code already takes care of enabling ELDO3 when necessary, so there is no need to permanently enable it in the deconfig. Signed-off-by: Hans de Goede <hdego...@redhat.com> --- configs/Colombus_defconf

[U-Boot] [PATCH] sunxi: Add a bootcmd_old to the default environment to boot old kernels

2015-10-09 Thread Hans de Goede
Signed-off-by: Hans de Goede <hdego...@redhat.com> --- include/configs/sunxi-common.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 29745fe..37e9c6b 100644 --- a/include/configs/sunxi-common.h +++ b

Re: [U-Boot] [PATCH 1/7] sunxi: Kconfig-ify CONFIG_AXP152_POWER and _AXP209_POWER

2015-10-09 Thread Hans de Goede
Hi, On 09-10-15 08:49, Ian Campbell wrote: On Sat, 2015-10-03 at 16:26 +0200, Hans de Goede wrote: Note that sun5i boards can have either an AXP209 or an AXP152 pmic, Is it actually xor? I think so given that you later on unify the names such that they cannot be compiled in at the same time

Re: [U-Boot] [PATCH 3/7] sunxi: power: Unify axp pmic function names

2015-10-09 Thread Hans de Goede
Hi, On 09-10-15 10:31, Ian Campbell wrote: On Sat, 2015-10-03 at 22:16 +0200, Hans de Goede wrote: Hi, On 03-10-15 16:32, Chen-Yu Tsai wrote: On Sat, Oct 3, 2015 at 10:26 PM, Hans de Goede <hdego...@redhat.com> wrote: Stop prefixing the axp functions for setting voltage

Re: [U-Boot] [PATCH 3/7] sunxi: power: Unify axp pmic function names

2015-10-09 Thread Hans de Goede
Hi, On 09-10-15 14:41, Ian Campbell wrote: On Fri, 2015-10-09 at 13:24 +0200, Hans de Goede wrote: Hi, On 09-10-15 10:31, Ian Campbell wrote: On Sat, 2015-10-03 at 22:16 +0200, Hans de Goede wrote: Hi, On 03-10-15 16:32, Chen-Yu Tsai wrote: On Sat, Oct 3, 2015 at 10:26 PM, Hans de Goede

Re: [U-Boot] ubifs patchset

2015-10-08 Thread Hans de Goede
Hi Heiko, On 10/08/2015 10:37 AM, Heiko Schocher wrote: Hello Tom, Hans, Hans has 5 pending UBIFS patches: Patchwork [U-Boot,v2,1/5] disk/part: Only build hostfs special handling when CONFIG_SANDBOX is set http://patchwork.ozlabs.org/patch/519059/ Patchwork [U-Boot,v2,2/5] ubifs: Modify

<    1   2   3   4   5   6   7   8   9   10   >