Re: [U-Boot] [PATCH v2 1/4] usb: dwc2: add support for external vbus supply

2016-11-29 Thread Kever Yang
Hi Marek, On 11/26/2016 12:46 AM, Marek Vasut wrote: On 11/24/2016 08:29 AM, Kever Yang wrote: Some board do not use the dwc2 internal VBUS_DRV signal, but use a gpio pin to enable the 5.0V VBUS power, add interface to enable the power in dwc2 driver. Signed-off-by: Kever Yang --- Changes in

Re: [U-Boot] [PATCH v2 3/14] bch: Allow to build for the host

2016-11-29 Thread Maxime Ripard
On Fri, Nov 25, 2016 at 10:35:15PM +0530, Jagan Teki wrote: > On Tue, Nov 22, 2016 at 6:08 PM, Maxime Ripard > wrote: > > We will need the bch functions in the tool to generate the SPL images for > > the Allwinner SoCs. > > > > Do the needed adjustments so that we can use it on the host. > > > > S

Re: [U-Boot] [PATCH v2 2/4] board: popmetal: de-assert the host rst pin in board init

2016-11-29 Thread Kever Yang
Hi Simon, On 11/26/2016 03:39 AM, Simon Glass wrote: Hi Kever, On 24 November 2016 at 00:29, Kever Yang wrote: The PopMetal board have a on board FE1.1 usb 2.0 hub which connect to the usb host port, we need to de-assert its reset pin to enable it. Signed-off-by: Kever Yang --- Changes in

[U-Boot] [PATCH 1/2] usb: xhci: Remove assumption of DWC instance based on DRA7 SoC type

2016-11-29 Thread Lokesh Vutla
From: Nishanth Menon Both AM57xx and DRA7xx share the same set of base addresses for DWC controllers. The usage however differ with DWC2 instance used typically in AM57xx evms while DWC1 instances used in DRA7x platforms. Use TARGET_SOC config to differentiate so that CONFIG_AM57XX can be droppe

[U-Boot] [PATCH 2/2] ARM: DRA7x/AM57xx: Get rid of CONFIG_AM57XX

2016-11-29 Thread Lokesh Vutla
From: Nishanth Menon CONFIG_AM57XX is just an unnecessary macro that is redundant given So, remove the same instead of spreading through out the u-boot source code and getting in the way to maintain common code for DRA7x family. Acked-by: Andrew F. Davis Signed-off-by: Nishanth Menon Signed-of

[U-Boot] [PATCH 0/2] ARM: DRA7/AM57xx: Get rid of CONFIG_AM57XX

2016-11-29 Thread Lokesh Vutla
CONFIG_AM57XX is redundant as DRA7 and AM57xx uses the same SoC type. This series removes this config. Nishanth Menon (2): usb: xhci: Remove assumption of DWC instance based on DRA7 SoC type ARM: DRA7x/AM57xx: Get rid of CONFIG_AM57XX arch/arm/include/asm/arch-omap5/clock.h| 2 +- arch/a

Re: [U-Boot] [PATCH v2 7/8] spi: cadence_qspi: Fix CS timings

2016-11-29 Thread Phil Edworthy
Hi Chin Liang, On 28 November 2016 12:49 See, Chin Liang wrote: > On Jum, 2016-11-25 at 14:38 +, Phil Edworthy wrote: > > > > The Cadence QSPI controller has specified overheads for the various > > CS > > times that are in addition to those programmed in to the Device Delay > > register. The o

Re: [U-Boot] [PATCH 1/5] davinci: omapl138_lcdk: fixup mac address in dtb

2016-11-29 Thread Fabien Parent
On Mon, Nov 28, 2016 at 5:56 PM, Tom Rini wrote: > On Fri, Nov 25, 2016 at 11:11:23AM +0100, Fabien Parent wrote: >> In order to avoid having a random mac address assigned by Linux, let's >> fixup the dtb with the mac address that was programmed in the EEPROM. >> >> Signed-off-by: Fabien Parent >

[U-Boot] [PATCH] Add RTC chip pcf2127 support

2016-11-29 Thread Meng Yi
This driver compatible with pcf2127 and pcf2129 Signed-off-by: Meng Yi --- drivers/rtc/Makefile | 1 + drivers/rtc/pcf2127.c | 94 +++ 2 files changed, 95 insertions(+) create mode 100644 drivers/rtc/pcf2127.c diff --git a/drivers/rtc/Makefile

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-29 Thread Jeremy Linton
|-Original Message- |From: Sudeep Holla [mailto:sudeep.ho...@arm.com] |Sent: Tuesday, November 22, 2016 10:11 AM |To: Tom Rini; Liviu Dudau |Cc: Sudeep Holla; Lorenzo Pieralisi; Jeremy Linton; U-Boot ML |Subject: Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses |for IO to

Re: [U-Boot] [PATCH v3 7/9] rockchip: evb-rk3339: Enable DHCP

2016-11-29 Thread Heiko Stübner
Hi Simon, Am Sonntag, 27. November 2016, 10:01:47 schrieb Simon Glass: > This is the only RK3288 device without DHCP. Enable it so that we ^^ rk3288/rk3399? > can use a common BOOT_TARGET_DEVICES setting. It is likely useful to be > able to use USB networking, at least. Full

Re: [U-Boot] Rockchip RK3288 u-boot with mainline kernel

2016-11-29 Thread Heiko Stübner
Hi Rick, Am Montag, 28. November 2016, 15:09:05 schrieb Simon Glass: > + A few rockchip people and linux-rockchip > > Hi Rick, > > On 25 November 2016 at 11:20, Rick Bronson wrote: > > Hi All, > > > > I've got unsupported RK3288 hardware running the latest git u-boot to > > > > SPL as expla

Re: [U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-11-29 Thread Marek Vasut
On 11/29/2016 10:11 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 11/28/2016 10:09 PM, Lukasz Majewski wrote: >>> This define gives the possibility to copy entire image (including >>> header - e.g. u-boot.img) from NOR parallel memory to e.g. SDRAM. >>> The current code only supports loading the

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-29 Thread Marek Vasut
On 11/29/2016 05:58 AM, Vignesh R wrote: > > > On Monday 28 November 2016 06:11 PM, Marek Vasut wrote: >> On 11/28/2016 10:37 AM, Vignesh R wrote: >>> >>> >>> On Friday 25 November 2016 10:21 PM, Marek Vasut wrote: On 11/24/2016 06:35 AM, Vignesh R wrote: > According to Section 11.15.4.9

[U-Boot] [PATCH] armv8: ls2080a: Add serdes1 protocol 0x3b support

2016-11-29 Thread Priyanka Jain
Signed-off-by: Priyanka Jain --- arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c index 67d605e..ab83e85 100644 --- a

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-29 Thread Vignesh R
On Tuesday 29 November 2016 04:23 PM, Marek Vasut wrote: > On 11/29/2016 05:58 AM, Vignesh R wrote: >> >> >> On Monday 28 November 2016 06:11 PM, Marek Vasut wrote: >>> On 11/28/2016 10:37 AM, Vignesh R wrote: On Friday 25 November 2016 10:21 PM, Marek Vasut wrote: > On 11/24/2

Re: [U-Boot] static var mem alignment issue/question

2016-11-29 Thread Måns Rullgård
Tim Harvey writes: > Greetings, > > In debugging an issue with a rather old branch of U-Boot (2015-04) I > found that the static assignment of a data buffer was not 32-bit > aligned which caused data aborts. However I find that current U-boot > master does not suffer this issue and no matter what

Re: [U-Boot] ext4: crash when writing a file

2016-11-29 Thread Brüns , Stefan
On Dienstag, 29. November 2016 10:50:45 CET you wrote: > Hello, > > I am working on a i.MX6UL based board with a 4GB eMMC partitioned as > following: > > Device Boot Start End Sectors Size Id Type > /dev/sdb1 2048 264191 262144 128M 83 Linux > /dev/sdb2264192 445849

[U-Boot] [PATCH] ARM64: zynqmp: Use DTS name for different psu_init_gpl* files in SPL

2016-11-29 Thread Michal Simek
CONFIG_SYS_CONFIG_NAME is not proper config option for different low level init files because different board revisions requires different psu_init_gpl* files. Also at the end of moving drivers to DM all board specific configuration files should be removed. The same changes was done for Zynq. "AR

Re: [U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-11-29 Thread Lukasz Majewski
Hi Marek, > On 11/28/2016 10:09 PM, Lukasz Majewski wrote: > > This define gives the possibility to copy entire image (including > > header - e.g. u-boot.img) from NOR parallel memory to e.g. SDRAM. > > The current code only supports loading the raw binary image (the > > u-boot.bin). > > > > The

[U-Boot] [PATCH v3 01/11] spi: cadence_qspi: Fix clearing of pol/pha bits

2016-11-29 Thread Phil Edworthy
Or'ing together bit positions is clearly wrong. Signed-off-by: Phil Edworthy Acked-by: Marek Vasut --- v3: - No change. v2: - No change. --- drivers/spi/cadence_qspi_apb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/

[U-Boot] [PATCH v3 00/11] SF: Cadence QSPI driver fixes and clean up

2016-11-29 Thread Phil Edworthy
This series has fixes, patches to clean the code up, and add support for specifying the sampling edge. Main changes in v3: 1. Added "spi: cadence_qspi: Use spi mode at the point it is needed" to address comments for SPI pol/phase code. 2. "spi: cadence_qspi: Support specifying the sample

[U-Boot] [PATCH v3 02/11] spi: cadence_qspi: Fix baud rate calculation

2016-11-29 Thread Phil Edworthy
With the existing code, when the requested SPI clock rate is near to the lowest that can be achieved by the hardware (max divider of the ref clock is 32), the generated clock rate is wrong. For example, with a 50MHz ref clock, when asked for anything less than a 1.5MHz SPI clock, the code sets up t

[U-Boot] [PATCH v3 04/11] spi: cadence_qspi: Use #define for bits instead of bit shifts

2016-11-29 Thread Phil Edworthy
Most of the code already uses #defines for the bit value, rather than the shift required to get the value. This changes the remaining code over. Whislt at it, fix the names of the "Rd Data Capture" register defs. Signed-off-by: Phil Edworthy Acked-by: Marek Vasut --- v3: - Remove brackets tha

[U-Boot] [PATCH v3 05/11] spi: cadence_qspi: Clean up the #define names

2016-11-29 Thread Phil Edworthy
A lot of the #defines are for single bits in a register, where the name has _MASK on the end. Since this can be used for both a mask and the value, remove _MASK from them. Whilst doing so, also remove the unnecessary brackets around the constants. Signed-off-by: Phil Edworthy Acked-by: Marek Vas

[U-Boot] [PATCH v3 03/11] spi: cadence_qspi: Better debug information on the SPI clock rate

2016-11-29 Thread Phil Edworthy
Show what the output clock rate actually is. Signed-off-by: Phil Edworthy Acked-by: Marek Vasut --- v3: - No change. v2: - No change. --- drivers/spi/cadence_qspi_apb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/c

[U-Boot] [PATCH v3 06/11] spi: cadence_qspi: Use spi mode at the point it is needed

2016-11-29 Thread Phil Edworthy
Instead of extracting mode settings and passing them as separate args to another function, just pass the SPI mode as an arg. Signed-off-by: Phil Edworthy --- v3: - New patch introduced to address comments. --- drivers/spi/cadence_qspi.c | 4 +--- drivers/spi/cadence_qspi.h | 3 +-- dr

[U-Boot] [PATCH v3 07/11] spi: cadence_qspi: Remove returns from end of void functions

2016-11-29 Thread Phil Edworthy
Signed-off-by: Phil Edworthy Acked-by: Marek Vasut --- v3: - No change. v2: - No change. --- drivers/spi/cadence_qspi_apb.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index e81d678..39e31f6 100644 --- a/drivers

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-29 Thread Marek Vasut
On 11/29/2016 01:08 PM, Vignesh R wrote: > > > On Tuesday 29 November 2016 04:23 PM, Marek Vasut wrote: >> On 11/29/2016 05:58 AM, Vignesh R wrote: >>> >>> >>> On Monday 28 November 2016 06:11 PM, Marek Vasut wrote: On 11/28/2016 10:37 AM, Vignesh R wrote: > > > On Friday 25 Nove

[U-Boot] [PATCH v3 09/11] spi: cadence_qspi: Move DT prop code to match layout

2016-11-29 Thread Phil Edworthy
Move the code to read the "sram-size" property into the other code that reads properties from the node, rather than the SF subnode. Signed-off-by: Phil Edworthy --- v3: - New patch to split changes. --- drivers/spi/cadence_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[U-Boot] [PATCH v3 10/11] spi: cadence_qspi: Change readdata_capture() arg to bool

2016-11-29 Thread Phil Edworthy
This is in preparation for adding another arg. Signed-off-by: Phil Edworthy --- v3: - New patch to split changes. --- drivers/spi/cadence_qspi.c | 7 --- drivers/spi/cadence_qspi.h | 2 +- drivers/spi/cadence_qspi_apb.c | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) dif

[U-Boot] [PATCH v3 08/11] spi: cadence_qspi: Fix CS timings

2016-11-29 Thread Phil Edworthy
The Cadence QSPI controller has specified overheads for the various CS times that are in addition to those programmed in to the Device Delay register. The overheads are different for the delays. In addition, the existing code does not handle the case when the delay is less than a SCLK period. Thi

[U-Boot] [PATCH v3 11/11] spi: cadence_qspi: Support specifying the sample edge used

2016-11-29 Thread Phil Edworthy
Introduce a new DT property to specify whether the QSPI Controller samples the data on a rising edge. The default is falling edge. Some versions of the QSPI Controller do not implement this bit, in which case the property should be omitted. Signed-off-by: Phil Edworthy --- v3: - Patch split so

[U-Boot] [PATCH v3 2/6] ARM: davinci: Move CONFIG_SYS_DA850_DDR_INIT to Kconfig

2016-11-29 Thread Fabien Parent
Clean config headers by moving CONFIG_SYS_DA850_DDR_INIT away to a Kconfig file. Signed-off-by: Fabien Parent --- v1 -> v3 * New patch --- arch/arm/mach-davinci/Kconfig | 7 +++ include/configs/calimain.h| 1 - include/configs/da850evm.h| 1 - include/configs/ipam390.h

[U-Boot] [PATCH v3 0/6] davinci: omapl138_lcdk: fix a few bugs for SPL boot

2016-11-29 Thread Fabien Parent
This patchset tries to fix the SPL on omapl138_lcdk. With this patchset, the SPL will be able to boot from EMMC/SPI. The NAND support is still broken so the default u-boot.ais image still has a SPL that is unable to load u-boot. Changes v2 .. v3 * Make CONFIG_SYS_DA850_PLL_INIT & CONFIG_SYS_DA85

[U-Boot] [PATCH v3 3/6] davinci: omapl138_lcdk: configure pll0

2016-11-29 Thread Fabien Parent
The SPL is not able to boot properly because the PLL0 is not configured. Configure it. Signed-off-by: Fabien Parent --- v2 -> v3 * Use new Kconfig option SYS_DA850_PLL_INIT instead of defining it in the config header file v1 -> v2 * New patch --- arch/arm/mach-davinci/

[U-Boot] [PATCH v3 1/6] ARM: davinci: Move CONFIG_SYS_DA850_PLL_INIT to Kconfig

2016-11-29 Thread Fabien Parent
Clean config headers by moving CONFIG_SYS_DA850_PLL_INIT away to a Kconfig file. Signed-off-by: Fabien Parent --- v1 -> v3 * New patch --- arch/arm/mach-davinci/Kconfig | 7 +++ include/configs/calimain.h| 1 - include/configs/da850evm.h| 1 - include/configs/ipam390.h

[U-Boot] [PATCH v3 5/6] davinci: da850evm: fix empty boot method list in the SPL

2016-11-29 Thread Fabien Parent
The list of available boot method is not part of the binary which prevent the SPL from booting u-boot or Linux. Add the missing .u_boot_list* sections to the binary to fix it. Signed-off-by: Fabien Parent Reviewed-by: Tom Rini --- v2 -> v3: * No change v1 -> v2: * No change

[U-Boot] [PATCH v3 6/6] davinci: omapl138_lcdk: add u-boot sector for mmc/sd boot

2016-11-29 Thread Fabien Parent
Set the correct CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR value in order to be able to boot from MMC/SD. The SPL is stored at sector 0x75, while u-boot will follow at sector 0xb5. Signed-off-by: Fabien Parent Reviewed-by: Tom Rini --- v2 -> v3: * No change v1 -> v2: * Rebased

[U-Boot] [PATCH v3 4/6] davinci: omapl138_lcdk: configure ddr2

2016-11-29 Thread Fabien Parent
The SPL is unable to load u-boot because the DDR2 is not configured. Configure the DDR2. Signed-off-by: Fabien Parent --- v2 -> v3 * Use new Kconfig option SYS_DA850_DDR_INIT instead of defining it in the config header file v1 -> v2 * New patch --- arch/arm/mach-davinc

[U-Boot] [PATCH 1/6] NAND: davinci: add support for NAND chips with 16 bits bus

2016-11-29 Thread Fabien Parent
The OMAPL138-LCD board uses a NAND chip with a 16 bits bus. Add support into the davinci driver for 16 bit bus NAND chips. Signed-off-by: Fabien Parent --- drivers/mtd/nand/davinci_nand.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/da

[U-Boot] [PATCH 4/6] davinci: omapl138_lcdk: use correct name for CONFIG_SYS_NAND_MASK_ALE

2016-11-29 Thread Fabien Parent
CONFIG_SYS_ALE_MASK is not used anywhere. It has probably been renamed to CONFIG_SYS_NAND_MASK_ALE. Rename it and remove the former from the config_whitelist.txt file. Signed-off-by: Fabien Parent --- include/configs/omapl138_lcdk.h | 2 +- scripts/config_whitelist.txt| 1 - 2 files changed,

[U-Boot] [PATCH 0/6] davinci: omapl138_lcdk: add SPL NAND boot support

2016-11-29 Thread Fabien Parent
The default AIS image generated contains the SPL, but the latter is not able to load u-boot because the NAND configuration is missing. This series adds SPL NAND boot support and results in the AIS image that is generated able to boot from NAND. Fabien Parent (6): NAND: davinci: add support for N

[U-Boot] [PATCH 2/6] davinci: omapl138_lcdk: use correct define for 16 bit NAND chips

2016-11-29 Thread Fabien Parent
The omapl138_lcdk header defines CONFIG_SYS_NAND_BUSWIDTH_16_BIT while the correct name is CONFIG_SYS_NAND_BUSWIDTH_16BIT. While renaming the only occurrence of CONFIG_SYS_NAND_BUSWIDTH_16_BIT, let's also remove it from the config_whitelist.txt file. Signed-off-by: Fabien Parent --- include/conf

[U-Boot] [PATCH 5/6] davinci: omapl138_lck: remove obsolete define

2016-11-29 Thread Fabien Parent
NAND_MAX_CHIPS is not used anymore and has been replaced by CONFIG_SYS_MAX_NAND_DEVICE. There is no need to keep the former define. Signed-off-by: Fabien Parent --- include/configs/omapl138_lcdk.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/omapl138_lcdk.h b/include/config

[U-Boot] [PATCH 3/6] davinci: omapl138_lcdk: use correct name for CONFIG_SYS_NAND_MASK_CLE

2016-11-29 Thread Fabien Parent
CONFIG_SYS_CLE_MASK is not used anywhere. It has probably been renamed to CONFIG_SYS_NAND_MASK_CLE. Rename it and remove the former from the config_whitelist.txt file. Signed-off-by: Fabien Parent --- include/configs/omapl138_lcdk.h | 2 +- scripts/config_whitelist.txt| 1 - 2 files changed,

[U-Boot] [PATCH 6/6] davinci: omapl138_lcdk: add NAND SPL boot support

2016-11-29 Thread Fabien Parent
NAND SPL boot was missing. Add it. The README specific to omapl138-lcdk is also removed because its content does not apply anymore, i.e. the generated AIS image can be flashed directly to the NAND without using any external tool to create and bootable AIS image. Signed-off-by: Fabien Parent ---

[U-Boot] [PATCH 1/2] cmd: Convert CMD_BOOTMENU

2016-11-29 Thread Tom Rini
Also convert MENU while we're in here. Signed-off-by: Tom Rini --- cmd/Kconfig | 6 ++ common/Kconfig| 6 ++ configs/nokia_rx51_defconfig | 1 + include/config_distro_defaults.h | 1 - include/config_fallbacks.h| 1 - include/config

[U-Boot] [PATCH 2/2] Enable DISTRO_DEFAULT on platforms that missed it before

2016-11-29 Thread Tom Rini
A number of platforms had been using the distro default feature before it was moved to Kconfig but did not enable the new Kconfig option when it was enabled. This caused a regression in terms of features and this introduces breakage when more things move to Kconfig. Signed-off-by: Tom Rini ---

Re: [U-Boot] [PATCH 1/5] davinci: omapl138_lcdk: fixup mac address in dtb

2016-11-29 Thread Tom Rini
On Tue, Nov 29, 2016 at 11:31:09AM +0100, Fabien Parent wrote: > On Mon, Nov 28, 2016 at 5:56 PM, Tom Rini wrote: > > On Fri, Nov 25, 2016 at 11:11:23AM +0100, Fabien Parent wrote: > >> In order to avoid having a random mac address assigned by Linux, let's > >> fixup the dtb with the mac address t

Re: [U-Boot] static var mem alignment issue/question

2016-11-29 Thread Tim Harvey
On Tue, Nov 29, 2016 at 4:06 AM, Måns Rullgård wrote: > Tim Harvey writes: > >> Greetings, >> >> In debugging an issue with a rather old branch of U-Boot (2015-04) I >> found that the static assignment of a data buffer was not 32-bit >> aligned which caused data aborts. However I find that curren

Re: [U-Boot] static var mem alignment issue/question

2016-11-29 Thread Måns Rullgård
Tim Harvey writes: > On Tue, Nov 29, 2016 at 4:06 AM, Måns Rullgård wrote: >> Tim Harvey writes: >> >>> Greetings, >>> >>> In debugging an issue with a rather old branch of U-Boot (2015-04) I >>> found that the static assignment of a data buffer was not 32-bit >>> aligned which caused data abor

Re: [U-Boot] ext4: crash when writing a file

2016-11-29 Thread Brüns , Stefan
On Dienstag, 29. November 2016 14:10:54 CET Sébastien Szymanski wrote: > > > Btw, which u-boot version are you using? > > I first noticed the issue on U-Boot 2016.05 so I rebase on master from > http://git.denx.de/u-boot.git > > Regards, That still doesn't make clear on which version you see th

[U-Boot] [PATCH] MAINTAINERS: socfpga: update email address for Dinh Nguyen

2016-11-29 Thread Dinh Nguyen
With the acquisition of Altera by Intel, my Altera email may be going away soon. Update the contact to a more reliable address. Signed-off-by: Dinh Nguyen --- board/altera/arria5-socdk/MAINTAINERS | 2 +- board/altera/cyclone5-socdk/MAINTAINERS | 2 +- board/terasic/de0-nano-soc/MAINTAINERS |

[U-Boot] [PATCH v6] mx6sx: Add initial support for Samtec VIN|ING 2000 board

2016-11-29 Thread Christoph Fritz
This patch adds initial support for Samtec VIN|ING 2000 board. Signed-off-by: Christoph Fritz --- Changes since v1: - add more comments (enet phy init) - fix layout style e.g. multi-line-comments - use pinmux macros - use helper funcs clrsetbits_le32() and wait_for_bit() - make some function

Re: [U-Boot] [PATCH v1 1/4] sf: add ADDR_4B for 4byte address support

2016-11-29 Thread Yao Yuan
On Wed, Oct 26, 2016 at 4:39 PM, Jagan Teki wrote: > On Wed, Sep 28, 2016 at 4:39 PM, Yuan Yao wrote: > > From: Yuan Yao > > > > Some new flash don't support bar register but use 4bytes address to > > support exceed 16MB flash size. > > So add flash flag: > > ADDR_4B > > for some flash which sup

Re: [U-Boot] [PATCH v6] mx6sx: Add initial support for Samtec VIN|ING 2000 board

2016-11-29 Thread Stefano Babic
On 29/11/2016 16:13, Christoph Fritz wrote: > This patch adds initial support for Samtec VIN|ING 2000 board. > > Signed-off-by: Christoph Fritz > --- > Changes since v1: > - add more comments (enet phy init) > - fix layout style e.g. multi-line-comments > - use pinmux macros > - use helper fu

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2016-11-29 Thread Tom Rini
On Wed, Nov 23, 2016 at 07:13:25PM +, york sun wrote: > Tom, > > Let's try again. > > The following changes since commit 693d4c9f1dc40fcf24ced459bc4d1b46db33298a: > >spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS (2016-11-18 21:20:59 > -0500) > > are available in the git repository at

Re: [U-Boot] [PATCH 01/14] net: cosmetic: Do not use magic values for ARP_HLEN

2016-11-29 Thread Olliver Schinagl
Just a note to myself mostly, I forgot to this one in the patch series, son in v2 I'll add that as well. diff --git a/net/eth_common.c b/net/eth_common.c index e0d8b62..57ef821 100644 --- a/net/eth_common.c +++ b/net/eth_common.c @@ -51,7 +51,7 @@ void eth_parse_enetaddr(const char *addr, uchar

[U-Boot] [PATCH v2 1/2] davinci: omapl138_lcdk: improve readability of boot command

2016-11-29 Thread Fabien Parent
Improve the readability of the boot command. This will help a later commit that adds DT support. Signed-off-by: Fabien Parent Reviewed-by: Tom Rini --- v1 -> v2: * no change --- include/configs/omapl138_lcdk.h | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH v2 2/2] davinci: omapl138_lcdk: add DT support for EMMC boot

2016-11-29 Thread Fabien Parent
When booting from EMMC, load the DTB and pass it to the kernel. Signed-off-by: Fabien Parent Reviewed-by: Tom Rini --- v1 -> v2: * No change --- include/configs/omapl138_lcdk.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/omapl138_lcdk.h b/inclu

[U-Boot] [PATCH v2 0/2] davinci: omapl138_lcdk: load DT when doing EMMC boot

2016-11-29 Thread Fabien Parent
Load the DT when doing EMMC boot. v1 -> v2: * removed the unecessary PATCH 1, 4 and 5. * no change to PATCH 2 and 3. Fabien Parent (2): davinci: omapl138_lcdk: improve readability of boot command davinci: omapl138_lcdk: add DT support for EMMC boot include/configs/omapl138_lcdk.h |

Re: [U-Boot] [PATCH] tbs2910: Make Ethernet functional again

2016-11-29 Thread Stefano Babic
On 27/11/2016 16:02, Soeren Moch wrote: > Configure the PHY to output a 125MHz clk from CLK_25M and set tx clock delay. > This patch is similar to commit 4b6035da482cccda06aeb419634f99937c9fc783 > ("mx6sabresd: Make Ethernet functional again"). > > Signed-off-by: Soeren Moch > --- Applied to u-

Re: [U-Boot] [PATCH] arm: imx: wandboard: fix compile error if CONFIG_VIDEO is deactivated

2016-11-29 Thread Stefano Babic
On 25/11/2016 21:42, Sven Ebenfeld wrote: > When I tried to deactivate VIDEO support for the Wandboard, it still > tried to initialize the Framebuffer and so on. That is the reason for > the added ifdefs. CONFIG_VIDEO is enabled in the configuration as default > and therefore nothing changes for th

Re: [U-Boot] [PATCH] mx6sx: Add initial support for UDOO Neo Board

2016-11-29 Thread Stefano Babic
On 25/11/2016 19:56, Breno Lima wrote: > UDOO Neo Board is a development board from Seco that has three models: > - UDOO Neo Basic > - UDOO Neo Basic Kick Starter > - UDOO Neo Extended > - UDOO Neo Full > > All versions are based on the i.MX6 SoloX processor. > > For more details about the UD

Re: [U-Boot] [PATCH] colibri_vf: Read kernel and device tree from static UBI volumes

2016-11-29 Thread Stefano Babic
On 25/11/2016 11:49, Sanchayan Maity wrote: > Our update scripts write the kernel and device tree in seperate > UBI volumes. This allows to use a lot less UBI/UBIFS support in > U-Boot, which should lower the risk of hitting bugs in this area. > > Signed-off-by: Sanchayan Maity > --- > include/c

Re: [U-Boot] [PATCH v2] pwm: imx: increase support up to PWM8 for i.MX6SX

2016-11-29 Thread Stefano Babic
On 22/11/2016 12:01, Christoph Fritz wrote: > This patch increases supported PWMs from previously PWM4 now up to PWM8 > if i.MX6SX is in use. > > Signed-off-by: Christoph Fritz > --- > drivers/pwm/pwm-imx-util.c | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git

Re: [U-Boot] [PATCH] board: ge: bx50v3: add the PMIC configuration support

2016-11-29 Thread Stefano Babic
On 18/11/2016 18:20, Akshay Bhat wrote: > From: Ken Lin > > Change the PMIC bulk configuration from auto mode to sync mode to avoid > voltage dropout issue seen in auto mode. > > Signed-off-by: Ken Lin > Signed-off-by: Akshay Bhat > --- Applied to u-boot-imx, thanks ! Best regards, Stefano

Re: [U-Boot] [PATCH] tools: imximage: display DCD block offset, length

2016-11-29 Thread Stefano Babic
Hi Eric, Gary, On 17/11/2016 15:23, Eric Nelson wrote: > Hi Gary, > > On 11/17/2016 05:16 AM, Gary Bisson wrote: >> Hi Eric, All, >> >> On Wed, Nov 16, 2016 at 05:13:41PM -0700, Eric Nelson wrote: >>> These values can be used to sign a U-Boot image for use when >>> loading an image through the Se

Re: [U-Boot] [PATCH v2] arm: mx6: specify SPL padding

2016-11-29 Thread Stefano Babic
On 15/11/2016 19:38, Stefan Agner wrote: > From: Stefan Agner > > Specify standard padding for payload to 68KB. This is derived from > the maximum header size plus maximum SPL size. It matches the > already defined offset for SD/eMMC devices (69KB) too. This allows > to use the u-boot-with-spl.im

Re: [U-Boot] [PATCH v3] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-29 Thread Stefano Babic
On 11/11/2016 19:31, Angus Ainslie wrote: > Enable the escpi3 nets attached to the mikroBUS slot > on the i.MX7 Sabre evalution board. Also enble the SPI flash > commands to work with the "flash click" board. > > This is V2 of this patch with changes recommended by the maintainer > > CC: Jagan Te

Re: [U-Boot] [PATCH v4 1/1] ARM: ts4600: add basic board support

2016-11-29 Thread Stefano Babic
On 08/11/2016 18:18, Sebastien Bourdelin wrote: > This commit adds basic support including: > MMC, Serial console > > Signed-off-by: Sebastien Bourdelin > > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH V2 0/4] mx6: ddr: updates for dynamic DDR calibration

2016-11-29 Thread Stefano Babic
On 31/10/2016 00:33, Eric Nelson wrote: > This set of patches updates the interface to the DDR calibration in > preparation for the addition of a pseudo-board for calibration on > i.MX6. > > The first patch fixes an ommission in the use of the DG_CMP_CYC flag > in register MPDGCTRL0. > > The sec

Re: [U-Boot] [PATCH v2 2/2] imx: make ipu's di configurable

2016-11-29 Thread Stefano Babic
On 01/11/2016 15:04, Max Krummenacher wrote: > The ipu has two display interfaces. Make the used one a parameter > in struct display_info_t instead of using unconditionally DI0. > DI0 is the default setting. > > Signed-off-by: Max Krummenacher > > --- > Applied to u-boot-imx, thanks ! Best re

Re: [U-Boot] [PATCH] ARM: mx6: add MMC2 boot device detection support in SPL

2016-11-29 Thread Stefano Babic
On 21/10/2016 13:53, Marcin Niestroj wrote: > Check BOOT_CFG2[3:4] to determine which SD/MMC port is selected to boot > from. If MMC2 is selected return BOOT_DEVICE_MMC2. In all other cases > return BOOT_DEVICE_MMC1, as we do not have corresponding macro for MMC3 > and MMC4. > > Signed-off-by: Mar

Re: [U-Boot] [PATCH 0/2] ARM: imx6ul: Support liteSOM and liteBoard

2016-11-29 Thread Stefano Babic
On 16/09/2016 15:45, Marcin Niestroj wrote: > Hi, > > These patches add support for liteSOM (http://grinn-global.com/litesom/), > and liteBoard (which uses liteSOM as it's base). > > liteSOM consists of processor (NXP i.MX6UL), RAM memory (up to 512M DDR3) > and flash (eMMC card). The idea is tha

Re: [U-Boot] [PATCH 01/14] net: cosmetic: Do not use magic values for ARP_HLEN

2016-11-29 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: > Commit 674bb249825a ("net: cosmetic: Replace magic numbers in arp.c with > constants") introduced a nice define to replace the magic value 6 for > the ethernet hardware address. Replace more hardcoded instances of 6 > which really referenc

Re: [U-Boot] [PATCH 09/14] net: Add ability to set MAC address via EEPROM

2016-11-29 Thread Olliver Schinagl
Hey Michal, On 28-11-16 09:21, Michal Simek wrote: On 25.11.2016 16:30, Olliver Schinagl wrote: This patch allows Kconfig to enable and set parameters to make it possible to read the MAC address from an EEPROM. The net core layer then uses this information to read MAC addresses from this EEPRO

Re: [U-Boot] [PATCH 1/3] image: Add FIT image loadable section custom processing

2016-11-29 Thread Andrew F. Davis
On 11/23/2016 08:20 PM, Simon Glass wrote: > Hi Andrew, > > On 21 November 2016 at 13:14, Andrew F. Davis wrote: >> To help automate the loading of custom image types we add the ability >> to define custom handlers for the loadable section types. When we find >> a compatible type while loading a

Re: [U-Boot] [PATCH] spi: Zap mpc52xx_spi.c and config

2016-11-29 Thread Tom Rini
On Fri, Nov 25, 2016 at 01:10:56AM +0530, Jagan Teki wrote: > armada100_spi.c and related config options are > zapping becuase of "no DM conversion". > > Cc: Werner Pfister > Signed-off-by: Jagan Teki Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 1/2] fs/fat/fatwrite: Local variable as buffer to store dir_slot entries

2016-11-29 Thread Tom Rini
On Wed, Jul 27, 2016 at 11:08:56PM -0700, Tien Fong Chee wrote: > fill_dir_slot use get_contents_vfatname_block as a temporary buffer for > constructing a list of dir_slot entries. To save the memory and providing > correct type of memory for above usage, a local buffer with accurate size > declar

Re: [U-Boot] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-29 Thread Tom Rini
On Thu, Aug 11, 2016 at 08:04:03PM +0530, Mugunthan V N wrote: > Add support to detect RGMII link interface from link-interface > device tree entry. Also rename the existing link type enums so > that it provides meaningful interface like SGMII. > > Signed-off-by: Mugunthan V N > Reported-by: Sek

Re: [U-Boot] [U-Boot,1/9] gpio: bcm2835: add device tree support

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:43PM +0200, Fabian Vogt wrote: > This patch adds device tree support for the bcm2835 GPIO driver. > > Signed-off-by: Fabian Vogt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 3/9] serial: pl01x: expose skip_init platdata option in DT

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:45PM +0200, Fabian Vogt wrote: > To be able to represent the skip-init platdata element with OF_CONTROL, > it needs to be read from the device tree as well and put into the platform > data. > > Cc: Eric Anholt > Signed-off-by: Fabian Vogt > Reviewed-by: Simon Glas

Re: [U-Boot] [U-Boot, 2/9] serial: bcm283x_mu: add device tree support

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:44PM +0200, Fabian Vogt wrote: > This patch adds device tree support for the bcm283x mini-uart driver. > > Signed-off-by: Fabian Vogt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,4/9] fdt: add dt-bindings for bcm2835

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:46PM +0200, Fabian Vogt wrote: > This patch adds dt-bindings as used by the linux kernel device trees > for the bcm283x family. > > Albert Aribaud > Signed-off-by: Fabian Vogt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc D

Re: [U-Boot] [U-Boot, 5/9] fdt: import bcm283x device tree sources from the linux kernel tree

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:47PM +0200, Fabian Vogt wrote: > This patch adds device trees for the bcm283x platform to be used with > OF_CONTROL. The version 4.8-rc7 of the linux kernel was used as source. > > Cc: Albert Aribaud > Signed-off-by: Fabian Vogt > Reviewed-by: Simon Glass Applied

Re: [U-Boot] [U-Boot, 6/9] fdt: adjust bcm283x device tree for u-boot

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:48PM +0200, Fabian Vogt wrote: > The information currently set via platdata has to be represented in the > device tree now. bcm283x-uboot.dtsi adds the u-boot specific "skip-init" > property to the serial nodes and enables initialization in the pre-reloc > phase. >

Re: [U-Boot] [U-Boot, 8/9] board: rpi: move uart deactivation to board_init

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:50PM +0200, Fabian Vogt wrote: > When using OF_CONTROL, the disabled value of the mini UART platdata > gets reset after board_early_init_f. So move detection and disabling > to board_init and remove board_early_init_f. > This uses the first device using the mini uart

Re: [U-Boot] [U-Boot, 7/9] serial: bcm283x_mu: support disabling after initialization

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:49PM +0200, Fabian Vogt wrote: > For the Raspberry Pi 3 it needs to be possible to disable the serial > device after initialization happens, as only after the GPIO device is > available > it is known whether the mini uart is usable. > > Signed-off-by: Fabian Vogt >

Re: [U-Boot] [U-Boot,9/9] ARM: bcm283x: use OF_CONTROL for bcm283x

2016-11-29 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:26:51PM +0200, Fabian Vogt wrote: > This patch removes use of U_BOOT_DEVICE in board/raspberrypi/rpi/rpi.c, > enables OF_CONTROL in the config and adjusts the rpi_*defconfig configs. > > Signed-off-by: Fabian Vogt > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v3, 1/3] ARM: bcm283x: Implement EFI RTS reset_system

2016-11-29 Thread Tom Rini
On Wed, Nov 02, 2016 at 10:36:18AM +0100, Alexander Graf wrote: > The rpi has a pretty simple way of resetting the whole system. All it takes > is to poke a few registers at a well defined location in MMIO space. > > This patch adds support for the EFI loader implementation to allow an OS to > re

Re: [U-Boot] [U-Boot, v3, 2/3] bcm2835 video: Map frame buffer as 32bpp

2016-11-29 Thread Tom Rini
On Wed, Nov 02, 2016 at 10:36:19AM +0100, Alexander Graf wrote: > To enable working efifb support, let's map the frame buffer as 32bpp > instead of 16bpp. > > Signed-off-by: Alexander Graf > Acked-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digita

Re: [U-Boot] [PATCH] cmd: move CMD_PXE to Kconfig

2016-11-29 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 11:04 AM, Yann E. MORIN wrote: > Peter, All, > > On 2016-11-16 14:04 +, Peter Robinson spake thusly: >> On Sun, Nov 13, 2016 at 8:59 PM, Yann E. MORIN >> wrote: >> > Currently, CMD_PXE is forcibly enabled in config_distro_defaults.h, so >> > that general purpose distr

[U-Boot] [PATCH] travis.yml: Add samsung and rockchip builds

2016-11-29 Thread Tom Rini
The catch-all job is failing due to time limits depending on factors out of our control, so move Samsung and Rockchip boards into their own jobs and then exclude them from the general ARM and AArch64 jobs. Signed-off-by: Tom Rini --- .travis.yml | 8 ++-- 1 file changed, 6 insertions(+), 2 d

Re: [U-Boot] [PATCH] cmd: move CMD_PXE to Kconfig

2016-11-29 Thread Joe Hershberger
On Tue, Nov 15, 2016 at 11:01 AM, Yann E. MORIN wrote: > Joe, All, > > On 2016-11-14 21:15 -0600, Joe Hershberger spake thusly: >> On Sun, Nov 13, 2016 at 2:59 PM, Yann E. MORIN >> wrote: >> > Currently, CMD_PXE is forcibly enabled in config_distro_defaults.h, so >> > that general purpose distri

Re: [U-Boot] [PATCH v2 1/7] video: Kconfig: Add VIDEO_IPV3 entry

2016-11-29 Thread Stefano Babic
Hi Jagan, On 28/10/2016 15:57, Jagan Teki wrote: > From: Jagan Teki > > Added kconfig entry for CONFIG_VIDEO_IPV3 driver. > > Cc: Anatolij Gustschin > Cc: Stefano Babic > Cc: Matteo Lisi > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki > --- > drivers/video/Kconfig | 8 > 1 fi

Re: [U-Boot] [PATCH][v2] net: fman: fix 2.5G SGMII settings

2016-11-29 Thread Joe Hershberger
On Tue, Nov 15, 2016 at 12:36 AM, Shaohui Xie wrote: > The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in > set_if_mode(), and the serdes PCS configuration are wrong, this patch uses > the correct settings took from Linux. > > Signed-off-by: Shaohui Xie Acked-by: Joe Hershbe

Re: [U-Boot] [U-Boot, v3, 3/3] bcm2835: Reserve the spin table in efi memory map

2016-11-29 Thread Tom Rini
On Wed, Nov 02, 2016 at 10:36:20AM +0100, Alexander Graf wrote: > Firmware provides a spin table on the raspberry pi. This table shouldn't > get overwritten by payloads, so we need to mark it as reserved. > > Signed-off-by: Alexander Graf > Acked-by: Stephen Warren Applied to u-boot/master, th

Re: [U-Boot] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-29 Thread Tom Rini
On Tue, Nov 22, 2016 at 11:19:18AM +, Liviu Dudau wrote: > Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First, > that will trip devices that cannot use more than 16 bits of addresses > for IO, second it is un-necessary as the system can handle zero-based > PCI addresses just f

  1   2   3   >