Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-06 Thread Bin Meng
Hi Hannes, On Tue, Sep 6, 2016 at 12:33 PM, Hannes Schmelzer wrote: > "U-Boot" schrieb am 06.09.2016 03:54:52: > >> Von: Bin Meng >> An: Joe Hershberger , >> Kopie: u-boot , Hannes Schmelzer > , Joe >> Hershberger >> Datum: 06.09.2016 03:57 >> Betreff: Re: [U-Boot] [PATCH] net: write enetaddr

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-06 Thread Hannes Schmelzer
Bin Meng schrieb am 06.09.2016 09:07:39: [...] > >> > >> Why is this needed? The MAC address is supposed to be programmed in > >> the driver's probe routine. > > > > For example on my custom ZYNQ board. > > The Ethernetcontroller within the ZYNQ has no ROM to store his own > > MAC-Address, furthe

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-06 Thread Bin Meng
Hi Hannes, On Tue, Sep 6, 2016 at 3:23 PM, Hannes Schmelzer wrote: > Bin Meng schrieb am 06.09.2016 09:07:39: > > [...] >> >> >> >> Why is this needed? The MAC address is supposed to be programmed in >> >> the driver's probe routine. >> > >> > For example on my custom ZYNQ board. >> > The Ethern

Re: [U-Boot] [PATCH 09/11] arm: socfpga: stratix10: Add board folder for Stratix 10 socdk

2016-09-06 Thread Chin Liang See
On Mon, 2016-09-05 at 18:03 +0200, Marek Vasut wrote: > On 08/22/2016 05:02 PM, Chin Liang See wrote: > > Add board folder for Stratix 10 SoC development kit > > Directory, this is not Windows :-( haha... used to the windows term :) Will change this > > Oh, btw also use "separate", not "segrega

Re: [U-Boot] [PATCH] eth: asix88179: Reset device during probe with DM_ETH enabled

2016-09-06 Thread Alban Bedel
On Mon, 5 Sep 2016 19:04:49 -0600 Simon Glass wrote: > Hi, > > On 30 August 2016 at 08:01, Nikolaus Schulz > wrote: > > With the ethernet driver model enabled, reset the device before reading > > the MAC address, just like it's done for the non-device-model code path. > > This avoids a timeout

[U-Boot] Antwort: Re: Re: Re: [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-06 Thread Hannes Schmelzer
Bin Meng schrieb am 06.09.2016 09:28:13: > Von: Bin Meng > An: Hannes Schmelzer , > Kopie: Joe Hershberger , Joe Hershberger > , Hannes Schmelzer , u-boot b...@lists.denx.de>, U-Boot > Datum: 06.09.2016 09:28 > Betreff: Re: Re: Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on >

Re: [U-Boot] [PATCH v2 1/3] warp7: Add a secure mode target

2016-09-06 Thread Stefano Babic
On 26/08/2016 02:07, Fabio Estevam wrote: > From: Fabio Estevam > > NXP kernel expects to boot in secure mode, so introduce > warp7_secure_defconfig target which selects CONFIG_ARMV7_BOOT_SEC_DEFAULT. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best regards, Stefano

Re: [U-Boot] [PATCH v2 2/3] warp7: Use PARTUUID to specify the rootfs location

2016-09-06 Thread Stefano Babic
On 26/08/2016 02:07, Fabio Estevam wrote: > From: Fabio Estevam > > warp7 can run different kernel versions, such as NXP 4.1 or mainline. > > Currently the rootfs location is passed via mmcblk number and the > problem with this approach is that the mmcblk number for the eMMC > changes depending

Re: [U-Boot] [PATCH] ARM: board: cm_fx6: fix mtd partition fixup

2016-09-06 Thread Stefano Babic
On 23/08/2016 16:08, christopher.spinr...@rwth-aachen.de wrote: > From: Christopher Spinrath > > ft_board_setup may return early in the case that the board revision > cannot be obtained. In that case it is assumed that no revision > specific correction in the fdt is neccessary. But the mtd partit

Re: [U-Boot] [PATCH 1/3] pico-imx6ul: Directly write to register LDOGCTL

2016-09-06 Thread Stefano Babic
On 17/08/2016 14:46, Fabio Estevam wrote: > Register LDOGCTL contains only bit 0 as a valid bit, so there is no need > to do a read-modify-write operation. > > Simplify the code by writing directly to this register. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best r

Re: [U-Boot] [PATCH 2/3] mx7dsabresd: Directly write to register LDOGCTL

2016-09-06 Thread Stefano Babic
On 17/08/2016 14:46, Fabio Estevam wrote: > Register LDOGCTL contains only bit 0 as a valid bit, so there is no need > to do a read-modify-write operation. > > Simplify the code by writing directly to this register. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best r

Re: [U-Boot] [PATCH 3/3] mx7dsabresd: Directly write to register LDOGCTL

2016-09-06 Thread Stefano Babic
On 17/08/2016 14:46, Fabio Estevam wrote: > Register LDOGCTL contains only bit 0 as a valid bit, so there is no need > to do a read-modify-write operation. > > Simplify the code by writing directly to this register. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best re

Re: [U-Boot] [PATCH v4 2/4] mx6ul_14x14_evk: Pass refsel and refr fields to avoid hang

2016-09-06 Thread Stefano Babic
On 30/08/2016 01:37, Fabio Estevam wrote: > From: Fabio Estevam > > When running a NXP 4.1 kernel with U-Boot mainline on a mx6ul-evk, > we observe a hang when going into the lowest operational point of cpufreq. > > This hang issue does not happen on the NXP U-Boot version. > > After comparing

[U-Boot] [PULL] Please pull u-boot-imx

2016-09-06 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 46fe9eb08812cc27a0d5cd97d97373c14d578fe9: Merge branch 'master' of git://git.denx.de/u-boot-net (2016-08-23 07:20:36 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master

Re: [U-Boot] ZynqMP breakage

2016-09-06 Thread Alexander Graf
On 09/06/2016 03:05 AM, Simon Glass wrote: Hi Alex, On 5 September 2016 at 04:51, Alexander Graf wrote: On 08/19/2016 08:45 AM, Michal Simek wrote: On 16.8.2016 20:39, Alexander Graf wrote: Hi Michal, I just tried to run the latest u-boot master + a few patches to implement generic PSCI RTS

Re: [U-Boot] [PATCH 11/11] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-09-06 Thread Chin Liang See
On Mon, 2016-09-05 at 18:06 +0200, Marek Vasut wrote: > On 08/22/2016 05:02 PM, Chin Liang See wrote: > > Add support for Stratix 10 SoC development kit > > > > Signed-off-by: Chin Liang See > > Cc: Marek Vasut > > Cc: Dinh Nguyen > > Cc: Ley Foon Tan > > --- > > arch/arm/Kconfig

Re: [U-Boot] [PATCH 07/11] arm: socfpga: sysmgr: Fix casting warning when enabling ARM64

2016-09-06 Thread Chin Liang See
On Mon, 2016-09-05 at 18:02 +0200, Marek Vasut wrote: > On 08/22/2016 05:02 PM, Chin Liang See wrote: > > Fix casting warning to pointer from integer of different size > > when enabling ARM64 support > > What sort of error did you observe ? The warning is triggered as ARM64 has build flag -Wpoint

Re: [U-Boot] [PATCH 1/7] rockchip: rk3399: update PPLL and pmu_pclk frequency

2016-09-06 Thread Kever Yang
Hi Simon, On 09/06/2016 09:03 AM, Simon Glass wrote: Hi Kever, On 29 August 2016 at 21:02, Kever Yang wrote: This patch update PPLL to 676MHz and PMU_PCLK to 48MHz. Why? 1. 48MHz can make sure the pwm can get exact 50% duty ratio, but 99MHz can not, 2. We think 48MHz is fast enough for p

[U-Boot] [PATCH v2 00/11] Add support for Stratix 10 SoC

2016-09-06 Thread Chin Liang See
Add support for Stratix 10 SoC which is ARM64 based. This series of patches are tested with Stratix 10 SOC Virtual Platform that is available today. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- Chin Liang See (11): arm: socfpga: stratix10: Add SOCFPGA St

[U-Boot] [PATCH v2 04/11] arm: socfpga: clkmgr: Separate the Clock Manager for Stratix 10

2016-09-06 Thread Chin Liang See
Separate the Clock Manager to support both GEN5 SoC and Stratix 10 SoC. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- Changes for v2 - Change segregrate to separate --- arch/arm/mach-socfpga/clock_manager.c | 8 1 file changed, 8 insertions(+) di

[U-Boot] [PATCH v2 03/11] arm: socfpga: rstmgr: Separate the Reset Manager for Stratix 10

2016-09-06 Thread Chin Liang See
Separate the Reset Manager to support both GEN5 SoC and Stratix 10 SoC. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Acked-by: Marek Vasut --- Changes for v2 - Change the segregate to separate --- arch/arm/mach-socfpga/reset_manager.c | 12 1 fi

[U-Boot] [PATCH v2 05/11] arm: socfpga: fpgamgr: Disable FPGA Manager for Stratix 10

2016-09-06 Thread Chin Liang See
Disable the FPGA Manager for Stratix 10 SoC as we are not using this for SOCVP Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- Changes for v2 - Change in Makefile instead of fpga_manger.c --- arch/arm/mach-socfpga/Makefile | 5 +++-- 1 file changed, 3 insert

[U-Boot] [PATCH v2 06/11] arm: socfpga: misc: Separate the misc.c for Stratix 10

2016-09-06 Thread Chin Liang See
Separate the misc.c to support both GEN5 SoC and Stratix 10 SoC. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- Changes for v2 - Change segregate to separate --- arch/arm/mach-socfpga/misc.c | 12 1 file changed, 12 insertions(+) diff --git a/

[U-Boot] [PATCH v2 07/11] arm: socfpga: sysmgr: Fix casting warning when enabling ARM64

2016-09-06 Thread Chin Liang See
Fix casting warning to pointer from integer of different size when enabling ARM64 support Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- arch/arm/mach-socfpga/system_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach

[U-Boot] [PATCH v2 08/11] arm: socfpga: mmu: Add memory map layout for Stratix 10 SoC

2016-09-06 Thread Chin Liang See
Add memory map layout for Stratix 10 SoC Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 2 ++ arch/arm/mach-socfpga/mmu-arm64.c | 71 +++ 2 files changed, 73 insertions(+) create mode

[U-Boot] [PATCH v2 09/11] arm: socfpga: stratix10: Add board directory for Stratix 10 socdk

2016-09-06 Thread Chin Liang See
Add board folder for Stratix 10 SoC development kit Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- board/altera/stratix10-socdk/MAINTAINERS | 7 +++ board/altera/stratix10-socdk/Makefile| 7 +++ board/altera/stratix10-socdk/socfpga.c | 7 +

[U-Boot] [PATCH v2 10/11] arm: dts: socfpga: Add dts for Stratix 10 socdk

2016-09-06 Thread Chin Liang See
Add device tree for Stratix 10 SoC development kit Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Acked-by: Marek Vasut --- arch/arm/dts/Makefile| 3 +- arch/arm/dts/socfpga_stratix10_socdk.dts | 63 2 file

[U-Boot] [PATCH v2 01/11] arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address

2016-09-06 Thread Chin Liang See
Add base address header file for Stratix10 SoC Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Acked-by: Marek Vasut --- arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 48 ++ 1 file changed, 48 insertions(+) create mode 100755 arch/ar

[U-Boot] [PATCH v2 11/11] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-09-06 Thread Chin Liang See
Add support for Stratix 10 SoC development kit Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- Changes for v2 - Sorting the config alphabetically --- arch/arm/Kconfig | 7 +- arch/arm/mach-socfpga/Kconfig | 10 +++ con

[U-Boot] [PATCH v2 02/11] arm: socfpga: rstmgr: Add Reset Manager for Stratix 10

2016-09-06 Thread Chin Liang See
Add Reset Manager registers structure for Stratix 10 SoC Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Acked-by: Marek Vasut --- arch/arm/mach-socfpga/include/mach/reset_manager.h | 32 ++ 1 file changed, 32 insertions(+) diff --git a/arc

Re: [U-Boot] [PATCH 3/7] power: regulator: add pwm regulator

2016-09-06 Thread Kever Yang
Hi Simon, On 09/06/2016 09:03 AM, Simon Glass wrote: Hi Kever, On 29 August 2016 at 21:02, Kever Yang wrote: This driver add support for pwm regulator. Signed-off-by: Elaine Zhang Signed-off-by: Kever Yang --- drivers/power/regulator/Kconfig | 9 ++ drivers/power/regulator/Ma

[U-Boot] is it necessary to set "gd->env_valid = 0" in getenv_default()?

2016-09-06 Thread Robert P. J. Day
still wandering through the bowels of u-boot environment manipulation code, and i see this in common/env_common.c: /* * Look up the variable from the default environment */ char *getenv_default(const char *name) { char *ret_val; unsigned long really_valid = gd->env_v

[U-Boot] [Patch v5 0/9] Add LS1046ARDB&QDS board support

2016-09-06 Thread Gong Qianyu
Hi all, This is version 5 patchset mainly to add support for both LS1046ARDB&QDS board. It should be based on two DDR patches to work well on LS1046ARDB or LS1046AQDS. The two patches are: http://patchwork.ozlabs.org/patch/663534/ http://patchwork.ozlabs.org/patch/663535/ PCIe and USB are not sup

[U-Boot] [Patch v5 5/9] armv8: fsl-layerscape: spl: remove BSS clearing and board_init_r

2016-09-06 Thread Gong Qianyu
As per the top level U-Boot README "Board Initialisation Flow" section, board_init_f() should return without calling board_init_r() directly. Clearing BSS and calling board_init_r() will be done in crt0_64.S. Signed-off-by: Gong Qianyu --- v5: - New Patch. arch/arm/cpu/armv8/fsl-layerscape/spl

[U-Boot] [Patch v5 4/9] armv8: fsl-layerscape: add define CONFIG_STANDALONE_LOAD_ADDR for standalone app

2016-09-06 Thread Gong Qianyu
From: Shaohui Xie The CONFIG_STANDALONE_LOAD_ADDR is set to 0x8030 by default. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- v2-v5: - No change. arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-

[U-Boot] [Patch v5 3/9] armv8: fsl-layerscape: Increase L2 Data RAM latency and L2 Tag RAM latency

2016-09-06 Thread Gong Qianyu
From: Mingkai Hu According to design specification, the L2 cache operates at the same frequency as the A72 CPUs in the cluster with a 3-cycle latency, so increase the L2 Data RAM and Tag RAM latency to 3 cycles, or else, will run into different call trace issues. Signed-off-by: Mingkai Hu Signe

[U-Boot] [Patch v5 7/9] armv8: ls1046a: disable SATA ECC in DCSR

2016-09-06 Thread Gong Qianyu
From: Shaohui Xie This is a workaround to fix SATA CRC error. Once the root cause is found the ECC disabling will be removed. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- v3-v5: - No change. v2: - Use values directly instead of macros. - Revise commit message. arch/arm/cpu/a

[U-Boot] [Patch v5 8/9] armv8: ls1046ardb: Add LS1046ARDB board support

2016-09-06 Thread Gong Qianyu
From: Mingkai Hu LS1046ARDB Specification: - Memory subsystem: * 8GByte DDR4 SDRAM (64bit bus) * 512 Mbyte NAND flash * Two 64 Mbyte high-speed SPI flash * SD connector to interface with the SD memory card * On-board 4G eMMC Ethernet: * Two XFI 10G ports * Two SGMI

[U-Boot] [Patch v5 9/9] armv8: ls1046aqds: Add LS1046AQDS board support

2016-09-06 Thread Gong Qianyu
From: Shaohui Xie LS1046AQDS Specification: - Memory subsystem: * 8GByte DDR4 SDRAM (64bit bus) * 128 Mbyte NOR flash single-chip memory * 512 Mbyte NAND flash * 64 Mbyte high-speed SPI flash * SD connector to interface with the SD memory card Ethernet: * Two XFI 10

[U-Boot] [Patch v5 1/9] ddr: fsl: fix a compile issue

2016-09-06 Thread Gong Qianyu
From: Shaohui Xie When CONFIG_SYS_FSL_ERRATUM_A009801 is defined but CONFIG_SYS_FSL_ERRATUM_A008511 not defined, there is compile error that temp32 undeclared, this patch fixes it. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- v2-v5: - No change. drivers/ddr/fsl/fsl_ddr_gen4.c |

[U-Boot] [Patch v5 6/9] armv8: ls1046a: Enable DDR erratum for ls1046a

2016-09-06 Thread Gong Qianyu
From: Shengzhou Liu Enable ERRATUM_A008511, ERRATUM_A009801, ERRATUM_A009803, ERRATUM_A009942, ERRATUM_A010165 Signed-off-by: Shengzhou Liu Signed-off-by: Gong Qianyu --- v3-v5: - No change. v2: - Add ERRATUM_A008511. arch/arm/include/asm/arch-fsl-layerscape/config.h | 6 ++ 1 file cha

Re: [U-Boot] [PATCH v2 1/3] warp7: Add a secure mode target

2016-09-06 Thread Fabio Estevam
Hi Stefano, On Tue, Sep 6, 2016 at 5:09 AM, Stefano Babic wrote: > On 26/08/2016 02:07, Fabio Estevam wrote: >> From: Fabio Estevam >> >> NXP kernel expects to boot in secure mode, so introduce >> warp7_secure_defconfig target which selects CONFIG_ARMV7_BOOT_SEC_DEFAULT. >> >> Signed-off-by: Fab

[U-Boot] [Patch v5 2/9] Export memset for standalone AQ FW load apps

2016-09-06 Thread Gong Qianyu
From: Shaohui Xie The 'commit 95279315076c ("board/ls2085rdb: Export functions for standalone AQ FW load apps")' mentioned memset was exported but it was not, this patch exports the memset. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- v3-v5: - No change. v2: - Revise commmit mes

Re: [U-Boot] [PATCH v2 1/3] warp7: Add a secure mode target

2016-09-06 Thread Stefano Babic
On 06/09/2016 12:58, Fabio Estevam wrote: > Hi Stefano, > > On Tue, Sep 6, 2016 at 5:09 AM, Stefano Babic wrote: >> On 26/08/2016 02:07, Fabio Estevam wrote: >>> From: Fabio Estevam >>> >>> NXP kernel expects to boot in secure mode, so introduce >>> warp7_secure_defconfig target which selects CO

[U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-06 Thread Prabhakar Kushwaha
IFC IP clock is always a constant divisor of platform clock pre-defined per SoC. Clock Control register (CCR) used in current implementation governs IFC IP output clock. So update IFC IP clock to be defined as per predefined clock divisor of platform clock. Signed-off-by: Prabhakar Kushwaha ---

Re: [U-Boot] [PATCH RFC 5/5] imx: mx6ul: Add initial board support for Engicam GEAM6UL

2016-09-06 Thread Tom Rini
On Sun, Sep 04, 2016 at 11:47:06AM -0300, Fabio Estevam wrote: > On Sun, Sep 4, 2016 at 10:32 AM, Jagan Teki wrote: > > > Please do read the thread fully before commenting, I've mentioned the > > state of hardware when I relied to Peng. And also this is an RFC patch > > I'm looking for comments o

Re: [U-Boot] [PATCH] Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL

2016-09-06 Thread Masahiro Yamada
2016-09-06 10:04 GMT+09:00 Simon Glass : > On 30 August 2016 at 03:56, Stefan Roese wrote: >> On 30.08.2016 11:50, Masahiro Yamada wrote: >>> >>> If both SPL_DM and SPL_OF_CONTROL are enabled, SPL needs to bind >>> several devices, but CONFIG_SYS_MALLOC_F_LEN=0x400 is apparently >>> not enough. I

[U-Boot] [PATCH] efi_loader: Allow bouncing for network

2016-09-06 Thread Alexander Graf
So far bounce buffers were only used for disk I/O, but network I/O may suffer from the same problem. On platforms that have problems doing DMA on high addresses, let's also bounce outgoing network packets. Incoming ones always already get bounced. This patch fixes EFI PXE boot on ZynqMP for me.

Re: [U-Boot] [PATCH 6/7] dts: evb-rk3399: add init voltage node for vdd-center

2016-09-06 Thread Kever Yang
Hi Simon, On 09/06/2016 09:04 AM, Simon Glass wrote: Hi Kever, On 29 August 2016 at 21:02, Kever Yang wrote: This patch add regulator-init-microvolt for pwm regulator to get a init value when driver do probe init. How about: Add a regulator-init-microvolt value for the vd_center regulator s

Re: [U-Boot] [PATCH 3/7] power: regulator: add pwm regulator

2016-09-06 Thread Simon Glass
Hi Kever, On 6 September 2016 at 04:03, Kever Yang wrote: > Hi Simon, > > > On 09/06/2016 09:03 AM, Simon Glass wrote: >> >> Hi Kever, >> >> On 29 August 2016 at 21:02, Kever Yang wrote: >>> >>> This driver add support for pwm regulator. >>> >>> Signed-off-by: Elaine Zhang >>> Signed-off-by: Ke

Re: [U-Boot] [PATCH] Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL

2016-09-06 Thread Simon Glass
Hi Masahiro, On 6 September 2016 at 06:24, Masahiro Yamada wrote: > > 2016-09-06 10:04 GMT+09:00 Simon Glass : > > On 30 August 2016 at 03:56, Stefan Roese wrote: > >> On 30.08.2016 11:50, Masahiro Yamada wrote: > >>> > >>> If both SPL_DM and SPL_OF_CONTROL are enabled, SPL needs to bind > >>> s

Re: [U-Boot] [PATCH] eth: asix88179: Reset device during probe with DM_ETH enabled

2016-09-06 Thread Simon Glass
Hi, On 6 September 2016 at 03:33, Nikolaus Schulz wrote: > On Mon, Sep 05, 2016 at 07:04:49PM -0600, Simon Glass wrote: >> On 30 August 2016 at 08:01, Nikolaus Schulz >> wrote: >> > With the ethernet driver model enabled, reset the device before reading >> > the MAC address, just like it's done

Re: [U-Boot] [PATCH 1/7] rockchip: rk3399: update PPLL and pmu_pclk frequency

2016-09-06 Thread Simon Glass
Hi Kever, On 6 September 2016 at 03:52, Kever Yang wrote: > Hi Simon, > > On 09/06/2016 09:03 AM, Simon Glass wrote: >> >> Hi Kever, >> >> On 29 August 2016 at 21:02, Kever Yang wrote: >>> >>> This patch update PPLL to 676MHz and PMU_PCLK to 48MHz. >> >> Why? >> > > 1. 48MHz can make sure the pw

Re: [U-Boot] ZynqMP breakage

2016-09-06 Thread Simon Glass
Hi Alex, On 6 September 2016 at 03:09, Alexander Graf wrote: > On 09/06/2016 03:05 AM, Simon Glass wrote: >> >> Hi Alex, >> >> On 5 September 2016 at 04:51, Alexander Graf wrote: >>> >>> On 08/19/2016 08:45 AM, Michal Simek wrote: On 16.8.2016 20:39, Alexander Graf wrote: > > H

[U-Boot] Please pull u-boot-sunxi master (v2016.09 fixes)

2016-09-06 Thread Hans de Goede
Hi Tom, Here is a sunxi pull-req with some recent fixes for v2016.09, note this is an updated pull-req superseding my previous one. The main reason for this pull-req is a couple of fixes for the sun8i ethernet support (which is new in v2016.0). Besides that this also adds 3 new boards which were

Re: [U-Boot] ZynqMP breakage

2016-09-06 Thread Alexander Graf
On 09/06/2016 02:52 PM, Simon Glass wrote: Hi Alex, On 6 September 2016 at 03:09, Alexander Graf wrote: On 09/06/2016 03:05 AM, Simon Glass wrote: Hi Alex, On 5 September 2016 at 04:51, Alexander Graf wrote: On 08/19/2016 08:45 AM, Michal Simek wrote: On 16.8.2016 20:39, Alexander Graf wr

Re: [U-Boot] ZynqMP breakage

2016-09-06 Thread Simon Glass
Hi Alex, On 6 September 2016 at 06:55, Alexander Graf wrote: > On 09/06/2016 02:52 PM, Simon Glass wrote: >> >> Hi Alex, >> >> On 6 September 2016 at 03:09, Alexander Graf wrote: >>> >>> On 09/06/2016 03:05 AM, Simon Glass wrote: Hi Alex, On 5 September 2016 at 04:51, Alexand

Re: [U-Boot] [PATCH 11/11] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-09-06 Thread Marek Vasut
On 09/06/2016 11:18 AM, Chin Liang See wrote: > On Mon, 2016-09-05 at 18:06 +0200, Marek Vasut wrote: >> On 08/22/2016 05:02 PM, Chin Liang See wrote: >>> Add support for Stratix 10 SoC development kit >>> >>> Signed-off-by: Chin Liang See >>> Cc: Marek Vasut >>> Cc: Dinh Nguyen >>> Cc: Ley Foon

Re: [U-Boot] [PATCH] Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL

2016-09-06 Thread Marek Vasut
On 09/06/2016 02:24 PM, Masahiro Yamada wrote: > 2016-09-06 10:04 GMT+09:00 Simon Glass : >> On 30 August 2016 at 03:56, Stefan Roese wrote: >>> On 30.08.2016 11:50, Masahiro Yamada wrote: If both SPL_DM and SPL_OF_CONTROL are enabled, SPL needs to bind several devices, but CONFIG_S

Re: [U-Boot] [PATCH 06/11] arm: socfpga: misc: Segregate the misc.c for Stratix 10

2016-09-06 Thread Marek Vasut
On 09/06/2016 08:19 AM, Chin Liang See wrote: > On Mon, 2016-09-05 at 18:01 +0200, Marek Vasut wrote: >> On 08/22/2016 05:02 PM, Chin Liang See wrote: >>> Segregate the misc.c to support both GEN5 SoC and Stratix 10 SoC. >>> >>> Signed-off-by: Chin Liang See >>> Cc: Marek Vasut >>> Cc: Dinh Nguye

Re: [U-Boot] [PATCH 07/11] arm: socfpga: sysmgr: Fix casting warning when enabling ARM64

2016-09-06 Thread Marek Vasut
On 09/06/2016 11:41 AM, Chin Liang See wrote: > On Mon, 2016-09-05 at 18:02 +0200, Marek Vasut wrote: >> On 08/22/2016 05:02 PM, Chin Liang See wrote: >>> Fix casting warning to pointer from integer of different size >>> when enabling ARM64 support >> >> What sort of error did you observe ? > > Th

Re: [U-Boot] [PATCH 04/11] arm: socfpga: clkmgr: Segregate the Clock Manager for Stratix 10

2016-09-06 Thread Marek Vasut
On 09/06/2016 07:14 AM, Chin Liang See wrote: > On Mon, 2016-09-05 at 17:58 +0200, Marek Vasut wrote: >> On 08/22/2016 05:02 PM, Chin Liang See wrote: >>> Segregate the Clock Manager to support both GEN5 SoC and >>> Stratix 10 SoC. >>> >>> Signed-off-by: Chin Liang See >>> Cc: Marek Vasut >>> Cc:

Re: [U-Boot] [PATCH 8/9] net: nfs: Use the tx buffer to construct rpc msgs

2016-09-06 Thread Guillaume Gardet
Hi Joe, I tested 2016.09-rc2 on a beagleboard xM and NFS does not work anymore! When I call the nfs command, I get a "data abort" error with a reboot of the board! A git bisect point to this patch: "net: nfs: Use the tx buffer to construct rpc msgs" Could you have a look and fix it for the re

Re: [U-Boot] [PATCH] TI: Rework SRAM definitions and maximums

2016-09-06 Thread Ladislav Michl
On Sat, Aug 27, 2016 at 05:29:44PM +0530, Lokesh Vutla wrote: > On Friday 26 August 2016 11:00 PM, Tom Rini wrote: > > On all TI platforms the ROM defines a "downloaded image" area at or near > > the start of SRAM which is followed by a reserved area. As it is at > > best bad form and at worst pos

[U-Boot] [PATCH v3 1/8] mmc: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
These functions can be much simpler by squashing lines for immediate return. For *_bind() callbacks, they will be a simple wrapper function of an upper-level bind API. For mmc_set_{boot_bus_width,part_conf}, they will be a wrapper of mmc_switch(). Signed-off-by: Masahiro Yamada --- Changes in

[U-Boot] [PATCH v3 8/8] drivers: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- Changes in v3: - more changes drivers/block/sym53c8xx.c| 5 ++--- drivers/ddr/fsl/ddr1_dimm_params.c | 12 ++-- drivers/ddr/fsl/ddr2_dimm_params.c | 12 ++-- drivers/ddr/marvell/a38

[U-Boot] [PATCH v3 6/8] libfdt: simplify fdt_del_mem_rsv()

2016-09-06 Thread Masahiro Yamada
The variable "err" is unneeded. [ Device Tree Compiler commit: 36fd7331fb11276c09a6affc0d8cd4977f2fe100 ] Signed-off-by: Masahiro Yamada Signed-off-by: David Gibson --- Changes in v3: None lib/libfdt/fdt_rw.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/libfdt

[U-Boot] [PATCH v3 2/8] video: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
For vidconsole_post_probe(), it is common coding style to let a probe method return the value of a register function. The others will become simple wrapper functions. Signed-off-by: Masahiro Yamada Acked-by: Anatolij Gustschin --- Changes in v3: - Two more fixes - s/resister/register/ dr

[U-Boot] [PATCH v3 4/8] usb: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
This makes functions much simpler. Signed-off-by: Masahiro Yamada --- Changes in v3: None common/usb.c| 20 +++- common/usb_kbd.c| 5 + common/usb_storage.c| 9 +++-- drivers/usb/host/xhci-fsl.c | 7 +-- 4 files changed, 12 ins

[U-Boot] [PATCH v3 5/8] x86: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
arch_cpu_init() can be simpler by this refactoring. Signed-off-by: Masahiro Yamada Reviewed-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None arch/x86/cpu/baytrail/valleyview.c | 8 +--- arch/x86/cpu/ivybridge/ivybridge.c | 8 +--- arch/x86/cpu/qemu/qemu.c | 8 +

[U-Boot] [PATCH v3 3/8] usb: replace ehci_*_remove() with usb_deregister()

2016-09-06 Thread Masahiro Yamada
The remove callbacks of EHCI drivers are often just a wrapper of ehci_deregister. Signed-off-by: Masahiro Yamada --- Changes in v3: - added drivers/usb/host/ehci-atmel.c | 13 + drivers/usb/host/ehci-fsl.c | 13 + drivers/usb/host/ehci-generic.c | 7 +-- dr

[U-Boot] [PATCH v3 7/8] arch, board: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- Changes in v3: - More fixes arch/arm/cpu/arm920t/imx/timer.c | 6 +- arch/arm/cpu/armv7/am33xx/sys_info.c | 4 +--- arch/arm/cpu/sa1100/timer.c | 5 + arch/arm/mac

Re: [U-Boot] [PATCH v2 1/7] include: image.h: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:36AM -0400, Madan Srinivas wrote: > The function board_fit_image_post_process is defined only when the config > CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure systems that do not > use SPL but use FIT kernel images, only CONFIG_FIT_IMAGE_POST_PROCESS will > be d

Re: [U-Boot] [PATCH v2 2/7] arm: mach-keystone: Implements FIT post-processing call for keystone SoCs

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:37AM -0400, Madan Srinivas wrote: > From: Vitaly Andrianov > > This commit implements the board_fit_image_post_process() function for > the keystone architecture. Unlike OMAP class devices, security > functions in keystone are not handled in the ROM. > The interface

Re: [U-Boot] [PATCH v2 6/7] doc: Updates info on using keystone secure devices from TI

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:41AM -0400, Madan Srinivas wrote: > Add a section describing the secure boot image used on > keystone secure devices. > > This patch applies on top of the patch > doc: Update info on using AM33xx secure devices from TI > submitted by Andrew Davis > > Signed-off-by:

Re: [U-Boot] [PATCH v2 3/7] arm: omap-common: adds secure image name common to OMAP and keystone

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:38AM -0400, Madan Srinivas wrote: > As K2 can directly boot u-boot, add u-boot_HS_MLO as the > secure image while booting secure K2 devicesr, for all > boot modes other than SPI flash. > > Signed-off-by: Madan Srinivas > Reviewed-by: Tom Rini -- Tom signature

Re: [U-Boot] [PATCH v2 4/7] arm: omap-common: Enable support for K2 HS devices in u-boot

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:39AM -0400, Madan Srinivas wrote: > From: Vitaly Andrianov > > Like the OMAP54xx, AM43xx & AM33xx family SoCs, the keystone family > of SoCs also have high security enabled models. Allow K2E devices to > be built with HS Device Type Support. > > This patch applies

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > Hi Fabio, > > On 02/09/16 22:03, Fabio Estevam wrote: > >You don't need u-boot.imx to boot the board with imx_usb_loader. > >Check the README update that Stefano did with this commit: > > > >commit 40f4839ce12adfc0223d6e3035cf9c3a4754

[U-Boot] [PATCH v3 0/8] Clean-up: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
ret = [expression]; if (ret) return ret; return 0; ... is equivalent to: return [expression]; First, I sent a tree-wide patch: http://patchwork.ozlabs.org/patch/665199/ In the review of v1, Stephen suggested that twee-wide conversion with something like Coccinelle can break code unif

Re: [U-Boot] [PATCH v2 1/7] include: image.h: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:36AM -0400, Madan Srinivas wrote: > The function board_fit_image_post_process is defined only when the config > CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure systems that do not > use SPL but use FIT kernel images, only CONFIG_FIT_IMAGE_POST_PROCESS will > be d

Re: [U-Boot] [PATCH] treewide: compress lines for immediate return

2016-09-06 Thread Stefano Babic
Hi Masahiro, On 02/09/2016 12:36, Masahiro Yamada wrote: > -ret = expression; > -if (ret) > -return ret; > -return 0; > +return expression; > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/cpu/armv7/bcm235xx/clk-bsc.c | 6 +- > arch/arm/cpu/armv7/bcm281xx/

[U-Boot] [PATCH] efi_loader: provide efi_mem_desc version

2016-09-06 Thread Mian Yousaf Kaukab
Provide version of struct efi_mem_desc in efi_get_memory_map(). EFI_BOOT_SERVICES.GetMemoryMap() in UEFI specification v2.6 defines memory descriptor version to 1. Linux kernel also expects descriptor version to be 1 and prints following warning during boot if its not: Unexpected EFI_MEMORY_DESCR

[U-Boot] [PATCH] efi_loader: provide efi_mem_desc version

2016-09-06 Thread Mian Yousaf Kaukab
Provide version of struct efi_mem_desc in efi_get_memory_map(). EFI_BOOT_SERVICES.GetMemoryMap() in UEFI specification v2.6 defines memory descriptor version to 1. Linux kernel also expects descriptor version to be 1 and prints following warning during boot if its not: Unexpected EFI_MEMORY_DESCR

Re: [U-Boot] [PATCH] eth: asix88179: Reset device during probe with DM_ETH enabled

2016-09-06 Thread Nikolaus Schulz
On Mon, Sep 05, 2016 at 07:04:49PM -0600, Simon Glass wrote: > On 30 August 2016 at 08:01, Nikolaus Schulz > wrote: > > With the ethernet driver model enabled, reset the device before reading > > the MAC address, just like it's done for the non-device-model code path. > > This avoids a timeout whe

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Otavio Salvador
On Tue, Sep 6, 2016 at 10:40 AM, Tom Rini wrote: > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: >> Hi Fabio, >> >> On 02/09/16 22:03, Fabio Estevam wrote: >> >You don't need u-boot.imx to boot the board with imx_usb_loader. >> >Check the README update that Stefano did with this co

Re: [U-Boot] ZynqMP breakage

2016-09-06 Thread Michal Simek
Hi, On 6.9.2016 14:57, Simon Glass wrote: > Hi Alex, > > On 6 September 2016 at 06:55, Alexander Graf wrote: >> On 09/06/2016 02:52 PM, Simon Glass wrote: >>> >>> Hi Alex, >>> >>> On 6 September 2016 at 03:09, Alexander Graf wrote: On 09/06/2016 03:05 AM, Simon Glass wrote: >

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:53:30AM -0300, Otavio Salvador wrote: > On Tue, Sep 6, 2016 at 10:40 AM, Tom Rini wrote: > > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> Hi Fabio, > >> > >> On 02/09/16 22:03, Fabio Estevam wrote: > >> >You don't need u-boot.imx to boot the board w

[U-Boot] [PATCH] fsl-ifc-nand : Corrected the programming of chip select

2016-09-06 Thread Matt Weber
Corrected the chip selection in IFC_NAND_CSEL register. Due to this issue in multi-chip nand use-case, IFC was always pointing to the last probed chip even though the user select another device through "nand device" command. Signed-off-by: Ronak Desai Signed-off-by: Matthew Weber --- drivers/mt

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Eric Nelson
Hi Tom, On 09/06/2016 06:40 AM, Tom Rini wrote: > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: >> Hi Fabio, >> >> On 02/09/16 22:03, Fabio Estevam wrote: >>> You don't need u-boot.imx to boot the board with imx_usb_loader. >>> Check the README update that Stefano did with this com

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Petr Kulhavy
On 06/09/16 16:00, Eric Nelson wrote: Hi Tom, On 09/06/2016 06:40 AM, Tom Rini wrote: On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: Another place this doesn't work (which is where it doesn't work for me) is when the console is already open and I can't easily take it away to s

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote: > Hi Tom, > > On 09/06/2016 06:40 AM, Tom Rini wrote: > > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> Hi Fabio, > >> > >> On 02/09/16 22:03, Fabio Estevam wrote: > >>> You don't need u-boot.imx to boot the board wi

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:12:55PM +0200, Petr Kulhavy wrote: > > > On 06/09/16 16:00, Eric Nelson wrote: > >Hi Tom, > > > >On 09/06/2016 06:40 AM, Tom Rini wrote: > >>On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> > >>Another place this doesn't work (which is where it doesn't

Re: [U-Boot] [PATCH v2 10/11] arm: dts: socfpga: Add dts for Stratix 10 socdk

2016-09-06 Thread Dinh Nguyen
On 09/06/2016 05:03 AM, Chin Liang See wrote: > Add device tree for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > Acked-by: Marek Vasut > --- > arch/arm/dts/Makefile| 3 +- > arch/arm/dts/socfp

Re: [U-Boot] [PATCH v3 6/8] libfdt: simplify fdt_del_mem_rsv()

2016-09-06 Thread Simon Glass
On 6 September 2016 at 07:17, Masahiro Yamada wrote: > The variable "err" is unneeded. > > [ Device Tree Compiler commit: 36fd7331fb11276c09a6affc0d8cd4977f2fe100 ] > > Signed-off-by: Masahiro Yamada > Signed-off-by: David Gibson > --- > > Changes in v3: None > > lib/libfdt/fdt_rw.c | 6 +-

Re: [U-Boot] ZynqMP breakage

2016-09-06 Thread Simon Glass
Hi Michal, On 6 September 2016 at 07:40, Michal Simek wrote: > Hi, > > On 6.9.2016 14:57, Simon Glass wrote: >> Hi Alex, >> >> On 6 September 2016 at 06:55, Alexander Graf wrote: >>> On 09/06/2016 02:52 PM, Simon Glass wrote: Hi Alex, On 6 September 2016 at 03:09, Alexander G

Re: [U-Boot] [PATCH v2 01/11] arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address

2016-09-06 Thread Dinh Nguyen
On 09/06/2016 05:03 AM, Chin Liang See wrote: > Add base address header file for Stratix10 SoC > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > Acked-by: Marek Vasut > --- > arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 48 > +++

Re: [U-Boot] [PATCH v3 2/8] video: squash lines for immediate return

2016-09-06 Thread Simon Glass
On 6 September 2016 at 07:17, Masahiro Yamada wrote: > For vidconsole_post_probe(), it is common coding style to let a > probe method return the value of a register function. > > The others will become simple wrapper functions. > > Signed-off-by: Masahiro Yamada > Acked-by: Anatolij Gustschin >

Re: [U-Boot] [PATCH v2 09/11] arm: socfpga: stratix10: Add board directory for Stratix 10 socdk

2016-09-06 Thread Dinh Nguyen
On 09/06/2016 05:03 AM, Chin Liang See wrote: > Add board folder for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > --- > board/altera/stratix10-socdk/MAINTAINERS | 7 +++ > board/altera/stratix10-socdk/Makefile

Re: [U-Boot] [PATCH v2 11/11] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-09-06 Thread Dinh Nguyen
On 09/06/2016 05:03 AM, Chin Liang See wrote: > Add support for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > --- > Changes for v2 > - Sorting the config alphabetically > --- Please re-check all of your new file att

Re: [U-Boot] [PATCH v2 1/3] warp7: Add a secure mode target

2016-09-06 Thread Fabio Estevam
On Tue, Sep 6, 2016 at 8:08 AM, Stefano Babic wrote: > You're right, strange, something went wrong. Now they are on the server. Ok, great. As these three patches didn't make into your pull request to Tom: will you submit another pull request which includes them? Thanks _

  1   2   >