[U-Boot] [PATCH] ARM: bcm2835: use phys_to_bus() for mbox

2015-04-04 Thread Stephen Warren
When we communicate with the VideoCore to perform property mailbox transactions, that is a DMA operation as far as the property buffer is concerned. Use phys_to_bus() on that buffer. Signed-off-by: Stephen Warren --- While this isn't USB-related, it does depend on patches that went into the USB t

[U-Boot] [PATCH 1/3 v2] common/armflash: Support for ARM flash images

2015-04-04 Thread Linus Walleij
The ARM reference designs all use a special flash image format that stores a footer (two versions exist) at the end of the last erase block of the image in flash memory. Version one of the footer is indicated by the magic number 0xA09F at 12 bytes before the end of the flash block and version

[U-Boot] [PATCH 2/3 v2] vexpress64: juno: add default NOR flash boot

2015-04-04 Thread Linus Walleij
This modifies the vexpress64 Juno configuration so that it will by default load and boot a kernel and a device tree from the images stored in the NOR flash. When we are at it, also define the proper command line for the Juno and indicate that the USB stick (/dev/sda1) is the default root file syste

[U-Boot] [PATCH 3/3 v2] integrator: consolidate flash info

2015-04-04 Thread Linus Walleij
This consolidates the flash settings for the Integrator and activates the new ARM flash image support for them so images can be loaded by name from flash. Reviewed-by: Tom Rini Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Rebase on the upstream baseline - Add Tom's ACK --- include/confi

Re: [U-Boot] [PATCH 2/2] sunxi: Complete i2c support for each supported platform

2015-04-04 Thread Paul Kocialkowski
Le samedi 04 avril 2015 à 15:29 +0200, Hans de Goede a écrit : > Hi, > > On 04-04-15 14:54, Paul Kocialkowski wrote: > > Hi Hans, > > > > Le samedi 04 avril 2015 à 14:18 +0200, Hans de Goede a écrit : > >> On 04-04-15 13:27, Paul Kocialkowski wrote: > >>> Sunxi platforms come with at least 3 TWI (

[U-Boot] [PATCH v2 3/3] sunxi: I2C/TWI configs for a few single-board-computers

2015-04-04 Thread Paul Kocialkowski
This enables the exposed I2C/TWI busses on a few single-board-computers (Olimex and Cubieboard). Signed-off-by: Paul Kocialkowski --- configs/A10-OLinuXino-Lime_defconfig | 2 ++ configs/A10s-OLinuXino-M_defconfig| 2 ++ configs/A13-OLinuXinoM_defconfig | 2 ++ configs/A13-OLinuXino_de

[U-Boot] [PATCH v2 1/3] i2c: mvtwsi: Support for up to 4 different controllers

2015-04-04 Thread Paul Kocialkowski
Orion5x, Kirkwood and Armada XP platforms come with a single TWSI (I2C) MVTWSI controller. However, other platforms using MVTWSI may come with more: this is the case on Allwinner (sunxi) platforms, where up to 4 controllers can be found on the same chip. Signed-off-by: Paul Kocialkowski --- arch

[U-Boot] [PATCH v2 2/3] sunxi: Complete i2c support for each supported platform

2015-04-04 Thread Paul Kocialkowski
Sunxi platforms come with at least 3 TWI (I2C) controllers and some platforms even have up to 5. This adds support for every controller on each supported platform, which is especially useful when using expansion ports on single-board- computers. Signed-off-by: Paul Kocialkowski --- arch/arm/incl

[U-Boot] [PATCH 0/3] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-04 Thread Paul Kocialkowski
Changes since v1: * Kconfig option to enable I2C/TWI controllers 1-4 (when applicable) * Following patch to enable exposed busses on a few community-supported single-board-computers This series adds support for every i2c controller found on sun4i/sun5i/sun6i/sun7i/sun8i platforms and shouldn't b

Re: [U-Boot] u-boot: OpenRD Ultimate fails to build

2015-04-04 Thread drEagle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Le 03/04/2015 23:46, Vagrant Cascadian a écrit : > On 2015-03-25, drEagle wrote: >> Le 21/03/2015 15:53, Vagrant Cascadian a écrit : >>> It seems that OpenRD Ultimate with u-boot 2015.04-rc3 and newer no >>> longer builds from source, both in Debian

Re: [U-Boot] [PATCH] imx: ipu: fix occasional hang following disabling of channel

2015-04-04 Thread Liu Ying
Hi Tim, Does your code base contain this patch[1]? It probably addressed the same issue you meet. [1] http://lists.denx.de/pipermail/u-boot/2014-February/174533.html Regards, Liu Ying On Fri, Apr 03, 2015 at 04:59:57PM -0700, Tim Harvey wrote: > It has been observed that some IMX6SDL SoC will h

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 16:02, Paul Kocialkowski wrote: Le samedi 04 avril 2015 à 15:48 +0200, Hans de Goede a écrit : Hi, On 04-04-15 15:42, Paul Kocialkowski wrote: Le dimanche 29 mars 2015 à 13:18 +0200, Hans de Goede a écrit : Hi, On 28-03-15 18:26, Paul Kocialkowski wrote: musb might be used

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-04-04 Thread Paul Kocialkowski
Le samedi 04 avril 2015 à 15:48 +0200, Hans de Goede a écrit : > Hi, > > On 04-04-15 15:42, Paul Kocialkowski wrote: > > Le dimanche 29 mars 2015 à 13:18 +0200, Hans de Goede a écrit : > >> Hi, > >> > >> On 28-03-15 18:26, Paul Kocialkowski wrote: > >>> musb might be used in gadget mode on sunxi,

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 15:42, Paul Kocialkowski wrote: Le dimanche 29 mars 2015 à 13:18 +0200, Hans de Goede a écrit : Hi, On 28-03-15 18:26, Paul Kocialkowski wrote: musb might be used in gadget mode on sunxi, so we don't want to assume anything related to host mode, especially USB keyboard support

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-04-04 Thread Paul Kocialkowski
Le dimanche 29 mars 2015 à 13:18 +0200, Hans de Goede a écrit : > Hi, > > On 28-03-15 18:26, Paul Kocialkowski wrote: > > musb might be used in gadget mode on sunxi, so we don't want to assume > > anything > > related to host mode, especially USB keyboard support. Thus, there is no > > reason >

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

2015-04-04 Thread Hans de Goede
Hi Tom, Please pull u-boot-sunxi/master into master for a small bugfix for v2015.04. This fixes the CONFIG_FDTFILE setting in a defconfig file so that we do not end up loading the wrong dtb: The following changes since commit d68df028099235c5316eec1ed5f586f3744a8707: Merge git://git.denx.de/u

Re: [U-Boot] [PATCH 2/2] sunxi: Complete i2c support for each supported platform

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 14:54, Paul Kocialkowski wrote: Hi Hans, Le samedi 04 avril 2015 à 14:18 +0200, Hans de Goede a écrit : On 04-04-15 13:27, Paul Kocialkowski wrote: Sunxi platforms come with at least 3 TWI (I2C) controllers and some platforms even have up to 5. This adds support for every cont

[U-Boot] [PATCH v3 1/3] usb: usb_new_device return codes consistency

2015-04-04 Thread Paul Kocialkowski
This makes use of errno return codes for representing error codes in a unified way. Signed-off-by: Paul Kocialkowski --- common/usb.c | 58 +- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/common/usb.c b/common/usb.c index

[U-Boot] [PATCH v3 3/3] usb: Early failure when the first descriptor read fails or is invalid

2015-04-04 Thread Paul Kocialkowski
This may happen when using an USB1 device on a controller that only supports USB2 (e.g. EHCI). Reading the first descriptor will fail (read 0 byte), so we can abort the process at this point instead of failing later and wasting time. Signed-off-by: Paul Kocialkowski --- common/usb.c | 5 - 1

[U-Boot] [PATCH v3 2/3] usb: Check usb_new_device for failure

2015-04-04 Thread Paul Kocialkowski
This checks that a new USB device is correctly initialized and frees it if not. In addition, this doesn't report that USB was started when no device was found. Signed-off-by: Paul Kocialkowski --- common/usb.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/co

Re: [U-Boot] [PATCH 2/2] sunxi: Complete i2c support for each supported platform

2015-04-04 Thread Paul Kocialkowski
Hi Hans, Le samedi 04 avril 2015 à 14:18 +0200, Hans de Goede a écrit : > On 04-04-15 13:27, Paul Kocialkowski wrote: > > Sunxi platforms come with at least 3 TWI (I2C) controllers and some > > platforms > > even have up to 5. This adds support for every controller on each supported > > platform,

Re: [U-Boot] [PATCH 2/2] sunxi: Complete i2c support for each supported platform

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 13:27, Paul Kocialkowski wrote: Sunxi platforms come with at least 3 TWI (I2C) controllers and some platforms even have up to 5. This adds support for every controller on each supported platform, which is especially useful when using expansion ports on single-board- computers. S

Re: [U-Boot] [PATCH 0/2] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 13:27, Paul Kocialkowski wrote: This series adds support for every i2c controller found on sun4i/sun5i/sun6i/sun7i/sun8i platforms and shouldn't break support for Marvell platforms (orion5x, kirkwood, armada xp) the driver was originally written for. Regarding sunxi, I double-ch

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: Support for up to 4 different controllers

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 13:27, Paul Kocialkowski wrote: Orion5x, Kirkwood and Armada XP platforms come with a single TWSI (I2C) MVTWSI controller. However, other platforms using MVTWSI may come with more: this is the case on Allwinner (sunxi) platforms, where up to 4 controllers can be found on the same

[U-Boot] [PATCH 1/2] i2c: mvtwsi: Support for up to 4 different controllers

2015-04-04 Thread Paul Kocialkowski
Orion5x, Kirkwood and Armada XP platforms come with a single TWSI (I2C) MVTWSI controller. However, other platforms using MVTWSI may come with more: this is the case on Allwinner (sunxi) platforms, where up to 4 controllers can be found on the same chip. Signed-off-by: Paul Kocialkowski --- arch

[U-Boot] [PATCH 2/2] sunxi: Complete i2c support for each supported platform

2015-04-04 Thread Paul Kocialkowski
Sunxi platforms come with at least 3 TWI (I2C) controllers and some platforms even have up to 5. This adds support for every controller on each supported platform, which is especially useful when using expansion ports on single-board- computers. Signed-off-by: Paul Kocialkowski --- arch/arm/incl

[U-Boot] [PATCH 0/2] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-04 Thread Paul Kocialkowski
This series adds support for every i2c controller found on sun4i/sun5i/sun6i/sun7i/sun8i platforms and shouldn't break support for Marvell platforms (orion5x, kirkwood, armada xp) the driver was originally written for. Regarding sunxi, I double-checked that this doesn't conflict with VIDEO_LCD_PAN

Re: [U-Boot] [PATCH] sunxi: Fix Orangepi_mini dtb filename

2015-04-04 Thread Ian Campbell
On Sat, 2015-04-04 at 10:39 +0200, Hans de Goede wrote: > The Orangepi_mini is different enough from the regular Orangepi that it needs > its own dtb, but when it got added a copy and paste error was made and it > got the same dtb filename, fix this. > > While at it also add a short description of

Re: [U-Boot] [PATCH] fdt: nios: Fix warning in ft_cpu_setup()

2015-04-04 Thread Thomas Chou
Hi Simon, On 2015年04月04日 07:57, Simon Glass wrote: This function should not return a value. Signed-off-by: Simon Glass --- arch/nios2/cpu/fdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/nios2/cpu/fdt.c b/arch/nios2/cpu/fdt.c index 5024682..79f72aa 100644 --- a/arch/nios2/cp

[U-Boot] [PATCH] sunxi: Fix Orangepi_mini dtb filename

2015-04-04 Thread Hans de Goede
The Orangepi_mini is different enough from the regular Orangepi that it needs its own dtb, but when it got added a copy and paste error was made and it got the same dtb filename, fix this. While at it also add a short description of both Orangepi boards to the defconfig files for them. Signed-off