Re: [U-Boot] [PATCH 07/12] sunxi: DRAM: add Allwinner H5 support

2017-01-15 Thread Maxime Ripard
On Fri, Jan 13, 2017 at 01:29:59AM +, Andre Przywara wrote: > The DRAM controller in the Allwinner H5 SoC is again very similar to > the one in the H3 and A64. > Based on the existing socid parameter, add support for this controller > by reusing the bulk of the code and only deviating where

Re: [U-Boot] [PATCH 05/12] sunxi: provide ARMv8 mem_map for every ARM64 board

2017-01-15 Thread Maxime Ripard
On Fri, Jan 13, 2017 at 01:29:57AM +, Andre Przywara wrote: > Every armv8 board needs the memory map, so change the #ifdef to > ARM64 to avoid enumerating every single board or SoC. > > Signed-off-by: Andre Przywara Acked-by: Maxime Ripard

Re: [U-Boot] [PATCH 04/12] sunxi: Kconfig: introduce CONFIG_SUNXI_HIGH_SRAM

2017-01-15 Thread Maxime Ripard
On Fri, Jan 13, 2017 at 01:29:56AM +, Andre Przywara wrote: > Traditionally Allwinner SoCs have their boot ROM mapped just below 4GB, > while the first SRAM region is mapped at address 0. > With the extended physical memory support of the A80 this was changed, > so the BROM is now at address 0

Re: [U-Boot] [PATCH 03/12] sunxi: configs: merge sun9i and sun50i SPL memory definitions

2017-01-15 Thread Maxime Ripard
On Fri, Jan 13, 2017 at 01:29:55AM +, Andre Przywara wrote: > For some reason we were pretty conservative when defining the maximum > SPL size for the Allwinner A80(sun9i) SoC. > According to the manual the SRAM A1 is even 40KB, but the BROM > probably still has the 32 KiB load limit. For the

Re: [U-Boot] [linux-sunxi] Re: [PATCH 02/12] sunxi: simplify ACTLR.SMP bit set #ifdef

2017-01-15 Thread Maxime Ripard
On Fri, Jan 13, 2017 at 08:28:07AM +, André Przywara wrote: > On 13/01/17 08:09, Vishnu Patekar wrote: > Hi Vishnu, > > > Even for the single core cortex-a7, SMP bit should be set before > > enabling MMU and cache. > > > > Reference: Cortex A7 r0p5 TRM. section 4.3.31. > > Ah, good point,

Re: [U-Boot] [PATCH 01/12] sunxi: fix ACTLR.SMP assembly routine

2017-01-15 Thread Maxime Ripard
On Fri, Jan 13, 2017 at 01:29:53AM +, Andre Przywara wrote: > If we take the liberty to use register r0 to perform our bit set, we > should be nice enough to tell the compiler about it. > Add r0 to the clobber list to avoid potential mayhem. > > Signed-off-by: Andre Przywara

[U-Boot] [PATCH] binman: add tools directory to the python path

2017-01-15 Thread Emmanuel Vadot
The built _libfdt.so is placed in the /tools dir and need to say here as it contains relative paths. Add the directory to the python path so binman can use this module. Signed-off-by: Emmanuel Vadot --- tools/binman/binman.py | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH] build: Always build the libfdt python module

2017-01-15 Thread Emmanuel Vadot
Do not rely on CONFIG_SPL_OF_PLATDATA to build the libfdt python module. If swig is present, this will be build Signed-off-by: Emmanuel Vadot --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index

Re: [U-Boot] Rockchip RK3288 boot trouble

2017-01-15 Thread Kever Yang
Hi Rick, On 01/16/2017 10:50 AM, Simon Glass wrote: +Kever Hi Rick, On 15 January 2017 at 12:05, Rick Bronson wrote: Hi All, I updated one of my two RK3288 boards (Viewsonic) with newer Android factory firmware (using Windows) and now it won't boot mainline u-boot when I

[U-Boot] Enabling Watchdog Service on Variscite VAR-SOM-MX6 Solo

2017-01-15 Thread Brendan Ta
Hello, I am looking to enable the Watchdog Timer on my Freescale iMX6 board and I am following the documentation supplied by NXP which states as follows: --- The following sequence should be performed for WDOG initialization. • PDE bit of Watchdog Miscellaneous Control Register (WDOG_WMCR)

Re: [U-Boot] U-Boot of-platdata issue

2017-01-15 Thread Simon Glass
Hi Kever, On 15 January 2017 at 18:28, Kever Yang wrote: > Hi Simon, > > I met two issue when using of-platdata > > 1. compitable name with '.' > I get compile error as below: > In file included from include/dt-structs.h:16:0, > from

[U-Boot] [PATCH] dtoc: Replace dot with underscore to avoid compiler errors

2017-01-15 Thread Simon Glass
If there is a '.' in a compatible string, then dtoc will produce a struct with a name containing a '.'. This won't work, so replace it with '_'. Also add a suitable test to the sandbox device tree to catch this. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox.dts |

Re: [U-Boot] Pull request: u-boot-spi/master

2017-01-15 Thread Tom Rini
On Sun, Jan 15, 2017 at 06:32:14PM +0100, Jagan Teki wrote: > Hi Tom, > > Please take this PR. > > thanks! > Jagan. > > The following changes since commit 70c1e0474a9df2c4493b4e2330cc41d3132b4e90: > > Merge git://git.denx.de/u-boot-rockchip (2017-01-12 21:20:51 -0500) > > are available in

Re: [U-Boot] Pull request: u-boot-sunxi/master

2017-01-15 Thread Tom Rini
On Sun, Jan 15, 2017 at 06:27:14PM +0100, Jagan Teki wrote: > Hi Tom, > > Please take this PR. > > thanks! > Jagan. > > The following changes since commit 7f73ca484f792a0d2a7ee09860c32f3d02b3030d: > > Kconfig: CONFIG_OF_PLATDATA doesn't really exist (2017-01-14 12:20:23 -0500) > > are

Re: [U-Boot] [PATCH 1/3] DRA7XX: HW_DATA: Provide dpll_params definitions for PCIe DPLL

2017-01-15 Thread Lokesh Vutla
On Monday 16 January 2017 04:09 AM, Lukasz Majewski wrote: > With this code only 19.2 HMz SYSCLK (input) frequency is supported on > dra7xx based SoCs. This wold be breaking dra74x-evm which has 20MHz sysclk. May I know what is intention for configuring PCIE dpll in u-boot?(you want to use PCIE

Re: [U-Boot] Rockchip RK3288 boot trouble

2017-01-15 Thread Simon Glass
+Kever Hi Rick, On 15 January 2017 at 12:05, Rick Bronson wrote: > Hi All, > > I updated one of my two RK3288 boards (Viewsonic) with newer Android > factory firmware (using Windows) and now it won't boot mainline u-boot > when I use the same exact recipe that worked previously:

Re: [U-Boot] [PATCH] Kconfig: CONFIG_OF_PLATDATA doesn't really exist

2017-01-15 Thread Simon Glass
On 14 January 2017 at 10:21, Tom Rini wrote: > There is no CONFIG_OF_PLATDATA, only CONFIG_SPL_OF_PLATDATA, so rename > the two references to CONFIG_OF_PLATDATA to CONFIG_SPL_OF_PLATDATA. > > Signed-off-by: Tom Rini > --- > common/spl/spl.c |

Re: [U-Boot] u-boot.git or u-boot-x86.git for x86_64 u-boots?

2017-01-15 Thread Simon Glass
Hi Joakim, On 15 January 2017 at 09:49, Joakim Tjernlund wrote: > On Sat, 2017-01-14 at 10:06 -0700, Simon Glass wrote: >> Hi Joakim, >> >> On 14 January 2017 at 04:51, Bin Meng wrote: >> > +Simon, >> > >> > On Fri, Jan 13, 2017 at 4:12 AM,

[U-Boot] U-Boot of-platdata issue

2017-01-15 Thread Kever Yang
Hi Simon, I met two issue when using of-platdata 1. compitable name with '.' I get compile error as below: In file included from include/dt-structs.h:16:0, from spl/dts/dt-platdata.c:3: include/generated/dt-structs.h:26:35: error: expected identifier or ‘(’ before numeric

Re: [U-Boot] u-boot.git or u-boot-x86.git for x86_64 u-boots?

2017-01-15 Thread Bin Meng
Hi Joakim, On Mon, Jan 16, 2017 at 12:49 AM, Joakim Tjernlund wrote: > On Sat, 2017-01-14 at 10:06 -0700, Simon Glass wrote: >> Hi Joakim, >> >> On 14 January 2017 at 04:51, Bin Meng wrote: >> > +Simon, >> > >> > On Fri, Jan 13, 2017 at 4:12

Re: [U-Boot] armv8: fix #if around spin-table code in start.S

2017-01-15 Thread Masahiro Yamada
Hi Tom. 2017-01-16 3:29 GMT+09:00 Tom Rini : > On Tue, Dec 27, 2016 at 11:19:43AM +0200, Oded Gabbay wrote: > >> Using CONFIG_IS_ENABLED() doesn't work in SPL. This patch replaces the only >> occurrence of CONFIG_IS_ENABLED() in start.S to a regular #if defined(). >> It also

Re: [U-Boot] [PATCH] SPL: Add spl_early_board_init() generic function

2017-01-15 Thread Lukasz Majewski
Dear All, > On 01/15/2017 11:46 PM, Lukasz Majewski wrote: > > Some boards do require early adjustments (due to e.g. HW fix) in > > SPL code. In this particular case such operations must be performed > > just before ANY external IC is accessed (good example here is the > > I2C early bus access).

[U-Boot] [PATCH] MAINTAINERS: DFU: Change e-mail address of DFU maintanier

2017-01-15 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1ea7ae0..0e05c0e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -242,7 +242,7 @@ T: git git://git.denx.de/u-boot-coldfire.git F:

Re: [U-Boot] [PATCH] SPL: Add spl_early_board_init() generic function

2017-01-15 Thread Marek Vasut
On 01/15/2017 11:46 PM, Lukasz Majewski wrote: > Some boards do require early adjustments (due to e.g. HW fix) in SPL code. > In this particular case such operations must be performed just before ANY > external IC is accessed (good example here is the I2C early bus access). Shouldn't such stuff

[U-Boot] [PATCH] SPL: Add spl_early_board_init() generic function

2017-01-15 Thread Lukasz Majewski
Some boards do require early adjustments (due to e.g. HW fix) in SPL code. In this particular case such operations must be performed just before ANY external IC is accessed (good example here is the I2C early bus access). Signed-off-by: Lukasz Majewski --- common/spl/Kconfig | 8

[U-Boot] [PATCH 1/3] DRA7XX: HW_DATA: Provide dpll_params definitions for PCIe DPLL

2017-01-15 Thread Lukasz Majewski
With this code only 19.2 HMz SYSCLK (input) frequency is supported on dra7xx based SoCs. Signed-off-by: Lukasz Majewski --- arch/arm/cpu/armv7/omap5/hw_data.c | 12 arch/arm/include/asm/omap_common.h | 1 + 2 files changed, 13 insertions(+) diff --git

[U-Boot] [PATCH 2/3] CLK: OMAP: PCIE: Provide support for PCIE DPLL configuration

2017-01-15 Thread Lukasz Majewski
New function - configure_pcie_dpll() - has been added to allow setting up the PCIe DPLL clock (1500 MHz). Signed-off-by: Lukasz Majewski --- arch/arm/cpu/armv7/omap-common/clocks-common.c | 22 ++ arch/arm/include/asm/omap_common.h | 2 ++ 2 files

[U-Boot] [PATCH 3/3] CLK: OMAP: PCIE: Registers definitions necessary for PCIe clock generation

2017-01-15 Thread Lukasz Majewski
Those registers are necessary to generate and output the PCIe clock. Signed-off-by: Lukasz Majewski --- arch/arm/cpu/armv7/omap5/prcm-regs.c | 2 ++ arch/arm/include/asm/omap_common.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/omap5/prcm-regs.c

[U-Boot] [PATCH v2 08/10] imx6: isiotmx6ul: Add NAND support

2017-01-15 Thread Jagan Teki
From: Jagan Teki Add NAND support for Engicam Is.IoT MX6UL board. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for

[U-Boot] [PATCH v2 04/10] imx6: isiotmx6ul: Add I2C support

2017-01-15 Thread Jagan Teki
From: Jagan Teki Add I2C support for Engicam Is.IoT MX6UL module. isiotmx6ul> i2c bus Bus 0: i2c@021a Bus 1: i2c@021a4000 isiotmx6ul> i2c dev 0 Setting bus to 0 isiotmx6ul> i2c dev Current bus is 0 isiotmx6ul> i2c speed 10 Setting bus speed to 10 Hz

[U-Boot] [PATCH v2 10/10] imx6ul: isiotmx6ul: Enable I2C support

2017-01-15 Thread Jagan Teki
From: Jagan Teki Enable I2C support for Engicam Is.IoT NAND module. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes

[U-Boot] [PATCH v2 09/10] imx6: isiotmx6ul: Add nandboot env support

2017-01-15 Thread Jagan Teki
From: Jagan Teki Add config options for booting Linux from NAND in UBI format. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v2 07/10] arm: dts: imx6ul-isiot: Add eMMC node

2017-01-15 Thread Jagan Teki
From: Jagan Teki Add usdhc2 node, which is eMMC for Engicam Is.IoT MX6UL modules. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki

[U-Boot] [PATCH v2 06/10] imx6: isiotmx6ul: Add FEC support

2017-01-15 Thread Jagan Teki
From: Jagan Teki Add FEC support for Engicam Is.IoT MX6UL module. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for

[U-Boot] [PATCH v2 01/10] configs: imx6: Don't define USDHC2_BASE_ADDR

2017-01-15 Thread Jagan Teki
From: Jagan Teki USDHC base address will assigned by SPL using fsl_esdhc_initialize and u-boot with devicetree, hence no remove base address assignment in config files. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi

[U-Boot] [PATCH v2 03/10] arm: dts: imx6ul-isiot: Add I2C nodes

2017-01-15 Thread Jagan Teki
From: Jagan Teki Add I2C nodes for Engicam Is.IoT MX6UL module. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for

[U-Boot] [PATCH v2 02/10] arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support

2017-01-15 Thread Jagan Teki
From: Jagan Teki Boot from MMC: - U-Boot SPL 2017.01-rc2-gba3c151-dirty (Jan 02 2017 - 16:59:33) Trying to boot from MMC1 U-Boot 2017.01-rc2-gba3c151-dirty (Jan 02 2017 - 16:59:33 +0100) CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz) CPU:

[U-Boot] [PATCH v2 05/10] arm: dts: imx6ul-isiot: Add FEC node

2017-01-15 Thread Jagan Teki
From: Jagan Teki Add FEC node for Engicam Is.IoT MX6UL module. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v2:

[U-Boot] [PATCH v2 00/10] imx6ul: Add Engicam Is.IoT MX6UL support

2017-01-15 Thread Jagan Teki
From: Jagan Teki This patch set support Engicam Is.IoT MX6UL board support. Jagan Teki (10): configs: imx6: Don't define USDHC2_BASE_ADDR arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support arm: dts: imx6ul-isiot: Add I2C nodes imx6: isiotmx6ul:

Re: [U-Boot] [PATCH v3] odroid-c2: Enable distro boot

2017-01-15 Thread Alexander Graf
> Am 15.01.2017 um 20:22 schrieb Andreas Färber : > > Use the generic "distro" boot framework to enable automatic DHCP boot. > MMC and USB are not yet implemented, so this is the only boot option. > > The fdt and kernel addresses are adopted from downstream; ramdisk and >

Re: [U-Boot] [PATCH v2] igep00x0: enable CONFIG_FDT_FIXUP_PARTITIONS

2017-01-15 Thread Tom Rini
On Sun, Jan 15, 2017 at 01:04:31PM +0100, Ladislav Michl wrote: > SPL partition size depends on sector size and we want kernel to use > the same layout, so let U-Boot modify FDT accordingly. > > Signed-off-by: Ladislav Michl > --- > Changes: > -v2 rebased against current

Re: [U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Alexander Graf
> Am 15.01.2017 um 20:20 schrieb Andreas Färber : > >> Am 15.01.2017 um 20:03 schrieb Alexander Graf: >>> On 15/01/2017 19:52, Andreas Färber wrote: >>> Use the generic "distro" boot framework to enable automatic DHCP boot. >>> >>> The fdt and kernel addresses are adopted

[U-Boot] [PATCH v3] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. MMC and USB are not yet implemented, so this is the only boot option. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andreas Färber

Re: [U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Am 15.01.2017 um 20:03 schrieb Alexander Graf: > On 15/01/2017 19:52, Andreas Färber wrote: >> Use the generic "distro" boot framework to enable automatic DHCP boot. >> >> The fdt and kernel addresses are adopted from downstream; ramdisk and >> scriptaddr addresses were chosen arbitrarily. >> >>

[U-Boot] Rockchip RK3288 boot trouble

2017-01-15 Thread Rick Bronson
Hi All, I updated one of my two RK3288 boards (Viewsonic) with newer Android factory firmware (using Windows) and now it won't boot mainline u-boot when I use the same exact recipe that worked previously: sudo ${UPGD} db rkbin/rk32/rk3288_boot.bin sudo ${UPGD} wl 0x40 tftpboot/u-boot-dtb.bin

Re: [U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Alexander Graf
On 15/01/2017 19:52, Andreas Färber wrote: Use the generic "distro" boot framework to enable automatic DHCP boot. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andreas Färber --- Kconfig

[U-Boot] [PATCH] meson: misc_init_r is board-specific

2017-01-15 Thread Andreas Färber
Move it from meson-gxbb-common.h to odroid-c2.h to allow new boards not to implement it. Signed-off-by: Andreas Färber --- include/configs/meson-gxbb-common.h | 1 - include/configs/odroid-c2.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andreas Färber --- Kconfig | 1 +

Re: [U-Boot] [PATCH] MAINTAINERS: Add maintainer for TI security related files

2017-01-15 Thread Tom Rini
On Sun, Jan 15, 2017 at 07:50:35PM +0100, Jagan Teki wrote: > On Wed, Jan 11, 2017 at 6:09 PM, Andrew F. Davis wrote: > > Changes involving High-Security boards should be CC'd for additional > > assessment of the security implications. > > > > Signed-off-by: Andrew F. Davis

[U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andreas Färber --- Kconfig | 1 +

Re: [U-Boot] [PATCH] MAINTAINERS: Add maintainer for TI security related files

2017-01-15 Thread Jagan Teki
On Wed, Jan 11, 2017 at 6:09 PM, Andrew F. Davis wrote: > Changes involving High-Security boards should be CC'd for additional > assessment of the security implications. > > Signed-off-by: Andrew F. Davis > --- > Recently some fastboot additions have been made that may

Re: [U-Boot] MAINTAINERS: Add maintainer for TI security related files

2017-01-15 Thread Tom Rini
On Wed, Jan 11, 2017 at 11:09:27AM -0600, Andrew F. Davis wrote: > Changes involving High-Security boards should be CC'd for additional > assessment of the security implications. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] ti_armv7_common: env: Use FIT image configs by default

2017-01-15 Thread Tom Rini
On Wed, Jan 11, 2017 at 10:28:08AM -0600, Andrew F. Davis wrote: > This allows us to specify a FIT configuration that will automatically > use the correct images from the FIT blob. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] cmd: sata: fix init command return value

2017-01-15 Thread Tom Rini
On Wed, Jan 11, 2017 at 04:51:53PM +0100, Gary Bisson wrote: > Since commit aa6ab905b2, sata_initialize returns -1 if init_sata or > scan_sata fails. But this return value becomes the do_sata return > value which is equivalent to CMD_RET_USAGE. > > In case one issues 'sata init' and that the

Re: [U-Boot] arm: omap-common: add secure ROM signature verify index for AM33xx

2017-01-15 Thread Tom Rini
On Wed, Jan 11, 2017 at 10:19:52AM -0600, Andrew F. Davis wrote: > On AM33xx devices the secure ROM uses a different call index for > signature verification, the function and arguments are the same. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] igep00x0: Remove IGEP0020_NAND BOARD entry from MAINTAINERS

2017-01-15 Thread Tom Rini
On Mon, Jan 09, 2017 at 11:31:43AM +0100, Ladislav Michl wrote: > Boards with NAND and OneNAND are supported by single configuration, > thus remove now obsolete IGEP0020_NAND BOARD entry. > > Signed-off-by: Ladislav Michl Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] igep00x0: enable CONFIG_FDT_FIXUP_PARTITIONS

2017-01-15 Thread Tom Rini
On Mon, Jan 09, 2017 at 11:21:06AM +0100, Ladislav Michl wrote: > SPL partition size depends on sector size and we want kernel to use > the same layout, so let U-Boot modify FDT accordingly. > > Signed-off-by: Ladislav Michl Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] rtc: pcf2127: Update Kconfig and code style

2017-01-15 Thread Tom Rini
On Mon, Jan 09, 2017 at 11:24:51AM -0700, Simon Glass wrote: > From: Meng Yi > > Unfortunately version 2 of this patch was applied which was missing some > changes. Fix this. > > Signed-off-by: Meng Yi > Acked-by: Simon Glass >

Re: [U-Boot] omap-gpmc: use SECTOR_BYTES instead of hardcoded value

2017-01-15 Thread Tom Rini
On Mon, Jan 09, 2017 at 11:15:14AM +0100, Ladislav Michl wrote: > Replace hardcoded value with defined constant SECTOR_BYTES. > > Signed-off-by: Ladislav Michl > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,2/3] omapl138_lcdk: enable SPL MMC support

2017-01-15 Thread Tom Rini
On Mon, Jan 09, 2017 at 11:06:37AM +0100, Fabien Parent wrote: > Enable SPL MMC support in order to allow to build a single u-boot image > that is able to boot from MMC and NAND devices. > > Signed-off-by: Fabien Parent > Reviewed-by: Tom Rini Applied

Re: [U-Boot] [U-Boot, 1/3] davinci: spl: use bootcfg to select boot device

2017-01-15 Thread Tom Rini
On Mon, Jan 09, 2017 at 11:06:36AM +0100, Fabien Parent wrote: > Right now the SPL is trying to load u-boot based on defines, i.e. one > has to define CONFIG_SPL_NAND_SIMPLE to boot from NAND, > or CONFIG_SPL_SPI_LOAD to boot from SPI FLASH, etc... > This prevent us from having a single SPL image

Re: [U-Boot] [U-Boot,3/3] omapl138_lcdk: remove empty ifdef block

2017-01-15 Thread Tom Rini
On Mon, Jan 09, 2017 at 11:06:38AM +0100, Fabien Parent wrote: > Small clean-up. > > Signed-off-by: Fabien Parent > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] Avoid non-portable sed construct

2017-01-15 Thread Tom Rini
On Sun, Jan 08, 2017 at 07:11:27PM +0100, Mark Kettenis wrote: > Using \n in a substitution is a GNU extension. Use the 'G" command instead > to insert the desired line. > > Signed-off-by: Mark Kettenis Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] am335x: configs: Use ISW_ENTRY_ADDR to set SPL_TEXT_BASE

2017-01-15 Thread Tom Rini
On Fri, Jan 06, 2017 at 04:32:12PM -0600, Andrew F. Davis wrote: > The SPL load address changes based on boot type in HS devices, > ISW_ENTRY_ADDR is used to set this address for AM43xx based SoCs > for similar reasons. Add this same logic for AM33xx devices. > > Also make the default value for

Re: [U-Boot] mkimage: Add support for signing with pkcs11

2017-01-15 Thread Tom Rini
On Fri, Jan 06, 2017 at 01:14:17PM -0600, George McCollister wrote: > Add support for signing with the pkcs11 engine. This allows FIT images > to be signed with keys securely stored on a smartcard, hardware security > module, etc without exposing the keys. > > Support for other engines can be

Re: [U-Boot] Makefile: Make EFI build quiet

2017-01-15 Thread Tom Rini
On Fri, Jan 06, 2017 at 04:23:59PM -0600, Andrew F. Davis wrote: > Make building EFI example less noisy. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] ARM: omap3_logic: Use DEFAULT_LINUX_BOOT_ENV from ti_armv7_common

2017-01-15 Thread Tom Rini
On Wed, Jan 04, 2017 at 09:26:43AM -0600, Adam Ford wrote: > Since we're including ti_armv7_common, let's pull in DEFAULT_LINUX_BOOT_ENV > and remove unnecessary duplicative definitions. This patch also renames a > few environmental variables to match what is inside ti_armv7_common. This >

Re: [U-Boot] ti: am335x: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE

2017-01-15 Thread Tom Rini
On Thu, Jan 05, 2017 at 04:16:36AM +0100, Emmanuel Vadot wrote: > Set CONFIG_SYS_MMC_MAX_DEVICE to 2 for am335x SoC. > This define is needed in the API code. > > Signed-off-by: Emmanuel Vadot Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v2, 1/2] lib: net_utils: make string_to_ip stricter

2017-01-15 Thread Tom Rini
On Wed, Jan 04, 2017 at 01:36:25PM +1300, Chris Packham wrote: > Previously values greater than 255 were implicitly truncated. Add some > stricter checking to reject addresses with components >255. > > With the input "1234192.168.1.1" the old behaviour would truncate the > address to

Re: [U-Boot] [U-Boot, v2, 2/2] lib: net_utils: enforce '.' as octet separator in string_to_ip

2017-01-15 Thread Tom Rini
On Wed, Jan 04, 2017 at 01:36:26PM +1300, Chris Packham wrote: > Ensure '.' is used to separate octets. If another character is seen > reject the string outright and return 0.0.0.0. > > Signed-off-by: Chris Packham Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] Kconfig: Refactoring of top-level Kconfig file

2017-01-15 Thread Tom Rini
On Mon, Jan 02, 2017 at 04:32:13PM -0500, Robert P. J. Day wrote: > Some refactoring of the top-level Kconfig file which includes: > > * using "if" to remove numerous identical dependency tests > * reordering config entries to group related ones > * spelling and grammar fixes > > There should

Re: [U-Boot] [U-Boot, v2, 3/5] typecheck: import include/linux/typecheck.h from Linux 4.9

2017-01-15 Thread Tom Rini
On Wed, Dec 28, 2016 at 12:36:01AM +0900, Masahiro Yamada wrote: > Copied from Linux 4.9. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] armv8: release slave cores from CPU_RELEASE_ADDR

2017-01-15 Thread Tom Rini
On Wed, Dec 28, 2016 at 01:38:35PM +0200, Oded Gabbay wrote: > When using ARMv8 with ARMV8_SPIN_TABLE=y, we want the slave cores to > wait on spin_table_cpu_release_addr, until the Linux kernel will "wake" them > by writing to that location. The address of spin_table_cpu_release_addr is >

Re: [U-Boot] [U-Boot, v2, 5/5] iopoll: import include/linux/iopoll.h from Linux 4.9

2017-01-15 Thread Tom Rini
On Wed, Dec 28, 2016 at 12:36:03AM +0900, Masahiro Yamada wrote: > This was imported from Linux 4.9 and adjusted for U-Boot. > > - Replace the license block with SPDX > - Drop all *_atomic variants, which make no sense for U-Boot > - Remove the sleep_us argument, which makes no sense for

Re: [U-Boot] [U-Boot, v2, 4/5] time: import time_after, time_before and friends from Linux

2017-01-15 Thread Tom Rini
On Wed, Dec 28, 2016 at 12:36:02AM +0900, Masahiro Yamada wrote: > It is not safe to compare timer values directly. > > On 32-bit systems, for example, timer_get_us() wraps around every > 72 min. (2 ^ 32 / 100 =~ 4295 sec =~ 72 min). Depending on > the get_ticks() implementation, it may

Re: [U-Boot] [U-Boot, v2, 2/5] time: move timer APIs to include/time.h

2017-01-15 Thread Tom Rini
On Wed, Dec 28, 2016 at 12:36:00AM +0900, Masahiro Yamada wrote: > The include/common.h is a collection of unrelated declarations, > macros, etc. > > It is horrible to include such a cluttered header just for some > timer functions. Split out timer functions into include/time.h. > >

Re: [U-Boot] [U-Boot, v2, 1/5] delay: collect {m, n, u}delay declarations to include/linux/delay.h

2017-01-15 Thread Tom Rini
On Wed, Dec 28, 2016 at 12:35:59AM +0900, Masahiro Yamada wrote: > Currently, mdelay() and udelay() are declared in include/common.h, > while ndelay() in include/linux/compat.h. It would be nice to > collect them into include/linux/delay.h like Linux. > > While we are here, fix the ndelay()

Re: [U-Boot] [U-Boot, v3, 1/2] Convert CONFIG_SPL_RAM_DEVICE to defconfig

2017-01-15 Thread Tom Rini
On Fri, Dec 23, 2016 at 07:51:52AM +0100, Stefan Agner wrote: > From: Stefan Agner > > This converts the following to Kconfig: > CONFIG_SPL_RAM_DEVICE > > Signed-off-by: Stefan Agner Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] armv8: fix #if around spin-table code in start.S

2017-01-15 Thread Tom Rini
On Tue, Dec 27, 2016 at 11:19:43AM +0200, Oded Gabbay wrote: > Using CONFIG_IS_ENABLED() doesn't work in SPL. This patch replaces the only > occurrence of CONFIG_IS_ENABLED() in start.S to a regular #if defined(). > It also adds "&& !defined(CONFIG_SPL_BUILD)" to that #if statement because > the

Re: [U-Boot] [U-Boot, v3, 2/2] spl: move RAM boot support in separate file

2017-01-15 Thread Tom Rini
On Fri, Dec 23, 2016 at 07:51:53AM +0100, Stefan Agner wrote: > From: Stefan Agner > > Add a new top-level config option so support booting an image stored > in RAM. This allows to move the RAM boot support into a sparate file > and having a single condition to compile

[U-Boot] Pull request: u-boot-spi/master

2017-01-15 Thread Jagan Teki
Hi Tom, Please take this PR. thanks! Jagan. The following changes since commit 70c1e0474a9df2c4493b4e2330cc41d3132b4e90: Merge git://git.denx.de/u-boot-rockchip (2017-01-12 21:20:51 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch

[U-Boot] Pull request: u-boot-sunxi/master

2017-01-15 Thread Jagan Teki
Hi Tom, Please take this PR. thanks! Jagan. The following changes since commit 7f73ca484f792a0d2a7ee09860c32f3d02b3030d: Kconfig: CONFIG_OF_PLATDATA doesn't really exist (2017-01-14 12:20:23 -0500) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git master for you

Re: [U-Boot] [PATCH 2/2] sunxi: OrangePi Zero: defconfig: enable SPI flash

2017-01-15 Thread Jagan Teki
On Sunday 15 January 2017 05:04 PM, Maxime Ripard wrote: On Sat, Jan 14, 2017 at 02:06:10AM +, Andre Przywara wrote: Newer OrangePi Zero boards all come with 16 Mib SPI flash soldered, from which the board can actually boot from. Enable the SPL support for the SPI controller and SPI flash

Re: [U-Boot] [PATCH 1/2] sunxi: dts: OrangePi Zero: add Ethernet node

2017-01-15 Thread Jagan Teki
On Sunday 15 January 2017 05:04 PM, Maxime Ripard wrote: On Sat, Jan 14, 2017 at 02:06:09AM +, Andre Przywara wrote: The OrangePi Zero can happily use the EMAC along with its integrated PHY to use Ethernet (for TFTP booting, for instance). Add the emac node to the board .dts by copying it

Re: [U-Boot] u-boot.git or u-boot-x86.git for x86_64 u-boots?

2017-01-15 Thread Joakim Tjernlund
On Sat, 2017-01-14 at 10:06 -0700, Simon Glass wrote: > Hi Joakim, > > On 14 January 2017 at 04:51, Bin Meng wrote: > > +Simon, > > > > On Fri, Jan 13, 2017 at 4:12 AM, Joakim Tjernlund > > wrote: > > > I found two repos w.r.t x86_64 for

Re: [U-Boot] [PATCH 06/12] SPI: SPL: sunxi: fix 64-bit build

2017-01-15 Thread Rask Ingemann Lambertsen
On Fri, Jan 13, 2017 at 01:29:58AM +, Andre Przywara wrote: > Addresses passed on to readl and writel are expected to be of the same > size as a pointer. Change the parameter types of sunxi_spi0_read_data() > to make the compiler happy and allow a warning-free aarch64 compile. > >

[U-Boot] [PATCH] rockchip: rename miniarm to tinker board

2017-01-15 Thread Eddie Cai
Miniarm is the internal project code. Now it is officially named Tinker board. So rename it. Signed-off-by: Eddie Cai --- arch/arm/dts/Makefile | 2 +- arch/arm/dts/rk3288-miniarm.dts| 58 --- arch/arm/dts/rk3288-miniarm.dtsi

[U-Boot] mmc: fsl_esdhc: eMMC boot: CMD_ERR (-ECOMM) in u-boot while accessing SD

2017-01-15 Thread Jagan Teki
Hi, I've observed the CMD_ERR in U-Boot while accessing SD with boot from eMMC on i.MX6 board. SPL initializing SD as well eMMC controllers a) On SD bootmode: from u-boot prompt mmc dev 0 and mmc dev 1 is getting probe SD and eMMC b) On eMMC bootmode: from u-boot prompt mmc dev 0 is returning

Re: [U-Boot] [PATCH 2/2] sunxi: OrangePi Zero: defconfig: enable SPI flash

2017-01-15 Thread Maxime Ripard
On Sat, Jan 14, 2017 at 02:06:10AM +, Andre Przywara wrote: > Newer OrangePi Zero boards all come with 16 Mib SPI flash soldered, from > which the board can actually boot from. > Enable the SPL support for the SPI controller and SPI flash to allow > putting the SPL, the DT and U-Boot proper

Re: [U-Boot] [PATCH 1/2] sunxi: dts: OrangePi Zero: add Ethernet node

2017-01-15 Thread Maxime Ripard
On Sat, Jan 14, 2017 at 02:06:09AM +, Andre Przywara wrote: > The OrangePi Zero can happily use the EMAC along with its integrated > PHY to use Ethernet (for TFTP booting, for instance). > Add the emac node to the board .dts by copying it from the OrangePi One > DT. > > Signed-off-by: Andre

[U-Boot] [PATCH v2] igep00x0: enable CONFIG_FDT_FIXUP_PARTITIONS

2017-01-15 Thread Ladislav Michl
SPL partition size depends on sector size and we want kernel to use the same layout, so let U-Boot modify FDT accordingly. Signed-off-by: Ladislav Michl --- Changes: -v2 rebased against current git as it no longer applies board/isee/igep00x0/igep00x0.c | 17