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

2016-09-06 Thread Chin Liang See
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 Nguyen

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

[U-Boot] [PATCH] ARMv8/sec-firmware: fix a compile error

2016-09-06 Thread Zhiqiang Hou
From: Hou Zhiqiang When enabled sec firmware framework, but lack of definition of the marco SEC_FIRMWARE_FIT_IMAGE, SEC_FIRMEWARE_FIT_CNF_NAME and SEC_FIRMWARE_TARGET_EL, there will be some build errors, so give a default definition. Signed-off-by: Hou Zhiqiang

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

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 >

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. >> >

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

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

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

Re: [U-Boot] [PATCH 3/5] ARM: DRA7: Add secure emif setup calls

2016-09-06 Thread Andrew F. Davis
On 09/02/2016 12:40 AM, Daniel Allred wrote: > After EMIF DRAM is configured, but before it is used, > calls are made on secure devices to reserve any configured > memory region needed by the secure world and then to lock the > EMIF firewall configuration. If any other firewall > configuration

[U-Boot] UBI and UBIFS on ARM64

2016-09-06 Thread Oleksy, Adam (Nokia - PL/Wroclaw)
Dear U-Boot community, I'm developing software for Xilinx ZynqMP platform, which is made in 64-bit architecture. I would like to store every artifact needed to boot up on the UBIFS partition. I faced problem, that u-boot does not want to compile with enabledĀ UBI/UBIFS support, due to lack of

[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 ,

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

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

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

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

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

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

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

[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

[U-Boot] [PATCH v3 1/2] Txxx/RCW: Split unified RCW to RCWs for sd, spi and nand.

2016-09-06 Thread Zhao Qiang
T series boards use unified RCW for sd, api and nand boot. Now split txxx_rcw.cfg to txxx_sd_rcw.cfg, txxx_spi_rcw.cfg and txxx_nand_rcw.cfg for SPI/NAND/SD boot. And modify RCW[PBI_SRC] for them, PBI_SRC=5for SPI 24-bit addressing PBI_SRC=6for SD boot

Re: [U-Boot] [PATCH v6 01/10] x86: Move table csum into separate file

2016-09-06 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > We need the checksum function without all the other table functionality > soon, so let's split it out into its own C file. > > Signed-off-by: Alexander Graf > > --- > > v5 -> v6: > > - Move to C file > --- >

Re: [U-Boot] [PATCH v6 07/10] smbios: Generate type 4 on non-x86 systems

2016-09-06 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > The type 4 table generation code is very x86 centric today. Refactor things > out into the device model cpu class to allow the tables to get generated for > other architectures as well. > > Signed-off-by: Alexander Graf

Re: [U-Boot] [PATCH v6 06/10] cpu: Add get_vendor callback

2016-09-06 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > The CPU udevice already has a few callbacks to retreive information > about the currently running CPUs. This patch adds a new get_vendor() > call that returns the vendor of the main CPUs. > > Signed-off-by: Alexander Graf

Re: [U-Boot] [PATCH v6 05/10] cpu: Add DMTF id and family fields

2016-09-06 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > For SMBIOS tables we need to know the CPU family as well as CPU IDs. This > patches allocates some space for them in the cpu device and populates it > on x86. > > Signed-off-by: Alexander Graf > --- >

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

2016-09-06 Thread Scott Wood
On 09/06/2016 02:31 PM, Ronak Desai wrote: > We don't need to update fsl_ifc_sram_init() as fsl_ifc_sram_init is > called from the fsl_ifc_chip_init which configures the ifc_ctrl->cs_nand > with correct value based on the chip-select under initialization. > > Best Regards, > Ronak Desai We

[U-Boot] [PATCH v3 2/2] pbl: use "wait" command instead of "flush" command

2016-09-06 Thread Zhao Qiang
FLUSH command is restricted to CCSR board. So use WAIT command in case of non-CCSR board. Signed-off-by: Zhao Qiang --- Changes for v2: - split to two patches Changes for v3: - modify commit msg board/freescale/t208xqds/t208x_pbi.cfg | 3 +--

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

2016-09-06 Thread Prabhakar Kushwaha
> -Original Message- > From: york sun > Sent: Tuesday, September 06, 2016 9:10 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Subject: Re: [PATCH] arch: ifc: update the IFC IP input clock > > On 09/06/2016 04:15 AM, Prabhakar Kushwaha wrote: > > IFC

[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.

[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

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

[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] 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

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

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

2016-09-06 Thread Gong Qianyu
Hi all, This is version 5 patchset mainly to add support for both LS1046ARDB 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

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 > >

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

[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

[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.

[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 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 >>>

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: [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

[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.

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. >>>

[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

[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 =

[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

[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

[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

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:

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 ? > >

[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

[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:

[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

[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

[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

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

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 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 >>>

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,

[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 +---

[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 +

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

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

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

[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

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,

[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

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

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

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

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

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. > >

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

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

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] [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

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

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

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

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

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

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

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,

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

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:51:05AM +0200, Stefano Babic wrote: > 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

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

[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

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

[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

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 >

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 +-

[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

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

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

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

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

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 > --- >

[U-Boot] UBI and UBIFS on ARM64

2016-09-06 Thread Adam Oleksy
Dear U-Boot community, I'm developing software for Xilinx ZynqMP platform, which is made in 64-bit architecture. I would like to store every artifact needed to boot up on the UBIFS partition. I faced problem, that u-boot does not want to compile with enabled UBI/UBIFS support, due to lack of some

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

2016-09-06 Thread Minkyu Kang
On 6 September 2016 at 22:17, Masahiro Yamada wrote: > Remove unneeded variables and assignments. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v3: > - More fixes > > arch/arm/cpu/arm920t/imx/timer.c | 6

  1   2   >