Re: [U-Boot] [PATCH v3 6/7] rockchip: rk3328: add evb-rk3328 support

2017-02-23 Thread Simon Glass
On 23 February 2017 at 00:37, Kever Yang wrote: > evb-rk3328 is an evb from Rockchip based on rk3328 SoC: > - 2 USB2.0 Host port; > - 1 USB3.0 Host port; > - 1 HDMI port; > - 2 10/100M eth port; > - 2GB ddr; > - 16GB eMMC; > - UART to USB debug port; > > Signed-off-by:

[U-Boot] [PATCH 8/9] defconfig: k2e_hs_evm: Add k2e_hs_evm_defconfig

2017-02-23 Thread Andrew F. Davis
TI K2E secure devices have to be built with TI_SECURE_DEVICE, FIT, and FIT_IMAGE_POST_PROCESS enabled. Add a dedicated defconfig for this. Signed-off-by: Vitaly Andrianov Signed-off-by: Madan Srinivas Signed-off-by: Andrew F. Davis ---

Re: [U-Boot] [PATCH 07/10] sunxi: Convert CONFIG_RGMII to Kconfig

2017-02-23 Thread Maxime Ripard
Hi, On Thu, Feb 23, 2017 at 04:44:16PM +0100, Mylène Josserand wrote: > Convert CONFIG_RGMII to Kconfig. Thanks to that, it is possible to > update defconfig files of SYS_EXTRA_OPTIONS accordingly and > remove it when it is possible. > > Signed-off-by: Mylène Josserand

Re: [U-Boot] [PATCH V3 13/19] serial: lpuart: restructure lpuart driver

2017-02-23 Thread Alison Wang
> -Original Message- > From: Peng Fan [mailto:peng@nxp.com] > Sent: Wednesday, February 22, 2017 4:22 PM > To: sba...@denx.de > Cc: u-boot@lists.denx.de; Peng Fan ; Bhuvanchandra DV > ; york sun ; Shaohui > Xie

[U-Boot] [PATCH 1/3] ARM: dts: sun9i: Add mmc1 pinmux setting

2017-02-23 Thread Chen-Yu Tsai
commit 56b0730157f70dc23d6caff9e7ceb8b377b96b9f upstream. On the A80, mmc1 is available on pingroup G. Designs mostly use this to connect to an SDIO WiFi chip. Signed-off-by: Chen-Yu Tsai --- arch/arm/dts/sun9i-a80.dtsi | 8 1 file changed, 8 insertions(+) diff --git

[U-Boot] [PATCH 0/3] ARM: sun9i: Device tree and defconfig for Sunchip CX-A99

2017-02-23 Thread Rask Ingemann Lambertsen
The Sunchip CX-A99 board is used in some media players running Android. It uses the Allwinner A80 ARM SoC and is similar to the Merrii A80 Optimus and Cubietech Cubieboard4, but targets consumer devices instead of being a developer board. Patch 2 includes an overview of what's on the board. See

Re: [U-Boot] [PATCH 2/2] arm64: booti: allow to place kernel image anywhere in physical memory

2017-02-23 Thread Tom Rini
On Thu, Feb 23, 2017 at 06:17:38PM +0900, Masahiro Yamada wrote: > Hi Tom, > > > 2017-02-23 1:19 GMT+09:00 Tom Rini : > > On Wed, Feb 22, 2017 at 11:34:26AM +0900, Masahiro Yamada wrote: > > > >> At first, the ARM64 Linux booting requirement recommended that the > >> kernel

Re: [U-Boot] [PATCH] Makefile: print warning if CONFIG_SYS_EXTRA_OPTIONS is used

2017-02-23 Thread Tom Rini
On Wed, Feb 22, 2017 at 03:26:01PM -0800, Maxime Ripard wrote: > On Tue, Feb 21, 2017 at 08:58:55PM -0700, Simon Glass wrote: > > Hi, > > > > On 21 February 2017 at 16:16, Maxime Ripard > > wrote: > > > On Sat, Feb 18, 2017 at 03:24:53PM +0900, Masahiro Yamada

[U-Boot] [PATCH 0/9] Add support for secure boot on Keystone2 SoCs

2017-02-23 Thread Andrew F. Davis
Hello all, This series adds support for secure Keystone2 K2E and K2HK devices, much of the work is borrowed from the OMAP style devices as the secure workings are very similar, allowing minimal changes for this support addition. Thanks, Andrew Andrew F. Davis (9): image: Fixes build warning

[U-Boot] [PATCH 1/9] image: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS

2017-02-23 Thread Andrew F. Davis
The function 'board_fit_image_post_process' is defined only when the config option CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure systems that do not use SPL but do use FIT kernel images, only CONFIG_FIT_IMAGE_POST_PROCESS will be defined, which will result in an implicit declaration of

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

2017-02-23 Thread Andrew F. Davis
This commit implements the board_fit_image_post_process() function for the keystone architecture. This function calls into the secure boot monitor for secure authentication/decryption of the image. All needed work is handled by the boot monitor and, depending on the keystone platform, the security

Re: [U-Boot] [PATCH v3 1/4] arm64: rk3399: add ddr controller driver

2017-02-23 Thread Simon Glass
On 22 February 2017 at 20:35, Simon Glass wrote: > On 22 February 2017 at 01:56, Kever Yang wrote: >> RK3399 support DDR3, LPDDR3, DDR4 sdram, this patch is porting from >> coreboot, support 4GB lpddr3 in this version. >> >> Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH] rockchip: firefly: configs: remove config_spl_of_platdata

2017-02-23 Thread Simon Glass
On 22 February 2017 at 20:35, Simon Glass wrote: > On 20 February 2017 at 03:28, Jacob Chen wrote: >> Hi, >> >> 2017-02-17 4:44 GMT+08:00 Simon Glass : >>> Hi, >>> >>> On 14 February 2017 at 23:41, Jacob Chen

Re: [U-Boot] [PATCH] rockchip: firefly: configs: add a new config to keep non-of-platdata

2017-02-23 Thread Simon Glass
Hi Jacob, On 22 February 2017 at 23:36, Jacob Chen wrote: > Hi Simon, > > > 2017-02-22 11:59 GMT+08:00 Simon Glass : >> Hi Jacob, >> >> On 20 February 2017 at 03:26, Jacob Chen wrote: >>> The firefly config have been changed

Re: [U-Boot] [PATCH 0/3] Sync HS and non-HS defconfigs

2017-02-23 Thread Tom Rini
On Wed, Feb 22, 2017 at 05:22:17PM -0600, Andrew F. Davis wrote: > Hi all, > > The HS and non-HS versions of TI boards are very similar but > currently need separate defconfigs, these should be almost > identical outside of the security additions. When they > track out of sync it is normally not

Re: [U-Boot] [PATCH v3 3/7] rockchip: rk3328: add clock driver

2017-02-23 Thread Simon Glass
On 23 February 2017 at 00:37, Kever Yang wrote: > Add rk3328 clock driver and cru structure definition. > > Signed-off-by: William Zhang > Signed-off-by: Kever Yang > --- > > Changes in v3: > - remove I2C reg

Re: [U-Boot] [PATCH v3 5/7] rockchip: rk3328: add sysreset driver

2017-02-23 Thread Simon Glass
On 23 February 2017 at 00:37, Kever Yang wrote: > Add rk3328 sysreset driver. > > Signed-off-by: William Zhang > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v3:

[U-Boot] [PATCH 07/10] sunxi: Convert CONFIG_RGMII to Kconfig

2017-02-23 Thread Mylène Josserand
Convert CONFIG_RGMII to Kconfig. Thanks to that, it is possible to update defconfig files of SYS_EXTRA_OPTIONS accordingly and remove it when it is possible. Signed-off-by: Mylène Josserand --- board/sunxi/Kconfig| 7 +++

Re: [U-Boot] [PATCH v4 00/20] rk3188 uboot support

2017-02-23 Thread Heiko Stuebner
Am Donnerstag, 23. Februar 2017, 09:19:20 CET schrieb Simon Glass: > Hi Heiko, > > On 22 February 2017 at 20:59, Heiko Stuebner wrote: > > Am Mittwoch, 22. Februar 2017, 20:26:18 CET schrieb Simon Glass: > >> Hi Heiko, > >> > >> On 18 February 2017 at 11:46, Heiko Stuebner

[U-Boot] [PATCH 1/3] dm: Return actual bools in dm_fdt_pre_reloc

2017-02-23 Thread Heiko Stuebner
Documentation says that we're returning true/false, not 1/0 so adapt the function to return actual booleans. Signed-off-by: Heiko Stuebner --- drivers/core/util.c | 12 ++-- include/dm/util.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH 5/9] ARM: Keystone2: Build secure images for K2

2017-02-23 Thread Andrew F. Davis
Adds an additional image type needed for supporting secure keystone devices. The build generates u-boot_HS_MLO which can be used to boot from all media on secure keystone devices. Signed-off-by: Madan Srinivas Signed-off-by: Andrew F. Davis ---

Re: [U-Boot] [PATCH 01/10] sunxi: Convert SUNXI_GMAC to Kconfig

2017-02-23 Thread Maxime Ripard
Hi, On Thu, Feb 23, 2017 at 04:44:10PM +0100, Mylène Josserand wrote: > Move the SUNXI_GMAC config option to Kconfig and remove it > from SYS_EXTRA_OPTIONS. > > Signed-off-by: Mylène Josserand > --- > board/sunxi/Kconfig| 5 + >

Re: [U-Boot] [PATCH v2 1/6] sunxi: add pinctrl (UCLASS_PINCTRL) support for sunxi

2017-02-23 Thread Maxime Ripard
On Thu, Feb 23, 2017 at 11:54:15AM +0800, Chen-Yu Tsai wrote: > On Thu, Feb 23, 2017 at 7:18 AM, Maxime Ripard > wrote: > > On Wed, Feb 22, 2017 at 09:47:27PM +0100, Philipp Tomsich wrote: > >> This change adds a full device-model pinctrl driver for sunxi (tested

Re: [U-Boot] [PATCH v4 00/20] rk3188 uboot support

2017-02-23 Thread Simon Glass
Hi Heiko, On 22 February 2017 at 20:59, Heiko Stuebner wrote: > Am Mittwoch, 22. Februar 2017, 20:26:18 CET schrieb Simon Glass: >> Hi Heiko, >> >> On 18 February 2017 at 11:46, Heiko Stuebner wrote: >> > Hi, >> > >> > thanks to Kever finding the needle in the

[U-Boot] [PATCH 10/10] sunxi: Convert CONS_INDEX to Kconfig

2017-02-23 Thread Mylène Josserand
Convert the CONS_INDEX configuration to Kconfig. Update sunxi's defconfigs to remove SYS_EXTRA_OPTIONS variable not needed anymore. Default value is 1 except for sun5i (equals 2) and sun8i (equals 5). Signed-off-by: Mylène Josserand --- board/sunxi/Kconfig

Re: [U-Boot] [PATCH] ARM: ti: Update layout for MMC and eMMC (env and dfu)

2017-02-23 Thread Jean-Jacques Hiblot
On 23/02/2017 14:46, Sam Protsenko wrote: On Wed, Feb 22, 2017 at 10:27 AM, Jean-Jacques Hiblot wrote: The problems with the current DFU layout are: MMC: The space allocated for u-boot is too small for the latest u-boot (>750KB). We need to increase it. eMMC uses a

[U-Boot] Please pull u-boot-rockchip

2017-02-23 Thread Simon Glass
Hi Tom, This includes support for two SoCs that have been in the works for a while: rk3188 from Heiko Stübner and and SPL for rk3399 from Kever Yang. For the former there are a few more patches to come but I'll apply them in a few days once I've had time to test. In addition this includes rk3328

Re: [U-Boot] [PATCH 06/10] sunxi: Convert SUNXI_EMAC to Kconfig

2017-02-23 Thread Maxime Ripard
On Thu, Feb 23, 2017 at 04:44:15PM +0100, Mylène Josserand wrote: > +config SUNXI_EMAC > +bool "Allwinner Ethernet MAC support" > +depends on DM_ETH > +help > + This driver supports the general Allwinner Ethernet MAC. > + This would be great to rename it as well

Re: [U-Boot] [PATCH 08/10] sunxi: Convert CONFIG_SATAPWR to Kconfig

2017-02-23 Thread Maxime Ripard
Hi, On Thu, Feb 23, 2017 at 04:44:17PM +0100, Mylène Josserand wrote: > Convert the CONFIG_SATAPWR into kconfig. > Thanks to that, many SYS_EXTRA_OPTIONS can be removed from some > defconfigs. > > Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard

Re: [U-Boot] [PATCH 09/10] sunxi: Convert CONFIG_MACPWR to Kconfig

2017-02-23 Thread Maxime Ripard
On Thu, Feb 23, 2017 at 04:44:18PM +0100, Mylène Josserand wrote: > Convert the CONFIG_MACPWR to Kconfig and update all the sunxi defconfigs > that used it in SYS_EXTRA_OPTIONS. > > Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard

[U-Boot] [PATCH 2/3] board: at91sam9m10g45ek: move config options to defconfig

2017-02-23 Thread Wenyou Yang
Support the device tree and enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/*_defconfig, and make the drivers, emac, gpio and mci to support the driver model. Signed-off-by: Wenyou Yang ---

Re: [U-Boot] [PATCH v2 09/10] armv8: mmu: Add a function to change mapping attributes

2017-02-23 Thread york sun
On 02/15/2017 03:18 PM, York Sun wrote: > Function mmu_change_region_attr() is added to change existing mapping > with updated PXN, UXN and memory type. This is a break-before-make > process during which the mapping becomes fault (invalid) before final > attributres are set. > > Signed-off-by:

[U-Boot] [PATCH 03/10] sunxi: icnova-a20-swac_defconfig: Remove CMD_BMP from SYS_EXTRA_OPTIONS

2017-02-23 Thread Mylène Josserand
This configuration is not necessary in a defconfig file so it is removed from the SYS_EXTRA_OPTIONS. Signed-off-by: Mylène Josserand --- configs/icnova-a20-swac_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 06/10] sunxi: Convert SUNXI_EMAC to Kconfig

2017-02-23 Thread Mylène Josserand
Convert the SUNXI_EMAC config to Kconfig. Remove it from SYS_EXTRA_OPTIONS from many sunxi defconfig. Signed-off-by: Mylène Josserand --- configs/A10-OLinuXino-Lime_defconfig | 3 ++- configs/A10s-OLinuXino-M_defconfig | 2 +- configs/Cubieboard_defconfig

[U-Boot] [PATCH 3/9] arm: mach-omap2: Enable Kconfig support for K2 HS devices

2017-02-23 Thread Andrew F. Davis
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. Signed-off-by: Vitaly Andrianov Signed-off-by: Madan Srinivas Signed-off-by: Andrew F.

[U-Boot] [PATCH 7/9] Kconfig: Adds SYS_TEXT_BASE config option for Keystone2

2017-02-23 Thread Andrew F. Davis
This patch makes SYS_TEXT_BASE a config option for Keystone2 so that it can be used to load u-boot at different addresses on secure and non-secure Keystone2 devices. Signed-off-by: Madan Srinivas Signed-off-by: Andrew F. Davis --- Kconfig| 2 +-

[U-Boot] [PATCH 9/9] defconfig: k2hk_hs_evm: Add k2hk_hs_evm_defconfig

2017-02-23 Thread Andrew F. Davis
TI K2HK secure devices have to be built with TI_SECURE_DEVICE, FIT, and FIT_IMAGE_POST_PROCESS enabled. Add a dedicated defconfig for this. Signed-off-by: Andrew F. Davis --- configs/k2hk_hs_evm_defconfig | 51 +++ 1 file changed, 51

[U-Boot] [PATCH 6/9] doc: Updates info on using Keystone2 secure devices

2017-02-23 Thread Andrew F. Davis
Add a section describing the secure boot image used on Keystone2 secure devices. Signed-off-by: Madan Srinivas Signed-off-by: Andrew F. Davis --- doc/README.ti-secure | 20 1 file changed, 20 insertions(+) diff --git a/doc/README.ti-secure

[U-Boot] [PATCH V4 12/19] i2c: lpi2c: add lpi2c driver for i.MX7ULP

2017-02-23 Thread Peng Fan
Add lpi2c driver for i.MX7ULP. Need to enable the two options to use this driver: CONFIG_DM_I2C=y CONFIG_SYS_I2C_IMX_LPI2C=y Signed-off-by: Peng Fan Acked-by: Heiko Schocher Cc: Stefano Babic --- I do not repost the whole patch set, only post

[U-Boot] How to validate ext4load file size (not null)?

2017-02-23 Thread brendan
I have stored multiple device trees in my emmc (ext4 formatted) partition and I want to load a certain device tree file from emmc, but if this fails (i.e. the device tree file doesn't exist) it should default to a device tree that is stored in memory. For example if I run this: I get a return

Re: [U-Boot] [PATCH] rockchip: video: fix mpixelclock in rockchip HDMI

2017-02-23 Thread Simon Glass
Hi Nickey, On 22 February 2017 at 23:56, Nickey.Yang wrote: > Hi Simon, > > > > 在 2017年02月23日 11:52, Simon Glass 写道: >> >> Hi, >> >> On 11 January 2017 at 22:08, Simon Glass wrote: >>> >>> On 28 December 2016 at 23:01, Nickey Yang

Re: [U-Boot] [PATCH v3 7/7] rockchip: rk3288: add defconfig for evb-rk3328

2017-02-23 Thread Kever Yang
Hi Simon, There is a typo on the subject of this patch, it should be rk3328 instead of rk3288 :( Sorry for that, are you able to fix it in your tree? Thanks, - Kever On 02/24/2017 12:20 AM, Simon Glass wrote: On 23 February 2017 at 00:37, Kever Yang wrote:

Re: [U-Boot] [PATCH v3 2/4] dts: rk3399: update for spl require driver

2017-02-23 Thread Simon Glass
On 22 February 2017 at 01:56, Kever Yang wrote: > Add syscon and dmc node, and 'u-boot,dm-pre-reloc' option for > required driver. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > Changes in v3: None >

Re: [U-Boot] [PATCH 10/10] sunxi: Convert CONS_INDEX to Kconfig

2017-02-23 Thread Maxime Ripard
On Thu, Feb 23, 2017 at 04:44:19PM +0100, Mylène Josserand wrote: > Convert the CONS_INDEX configuration to Kconfig. > Update sunxi's defconfigs to remove SYS_EXTRA_OPTIONS variable not > needed anymore. > Default value is 1 except for sun5i (equals 2) and sun8i (equals 5). > > Signed-off-by:

[U-Boot] [PATCH 08/10] sunxi: Convert CONFIG_SATAPWR to Kconfig

2017-02-23 Thread Mylène Josserand
Convert the CONFIG_SATAPWR into kconfig. Thanks to that, many SYS_EXTRA_OPTIONS can be removed from some defconfigs. Signed-off-by: Mylène Josserand --- board/sunxi/Kconfig| 8 board/sunxi/board.c| 7

[U-Boot] [PATCH 09/10] sunxi: Convert CONFIG_MACPWR to Kconfig

2017-02-23 Thread Mylène Josserand
Convert the CONFIG_MACPWR to Kconfig and update all the sunxi defconfigs that used it in SYS_EXTRA_OPTIONS. Signed-off-by: Mylène Josserand --- board/sunxi/Kconfig | 7 +++ board/sunxi/board.c | 7 ---

[U-Boot] [PATCH 02/10] sunxi: icnova-a20-swac_defconfig: Remove AXP209_POWER from SYS_EXTRA_OPTIONS

2017-02-23 Thread Mylène Josserand
Remove the AXP209_POWER option from SYS_EXTRA_OPTIONS. As this configuration already exists on Kconfig, we just need to remove it from defconfig. Signed-off-by: Mylène Josserand --- configs/icnova-a20-swac_defconfig | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 4/9] arm: mach-omap2: Add secure image name common to OMAP and keystone

2017-02-23 Thread Andrew F. Davis
As K2 can directly boot U-Boot, add u-boot_HS_MLO as the secure image name for secure K2 devices, for all boot modes other than SPI flash. Signed-off-by: Madan Srinivas Signed-off-by: Andrew F. Davis --- arch/arm/mach-omap2/config_secure.mk | 6 ++ 1 file

Re: [U-Boot] [PATCH v3 4/8] armv8: Add workaround for USB erratum A-009007

2017-02-23 Thread york sun
On 02/16/2017 01:12 PM, york@nxp.com wrote: > On 02/03/2017 06:08 AM, Suresh Gupta wrote: >> +static void erratum_a009007(void) >> +{ >> +/* TODO:implement the out_be16 instead of writew which is taking >> +little endian style */ > > Did you mean to remind yourself to finish this before

Re: [U-Boot] [PATCH v2 04/10] efi: Add a hook to allow adding memory mapping

2017-02-23 Thread york sun
On 02/15/2017 03:18 PM, York Sun wrote: > Instead of adding all memory banks, add a hook so individual SoC/board > can has its own implementation. > > Signed-off-by: York Sun > CC: Alexander Graf > > --- > > Changes in v2: > Add change to efi mapping > Alex,

[U-Boot] [PATCH 0/3] board: at91sam9m10g45ek: convert to support DM and DT

2017-02-23 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the Driver Model and the Device Tree. Wenyou Yang (3): ARM: dts: at91: add dts files for at91sam9m10g45ek board: at91sam9m10g45ek: move config options to defconfig board: at91sam9m10g45ek: clean up code arch/arm/dts/Makefile

Re: [U-Boot] [PATCH] ARM: ti: Update layout for MMC and eMMC (env and dfu)

2017-02-23 Thread Sam Protsenko
On Thu, Feb 23, 2017 at 5:14 PM, Jean-Jacques Hiblot wrote: > > > On 23/02/2017 14:46, Sam Protsenko wrote: >> >> On Wed, Feb 22, 2017 at 10:27 AM, Jean-Jacques Hiblot >> wrote: >>> >>> The problems with the current DFU layout are: >>> MMC: The space allocated

Re: [U-Boot] [PATCH] spi: cadence_qspi_apb: Add trigger-base DT bindings from Linux

2017-02-23 Thread Marek Vasut
On 02/23/2017 08:22 PM, Rush, Jason A. wrote: > Marek Vasut wrote: >> On 02/22/2017 06:37 PM, Rush, Jason A. wrote: >>> Marek Vasut wrote: On 02/21/2017 05:50 PM, Rush, Jason A. wrote: > The socfpga arch uses a different value for the indaddrtrig reg than > the ahbbase address.

[U-Boot] [PATCH 3/3] board: at91sam9m10g45ek: clean up code

2017-02-23 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 59 - 1 file changed, 59

[U-Boot] [PATCH 00/10] sunxi: Remove SYS_EXTRA_OPTIONS

2017-02-23 Thread Mylène Josserand
Hello everyone, This patchset removes the SYS_EXTRA_OPTIONS from all sunxi defconfigs. The values in this variable are converted to Kconfig or simply removed. Based on u-boot sunxi repository: git://git.denx.de/u-boot-sunxi.git from last commit: 002d907da51fdf10a03d389852645675529c78e6 Patch 1:

Re: [U-Boot] rockchip: tinker: configs: use correct mmc instance as boot target device

2017-02-23 Thread Simon Glass
On 21 February 2017 at 20:59, Simon Glass wrote: > On 19 February 2017 at 20:08, Eddie Cai wrote: >> We are using wrong mmc instance as boot target device now. below Jaehoon >> Chung's >> patch use mmc alias which correct it. That make tinker board

Re: [U-Boot] [PATCH v3 4/4] config: rk3399: enable SPL config for evb-rk3399

2017-02-23 Thread Simon Glass
On 22 February 2017 at 01:56, Kever Yang wrote: > Enable all the CONFIGs which need by SPL. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > Changes in v1: None

Re: [U-Boot] [PATCH v3 7/7] rockchip: rk3288: add defconfig for evb-rk3328

2017-02-23 Thread Simon Glass
On 23 February 2017 at 00:37, Kever Yang wrote: > Enable board config for evb-rk3328. > SDcard and eMMC boot is OK in this initial version, > USB and EMAC function is not available now, will comes later. > > Signed-off-by: William Zhang >

Re: [U-Boot] [PATCH v3 2/7] rockchip: rk3328: add soc basic support

2017-02-23 Thread Simon Glass
On 23 February 2017 at 00:37, Kever Yang wrote: > RK3328 is a SoC from Rockchip with quad-core Cortex-A53 CPU. > It supports two USB2.0 EHCI ports. Other interfaces are very > much like RK3288, the DRAM are 32bit width address and support > address from 0 to 4GB-16MB

Re: [U-Boot] [PATCH v3 1/7] rockchip: rk3328: add device tree file

2017-02-23 Thread Simon Glass
On 23 February 2017 at 00:37, Kever Yang wrote: > Add dts binding header for rk3328, files origin from kernel. > > Signed-off-by: William Zhang > Signed-off-by: Kever Yang > Acked-by: Simon Glass

Re: [U-Boot] [PATCH v3 4/7] rockchip: rk3328: add pinctrl driver

2017-02-23 Thread Simon Glass
On 23 February 2017 at 00:37, Kever Yang wrote: > Add rk3328 pinctrl driver and grf/iomux structure definition. > > Signed-off-by: William Zhang > Signed-off-by: Kever Yang > Acked-by: Simon Glass

[U-Boot] [PATCH 3/3] rockchip: rk3188: drop CONFIG_SYS_NO_FLASH

2017-02-23 Thread Heiko Stuebner
Commit e856bdcfb492 ("flash: complete CONFIG_SYS_NO_FLASH move with renaming") obsoleted the CONFIG_SYS_NO_FLASH option, which still is in our rk3188_common.h header, resulting in warnings like The following new ad-hoc CONFIG options were detected: CONFIG_SYS_NO_FLASH So also drop it from

[U-Boot] [PATCH 2/3] rockchip: rk3188: enable TPL_LIBGENERIC for generic memset

2017-02-23 Thread Heiko Stuebner
Commit c67c8c604b6c ("board_init.c: Always use memset()") dropped the naive memset alternative from board_init_f_init_reserve. So activate CONFIG_TPL_LIBGENERIC for that common memset implementation. We cannot use the ARCH-specific memset, as that would incur 200bytes of additional TPL size, space

Re: [U-Boot] [PATCH v3] armv8: spl: Call spl_relocate_stack_gd for ARMv8

2017-02-23 Thread Simon Glass
Hi, On 23 February 2017 at 02:25, Dr. Philipp Tomsich wrote: > Simon, > > On 23 Feb 2017, at 03:23, Simon Glass wrote: > > On 22 February 2017 at 11:01, Philipp Tomsich > wrote: > > As part of the

Re: [U-Boot] [PATCH 05/10] sunxi: mk802_defconfig: Remove SYS_EXTRA_OPTIONS

2017-02-23 Thread Maxime Ripard
On Thu, Feb 23, 2017 at 04:44:14PM +0100, Mylène Josserand wrote: > The USB_EHCI configuration is already set in this defconfig > using kconfig's config. This configuration in SYS_EXTRA_OPTIONS > must be removed and so the SYS_EXTRA_OPTIONS. > > Signed-off-by: Mylène Josserand

Re: [U-Boot] [PATCH 03/10] sunxi: icnova-a20-swac_defconfig: Remove CMD_BMP from SYS_EXTRA_OPTIONS

2017-02-23 Thread Maxime Ripard
On Thu, Feb 23, 2017 at 04:44:12PM +0100, Mylène Josserand wrote: > This configuration is not necessary in a defconfig file so > it is removed from the SYS_EXTRA_OPTIONS. > > Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard

Re: [U-Boot] [PATCH 04/10] sunxi: icnova-a20-swac_defconfig: Remove CMD_UNZIP and SYS_EXTRA_OPTIONS

2017-02-23 Thread Maxime Ripard
On Thu, Feb 23, 2017 at 04:44:13PM +0100, Mylène Josserand wrote: > Remove this command as it is not necessary in defconfig file. > As there is no more command/option in SYS_EXTRA_OPTIONS, it > can be removed from this defconfig file. > > Signed-off-by: Mylène Josserand

Re: [U-Boot] [PATCH 02/10] sunxi: icnova-a20-swac_defconfig: Remove AXP209_POWER from SYS_EXTRA_OPTIONS

2017-02-23 Thread Maxime Ripard
On Thu, Feb 23, 2017 at 04:44:11PM +0100, Mylène Josserand wrote: > Remove the AXP209_POWER option from SYS_EXTRA_OPTIONS. > As this configuration already exists on Kconfig, we just need > to remove it from defconfig. > > Signed-off-by: Mylène Josserand

[U-Boot] How to validate ext4load file size (not null)?

2017-02-23 Thread brendan
I have stored multiple device trees in my emmc (ext4 formatted) partition and I want to load a certain device tree file from emmc, but if this fails (i.e. the device tree file doesn't exist) it should default to a device tree that is stored in memory. For example if I run this: I get a return

Re: [U-Boot] [PATCH v3 3/4] arm64: rk3399: add SPL support

2017-02-23 Thread Simon Glass
On 22 February 2017 at 01:56, Kever Yang wrote: > Add SPL support for rk3399, default with of-platdata enabled. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: > -

Re: [U-Boot] [PATCH v4] rockchip: arm64: rk3399: add SPL support

2017-02-23 Thread Simon Glass
On 23 February 2017 at 01:09, Kever Yang wrote: > Add SPL support for rk3399, default with of-platdata enabled. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > Changes in v4: > - move SPL_SEPARATE_BSS to

[U-Boot] [PATCH V4 12/19] i2c: lpi2c: add lpi2c driver for i.MX7ULP

2017-02-23 Thread Peng Fan
Add lpi2c driver for i.MX7ULP. Need to enable the two options to use this driver: CONFIG_DM_I2C=y CONFIG_SYS_I2C_IMX_LPI2C=y Signed-off-by: Peng Fan Acked-by: Heiko Schocher Cc: Stefano Babic --- I do not repost the whole patch set, only post

Re: [U-Boot] mlo and u-boot

2017-02-23 Thread Andrew F. Davis
On 02/22/2017 12:23 PM, Ryan wrote: > Hello, > > I am using AM43XX based board. The bootloader is divided into spl > u-boot (MLO) and u-boot.bin > > I wanted to check what variables are shared between them. How does MLO > a seperate binary > share the boot mode and mmcdev to u-boot so that it

Re: [U-Boot] [PATCH] spi: cadence_qspi_apb: Add trigger-base DT bindings from Linux

2017-02-23 Thread Rush, Jason A.
Marek Vasut wrote: > On 02/22/2017 06:37 PM, Rush, Jason A. wrote: >> Marek Vasut wrote: >>> On 02/21/2017 05:50 PM, Rush, Jason A. wrote: The socfpga arch uses a different value for the indaddrtrig reg than the ahbbase address. Adopting the Linux DT bindings separates the ahbbase

[U-Boot] [PATCH 05/10] sunxi: mk802_defconfig: Remove SYS_EXTRA_OPTIONS

2017-02-23 Thread Mylène Josserand
The USB_EHCI configuration is already set in this defconfig using kconfig's config. This configuration in SYS_EXTRA_OPTIONS must be removed and so the SYS_EXTRA_OPTIONS. Signed-off-by: Mylène Josserand --- configs/mk802_defconfig | 1 - 1 file changed, 1

[U-Boot] [PATCH 01/10] sunxi: Convert SUNXI_GMAC to Kconfig

2017-02-23 Thread Mylène Josserand
Move the SUNXI_GMAC config option to Kconfig and remove it from SYS_EXTRA_OPTIONS. Signed-off-by: Mylène Josserand --- board/sunxi/Kconfig| 5 + configs/A20-OLinuXino-Lime2_defconfig | 3 ++-

[U-Boot] [PATCH 04/10] sunxi: icnova-a20-swac_defconfig: Remove CMD_UNZIP and SYS_EXTRA_OPTIONS

2017-02-23 Thread Mylène Josserand
Remove this command as it is not necessary in defconfig file. As there is no more command/option in SYS_EXTRA_OPTIONS, it can be removed from this defconfig file. Signed-off-by: Mylène Josserand --- configs/icnova-a20-swac_defconfig | 1 - 1 file changed, 1

[U-Boot] [PATCH 2/3] ARM: dts: sun9i: Add device tree for Sunchip CX-A99

2017-02-23 Thread Rask Ingemann Lambertsen
The Sunchip CX-A99 is a board used in some media players. It features: An Allwinner A80 ARM SoC (4 * Cortex-A7 + 4 * Cortex-A15 cores) 2 GiB or 4 GiB DDR3 DRAM AXP808 PMIC 16 GB or 32 GB eMMC SDIO Wifi/Bluetooth/FM module SD card slot 1 USB 3.0 connector 2 USB 2.0 connectors SATA connector UART

[U-Boot] [PATCH 1/3] ARM: dts: at91: add dts files for at91sam9m10g45ek

2017-02-23 Thread Wenyou Yang
The device tree source files of at91sam9m10g45ek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Fix the

[U-Boot] [PATCH 3/3] ARM: sun9i: Add defconfig for Sunchip CX-A99

2017-02-23 Thread Rask Ingemann Lambertsen
This patch adds a defconfig for the board. The DRAM settings are as found in the vendor sys_config.fex file. Signed-off-by: Rask Ingemann Lambertsen --- configs/Sunchip_CX-A99_defconfig | 22 ++ 1 file changed, 22 insertions(+) create mode 100644

[U-Boot] [PATCH v2] armv8: fsl-lsch3: Instantiate TZASC configuration in 2 groups

2017-02-23 Thread Ashish Kumar
Number of TZASC instances may vary across NXP SoCs. So put TZASC configuration under instance specific defines. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish Kumar --- v2: Change description to make it more appropriate

[U-Boot] [PATCH v4 3/7] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-23 Thread Uri Mashiach
A weak version of the function board_usb_init is implemented in: common/usb.c drivers/usb/host/xhci-omap.c To fix the double implementations: * Convert the board_usb_init function in drivers/usb/host/xhci-omap.c normal (not weak). * The function board_usb_init in drivers/usb/host/xhci-omap.c

[U-Boot] [PATCH v4 1/7] arm: dra7xx: move CONFIG_DRA7XX to Kconfig

2017-02-23 Thread Uri Mashiach
The symbol CONFIG_DRA7XX is needed for Kconfig conditions. Cc: Lokesh Vutla Signed-off-by: Uri Mashiach --- V2 -> V3: new commit V3 -> V4: move the DRA7XX symbol introduction to arch/arm/mach-omap2/omap5/Kconfig

[U-Boot] [PATCH v4 2/7] arm: usb: dra7xx: xHCI registers based on USB port index

2017-02-23 Thread Uri Mashiach
Modify the determination of the base address of xHCI registers of DRA7XX targets. Before the commit: by the target. After the commit: by the USB port index. Cc: Lokesh Vutla Cc: Marek Vasut Cc: Roger Quadros Signed-off-by: Uri Mashiach

[U-Boot] [PATCH v4 7/7] arm: am57xx: cl-som-am57x: enable USB commands

2017-02-23 Thread Uri Mashiach
Add CONFIG_CMD_USB to the defconfig file. Signed-off-by: Uri Mashiach Reviewed-by: Tom Rini --- V1 -> V4: none configs/cl-som-am57x_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/cl-som-am57x_defconfig

[U-Boot] [PATCH v4 5/7] arm: am57xx: cl-som-am57x: fix USB scan

2017-02-23 Thread Uri Mashiach
USB bus scan attempt: --cut-- => usb start starting USB... USB0: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... data abort pc : [] lr : [] reloc pc : [<8081b40e>]lr :

[U-Boot] [PATCH v4 6/7] arm: am57xx: cl-som-am57x: enable USB storage

2017-02-23 Thread Uri Mashiach
Add CONFIG_USB_STORAGE to the defconfig file. Signed-off-by: Uri Mashiach Reviewed-by: Tom Rini --- V1 -> V4: none configs/cl-som-am57x_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/cl-som-am57x_defconfig

Re: [U-Boot] [PATCH] ARM: ti: Update layout for MMC and eMMC (env and dfu)

2017-02-23 Thread Sam Protsenko
On Wed, Feb 22, 2017 at 10:27 AM, Jean-Jacques Hiblot wrote: > The problems with the current DFU layout are: > MMC: The space allocated for u-boot is too small for the latest u-boot > (>750KB). We need to increase it. eMMC uses a much bigger area (2MB). > eMMC: region

[U-Boot] [PATCH v4 0/7] am57xx: cl-som-am57x: fix usb

2017-02-23 Thread Uri Mashiach
Various USB related comits for the CL-SOM-AM57x module. --- V1 -> V2: Replace commit "fix XHCI registers base address" with "reintroduce the CONFIG_AM57XX symbol". V2 -> V3: * New commit "move CONFIG_DRA7XX to Kconfig" * Replace commit "reintroduce the CONFIG_AM57XX symbol" with "xHCI

[U-Boot] [PATCH v4 4/7] arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks

2017-02-23 Thread Uri Mashiach
Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks during board_usb_exit to enable and disable clocks respectively. Modifications: * Enable USB clocks in the OMAP version of the function board_usb_init. * Disable USB clocks in the OMAP version of the function

Re: [U-Boot] [PATCH 2/2] arm64: booti: allow to place kernel image anywhere in physical memory

2017-02-23 Thread Masahiro Yamada
Hi Tom, 2017-02-23 1:19 GMT+09:00 Tom Rini : > On Wed, Feb 22, 2017 at 11:34:26AM +0900, Masahiro Yamada wrote: > >> At first, the ARM64 Linux booting requirement recommended that the >> kernel image be placed text_offset bytes from 2MB aligned base near >> the start of

Re: [U-Boot] mlo and u-boot

2017-02-23 Thread Lukasz Majewski
On Wed, 22 Feb 2017 23:53:32 +0530 Ryan wrote: > Hello, > > I am using AM43XX based board. The bootloader is divided into spl > u-boot (MLO) and u-boot.bin > > I wanted to check what variables are shared between them. How does MLO > a seperate binary > share the

Re: [U-Boot] [PATCH v3] armv8: spl: Call spl_relocate_stack_gd for ARMv8

2017-02-23 Thread Dr. Philipp Tomsich
Simon, > On 23 Feb 2017, at 03:23, Simon Glass wrote: > > On 22 February 2017 at 11:01, Philipp Tomsich > > wrote: >> As part of the startup process for boards using the SPL, we need to >>

[U-Boot] [PATCH v2] armv8:fsl-layerscape: Add registers space defination for CCI-400 bus

2017-02-23 Thread Ashish Kumar
CoreLink Cache Coherent Interconnect (CCI) is ARM BUS which provides full cache coherency between two clusters of multi-core CPUs and I/O coherency for devices and I/O masters. This patch add new CONFIG defination and move existing register space definaton of CCI-400 bus from from

[U-Boot] [PATCH v2] armv8: fsl-lsch3: Conditionally Remove errata a0009203 from lsch3 init

2017-02-23 Thread Ashish Kumar
This i2c errata is only valid for LS2080A and its variants, namely LS2080A, LS2085A and LS2088A Signed-off-by: Ashish Kumar --- v2: Change Descristion to make it more specific about impacted SoC arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4

[U-Boot] [PATCH v4] rockchip: arm64: rk3399: add SPL support

2017-02-23 Thread Kever Yang
Add SPL support for rk3399, default with of-platdata enabled. Signed-off-by: Kever Yang Reviewed-by: Simon Glass --- Changes in v4: - move SPL_SEPARATE_BSS to RK3399 Changes in v2: - split SPL patch into 4 patches arch/arm/mach-rockchip/Kconfig

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

2017-02-23 Thread chris warth
I don't know the protocol for revisiting broken patches that have already been integrated, but the patched offered by NXP for their ls1046a RDB is wrong. original patch: http://lists.denx.de/pipermail/u-boot/2016-September/265974.html The main error is this patch defines CONFIG_SPI_FLASH_BAR

[U-Boot] mlo and u-boot

2017-02-23 Thread Ryan
Hello, I am using AM43XX based board. The bootloader is divided into spl u-boot (MLO) and u-boot.bin I wanted to check what variables are shared between them. How does MLO a seperate binary share the boot mode and mmcdev to u-boot so that it can use the appropriate mmcdev to find the kernel.

[U-Boot] [PATCH v3 0/7] add support for rk3328 SoC

2017-02-23 Thread Kever Yang
This patchset is to support rk3328 Soc, including some basic driver like clock, pinctrl, sysreset and etc. This version enables eMMC and sd-card boot, USB and MAC driver is not ready. RK3328 is a quad-core cortex-A53 SoC, it needs ATF support, so I would like to send the U-Boot driver without

Re: [U-Boot] [PATCH] board: ns2: Add support for Broadcom Northstar 2

2017-02-23 Thread Jon Mason
On Wed, Feb 22, 2017 at 11:10 AM, Tom Rini wrote: > On Fri, Feb 17, 2017 at 04:17:10PM -0500, Jon Mason wrote: > >> Add support for the Broadcom Northstar2 SoC and SVK (bcm958712k). The >> BCM5871X is a series of quad-core 64-bit 2GHz ARMv8 Cortex-A57 >> processors targeting

  1   2   >