Re: [U-Boot] [PATCH V2 1/2] pinctrl: imx: Introduce pinctrl driver for i.MX6

2016-02-15 Thread Peng Fan
Hi Simon, Gentle ping.. Thanks, Peng. On Wed, Feb 03, 2016 at 10:06:07AM +0800, Peng Fan wrote: >Introduce pinctrl for i.MX6 >1. pinctrl-imx.c is for common usage. It's used by i.MX6/7. >2. Add PINCTRL_IMX PINCTRL_IMX6 Kconfig entry. >3. To the pinctrl_ops implementation, only set_state is imple

Re: [U-Boot] [PATCH v6 09/76] mtd: spi-nor: Add dm spi-nor probing

2016-02-15 Thread Jagan Teki
Hi Masahiro, On 15 February 2016 at 02:18, Jagan Teki wrote: > This patch adds driver-model probe from cmd_sf through > MTD_DM_SPI_NOR which is depends on MTD and DM_SPI uclass. > > Cc: Simon Glass > Cc: Bin Meng > Cc: Mugunthan V N > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > Signe

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-02-15 Thread Lukasz Majewski
Hi Marek, > On 02/12/2016 02:51 PM, Lukasz Majewski wrote: > > Hi Marek, > > > >> On 02/12/2016 12:04 PM, Lukasz Majewski wrote: > >>> The following changes since commit > >>> 7aeb1465329a997f93d00adee21a13732b8e1006: > >>> > >>> usb: ehci: Be explicit about the BE IO accessors (2016-02-11 > >>

Re: [U-Boot] Adding support for SPI-attached MR25H256 MRAM with Device Tree

2016-02-15 Thread Jagan Teki
On 24 November 2015 at 14:59, Simon Falsig wrote: >>On 20 November 2015 at 19:13, Simon Falsig wrote: >>> I have a custom board based on a TI AM3356 processor (quite similar to >>> a BeagleBone) with an Everspin MR25H256 MRAM attached to the SPI bus, >>> currently using U-Boot 2015.10 to boot a 3

[U-Boot] [PATCH 2/2] drivers/crypto/fsl: define structures for PDB

2016-02-15 Thread Aneesh Bansal
Structures have been defined for PDB (Protocol Data Blcks) for various operations. These structure will be used to add PDB data while creating the PDB descriptors. CC: Ulises Cardenas Signed-off-by: Ruchika Gupta Signed-off-by: Aneesh Bansal --- drivers/crypto/fsl/desc.h | 55 +

[U-Boot] [PATCH 1/2] drivers/crypto/fsl: add constructs for protocol descriptors

2016-02-15 Thread Aneesh Bansal
Construct API's have been added to create Protocol Descriptors for CAAM block. CC: Ulises Cardenas Signed-off-by: Ruchika Gupta Signed-off-by: Aneesh Bansal --- drivers/crypto/fsl/desc.h| 25 + drivers/crypto/fsl/desc_constr.h | 27 +++ 2

[U-Boot] [PATCH 2/3] net: zynq_gem: Add support for SGMII interface

2016-02-15 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add support of SGMII interface for zynq GEM. Read xlnx,emio property from DT. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) d

[U-Boot] [PATCH 1/3] phy: Add phy driver support for xilinx PCS/PMA core

2016-02-15 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add phy driver support for xilinx PCS/PMA core Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Kedareswara rao Appana Signed-off-by: Michal Simek --- drivers/net/phy/Makefile | 1 + drivers/net/phy/phy.c| 3 + drivers/net/phy/xilinx_

[U-Boot] [PATCH 3/3] zynq-common: Enable phy driver for Xilinx PCS/PMA core

2016-02-15 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add support of Xilinx PCS/PMA core phy for Zynq Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-co

[U-Boot] [PATCH v4 2/6] dma: Kconfig: Add TI_EDMA3 entry

2016-02-15 Thread Mugunthan V N
Add TI_EDMA3 entry on Kconfig with help description. Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/dma/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 58cb6e9..1b92c77 100644 --- a/drivers/dma/Kconfig +++ b/d

[U-Boot] [PATCH v4 0/6] add dma uclass implementation and adopt ti-edma3 to it

2016-02-15 Thread Mugunthan V N
This patch series enables adds support for dma driver model and to adopt driver model. This has been tested on am437x-sk evm (logs [1]). also pushed a branch for testing [2] [1]: http://pastebin.ubuntu.com/15073097/ [2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dma-v4 change

[U-Boot] [PATCH v4 3/6] sf: spi_flash: use dma to copy data from mmap region if platform supports

2016-02-15 Thread Mugunthan V N
Add dma memcpy api to the default spi_flash_copy_mmap(), so that dma will be used to copy data when CONFIG_DMA is defined for the platform. Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/mtd/spi/spi_flash.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/

[U-Boot] [PATCH v4 1/6] dm: implement a DMA uclass

2016-02-15 Thread Mugunthan V N
Implement a DMA uclass so that the devices like ethernet, spi, mmc etc can offload the data transfers from/to the device and memory. Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/dma/Kconfig | 15 + drivers/dma/Makefile | 2 ++ drivers/dma/dma-uclass.c | 72

[U-Boot] [PATCH v4 4/6] spi: ti_qspi: compile out spi_flash_copy_mmap when CONFIG_DMA is defined

2016-02-15 Thread Mugunthan V N
When CONFIG_DMA is defined the default spi_flash_copy_mmap() can handle dma memory copy, so compile out spi_flash_copy_mmap() from ti_qspi driver when CONFIG_DMA config is defined. Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/spi/ti_qspi.c | 2 +- 1 file changed, 1 insertio

[U-Boot] [PATCH v4 5/6] drivers: dma: ti-edma3: convert driver to adopt driver model

2016-02-15 Thread Mugunthan V N
adopt ti-edma3 driver to device driver model Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/dma/ti-edma3.c | 82 -- 1 file changed, 80 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ti-edma3.c b/drivers/dma/ti-edma3.c i

[U-Boot] [PATCH v4 6/6] defconfig: am437x_sk_evm: enable dma driver model

2016-02-15 Thread Mugunthan V N
enable dma driver model for am437x_sk_evm as ti-edma3 supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- configs/am437x_sk_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_sk_evm_defconfig b/configs/am437x_sk_evm_defconfig index 9eb41

[U-Boot] [Patch V4 1/3] qe: move drivers/qe/qe.h to include/fsl_qe.h

2016-02-15 Thread Gong Qianyu
As the QE firmware struct is shared with Fman, move the header file out of drivers/qe/. Signed-off-by: Gong Qianyu --- V4: - Updated and based on the latest commit. No code changed but fixed "git am" error. V3: - Move file changes about "qe.h" to this patch. V2: - New Patch. arch/powerpc/

[U-Boot] [Patch V4 3/3] armv8/fsl-layerscape: fdt: add fixup for Fman ucode

2016-02-15 Thread Gong Qianyu
Add fdt fixup to insert Fman firmware into the device tree. Signed-off-by: Gong Qianyu --- V4: - No change. V3: - Remove fman clock fixup. - Revise commit message too. V2: - Removed the duplicated function. arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 7 +++ 1 file changed, 7 insertions(+)

[U-Boot] [Patch V4 2/3] fm: fdt: Move fman ucode fixup to Fman driver code

2016-02-15 Thread Gong Qianyu
Both Freescale Layerscape and powerpc/mpc85xx platforms are using fdt_fixup_fman_firmware() to insert Fman ucode blob into the device tree. So move the function to driver code. Signed-off-by: Gong Qianyu --- V4: - No change. V3: - Remove file changes about "qe.h". (Should be put in the first

Re: [U-Boot] [PATCH] fdt: Try to read #address-cells/size-cells from parent

2016-02-15 Thread Michal Simek
Hi Simon, On 10.2.2016 13:04, Michal Simek wrote: > Read #address-cells and #size-cells from parent if they are not present in > current node. > > Signed-off-by: Michal Simek > --- > > I have code which read information about memory for zynqmp but memory > node most of the time doesn't contain

Re: [U-Boot] [PATCH v3] imx: imx7 Support for Manufacturing Protection

2016-02-15 Thread Ruchika Gupta
> diff --git a/drivers/crypto/fsl/Makefile b/drivers/crypto/fsl/Makefile index > fd736cf..6d6903b 100644 > --- a/drivers/crypto/fsl/Makefile > +++ b/drivers/crypto/fsl/Makefile > @@ -8,3 +8,7 @@ obj-y += sec.o > obj-$(CONFIG_FSL_CAAM) += jr.o fsl_hash.o jobdesc.o error.o > obj-$(CONFIG_CMD_BLOB)$

[U-Boot] [PATCH] i2c: spd: Extend SPD memory types

2016-02-15 Thread Michal Simek
Decode DDR, DDR3 and DDR4 memories. Signed-off-by: Michal Simek --- cmd/i2c.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/cmd/i2c.c b/cmd/i2c.c index b3bb64408fe1..18ce789d7edd 100644 --- a/cmd/i2c.c +++ b/cmd/i2c.c @@ -1141,7 +1141,7 @@ static void decode

Re: [U-Boot] [PATCH] gpio: Correct handling of 'gpio status'

2016-02-15 Thread Bin Meng
On Mon, Feb 15, 2016 at 7:28 AM, Simon Glass wrote: > This is broken - we need to look at the first two characters to distinguish > 'gpio status' from 'gpio set'. > > Fixes: 0ffe6ab5 (gpio: Allow 's' as an abbreviation for 'status') > Reported-by: Soeren Moch > Signed-off-by: Simon Glass > --- >

Re: [U-Boot] [PATCH] cmd/gpio: fix not working 'gpio set' command

2016-02-15 Thread Hannes Schmelzer
On 15.02.2016 07:50, Hannes Schmelzer wrote: From: Hannes Schmelzer In commit 0ffe6ab521f900bcc765be8f2f31d2c2ba3f0a7e the abbreviation for the subcommand 'status' was introduced and breaks the 'gpio set' command. The change runs a test on the first character of the subcommand only, this metho

Re: [U-Boot] [PATCH] gpio: Correct handling of 'gpio status'

2016-02-15 Thread Hannes Schmelzer
On 15.02.2016 00:28, Simon Glass wrote: This is broken - we need to look at the first two characters to distinguish 'gpio status' from 'gpio set'. Fixes: 0ffe6ab5 (gpio: Allow 's' as an abbreviation for 'status') Reported-by: Soeren Moch Signed-off-by: Simon Glass --- cmd/gpio.c | 2 +- 1

Re: [U-Boot] [PATCH] cmd/gpio: fix not working 'gpio set' command

2016-02-15 Thread Bin Meng
Hi Hannes, On Mon, Feb 15, 2016 at 2:50 PM, Hannes Schmelzer wrote: > From: Hannes Schmelzer > > In commit 0ffe6ab521f900bcc765be8f2f31d2c2ba3f0a7e the abbreviation for > the subcommand 'status' was introduced and breaks the 'gpio set' > command. > > The change runs a test on the first character

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-15 Thread Bin Meng
Hi Michal, On Mon, Feb 15, 2016 at 3:16 PM, Michal Simek wrote: > Hi Bin, > > On 14.2.2016 13:00, Bin Meng wrote: >> Hi Michal, >> >> On Sun, Feb 14, 2016 at 6:03 PM, Michal Simek wrote: >>> Hi Bin, >>> >>> 2016-02-14 3:25 GMT+01:00 Bin Meng : Hi Michal, On Sat, Feb 13, 2016

Re: [U-Boot] [PATCH v6 66/76] spi: Drop mode_rx

2016-02-15 Thread Bin Meng
Hi Jagan, On Mon, Feb 15, 2016 at 4:49 AM, Jagan Teki wrote: > mp2580 will take care of tx and rx mode's so there is > no need to differentiate these into spi layer level > hence replaced all mode_rx macros with mode. > > Cc: Simon Glass > Cc: Bin Meng > Cc: Mugunthan V N > Cc: Michal Simek >

Re: [U-Boot] [PATCH] Gracefully handle 64-bit Load Address and Entry Point Address mkimage parameters

2016-02-15 Thread Wolfgang Denk
Dear William, In message <1455506732-22307-1-git-send-email-wco...@redhat.com> you wrote: > > Recent MIPS Linux kernels are using a 64-bit value for the load > address (0x8001) for the Creator CI20 board kernel. When > this argument was passed to the mkimage program running on a 32-b

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-15 Thread Michal Simek
On 15.2.2016 12:10, Bin Meng wrote: > Hi Michal, > > On Mon, Feb 15, 2016 at 3:16 PM, Michal Simek wrote: >> Hi Bin, >> >> On 14.2.2016 13:00, Bin Meng wrote: >>> Hi Michal, >>> >>> On Sun, Feb 14, 2016 at 6:03 PM, Michal Simek wrote: Hi Bin, 2016-02-14 3:25 GMT+01:00 Bin Meng : >

Re: [U-Boot] [PATCH v6 66/76] spi: Drop mode_rx

2016-02-15 Thread Jagan Teki
Hi Bin, On 15 February 2016 at 16:46, Bin Meng wrote: > Hi Jagan, > > On Mon, Feb 15, 2016 at 4:49 AM, Jagan Teki wrote: >> mp2580 will take care of tx and rx mode's so there is >> no need to differentiate these into spi layer level >> hence replaced all mode_rx macros with mode. >> >> Cc: Simon

Re: [U-Boot] [PATCH v4 0/6] add dma uclass implementation and adopt ti-edma3 to it

2016-02-15 Thread Jagan Teki
On 15 February 2016 at 15:31, Mugunthan V N wrote: > This patch series enables adds support for dma driver model and > to adopt driver model. This has been tested on am437x-sk evm > (logs [1]). > also pushed a branch for testing [2] > > [1]: http://pastebin.ubuntu.com/15073097/ > [2]: git://git.ti

Re: [U-Boot] [PATCH] ARM: zynq: Wire-up saving environment to QSPI

2016-02-15 Thread Jagan Teki
On 13 February 2016 at 16:32, Michal Simek wrote: > Extend options for saving variables to QSPI. > > Signed-off-by: Michal Simek > --- Applied to u-boot-spi/master -- Jagan. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/li

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-02-15 Thread Marek Vasut
On 02/15/2016 10:30 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 02/12/2016 02:51 PM, Lukasz Majewski wrote: >>> Hi Marek, >>> On 02/12/2016 12:04 PM, Lukasz Majewski wrote: > The following changes since commit > 7aeb1465329a997f93d00adee21a13732b8e1006: > > usb: ehci: Be

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-15 Thread Joe Hershberger
Hi Bin, On Sun, Feb 14, 2016 at 6:00 AM, Bin Meng wrote: > Hi Michal, > > On Sun, Feb 14, 2016 at 6:03 PM, Michal Simek wrote: >> Hi Bin, >> >> 2016-02-14 3:25 GMT+01:00 Bin Meng : >>> >>> Hi Michal, >>> >>> On Sat, Feb 13, 2016 at 6:39 PM, Michal Simek wrote: >>> > Add support for reading MAC

Re: [U-Boot] [Regression] gpio set command broken

2016-02-15 Thread Simon Glass
HI Tom, On Feb 15, 2016 08:59, "Tom Rini" wrote: > > On Sun, Feb 14, 2016 at 08:16:55PM +0100, Soeren Moch wrote: > > > commit 0ffe6ab521f900bcc765be8f2f31d2c2ba3f0a7e > > [gpio: Allow 's' as an abbreviation for 'status'] > > > > breaks the u-boot 'gpio set' command. > > I tested this on a tbs291

[U-Boot] [PATCH] cmd: gpio: Fix 'set' regression

2016-02-15 Thread Tom Rini
In 0ffe6ab we changed the test for status from the whole word to just starting with 's' which of course broke 'set', so change the test to 'st' so that it won't catch set (which is still just a test for 's'). Cc: Simon Glass Reported-by: Soeren Moch Signed-off-by: Tom Rini --- cmd/gpio.c |

Re: [U-Boot] [Regression] gpio set command broken

2016-02-15 Thread Soeren Moch
On 15.02.2016 17:00, Tom Rini wrote: > On Sun, Feb 14, 2016 at 08:16:55PM +0100, Soeren Moch wrote: > >> commit 0ffe6ab521f900bcc765be8f2f31d2c2ba3f0a7e [gpio: Allow 's' >> as an abbreviation for 'status'] >> >> breaks the u-boot 'gpio set' command. I tested this on a tbs2910 >> board with defcon

Re: [U-Boot] [Regression] gpio set command broken

2016-02-15 Thread Tom Rini
On Sun, Feb 14, 2016 at 08:16:55PM +0100, Soeren Moch wrote: > commit 0ffe6ab521f900bcc765be8f2f31d2c2ba3f0a7e > [gpio: Allow 's' as an abbreviation for 'status'] > > breaks the u-boot 'gpio set' command. > I tested this on a tbs2910 board with defconfig settings. > > Please revert this patch or

Re: [U-Boot] [PATCH v4 0/6] add dma uclass implementation and adopt ti-edma3 to it

2016-02-15 Thread Jagan Teki
On 15 February 2016 at 18:43, Jagan Teki wrote: > On 15 February 2016 at 15:31, Mugunthan V N wrote: >> This patch series enables adds support for dma driver model and >> to adopt driver model. This has been tested on am437x-sk evm >> (logs [1]). >> also pushed a branch for testing [2] >> >> [1]:

Re: [U-Boot] [PATCH] cmd: gpio: Fix 'set' regression

2016-02-15 Thread Tom Rini
On Mon, Feb 15, 2016 at 11:02:55AM -0500, Tom Rini wrote: > In 0ffe6ab we changed the test for status from the whole word to just > starting with 's' which of course broke 'set', so change the test to > 'st' so that it won't catch set (which is still just a test for 's'). > > Cc: Simon Glass > R

Re: [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU

2016-02-15 Thread Kevin Smith
Hi Stefan, On 02/12/2016 06:46 AM, Stefan Roese wrote: > This patch adds a DM GPIO driver for the Marvell MVEBU SoCs. There are > other non-DM drivers that might be used on these platforms. But this > patch creates a new DM driver. Which will be used by all Armada XP/38x > boards. Other MVEBU SoC

[U-Boot] [PATCH V2 2/2] ARM: tegra: enable USB device mode port on Dalmore

2016-02-15 Thread Stephen Warren
From: Stephen Warren This allows U-Boot to expose UMS and DFU protocols on this port in device mode, or to act as a USB host on the port, using an "OTG" (micro-B to female A host) cable. Signed-off-by: Stephen Warren --- v2: Don't set CONFIG_USB_MAX_CONTROLLER_COUNT in config header. --- arch/

[U-Boot] [PATCH V2 1/2] ARM: tegra: don't set CONFIG_USB_MAX_CONTROLLER_COUNT

2016-02-15 Thread Stephen Warren
From: Stephen Warren This option is no longer used now that DM_USB is enabled. Fixes: 534f9d3feffd ("dm: tegra: usb: Move USB to driver model") Signed-off-by: Stephen Warren --- v2: New patch. --- include/configs/apalis_t30.h | 1 - include/configs/beaver.h | 1 - include/configs/colibri

Re: [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU

2016-02-15 Thread Stefan Roese
Hi Kevin, On 15.02.2016 18:13, Kevin Smith wrote: On 02/12/2016 06:46 AM, Stefan Roese wrote: This patch adds a DM GPIO driver for the Marvell MVEBU SoCs. There are other non-DM drivers that might be used on these platforms. But this patch creates a new DM driver. Which will be used by all Arma

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-15 Thread Michal Simek
Hi Joe, 2016-02-15 17:01 GMT+01:00 Joe Hershberger : > Hi Bin, > > On Sun, Feb 14, 2016 at 6:00 AM, Bin Meng wrote: > > Hi Michal, > > > > On Sun, Feb 14, 2016 at 6:03 PM, Michal Simek wrote: > >> Hi Bin, > >> > >> 2016-02-14 3:25 GMT+01:00 Bin Meng : > >>> > >>> Hi Michal, > >>> > >>> On Sat,

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-15 Thread Joe Hershberger
Hi Michal, On Mon, Feb 15, 2016 at 11:41 AM, Michal Simek wrote: > Hi Joe, > > 2016-02-15 17:01 GMT+01:00 Joe Hershberger : >> >> Hi Bin, >> >> On Sun, Feb 14, 2016 at 6:00 AM, Bin Meng wrote: >> > Hi Michal, >> > >> > On Sun, Feb 14, 2016 at 6:03 PM, Michal Simek wrote: >> >> Hi Bin, >> >> >>

[U-Boot] [PATCH] arm: mvebu: db-88f6820: Drop obsolete binary.0 placeholder

2016-02-15 Thread Andreas Färber
It has been superseded in kwbimage.cfg in favor of an SPL in commit 9e30b31d20f0b793465d07f056b3d9885f578c0d (arm: mvebu: db-88f6820: Add SPL support with DDR init code). Found via code review. Cc: Stefan Roese Signed-off-by: Andreas Färber --- board/Marvell/db-88f6820-gp/binary.0 | 16

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-15 Thread Michal Simek
Hi, 2016-02-15 18:53 GMT+01:00 Joe Hershberger : > Hi Michal, > > On Mon, Feb 15, 2016 at 11:41 AM, Michal Simek wrote: > > Hi Joe, > > > > 2016-02-15 17:01 GMT+01:00 Joe Hershberger : > >> > >> Hi Bin, > >> > >> On Sun, Feb 14, 2016 at 6:00 AM, Bin Meng wrote: > >> > Hi Michal, > >> > > >> > O

Re: [U-Boot] [PATCH 13/16] sandbox: spi: Add more debugging to SPI emulation

2016-02-15 Thread Jagan Teki
On 15 February 2016 at 07:06, Simon Glass wrote: > Add a little more debugging to help when things go wrong. > > Signed-off-by: Simon Glass > --- Reviewed-by: Jagan Teki Tested-by: Jagan Teki -- Jagan. ___ U-Boot mailing list U-Boot@lists.denx.de h

Re: [U-Boot] [PATCH 14/16] sandbox: spi: Remove an incorrect free()

2016-02-15 Thread Jagan Teki
On 15 February 2016 at 07:06, Simon Glass wrote: > We must not free data that is managed by driver mode. Remove this line, > which is a hangover from the pre-driver-model code. > > This fixes a problem where 'sf probe' crashes U-Boot if the backing file > for the SPI flash cannot be found. > > Sig

Re: [U-Boot] [PATCH 15/16] spi: Correct two error return values

2016-02-15 Thread Jagan Teki
On 15 February 2016 at 07:06, Simon Glass wrote: > When an error number is provided we should use it, not change it. This fixes > the SPI and SPI flash tests. > > One of these is long-standing. The other seems to have been introduced by > commit 1e90d9fd (sf: Move read_id code to sf_ops). > > Sign

Re: [U-Boot] [PATCH 16/16] spi: Re-enable the SPI flash tests

2016-02-15 Thread Jagan Teki
On 15 February 2016 at 07:07, Simon Glass wrote: > These are working correctly again, so re-enable them. > > Signed-off-by: Simon Glass > --- Reviewed-by: Jagan Teki Tested-by: Jagan Teki -- Jagan. ___ U-Boot mailing list U-Boot@lists.denx.de http:

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-15 Thread Joe Hershberger
Hi Michal, On Mon, Feb 15, 2016 at 12:51 PM, Michal Simek wrote: > Hi, > > 2016-02-15 18:53 GMT+01:00 Joe Hershberger : >> >> Hi Michal, >> >> On Mon, Feb 15, 2016 at 11:41 AM, Michal Simek wrote: >> > Hi Joe, >> > >> > 2016-02-15 17:01 GMT+01:00 Joe Hershberger : >> >> >> >> Hi Bin, >> >> >> >>

Re: [U-Boot] [PATCH 2/3] common: env_flags: include common.h even for HOST_CC

2016-02-15 Thread Tom Rini
On Wed, Feb 03, 2016 at 12:42:51PM +, Peter Robinson wrote: > When compiling with gcc 6 we get the following error due to ARRAY_SIZE being > defined elsewhere. > > common/env_flags.c:155: undefined reference to `ARRAY_SIZE' > > Signed-off-by: Peter Robinson I'm going to take http://patchwo

Re: [U-Boot] OMAP3: am3517_evm: SD/MMC boot with uEnv.txt, zImage, and FDT

2016-02-15 Thread Tom Rini
On Sun, Feb 07, 2016 at 08:54:47PM -0600, Derald D. Woods wrote: > Boot with the Linux zImage and am3517-evm.dtb pair, when SD/MMC media > is present. This behavior can be overridden by creating a 'uEnv.txt' > file with 'uenvcmd' defined. > > To boot an existing 'uImage', create the following 'uE

Re: [U-Boot] OMAP3LOGIC: Update maintainer

2016-02-15 Thread Tom Rini
On Mon, Feb 08, 2016 at 09:27:19PM -0600, Adam Ford wrote: > I will take this over from Peter Barada, since I work with it daily > at Logic PD. > > Signed-off-by: Adam Ford > Acked-by: Peter Barada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] OMAP3: omap3_logic: Grow SPL to 64K from 54K

2016-02-15 Thread Tom Rini
On Mon, Feb 08, 2016 at 07:06:08PM -0600, Adam Ford wrote: > Based on the work done by Overo, this seems to help some compilers > that have a hard time fitting all the code into the allocated space. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] Fix variable documented in README.distro for PXE address.

2016-02-15 Thread Tom Rini
On Mon, Feb 08, 2016 at 07:55:31PM -0800, Vagrant Cascadian wrote: > Fixes typo of pxe_addr_r with pxefile_addr_r. > > Signed-off-by: Vagrant Cascadian > Reviewed-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 1/4] arm: make sure board_init_r() is being called using the right mode (ARM / THUMB)

2016-02-15 Thread Tom Rini
On Tue, Feb 09, 2016 at 04:48:28PM +0100, David Müller (ELSOFT AG) wrote: > Signed-off-by: David Müller Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] ARM : DRA7: Switch QSPI to use MODE-0 at 64MHz

2016-02-15 Thread Tom Rini
On Wed, Feb 10, 2016 at 10:51:43AM +0530, Vignesh R wrote: > According to Data Manual(SPRS915P) of AM572x, TI QSPI controller on > DRA74 EVM(rev 1.1+) can support up to 64MHz in MODE-0, whereas MODE-3 is > limited to 48MHz. Hence, switch to MODE-0 for better throughput. > Also, add IODelay paramet

Re: [U-Boot] [U-Boot, 2/4] arm: the ARM920T is THUMB capable, so select the appropriate ISA

2016-02-15 Thread Tom Rini
On Tue, Feb 09, 2016 at 04:48:29PM +0100, David Müller (ELSOFT AG) wrote: > Signed-off-by: David Müller Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] [U-Boot, 4/4] arm: VCMA9: because of NOR flash space constrains, activate THUMB build mode

2016-02-15 Thread Tom Rini
On Tue, Feb 09, 2016 at 04:48:31PM +0100, David Müller (ELSOFT AG) wrote: > Signed-off-by: David Müller Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] [U-Boot,3/4] arm: build some file(s) as ARM mode only

2016-02-15 Thread Tom Rini
On Tue, Feb 09, 2016 at 04:48:30PM +0100, David Müller (ELSOFT AG) wrote: > Signed-off-by: David Müller Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] am43xx: qspi: Fix config to select SPI mode

2016-02-15 Thread Tom Rini
On Wed, Feb 10, 2016 at 11:06:09AM +0530, Vignesh R wrote: > CONFIG_SF_DEFAULT_MODE is used to select default SPI mode when using > sf commands. Therefore fix am43xx to use CONFIG_SF_DEFAULT_MODE instead > of CONFIG_DEFAULT_SPI_MODE. > > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini > Review

Re: [U-Boot] ARM: rpi: set initrd_high

2016-02-15 Thread Tom Rini
On Sun, Feb 14, 2016 at 07:23:24PM +0100, Lubomir Rintel wrote: > The kernel gets much too sad when the ramdisk is loaded too high into the 1GiB > of memory on Raspberry Pi 2: > > ## Flattened Device Tree blob at 0100 > Booting using the fdt blob at 0x000100 > Loading Ramdisk to 3

Re: [U-Boot] [U-Boot, V3] Makefile: remove BUILD_TAG from KBUILD_CFLAGS

2016-02-15 Thread Tom Rini
On Wed, Feb 10, 2016 at 03:16:19PM -0700, Stephen Warren wrote: > From: Stephen Warren > > If BUILD_TAG is part of KBUILD_CFLAGS, then any time the value changes, > all files get rebuilt. In a continuous integration environment, the value > will change every build. This wastes time, assuming tha

Re: [U-Boot] [U-Boot,V2] OMAP3_logic: Add NAND args to boot UBIFS

2016-02-15 Thread Tom Rini
On Wed, Feb 10, 2016 at 01:41:10AM -0600, Adam Ford wrote: > With the recent addition of UBI support, this patch will add the preset > parameters to allow for mouting an UBIFS from the 'fs' partition in NAND. > > -V2: ubi.mtd=fs instead of ubi.mtd=4 > > Signed-off-by: Adam Ford > Reviewed-by: T

Re: [U-Boot] gpio: Correct handling of 'gpio status'

2016-02-15 Thread Tom Rini
On Sun, Feb 14, 2016 at 04:28:59PM -0700, Simon Glass wrote: > This is broken - we need to look at the first two characters to distinguish > 'gpio status' from 'gpio set'. > > Fixes: 0ffe6ab5 (gpio: Allow 's' as an abbreviation for 'status') > Reported-by: Soeren Moch > Signed-off-by: Simon Glas

Re: [U-Boot] [U-Boot,v2] tools: fix env_flags build

2016-02-15 Thread Tom Rini
On Sun, Feb 14, 2016 at 08:13:24PM +0100, Lubomir Rintel wrote: > $ make tools-all > ... > In file included from tools/env/env_flags.c:1:0: > tools/env/../../common/env_flags.c: In function > ‘env_flags_parse_varaccess_from_binflags’: > tools/env/../../common/env_flags.c:156:18: warn

Re: [U-Boot] [U-Boot,V3,2/2] test/py: run all "ut" subtests

2016-02-15 Thread Tom Rini
On Mon, Feb 08, 2016 at 02:44:16PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Invoke each "ut"-based unit test as a separate pytest. > > Now that the DM unit test runs under test/py, remove the manual shell > script that invokes it. > > Signed-off-by: Stephen Warren > Acked-by: S

Re: [U-Boot] test/py: add docs for gdbserver and pytest options

2016-02-15 Thread Tom Rini
On Mon, Feb 08, 2016 at 02:49:02PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Add documentation describing the new --gdbserver feature, and some common > pytest options. > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signat

Re: [U-Boot] [U-Boot,2/2] Enable test/py for sandbox in Travis CI

2016-02-15 Thread Tom Rini
On Mon, Feb 08, 2016 at 06:23:35PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This provides runtime test coverage in Travis, in addition to the existing > build coverage. > > Signed-off-by: Stephen Warren > Reviewed-by: Roger Meier > Reviewed-by: Heiko Schocher > Acked-by: Simon

Re: [U-Boot] [U-Boot, V3, 1/2] Makefile: generate symbol list from u-boot

2016-02-15 Thread Tom Rini
On Mon, Feb 08, 2016 at 02:44:15PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This information may be useful for both debugging, and processes that want > to perform simple forms of introspection on the U-Boot binary, such as > determining the set of "ut" subtests that are compiled

Re: [U-Boot] test/py: fix CONFIG_SPL test

2016-02-15 Thread Tom Rini
On Wed, Feb 10, 2016 at 12:39:30PM -0700, Stephen Warren wrote: > From: Stephen Warren > > The Python ini file parser that's used to parse .config converts all keys > to lower-case. Hence, all queries against the results must use lower-case. > Fix u_boot_console.ensure_spawned() to test CONFIG_S

Re: [U-Boot] [U-Boot,1/2] test/py: don't import pexpect

2016-02-15 Thread Tom Rini
On Mon, Feb 08, 2016 at 06:23:34PM -0700, Stephen Warren wrote: > From: Stephen Warren > > The code replaced pexpect with custom code long ago. Don't import the > unused module so it doesn't need to be installed. > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass Applied to u-boot/mas

Re: [U-Boot] test/py: handle exceptions in console creation

2016-02-15 Thread Tom Rini
On Wed, Feb 10, 2016 at 04:54:37PM -0700, Stephen Warren wrote: > From: Stephen Warren > > u_boot_console.exec_attach.get_spawn() performs two steps: > 1) Spawn a process to communicate with the serial console. > 2) Reset the board so that U-Boot starts running from scratch. > > Currently, if a

Re: [U-Boot] test/py: put "Starting U-Boot" into separate log section

2016-02-15 Thread Tom Rini
On Thu, Feb 11, 2016 at 11:46:12AM -0700, Stephen Warren wrote: > From: Stephen Warren > > The initial boot of U-Boot happens within the context of the first test > that needs to access the U-Boot console when there is no existing > connection. This keeps all activity nestled within test executi

Re: [U-Boot] test/py: print summary in test order

2016-02-15 Thread Tom Rini
On Wed, Feb 10, 2016 at 01:47:37PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Use lists rather than sets to record the status of tests. This causes > the test summary in the HTML file to be generated in the same order as > the tests are (or would have been) run. This makes it easier

Re: [U-Boot] [PATCH 14/30] dm: part: Convert partition API use to linker lists

2016-02-15 Thread Tom Rini
On Sun, Feb 14, 2016 at 07:16:43PM -0700, Simon Glass wrote: > We can use linker lists instead of explicitly declaring each function. > This makes the code shorter by avoiding switch() statements and lots of > header file declarations. > > While this does clean up the code it introduces a few cod

Re: [U-Boot] OMAP3SOM BOARD: Auto detect Logic PD Models

2016-02-15 Thread Tom Rini
On Thu, Feb 11, 2016 at 07:41:26PM -0600, Adam Ford wrote: > Logic PD makes four different system on modules. This patch will auto > detect the board type and identify the corresponding device tree image. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini Now that I try and apply it, I see:

[U-Boot] [PATCH] ARM: at91: sama5d2: configure the L2 cache memory

2016-02-15 Thread Samuel Mescoff
The SAMA5D2 has a second internal SRAM that can be reassigned as a L2 cache memory. Make sure it is configured as a L2 cache memory when booting from a SPL image. Based on the commit b5ea95ef2b5b from the at91bootstrap repository. Signed-off-by: Samuel Mescoff --- arch/arm/mach-at91/atmel_sfr.c

Re: [U-Boot] [PATCH 13/30] dm: sandbox: Enable all partition types

2016-02-15 Thread Tom Rini
On Sun, Feb 14, 2016 at 07:16:42PM -0700, Simon Glass wrote: > It is useful to have sandbox build as much code as possible to avoid having > to build every board to detect build errors. Also we may add tests for some > more partition types at some point. > > Enable all partition types in sandbox.

Re: [U-Boot] [PATCH 14/16] sandbox: spi: Remove an incorrect free()

2016-02-15 Thread Tom Rini
On Sun, Feb 14, 2016 at 06:36:58PM -0700, Simon Glass wrote: > We must not free data that is managed by driver mode. Remove this line, > which is a hangover from the pre-driver-model code. > > This fixes a problem where 'sf probe' crashes U-Boot if the backing file > for the SPI flash cannot be f

Re: [U-Boot] [PATCH 00/30] dm: Add driver-model support for block drivers

2016-02-15 Thread Tom Rini
On Sun, Feb 14, 2016 at 07:16:29PM -0700, Simon Glass wrote: > Recent additions of the MMC and DISK uclasses have indicated that it is time > to look at adding a uclass for block devices. This series does this and > includes a few clean-ups to the partition code also. > > A block device is typica

[U-Boot] [ANN] U-Boot v2016.01-rc2 released

2016-02-15 Thread Tom Rini
Hey all, I've pushed v2016.01-rc2 out to the repository and tarballs should exist soon. I've picked up a number of odds and ends and PRs for this rc. I think things are looking good. If there's something I should have picked up, but haven't, please speak up now. For example, I'm not quite sure

Re: [U-Boot] [PATCH] OMAP3: am3517_evm: SD/MMC boot with uEnv.txt, zImage, and FDT

2016-02-15 Thread Derald D. Woods
On 02/08/2016 02:45 PM, Tom Rini wrote: On Sun, Feb 07, 2016 at 08:54:47PM -0600, Derald D. Woods wrote: Boot with the Linux zImage and am3517-evm.dtb pair, when SD/MMC media is present. This behavior can be overridden by creating a 'uEnv.txt' file with 'uenvcmd' defined. To boot an existing '

Re: [U-Boot] [PATCH] OMAP3: am3517_evm: SD/MMC boot with uEnv.txt, zImage, and FDT

2016-02-15 Thread Derald D. Woods
On 02/15/2016 04:54 PM, Derald D. Woods wrote: On 02/08/2016 02:45 PM, Tom Rini wrote: On Sun, Feb 07, 2016 at 08:54:47PM -0600, Derald D. Woods wrote: Boot with the Linux zImage and am3517-evm.dtb pair, when SD/MMC media is present. This behavior can be overridden by creating a 'uEnv.txt' fil

[U-Boot] [PATCH] ARM: rpi: increase CONFIG_SYS_MAXARGS

2016-02-15 Thread Stephen Warren
This allows all the hush tests implemented in test/py to pass, under qemu at least. Signed-off-by: Stephen Warren --- Note, RPi U-Boot only fully works under a downstream U-Boot at present: https://github.com/0xabu/qemu. Upstreaming is in progress. --- include/configs/rpi-common.h | 2 +- 1 file

[U-Boot] [PATCH RESEND] test/py: use space to interrupt autoboot

2016-02-15 Thread Stephen Warren
Sending CTRL-C to QEMU's stdin aborts the process, even if stdin is being used as a serial port (at least in the raspi2 machine with "qemu -serial stdin"). Avoid sending CTRL-C to U-Boot to prevent it exiting. I'd originally used CTRL-C to make sure that if the character used to abort autoboot end

[U-Boot] [PATCH RESEND] test/py: skip tests that require large CONFIG_SYS_MAXARGS

2016-02-15 Thread Stephen Warren
test_hush_if_test.py executes commands that require large values of CONFIG_SYS_MAXARGS. Detect cases where the configured value is too low and skip those tests. Ideally, this would be implemented inside console.run_command(). However, the command passed to that function is already a completely for

Re: [U-Boot] [PATCH] ARM: at91: sama5d2: configure the L2 cache memory

2016-02-15 Thread Yang, Wenyou
> -Original Message- > From: Samuel Mescoff [mailto:samuel.mesc...@mobile-devices.fr] > Sent: 2016年2月16日 0:54 > To: u-boot@lists.denx.de > Cc: Samuel Mescoff ; > andreas.de...@googlemail.com; Yang, Wenyou ; > Ferre, Nicolas > Subject: [U-Boot] [PATCH] ARM: at91: sama5d2: configure the L2

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-15 Thread Bin Meng
+Simon, Hi Joe, On Tue, Feb 16, 2016 at 12:01 AM, Joe Hershberger wrote: > Hi Bin, > > On Sun, Feb 14, 2016 at 6:00 AM, Bin Meng wrote: >> Hi Michal, >> >> On Sun, Feb 14, 2016 at 6:03 PM, Michal Simek wrote: >>> Hi Bin, >>> >>> 2016-02-14 3:25 GMT+01:00 Bin Meng : Hi Michal, >>

Re: [U-Boot] [PATCH v6 66/76] spi: Drop mode_rx

2016-02-15 Thread Bin Meng
Hi Jagan, On Mon, Feb 15, 2016 at 9:07 PM, Jagan Teki wrote: > Hi Bin, > > On 15 February 2016 at 16:46, Bin Meng wrote: >> Hi Jagan, >> >> On Mon, Feb 15, 2016 at 4:49 AM, Jagan Teki wrote: >>> mp2580 will take care of tx and rx mode's so there is >>> no need to differentiate these into spi la

Re: [U-Boot] [PATCH] fastboot: update error and warning messages

2016-02-15 Thread Steve Rae
ping -- Thanks! On 16-01-27 03:42 PM, Marek Vasut wrote: On Thursday, January 28, 2016 at 12:02:41 AM, Steve Rae wrote: Fix the formatting in error messages, and demote one error message to a warning, as it is only informational. Signed-off-by: Steve Rae I'd leave this to Lukasz, if he does

Re: [U-Boot] [PATCH] implement Fastboot via USB OTG on bcm28155_ap boards

2016-02-15 Thread Steve Rae
ping this one too - Thanks! On 16-01-27 02:45 PM, Steve Rae wrote: Don't understand how it happened, but this change got applied twice! Therefore, removing the duplicated items. Signed-off-by: Steve Rae --- include/configs/bcm28155_ap.h | 20 1 file changed, 20 deletio

Re: [U-Boot] [PATCH] ARM: rpi: increase CONFIG_SYS_MAXARGS

2016-02-15 Thread Tom Rini
On Mon, Feb 15, 2016 at 05:38:02PM -0700, Stephen Warren wrote: > This allows all the hush tests implemented in test/py to pass, under qemu > at least. > > Signed-off-by: Stephen Warren For this release: Reviewed-by: Tom Rini For longer term, I really need to (and put on my TODO list) to see

Re: [U-Boot] [PATCH] implement Fastboot via USB OTG on bcm28155_ap boards

2016-02-15 Thread Marek Vasut
On 02/16/2016 02:21 AM, Steve Rae wrote: > ping this one too - Thanks! > > On 16-01-27 02:45 PM, Steve Rae wrote: >> Don't understand how it happened, but this change got applied twice! >> Therefore, removing the duplicated items. >> >> Signed-off-by: Steve Rae >> --- >> >> include/configs/bcm2

Re: [U-Boot] [PATCH] fastboot: update error and warning messages

2016-02-15 Thread Marek Vasut
On 02/16/2016 02:20 AM, Steve Rae wrote: > ping -- Thanks! > > On 16-01-27 03:42 PM, Marek Vasut wrote: >> On Thursday, January 28, 2016 at 12:02:41 AM, Steve Rae wrote: >>> Fix the formatting in error messages, and demote one error message >>> to a warning, as it is only informational. >>> >>> Si

[U-Boot] [Patch V2] armv8/ls1043aqds: Add USB support for ls1043aqds

2016-02-15 Thread Gong Qianyu
Add USB XHCI support for ls1043qds board. Signed-off-by: Gong Qianyu --- V2: - Move the definition of scfg and usb_pwrfault in #ifdef CONFIG_HAS_FSL_XHCI_USB. board/freescale/ls1043aqds/ls1043aqds.c | 17 + include/configs/ls1043aqds.h| 13 + 2 files ch

  1   2   >