Re: [U-Boot] [RFC 1/1] image: Add TEE loading to FIT loadable processing

2016-11-14 Thread Michal Simek
Hi Andrew, On 14.11.2016 20:49, Andrew F. Davis wrote: > To help automate the loading of a TEE image during the boot we add a new > FIT section type 'tee', when we see this type while loading the loadable > sections we automatically call the platforms TEE processing function on > this image

Re: [U-Boot] [PATCH v5 05/21] sf: Cleanup sf_params

2016-11-14 Thread Jagan Teki
On Sat, Nov 5, 2016 at 9:37 PM, Simon Glass wrote: > Hi Jagan, > > On 30 October 2016 at 11:46, Jagan Teki wrote: >> - Move headers froms sf_params to common header file >> - Removed unnecessary comment >> >> Cc: Simon Glass >> Cc: Bin

Re: [U-Boot] [PATCH v5 17/21] spi: Remove dual flash code

2016-11-14 Thread Jagan Teki
On Sat, Nov 5, 2016 at 9:38 PM, Simon Glass wrote: > Hi Jagan, > > On 30 October 2016 at 11:46, Jagan Teki wrote: >> Dual flash code in spi are usually take the spi controller >> to work with dual connected flash devices. Usually these >> dual connection

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-11-14 Thread Thomas Abraham
Hi Alison, On Tue, Nov 15, 2016 at 1:03 PM, Alison Wang wrote: > Hi, Thomas, Alex and York, > > Before there are some discussions about this patch, could we make a solution > now? Or else, the patches about [PATCH v8 0/3] armv8: Support loading 32-bit > OS in AArch32

Re: [U-Boot] [PATCH v5 13/21] sf: Rename sf_params.c to spi_flash_ids

2016-11-14 Thread Jagan Teki
Hi Simon, On Sat, Nov 5, 2016 at 9:38 PM, Simon Glass wrote: > Hi Jagan, > > On 30 October 2016 at 11:46, Jagan Teki wrote: >> spi_flash_ids.c is more meaningful name as the flash_info >> table structure spi_flash_info has spi_flash_ids instance. >> >> Cc:

Re: [U-Boot] [PATCH v5 04/21] sf: Cleanup spi_flash_info{}

2016-11-14 Thread Jagan Teki
On Sat, Nov 5, 2016 at 9:37 PM, Simon Glass wrote: > Hi Jagan, > > On 30 October 2016 at 11:46, Jagan Teki wrote: >> - Proper tabs spaces >> - Removed unnecessary >> - Added meaningful comments >> >> Cc: Simon Glass >> Cc: Bin Meng

Re: [U-Boot] [PATCH 08/11] net: sunxi: Allow sunxi boards to set the MAC from an EEPROM

2016-11-14 Thread Michal Simek
On 15.11.2016 04:27, Joe Hershberger wrote: > On Thu, Nov 10, 2016 at 6:11 AM, Olliver Schinagl wrote: >> Hi Michal, >> >> >> On 10-11-16 12:51, Michal Simek wrote: >>> >>> On 8.11.2016 16:54, Olliver Schinagl wrote: This patch uses the newly introduced Kconfig

Re: [U-Boot] [PATCH v5 02/21] sf: Simplify lock ops detection code

2016-11-14 Thread Jagan Teki
On Sat, Nov 5, 2016 at 9:37 PM, Simon Glass wrote: > Hi Jagan, > > On 30 October 2016 at 11:46, Jagan Teki wrote: >> Simplify the flash_lock ops detection code and added >> meaningful comment. >> >> Cc: Simon Glass >> Cc: Bin Meng

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

2016-11-14 Thread Shaohui Xie
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 --- changes in v2: 1. code style changes for readability. 2.

Re: [U-Boot] [PATCH] cmd/nand.c: Debug additional helpful NAND info

2016-11-14 Thread Scott Wood
On Mon, 2016-10-10 at 06:08 +0200, Ahmed Samir Khalil wrote: > While dealing with large chips (e.g. page: 4KB, OOB:224), >  we found it helpful to get these additional NAND info by >  enabling the DEBUG macro instead of full tracing every time >  and consuming time. Especially about the currently

Re: [U-Boot] [PATCH] nand: force BBT scan for controllers which need it

2016-11-14 Thread Scott Wood
On Wed, 2016-10-26 at 17:18 -0700, Stefan Agner wrote: > From: Stefan Agner > > Commit 35c204d8a9d0 ("nand: reinstate lazy bad block scanning") > introduced lazy BBT scanning. However, some controller do parts > of the initialization (mxs_nand.c) during scan_bbt, hence

Re: [U-Boot] [PATCH 5/7] nand: sunxi: Add options for the SPL NAND configuration

2016-11-14 Thread Scott Wood
On Tue, 2016-11-08 at 17:21 +0100, Maxime Ripard wrote: > The SPL image needs to be built with a different ECC configuration than the > U-Boot binary. > > Add Kconfig options with defaults to provide a value that should work for > anyone, but is still configurable if needs be. > > Signed-off-by:

Re: [U-Boot] [PATCH 2/7] mtd: nand: add support for the TC58NVG2S0H chip

2016-11-14 Thread Scott Wood
On Tue, 2016-11-08 at 17:21 +0100, Maxime Ripard wrote: > From: Boris Brezillon > > Add the description of the Toshiba TC58NVG2S0H SLC nand to the nand_ids > table so we can use the NAND ECC infos and the ONFI timings. > > Signed-off-by: Boris Brezillon

[U-Boot] [PATCH 1/3] dts: rk3288: correct sdram setting for miniarm

2016-11-14 Thread Jacob Chen
miniarm board use lpddr3 Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288-miniarm.dts | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/dts/rk3288-miniarm.dts b/arch/arm/dts/rk3288-miniarm.dts index 9083028..3dd40e6

[U-Boot] [PATCH 2/3] rockchip: configs: correct env offset when enable CONFIG_ROCKCHIP_SPL_BACK_TO_BROM

2016-11-14 Thread Jacob Chen
Signed-off-by: Jacob Chen --- include/configs/evb_rk3288.h | 9 + include/configs/fennec_rk3288.h | 9 + include/configs/miniarm_rk3288.h | 9 + include/configs/popmetal_rk3288.h | 9 + 4 files changed, 36 insertions(+) diff

[U-Boot] [PATCH 3/3] rockchip: configs: make rk3036 env config same with rk3288

2016-11-14 Thread Jacob Chen
Signed-off-by: Jacob Chen --- include/configs/kylin_rk3036.h | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/include/configs/kylin_rk3036.h b/include/configs/kylin_rk3036.h index 4f0bd84..bc28525 100644 ---

Re: [U-Boot] [PATCH][v2] driver: net: ldpaa_eth: Fix missing bracket issue

2016-11-14 Thread Joe Hershberger
On Thu, Nov 3, 2016 at 7:35 AM, Priyanka Jain wrote: > Signed-off-by: Priyanka Jain > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] net: phy: micrel: Fix error handling

2016-11-14 Thread Joe Hershberger
On Mon, Nov 14, 2016 at 8:08 AM, Marek Vasut wrote: > Fix the following error, the $ret variable handling must > be part of the loop, while due to the missing parenthesis > it was not. > > drivers/net/phy/micrel.c: In function ‘ksz9021_of_config’: > drivers/net/phy/micrel.c:303:2:

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

2016-11-14 Thread Joe Hershberger
On Mon, Nov 14, 2016 at 1:27 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

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

2016-11-14 Thread Joe Hershberger
On Mon, Nov 14, 2016 at 3:12 AM, 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 meaning full interface like SGMII. > > Signed-off-by: Mugunthan V N

Re: [U-Boot] [PATCH 3/3] net: phy: realtek: Only force master mode on rtl8211b/c

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 10:38 AM, Olliver Schinagl wrote: > Commit 525d187af ("net: phy: Optionally force master mode for RTL PHY") > added the define to force the PHY into master mode. Unfortunatly this is > an all or nothing switch. So it applies to either all PHY's or no

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

2016-11-14 Thread Joe Hershberger
On Sat, Nov 12, 2016 at 9:28 AM, Marek Vasut wrote: > If mac-address is changed using "setenv ethaddr " command the new > mac-adress also must be written into the responsible ethernet driver. > This fixes the legacy ethernet handling. > > Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH 11/11] tools: Add tool to add crc8 to a mac address

2016-11-14 Thread Joe Hershberger
On Fri, Nov 11, 2016 at 10:18 AM, Simon Glass wrote: > Hi Olliver, (is it one l or two?) > > On 8 November 2016 at 08:54, Olliver Schinagl wrote: >> This patch adds a little tool that takes a generic MAC address and >> generates a CRC byte for it. The

Re: [U-Boot] [PATCH 08/11] net: sunxi: Allow sunxi boards to set the MAC from an EEPROM

2016-11-14 Thread Joe Hershberger
On Thu, Nov 10, 2016 at 6:11 AM, Olliver Schinagl wrote: > Hi Michal, > > > On 10-11-16 12:51, Michal Simek wrote: >> >> On 8.11.2016 16:54, Olliver Schinagl wrote: >>> >>> This patch uses the newly introduced Kconfig options to use the net_op >>> read_rom_hwaddr to retrieve

Re: [U-Boot] [PATCH 07/11] net: sunxi: Do not inject ethernet addresses into the env

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Currently we inject 5 ethernet addresses into the environment, just in > case we may need them. We do this because some boards have no eeprom > (programmed) with a proper ethernet address. With the recent addition of >

Re: [U-Boot] [PATCH 06/11] arm: sunxi: Use read_rom_hwaddr() to obtain MAC address

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > With the newly introduced hooks, we can now set the MAC address at the > lowest level properly. The user is still free to override it via a > u-boot environment variable. > > Signed-off-by: Olliver Schinagl

Re: [U-Boot] [PATCH 1/3] net: phy: realtek: Use the BIT() macro

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 10:38 AM, Olliver Schinagl wrote: > The BIT macro is the preferred method to set bits. > This patch adds the bit macro and converts bit invocations. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 04/11] net: sunxi-emac: Add read_rom_hwaddr net_op hook

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Add the read_rom_hwaddr net_op hook so that it can be called from boards > to read the mac from a ROM chip. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

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

2016-11-14 Thread Joe Hershberger
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 distributions can rely on it being defined. This > header is included, under conditions or not, by various archs or >

Re: [U-Boot] [PATCH v2 3/7] net: stm32: add designware mac glue code for stm32

2016-11-14 Thread Joe Hershberger
On Fri, Nov 4, 2016 at 2:21 PM, Michael Kurz wrote: > This patch adds glue code required for enabling the designware > mac on stm32f7 devices. > > Signed-off-by: Michael Kurz Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 2/3] net: macb: Add the clock support

2016-11-14 Thread Joe Hershberger
On Tue, Nov 1, 2016 at 9:06 PM, Wenyou Yang wrote: > Due to introducing the at91 clock driver, add the clock support. > > Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH v1 1/3] net: Kconfig: Add CONFIG_MACB option

2016-11-14 Thread Joe Hershberger
On Tue, Nov 1, 2016 at 3:41 PM, Joe Hershberger wrote: > On Wed, Oct 19, 2016 at 9:55 PM, Wenyou Yang wrote: >> Add CONFIG_MACB option in KConfig to be used to select the Cadence >> MACB Ethernet driver. >> >> Signed-off-by: Wenyou Yang

Re: [U-Boot] [PATCH 02/11] net: sunxi-emac: Write HW address via function

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Currently the mac address is programmed directly in _sunxi_emac_eth_init > making it a one time inflexible operation. By moving it into a separate > function, we can now use this more flexibly. > > Signed-off-by:

Re: [U-Boot] [PATCH 03/11] net: sunxi-emac: Add write_hwaddr net_op hook

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Expose enetaddr writing via net_ops so that it can be hooked into. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 01/11] net: dw: Add read_rom_hwaddr net_op hook

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Add the read_rom_hwaddr net_op hook so that it can be called from boards > to read the mac from a ROM chip. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 2/3] net: phy: realtek: make define more concistent

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 10:38 AM, Olliver Schinagl wrote: > All internal defines in the realtek phy are with a small X, > except MIIM_RTL8211X_CTRL1000T_MASTER. Make this more concistent > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] net: use random ethernet address if invalid and not zero

2016-11-14 Thread Joe Hershberger
On Mon, Nov 7, 2016 at 4:25 PM, James Chargin wrote: > Hi Joe, > > Thanks for your reply. > > On 11/07/2016 10:20 AM, Joe Hershberger wrote: >> >> Hi Jim, >> >> On Wed, Nov 2, 2016 at 8:21 AM, James Chargin wrote: >>> >>> Hi, >>> >>> Regarding "invalid"

Re: [U-Boot] [PATCH v3 5/5] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-11-14 Thread Hongbo Zhang
On Tue, Nov 15, 2016 at 2:12 AM, york sun wrote: > On 11/06/2016 08:14 PM, macro.wav...@gmail.com wrote: >> From: Hongbo Zhang >> >> A most basic PSCI implementation with only one psci_version is added for >> LS1043A, this can verify the generic PSCI

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

2016-11-14 Thread Stefan Agner
From: Stefan Agner When building SPL with eMMC boot support, specify standard padding for payload to match the load sector during boot. This allows to use the u-boot-with-spl.imx build target to generate a direcly flashable image which can be flashed using: dd

Re: [U-Boot] [PATCH v2 1/4] Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE

2016-11-14 Thread Simon Glass
Hi Andrew, On 14 November 2016 at 15:05, Andrew F. Davis wrote: > On 11/14/2016 02:44 PM, Simon Glass wrote: >> Hi Andrew, >> >> On 14 November 2016 at 12:14, Andrew F. Davis wrote: >>> Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE. An SPL which define >>> this will

Re: [U-Boot] [RFC 1/1] image: Add TEE loading to FIT loadable processing

2016-11-14 Thread Simon Glass
Hi Andrew, On 14 November 2016 at 14:55, Andrew F. Davis wrote: > On 11/14/2016 02:44 PM, Simon Glass wrote: >> Hi Andrew, >> >> On 14 November 2016 at 12:49, Andrew F. Davis wrote: >>> To help automate the loading of a TEE image during the boot we add a new >>> FIT

Re: [U-Boot] [PATCH v2 1/3] spl: add RAM boot device only if it is actually defined

2016-11-14 Thread Simon Glass
Hi Stefan, On 14 November 2016 at 15:44, Stefan Agner wrote: > On 2016-11-14 12:44, Simon Glass wrote: >> Hi Stefan, >> >> On 12 November 2016 at 12:13, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> Some devices (e.g. dra7xx)

Re: [U-Boot] [PATCH v4 5/7] apalis/colibri_imx7/pxa270/t20/t30/vf: integrate config block handling

2016-11-14 Thread Stefan Agner
Hi Marcel, Just found an issue with this patch. On 2016-11-07 05:36, Marcel Ziswiler wrote: > With our common code in place actually make use of it across all our > modules. > > Signed-off-by: Marcel Ziswiler > Acked-by: Max Krummenacher

Re: [U-Boot] [PATCH v3 0/4] serial: pxa: kconfig and optional driver model integration

2016-11-14 Thread Marek Vasut
On 11/14/2016 09:40 PM, Marcel Ziswiler wrote: > This series integrates both Kconfig as well as optional driver model > support for the PXA serial driver. As I do not have any of the other > hardware available for testing for now I only transitioned the > Colibri PXA270 to actually make use of

Re: [U-Boot] [U-Boot, v4, 13/14] efi: x86: Adjust EFI files support efi_loader

2016-11-14 Thread Alexander Graf
> Add compiler flags and make a few minor adjustments to support the efi > loader. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v4, 03/14] efi: Fix debug message address format

2016-11-14 Thread Alexander Graf
> This should use U-Boot's standard format for hex address. Fix it. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v4, 05/14] efi: Makefile: Export variables for use with EFI

2016-11-14 Thread Alexander Graf
> When building an EFI app we need three things: > >- start-up code >- relocation code >- link script > > These are all different for each architecture. We also need special > compiler flags in some cases. > > Add top-level Makefile variables for these along with documentation. > >

Re: [U-Boot] [U-Boot, v4, 09/14] efi: arm: Add aarch64 EFI app support

2016-11-14 Thread Alexander Graf
> Add support for EFI apps on aarch64. This includes start-up and relocation > code plus a link script. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot,v4,08/14] efi: arm: Add EFI app support

2016-11-14 Thread Alexander Graf
> Add support for EFI apps on ARM. This includes start-up and relocation > code, plus a link script and some compiler setting changes. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v4, 07/14] elf: arm: Add a few ARM relocation types

2016-11-14 Thread Alexander Graf
> Rather than hard-coding the relocation type, add it to the ELF header file > and use it from there. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot,v4,02/14] efi: Correct cache flush alignment

2016-11-14 Thread Alexander Graf
> Make sure that the cache flushes correctly by ensuring that the end > address is correctly aligned. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v4, 11/14] x86: Move efi .lds files into the 'lib' directory

2016-11-14 Thread Alexander Graf
> These files now need to be in a standard place so that they can be located > by generic Makefile rules. Move them to the 'lib' directory. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v4, 06/14] efi: Add support for a hello world test program

2016-11-14 Thread Alexander Graf
> It is useful to have a basic sanity check for EFI loader support. Add a > 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot

Re: [U-Boot] [U-Boot,v4,14/14] x86: Enable EFI loader support

2016-11-14 Thread Alexander Graf
> Enable this so that EFI applications (notably grub) can be run under U-Boot > on x86 platforms. > > At present the 'hello world' EFI application is not supported for the > qemu-x86_efi_payload64 board. That board builds a payload consisting of a > 64-bit header and a 32-bit U-Boot, which is

Re: [U-Boot] [U-Boot, v4, 04/14] x86: Tidy up selection of building the EFI stub

2016-11-14 Thread Alexander Graf
> At present we use a CONFIG option in efi.h to determine whether we are > building the EFI stub or not. This means that the same header cannot be > used for EFI_LOADER support. The CONFIG option will be enabled for the > whole build, even when not building the stub. > > Use a different define

Re: [U-Boot] [U-Boot, v4, 12/14] x86: Move efi .S files into the 'lib' directory

2016-11-14 Thread Alexander Graf
> These files now need to be in a standard place so that they can be located > by generic Makefile rules. Move them to the 'lib' directory. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v4, 01/14] x86: Correct a build warning in x86 tables

2016-11-14 Thread Alexander Graf
> There is a build warning for three x86 boards since > write_smbios_table_wrapper() is not used. Fix it. > > Fixes: e824cf3f (smbios: Allow compilation on 64bit systems) > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex

Re: [U-Boot] [PATCH v2 1/3] spl: add RAM boot device only if it is actually defined

2016-11-14 Thread Stefan Agner
On 2016-11-14 12:44, Simon Glass wrote: > Hi Stefan, > > On 12 November 2016 at 12:13, Stefan Agner wrote: >> From: Stefan Agner >> >> Some devices (e.g. dra7xx) support loading to RAM using DFU without >> having direct boot from RAM support. Make sure

[U-Boot] [PULL 00/16] efi patch queue 2016-11-14

2016-11-14 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit 29e0cfb4f77f7aa369136302cee14a91e22dca71: Prepare v2016.11 (2016-11-14 11:27:11 -0500) are available in the git repository at: git://github.com/agraf/u-boot.git tags/signed-efi-next

Re: [U-Boot] [PATCH v2 1/4] Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE

2016-11-14 Thread Andrew F. Davis
On 11/14/2016 02:44 PM, Simon Glass wrote: > Hi Andrew, > > On 14 November 2016 at 12:14, Andrew F. Davis wrote: >> Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE. An SPL which define >> this will abort image loading if the image is not a FIT image. >> >> Signed-off-by: Andrew F. Davis

[U-Boot] [PATCH v2 2/4] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2016-11-14 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM57xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am57xx_hs_evm_defconfig

[U-Boot] [PATCH v2 4/4] ARM: DRA7xx: Disable non-FIT based image loading for HS devices

2016-11-14 Thread Andrew F. Davis
Disable support for loading non-FIT images for DRA7xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/dra7xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra7xx_hs_evm_defconfig

Re: [U-Boot] [PATCH v6 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-11-14 Thread york sun
On 10/31/2016 08:35 PM, Wenbin song wrote: > The LS1043A rev1.1 silicon supports two types of GIC offset: 4K alignment > and 64K alignment. The bit SCFG_GIC400_ALIGN[GIC_ADDR_BIT] is used to choose > which offset will be used. If GIC_ADDR_BIT bit is set, 4K alignment is used, > or else 64K

Re: [U-Boot] [PATCH v4 00/14] efi: x86: Add EFI hello world and loader support for x86

2016-11-14 Thread Simon Glass
Resend attempt... On 7 November 2016 at 08:47, Simon Glass wrote: > This series adds EFI loader support for x86. Since U-Boot already supports > running as an EFI app (and as a payload) this is relatively > straightforward, requiring just moving files into place and updating

Re: [U-Boot] [PATCH v6 2/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-11-14 Thread york sun
On 10/31/2016 08:35 PM, Wenbin song wrote: > There are two types of msi node in kernel device tree, one is for > LS1043A rev1.1 silicon, the other is for rev1.0. This doesn't explain the difference between the two versions. I don't see comments below either. > > According to revision number,

Re: [U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-11-14 Thread Simon Glass
Hi Alex, On 14 November 2016 at 14:24, Alexander Graf wrote: > > > On 14/11/2016 21:58, Simon Glass wrote: >> >> Hi Alex, >> >> On 14 November 2016 at 13:46, Alexander Graf wrote: >>> >>> >>> >>> On 14/11/2016 21:44, Simon Glass wrote: Hi Alex,

Re: [U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-11-14 Thread Alexander Graf
On 14/11/2016 21:58, Simon Glass wrote: Hi Alex, On 14 November 2016 at 13:46, Alexander Graf wrote: On 14/11/2016 21:44, Simon Glass wrote: Hi Alex, On 11 November 2016 at 23:23, Alexander Graf wrote: Am 11.11.2016 um 17:17 schrieb Simon Glass

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Simon Glass
Hi Maxime, On 14 November 2016 at 14:09, Maxime Ripard wrote: > On Mon, Nov 14, 2016 at 01:44:42PM -0700, Simon Glass wrote: >> Hi Maxime, >> >> On 14 November 2016 at 13:12, Maxime Ripard >> wrote: >> > On Mon, Nov 14, 2016 at

Re: [U-Boot] [PATCH V2] Add support of ls1021a-iot

2016-11-14 Thread york sun
On 11/02/2016 11:23 PM, feng.l...@nxp.com wrote: > From: Feng Li > > The patch add support ls1021a-iot. > It supports I2C, MMC, PCIe, eTSEC, SATA, > EEPROM, CPLD, HDMI, Serial port, HXCI, > DSPI, SD boot, QSPI boot, Broadcom wifi > card, QCA wifi card. You wrapped too short.

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Maxime Ripard
On Mon, Nov 14, 2016 at 01:44:42PM -0700, Simon Glass wrote: > Hi Maxime, > > On 14 November 2016 at 13:12, Maxime Ripard > wrote: > > On Mon, Nov 14, 2016 at 10:14:57AM -0500, Tom Rini wrote: > >> On Mon, Nov 14, 2016 at 02:42:59PM +0100, Maxime Ripard wrote: >

Re: [U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-11-14 Thread Simon Glass
Hi Alex, On 14 November 2016 at 13:46, Alexander Graf wrote: > > > On 14/11/2016 21:44, Simon Glass wrote: >> >> Hi Alex, >> >> On 11 November 2016 at 23:23, Alexander Graf wrote: >>> >>> >>> Am 11.11.2016 um 17:17 schrieb Simon Glass :

Re: [U-Boot] [PATCH] usb: check udev before dereferencing

2016-11-14 Thread Simon Glass
Hi, On 12 November 2016 at 11:17, Marek Vasut wrote: > On 11/12/2016 07:10 PM, Anatolij Gustschin wrote: >> On Sat, 12 Nov 2016 10:36:42 +0100 >> Marek Vasut ma...@denx.de wrote: >> ... udev = dev_get_parent_priv(child); + if (!udev) +

[U-Boot] [PATCH v2 1/4] Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE

2016-11-14 Thread Andrew F. Davis
Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE. An SPL which define this will abort image loading if the image is not a FIT image. Signed-off-by: Andrew F. Davis --- Kconfig | 9 + common/spl/spl.c | 5 + 2 files changed, 14 insertions(+) diff --git a/Kconfig

Re: [U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-11-14 Thread Alexander Graf
On 14/11/2016 21:44, Simon Glass wrote: Hi Alex, On 11 November 2016 at 23:23, Alexander Graf wrote: Am 11.11.2016 um 17:17 schrieb Simon Glass : Hi Alex, On 7 November 2016 at 09:32, Alexander Graf wrote: On 07/11/2016 10:46, Simon

[U-Boot] [PATCH v2 3/4] ARM: AM437x: Disable non-FIT based image loading for HS devices

2016-11-14 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM437x platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/am43xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am43xx_hs_evm_defconfig

Re: [U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-11-14 Thread Simon Glass
Hi Alex, On 11 November 2016 at 23:23, Alexander Graf wrote: > > >> Am 11.11.2016 um 17:17 schrieb Simon Glass : >> >> Hi Alex, >> >>> On 7 November 2016 at 09:32, Alexander Graf wrote: >>> >>> On 07/11/2016 10:46, Simon Glass wrote:

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Simon Glass
Hi Maxime, On 14 November 2016 at 13:12, Maxime Ripard wrote: > On Mon, Nov 14, 2016 at 10:14:57AM -0500, Tom Rini wrote: >> On Mon, Nov 14, 2016 at 02:42:59PM +0100, Maxime Ripard wrote: >> > Hi, >> > >> > On Fri, Nov 11, 2016 at 11:16:39AM -0800, Moritz

Re: [U-Boot] [PATCH RESEND 7/9] video: Allow board hook before video init

2016-11-14 Thread Simon Glass
Hi Maxime, On 14 November 2016 at 13:24, Maxime Ripard wrote: > Hi Simon, > > On Fri, Nov 11, 2016 at 09:17:28AM -0700, Simon Glass wrote: >> Hi Maxime, >> >> On 8 November 2016 at 03:19, Maxime Ripard >> wrote: >> > Some

Re: [U-Boot] [RFC 1/1] image: Add TEE loading to FIT loadable processing

2016-11-14 Thread Simon Glass
Hi Andrew, On 14 November 2016 at 12:49, Andrew F. Davis wrote: > To help automate the loading of a TEE image during the boot we add a new > FIT section type 'tee', when we see this type while loading the loadable > sections we automatically call the platforms TEE processing

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Simon Glass
Hi Maxime, On 14 November 2016 at 06:42, Maxime Ripard wrote: > Hi, > > On Fri, Nov 11, 2016 at 11:16:39AM -0800, Moritz Fischer wrote: >> > +U_BOOT_DRIVER(ds2431) = { >> > + .name = "ds2431", >> > + .id = UCLASS_EEPROM, >> > +

Re: [U-Boot] [PATCH v2 1/4] Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE

2016-11-14 Thread Simon Glass
Hi Andrew, On 14 November 2016 at 12:14, Andrew F. Davis wrote: > Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE. An SPL which define > this will abort image loading if the image is not a FIT image. > > Signed-off-by: Andrew F. Davis > --- > Kconfig | 9

Re: [U-Boot] [PATCH 4/4] rk3036: enable the vbus regulator when borad_init

2016-11-14 Thread Simon Glass
Hi Kever, On 14 November 2016 at 03:07, Kever Yang wrote: > Hi Simon, > > On 11/12/2016 12:17 AM, Simon Glass wrote: >> >> Hi Kever, >> >> On 8 November 2016 at 03:13, Kever Yang wrote: >>> >>> enable the vbus for usb host in board_init().

Re: [U-Boot] [PATCH 4/9] w1: Add 1-Wire gpio driver

2016-11-14 Thread Simon Glass
Hi Maxime, On 14 November 2016 at 06:35, Maxime Ripard wrote: > Hi Simon, > > On Fri, Nov 11, 2016 at 09:17:20AM -0700, Simon Glass wrote: >> Hi Maxime, >> >> On 8 November 2016 at 03:06, Maxime Ripard >> wrote: >> > Add a bus

Re: [U-Boot] [PATCHv2 03/15] dm: pci: remove pci_bus_to_hose(0) calling

2016-11-14 Thread Simon Glass
Hi, On 14 November 2016 at 00:22, Z.Q. Hou wrote: > Hi Simon, > > Thanks for your comments! > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: 2016年11月12日 0:18 >> To: Z.Q. Hou >> Cc:

Re: [U-Boot] [PATCH] fastboot: simplify the Kconfig logic

2016-11-14 Thread Simon Glass
+Tom On 13 November 2016 at 14:26, Yann E. MORIN wrote: > Currently, the fastboot item in menuconfig is a comment followed by a > boolean option withan empty prompt, followed by a menu: > > *** FASTBOOT *** > [*] > Fastboot support ---> > > This is

Re: [U-Boot] [PATCH v2 2/3] spl: dfu: move DFU Kconfig to SPL Kconfig

2016-11-14 Thread Simon Glass
On 12 November 2016 at 12:13, Stefan Agner wrote: > From: Stefan Agner > > The DFU Kconfig menu entries should be part of the SPL > Kconfig file. Also avoid using the top level Makefile by > moving the config dependent build artifacts to the driver/ >

Re: [U-Boot] [PATCH v2 1/3] spl: add RAM boot device only if it is actually defined

2016-11-14 Thread Simon Glass
Hi Stefan, On 12 November 2016 at 12:13, Stefan Agner wrote: > From: Stefan Agner > > Some devices (e.g. dra7xx) support loading to RAM using DFU without > having direct boot from RAM support. Make sure the linker list > does not contain

[U-Boot] [PATCH v3 0/4] serial: pxa: kconfig and optional driver model integration

2016-11-14 Thread Marcel Ziswiler
This series integrates both Kconfig as well as optional driver model support for the PXA serial driver. As I do not have any of the other hardware available for testing for now I only transitioned the Colibri PXA270 to actually make use of DM_SERIAL. As space on this mostly NOR based hardware is

[U-Boot] [PATCH v3 1/4] serial: pxa: use kconfig for serial configuration

2016-11-14 Thread Marcel Ziswiler
Migrate the PXA serial driver to be configured via Kconfig. Signed-off-by: Marcel Ziswiler Reviewed-by: Marek Vasut --- Changes in v3: - Add Marek's reviewed-by. Changes in v2: None configs/colibri_pxa270_defconfig | 1 + configs/h2200_defconfig

[U-Boot] [PATCH v3 3/4] colibri_pxa270: drop edit, elf, fpga, hush, regex et al. for space reason

2016-11-14 Thread Marcel Ziswiler
With em humble DM and Kconfig migraters U-Boot binary size keeps increasing. Drop a bunch of less needed stuff to save another precious 20+ KB. Signed-off-by: Marcel Ziswiler --- Changes in v3: None Changes in v2: - Introduce new patch saving more precious space.

[U-Boot] [PATCH v3 4/4] colibri_pxa270: transition to driver model for serial

2016-11-14 Thread Marcel Ziswiler
Add serial platform data to board file. Enable driver model for PXA serial driver. Signed-off-by: Marcel Ziswiler --- Changes in v3: None Changes in v2: - Drop baudrate checks. - Use panic instead of just hang() to more gracefully handle failure case. - Drop

[U-Boot] [PATCH v3 2/4] serial: pxa: integrate optional driver model handling

2016-11-14 Thread Marcel Ziswiler
Optional driver model handling integration. Signed-off-by: Marcel Ziswiler Reviewed-by: Marek Vasut --- Changes in v3: - Drop spurious newline. - Add Marek's reviewed-by. Changes in v2: None drivers/serial/serial_pxa.c | 183

Re: [U-Boot] [PATCH v2 1/3] SECURE_BOOT: Enable chain of trust on LS1046A platform

2016-11-14 Thread york sun
On 10/26/2016 03:47 AM, Sumit Garg wrote: > Define bootscript and its header addresses for QSPI target. Also > define PPA header address to enable PPA validation. > > Signed-off-by: Vinitha Pillai > Signed-off-by: Sumit Garg > --- > > Changes in v2: >

Re: [U-Boot] [PATCH RESEND 7/9] video: Allow board hook before video init

2016-11-14 Thread Maxime Ripard
Hi Simon, On Fri, Nov 11, 2016 at 09:17:28AM -0700, Simon Glass wrote: > Hi Maxime, > > On 8 November 2016 at 03:19, Maxime Ripard > wrote: > > Some boards might need to some additional setup right before initialising > > the video console. > > > > Add some

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Maxime Ripard
On Mon, Nov 14, 2016 at 10:14:57AM -0500, Tom Rini wrote: > On Mon, Nov 14, 2016 at 02:42:59PM +0100, Maxime Ripard wrote: > > Hi, > > > > On Fri, Nov 11, 2016 at 11:16:39AM -0800, Moritz Fischer wrote: > > > > +U_BOOT_DRIVER(ds2431) = { > > > > + .name = "ds2431", > > > > +

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 07:43:40PM +, André Przywara wrote: [snip] > On a related matter, I ran buildman on HEAD for armv8 today and GCC 6.2 > found quite some issues (will send out the fixes ASAP). > So is there some buildbot somewhere that runs buildman? If yes, with > what compilers? What

[U-Boot] [RFC 0/1] Add TEE loading support to FIT image

2016-11-14 Thread Andrew F. Davis
Hello all, Internally[0] we use the a hook in the FIT loadable section to install our trusted execution environment solution (OPTEE) which is packaged in the FIT image with the rest of the platform's images. I would like to get some feedback if this will be an acceptable solution? This patch is

[U-Boot] [RFC 1/1] image: Add TEE loading to FIT loadable processing

2016-11-14 Thread Andrew F. Davis
To help automate the loading of a TEE image during the boot we add a new FIT section type 'tee', when we see this type while loading the loadable sections we automatically call the platforms TEE processing function on this image section. Signed-off-by: Andrew F. Davis --- Kconfig

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread André Przywara
On 14/11/16 18:32, Siarhei Siamashka wrote: > On Thu, 3 Nov 2016 00:58:12 + > Andre Przywara wrote: > >> Somehow an int returning function without a return statement sneaked >> in. Fix it. >> >> Signed-off-by: Andre Przywara >> --- >>

[U-Boot] [PATCH v2 0/4] Allow disabling non-FIT image loading from SPL

2016-11-14 Thread Andrew F. Davis
Hello all, To address a needed feature brought up by Andreas[0], we need a way to disable SPL from loading non-FIT images. The function spl_parse_image_header is common to all SPL loading paths (common/spl/spl_(nand|net|nor|etc..)) so we add the check here, much like the existing

  1   2   >