Re: [U-Boot] [PATCH 3/3] x86: baytrail: secureboot: Add functions for verification of U-Boot

2017-05-16 Thread Bin Meng
Hi Anatolij, On Tue, May 16, 2017 at 3:55 PM, Anatolij Gustschin wrote: > From: Markus Valentin > > Introduce functions that check the integrity of U-Boot by utilising > the hashes stored in the oem-data block. > > The verification functions get called in fsp_init()

Re: [U-Boot] [PATCH 20/22] mmc: Add support for UHS modes

2017-05-16 Thread Jean-Jacques Hiblot
On 12/05/2017 20:16, Jean-Jacques Hiblot wrote: Add UHS modes to the list of supported modes, get the UHS capabilites of the SDcard and implement the procedure to switch the voltage (UHS modes use 1v8 IO lines) During the voltage switch procedure, DAT0 is used by the card to signal when it's

Re: [U-Boot] [PATCH v1 7/9] armv8: fsl-layerscape: Enable secure boot valiation for SPL boot

2017-05-16 Thread york sun
On 05/15/2017 05:35 PM, Tom Rini wrote: > On Mon, May 15, 2017 at 09:16:07AM -0700, York Sun wrote: > >> Enable validation of PPA image for SPL boot. >> >> Signed-off-by: York Sun > [snip] >> +#include > > Looking at the contents of this file here, can you please do a follow-up

[U-Boot] Very slow mtest on i.MX6UL over dual-die DDR3 (two chip selects)

2017-05-16 Thread Palacios, Hector
Greetings, I'm adding support to a 1GiB DDR3 chip that internally has two dies. I have configured the i.MX6UL memory controller for using two chip selects and assigned 512MiB to each. Although the RAM seems to work fine I'm experiencing extremely slow performance compared to a similar 1GiB

Re: [U-Boot] [PATCH v2 1/3] x86: congatec: add secureboot enabled defconfig for conga-qeval20-qa3-e3845

2017-05-16 Thread Bin Meng
Hi Anatolij, On Tue, May 16, 2017 at 3:55 PM, Anatolij Gustschin wrote: > From: Markus Valentin > Can you add a simple sentence for this commit? > Signed-off-by: Markus Valentin > [agust: rebased, fixed to build with v2017.05] > Signed-off-by:

Re: [U-Boot] [PATCH v2 6/7] rockchip: rk3368: Add initial support for RK3368 based GeekBox

2017-05-16 Thread Simon Glass
On 15 May 2017 at 03:54, Andy Yan wrote: > From: Andreas Färber > > The GeekBox is a TV box from GeekBuying, based on an MXM3 module. > The module can be used with base boards such as the GeekBox Landingship. > This adds basic support to chain-load

Re: [U-Boot] [PATCH v2 10/48] Kconfig: Drop CONFIG_SYS_I2C_DS1621_ADDR

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 05:38:30PM -0600, Simon Glass wrote: > Now that dtt is gone, this is not used. Drop it. > > Signed-off-by: Simon Glass > Reviewed-by: Heiko Schocher Reviewed-by: Tom Rini -- Tom signature.asc Description:

[U-Boot] [PATCH 5/6] rockchip: evb-rk3328: enable boot on regulator

2017-05-16 Thread Kever Yang
Enable all the boot-on regulator in default. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3328/evb-rk3328.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/board/rockchip/evb_rk3328/evb-rk3328.c

[U-Boot] [PATCH 2/6] rockchip: pinctrl: rk3328: do not set io routing

2017-05-16 Thread Kever Yang
In rk3328, some function pin may have more than one choice, and muxed with more than one IO, for example, the UART2 controller IO, TX and RX, have 3 choice(setting in com_iomux): - M0 which mux with GPIO1A0/GPIO1A1 - M1 which mux with GPIO2A0/GPIO2A1 - usb2phy which mux with USB2.0 DP/DM pin. We

Re: [U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-16 Thread Simon Glass
Hi Jean-Jacques, On 15 May 2017 at 09:49, Jean-Jacques Hiblot wrote: > > > On 15/05/2017 05:28, Simon Glass wrote: >> >> On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: >>> >>> From: Vignesh R >>> >>> With certain SD cards like Kingston

Re: [U-Boot] [PATCH v2 29/48] Convert CONFIG_CMD_HASH to Kconfig

2017-05-16 Thread Simon Glass
Hi Tom, On 16 May 2017 at 20:24, Tom Rini wrote: > On Tue, May 16, 2017 at 05:38:49PM -0600, Simon Glass wrote: > >> This converts the following to Kconfig: >>CONFIG_CMD_HASH >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: None >> >>

Re: [U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

2017-05-16 Thread Ruchika Gupta
> -Original Message- > From: Peter Robinson [mailto:pbrobin...@gmail.com] > Sent: Monday, May 15, 2017 6:18 PM > To: Ruchika Gupta > Cc: u-boot@lists.denx.de; sun.y...@nxp.com; Prabhakar Kushwaha > > Subject: Re: [U-Boot] [PATCH]

Re: [U-Boot] [PATCH v2 5/7] rockchip: rk3368: add Sheep board

2017-05-16 Thread Andy Yan
Hi Simon: On 2017年05月17日 09:38, Simon Glass wrote: On 15 May 2017 at 03:53, Andy Yan wrote: Sheep board is designed by Rockchip as a EVB for rk3368. Currently it is able to boot a linux kernel and system to console with the miniloader run as fist level loader.

Re: [U-Boot] [PATCH v2 5/7] rockchip: rk3368: add Sheep board

2017-05-16 Thread Simon Glass
On 15 May 2017 at 03:53, Andy Yan wrote: > Sheep board is designed by Rockchip as a EVB for rk3368. > Currently it is able to boot a linux kernel and system > to console with the miniloader run as fist level loader. > > Reviewed-by: Simon Glass >

Re: [U-Boot] [PATCH v2 19/48] Convert CONFIG_CMD_ERRATA to Kconfig

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 05:38:39PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ERRATA > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 08/48] Drop three-wire serial (TWS) support

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 05:38:28PM -0600, Simon Glass wrote: > This subsystem has not been converted to driver model, there is only one > driver and only one board that uses it. Drop it and its CONFIG option. > > Also drop the rtc4543 RTC driver since it uses TWS. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 14/48] Convert CONFIG_CMD_EEPROM et al to Kconfig

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 05:38:34PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_EEPROM >CONFIG_CMD_EEPROM_LAYOUT >CONFIG_EEPROM_LAYOUT_HELP_STRING > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini --

Re: [U-Boot] [PATCH] configs: davinci: omapl138_lcdk: add random eth address support

2017-05-16 Thread Lokesh Vutla
On Tuesday 16 May 2017 11:20 PM, Suman Anna wrote: > Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires > that the 'ethaddr' variable be defined. There are no e-fuses to store > the ethernet mac address for this platform, and neither is a MAC > address reserved in any format. So

[U-Boot] [PATCH 0/6] rk3328 pinctrl drvier and sdmmc power fix

2017-05-16 Thread Kever Yang
Move pinctrl registers definition in GRF header file, clean code with prefix like other Rockchip SoCs. Use Fixed regulator(gpio) for sdmmc-pwren instead of signal controled by mmc controller. Kever Yang (6): rockchip: pinctrl: move rk3328 grf reg definition in header file rockchip: pinctrl:

Re: [U-Boot] [PATCH] ARM: fixed relocation using proper alignment

2017-05-16 Thread Lokesh Vutla
On Tuesday 16 May 2017 07:59 PM, Manfred Schlaegl wrote: > On 2017-05-11 08:53, Lokesh Vutla wrote: >> >> >> On Wednesday 10 May 2017 07:11 PM, Manfred Schlaegl wrote: >>> Using u-boot-2017.05 on i.MX6UL we ran into following problem: >>> Initially U-Boot could be started normally. >>> If we

Re: [U-Boot] [PATCH v3 0/4] Add Intel Arria 10 SoC FPGA driver

2017-05-16 Thread Chee, Tien Fong
On Isn, 2017-05-15 at 18:52 +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This is the 3rd version of patchset to adds support for Intel Arria > 10 SoC FPGA > driver. This version mainly resolved comments from Marek in [v2].This > series is > working

Re: [U-Boot] [PATCH v2 43/48] Convert CONFIG_CMD_IRQ to Kconfig

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 05:39:03PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_IRQ > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 20/48] Convert CONFIG_CMD_ESBC_VALIDATE to Kconfig

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 05:38:40PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ESBC_VALIDATE > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH 4/6] rockchip: pinctrl: rk3328: use gpio instead of sdmmc-pwren

2017-05-16 Thread Kever Yang
SDMMC-PWREN is a pin to control voltage for SDMMC IO, it may be high active or low active, the dwmmc driver always assume the sdmmc-pwren as high active. Kernel treat this pin as fixed regulator instead of a pin from controller, and then it can set in dts file upon board schematic, that's a good

Re: [U-Boot] [PATCHv6 12/28] net: Add ability to set MAC address via EEPROM

2017-05-16 Thread Simon Glass
Hi Oliver, On 15 May 2017 at 02:02, Olliver Schinagl wrote: > This patch allows Kconfig to enable and set parameters to make it > possible to read the MAC address from an EEPROM. The net core layer then > uses this information to read MAC addresses from this EEPROM. > >

Re: [U-Boot] [PATCH v2 2/7] rockchip: rk3368: Add pinctrl driver

2017-05-16 Thread Simon Glass
On 15 May 2017 at 03:50, Andy Yan wrote: > Add driver to support iomux setup for the most commonly > used peripherals on rk3368. > > Signed-off-by: Andy Yan > --- > > Changes in v2: > - remove GRF base definition in cru head file > - remove

Re: [U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

2017-05-16 Thread Ruchika Gupta
> -Original Message- > From: Poonam Aggrwal > Sent: Monday, May 15, 2017 9:27 AM > To: Ruchika Gupta ; u-boot@lists.denx.de; > sun.y...@nxp.com; Prabhakar Kushwaha > Cc: Ruchika Gupta > Subject: RE: [U-Boot]

[U-Boot] [PATCH 6/6] rockchip: dts: rk3328-evb: add sdmmc-pwren regulator

2017-05-16 Thread Kever Yang
Use fixed regulator for sdmmc-pwren for sdmmc power. Signed-off-by: Kever Yang --- arch/arm/dts/rk3328-evb.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts index 01794ed..7b14982 100644 ---

[U-Boot] [PATCH 1/6] rockchip: pinctrl: move rk3328 grf reg definition in header file

2017-05-16 Thread Kever Yang
Move GRF register bit definition into GRF header file, remove 'GRF_' prefix and add 'GPIOmXn_' as prefix for bit meaning. Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/grf_rk3328.h | 114 + drivers/pinctrl/rockchip/pinctrl_rk3328.c

[U-Boot] [PATCH 3/6] rockchip: evb-rk3328: set uart2 and sdmmc io routing

2017-05-16 Thread Kever Yang
In rk3328, some function pin may have more than one choice, and muxed with more than one IO, for example, the UART2 controller IO, TX and RX, have 3 choice(setting in com_iomux): - M0 which mux with GPIO1A0/GPIO1A1 - M1 which mux with GPIO2A0/GPIO2A1 - usb2phy which mux with USB2.0 DP/DM pin. We

Re: [U-Boot] [PATCH v2 09/48] Drop digital thermometer and thermostat (DTT) drivers

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 05:38:29PM -0600, Simon Glass wrote: > This subsystem is quite old. It has been replaced with a driver-model > version (UCLASS_THERMAL). Boards are free to convert to that if required, > but here is a removal patch that could be applied in the meantime. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 32/48] Convert CONFIG_CMD_HDMIDETECT to Kconfig

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 05:38:52PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_HDMIDETECT > > Note that we cannot do 'default y if VIDEO' because this option is only > enabled for a small subset of mx6 boards. Also this command is is not a > great

[U-Boot] [PATCH v2 4/8] mips: bmips: add bcm6345-wdt driver support for BCM63268

2017-05-16 Thread Álvaro Fernández Rojas
This driver controls the watchdog present on this SoC. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v2: no changes. arch/mips/dts/brcm,bcm63268.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH v3 1/6] dm: cpu: bmips: rename cpu_desc specific functions

2017-05-16 Thread Álvaro Fernández Rojas
Use a generic name for cpu_desc functions instead of using a specific SoC one. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v3: no changes. v2: no changes. drivers/cpu/bmips_cpu.c | 10 +- 1 file changed, 5 insertions(+), 5

[U-Boot] [PATCH v2 3/8] mips: bmips: add bcm6345-wdt driver support for BCM6328

2017-05-16 Thread Álvaro Fernández Rojas
This driver controls the watchdog present on this SoC. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v2: no changes. arch/mips/dts/brcm,bcm6328.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH v2 5/8] dm: sysreset: add watchdog-reboot driver

2017-05-16 Thread Álvaro Fernández Rojas
Add a new sysreset driver that uses the recently added watchdog support. It performs a full SoC reset by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v2: introduce changes requested by Simon Glass: - Check

[U-Boot] [PATCH v2 6/8] mips: bmips: add wdt-reboot driver support for BCM6358

2017-05-16 Thread Álvaro Fernández Rojas
This driver allows rebooting the SoC by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v2: no changes. arch/mips/dts/brcm,bcm6358.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH v2 1/3] dm: cpu: bmips: add BCM6338 support

2017-05-16 Thread Álvaro Fernández Rojas
BCM6338 has a fixed CPU frequency of 240 MHz. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes. drivers/cpu/bmips_cpu.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/cpu/bmips_cpu.c b/drivers/cpu/bmips_cpu.c index 4f412fa..07a873a

[U-Boot] [PATCH v2 3/3] MIPS: add BMIPS Sagem F@ST1704 board

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: introduce changes requested by Simon Glass and Daniel Schwierzeck: - Add board description. - Remove ioremap tweaks from this patch. arch/mips/dts/Makefile | 1 + arch/mips/dts/sagem,f...@st1704.dts | 50

[U-Boot] [PATCH v2 0/8] mips: bmips: add bcm6345 watchdog support

2017-05-16 Thread Álvaro Fernández Rojas
Adds support for Broadcom MIPS BCM6345 watchdog controller. Also adds a generic watchdog sysreset driver to allow rebooting by expiring the SoC watchdog. This is needed for some specific Broadcom MIPS SoCs where pll_conf if bugged and it can't be used to perform SoC reboots, like in BCM6348 (a1

[U-Boot] [PATCH v2 1/8] dm: watchdog: add BCM6345 watchdog driver

2017-05-16 Thread Álvaro Fernández Rojas
This driver is a simplified version of linux/drivers/watchdog/bcm63xx_wdt.c Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v2: no changes. drivers/watchdog/Kconfig | 8 +++ drivers/watchdog/Makefile | 1 +

[U-Boot] [PATCH v3 0/6] mips: bmips: add BCM6348 SoC support*

2017-05-16 Thread Álvaro Fernández Rojas
BCM6348 is one of the first BCM63xx SoCs and prior to BCM6358, which means that it also needs ioremap "hacks". Appart from that, rev a1 BCM6348 SoCs have a HW bug and it's pll_conf register can't be used to perform reboots. v3: introduce changes requested by Simon Glass. v2: minor fixes. Álvaro

[U-Boot] [PATCH v2 7/8] mips: bmips: add wdt-reboot driver support for BCM6328

2017-05-16 Thread Álvaro Fernández Rojas
This driver allows rebooting the SoC by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v2: no changes. arch/mips/dts/brcm,bcm6328.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH v2 2/8] mips: bmips: add bcm6345-wdt driver support for BCM6358

2017-05-16 Thread Álvaro Fernández Rojas
This driver controls the watchdog present on this SoC. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v2: no changes. arch/mips/dts/brcm,bcm6358.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH v2 8/8] mips: bmips: add wdt-reboot driver support for BCM63268

2017-05-16 Thread Álvaro Fernández Rojas
This driver allows rebooting the SoC by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v2: no changes. arch/mips/dts/brcm,bcm63268.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH v2 1/3] dm: cpu: bmips: add BCM3380 support

2017-05-16 Thread Álvaro Fernández Rojas
As far as I know BCM3380 has a fixed CPU frequency since I couldn't find its PLL registers in any documentation. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes. drivers/cpu/bmips_cpu.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[U-Boot] [PATCH] mips: bmips: add board descriptions

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/mach-bmips/Kconfig | 24 1 file changed, 24 insertions(+) diff --git a/arch/mips/mach-bmips/Kconfig b/arch/mips/mach-bmips/Kconfig index fe19ced..e3e1da3 100644 --- a/arch/mips/mach-bmips/Kconfig +++

[U-Boot] Please pull mpc85xx master

2017-05-16 Thread york sun
Tom, The following changes since commit 22f3368e71321db1e0e15dfbf54b052367890ec7: Merge branch 'master' of git://git.denx.de/u-boot-mips (2017-05-13 16:45:35 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git for you to fetch changes up to

Re: [U-Boot] [PATCH v3 3/3] armv8: layerscape: Adjust memory mapping for Flash/SD card on LS1046A

2017-05-16 Thread york sun
On 05/15/2017 08:01 PM, Alison Wang wrote: > This patch is to adjust the memory mapping for FLash/SD card on > LS1046AQDS and LS1046ARDB, such as FMAN firmware load address, U-Boot > start address on serial flash and environment address. > > Signed-off-by: Alison Wang > --- >

Re: [U-Boot] [PATCH v1 0/4] Add FIT support for falcon boot

2017-05-16 Thread york sun
On 05/15/2017 10:42 PM, Lokesh Vutla wrote: > + Andre > > > On Monday 15 May 2017 09:31 PM, York Sun wrote: >> This patch set adds FIT support for falcon boot. GZIP is enabled >> to supported compressed image. > > Did you get a chance to look at Andre's "SPL: extend FIT loading > support"[1] patch

[U-Boot] [PATCH v3 2/6] dm: cpu: bmips: add BCM6348 support

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v3: no changes. v2: no changes. drivers/cpu/bmips_cpu.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/cpu/bmips_cpu.c

[U-Boot] [PATCH v2 0/3] mips: bmips: add BCM6338 SoC support

2017-05-16 Thread Álvaro Fernández Rojas
BCM6338 is one of the first BCM63xx SoCs and prior to BCM6348/BCM6358, which means that it also needs ioremap "hacks". v2: introduce changes requested by Simon Glass and Daniel Schwierzeck. Álvaro Fernández Rojas (3): dm: cpu: bmips: add BCM6338 support MIPS: add support for Broadcom MIPS

[U-Boot] [PATCH v2 2/3] MIPS: add support for Broadcom MIPS BCM6338 SoC family

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: introduce changes requested by Daniel Schwierzeck: - Add ioremap tweaks to this patch. arch/mips/dts/brcm,bcm6338.dtsi | 118 ++ arch/mips/mach-bmips/Kconfig | 12 +++

[U-Boot] [PATCH 1/7] armv7: Mark the default lowlevel_init function as weak

2017-05-16 Thread Tom Rini
Rather than have a long and if check in the Makefile, mark the default lowlevel_init function as weak (as we do on armv8) so that SoCs can override it if needed, and it will still be discarded if unused. Provide a weak s_init as well to allow for this to link and be discarded. Signed-off-by: Tom

[U-Boot] [PATCH 5/7] ti816x: Import dts files from Linux Kernel v4.11

2017-05-16 Thread Tom Rini
This brings in the required dts/dtsi files for the TI8168-EVM from the Linux Kernel v4.11 release. Signed-off-by: Tom Rini --- arch/arm/dts/Makefile | 1 + arch/arm/dts/dm8168-evm.dts | 175 ++ arch/arm/dts/dm816x-clocks.dtsi | 250

[U-Boot] [PATCH] configs: davinci: omapl138_lcdk: add random eth address support

2017-05-16 Thread Suman Anna
Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires that the 'ethaddr' variable be defined. There are no e-fuses to store the ethernet mac address for this platform, and neither is a MAC address reserved in any format. So enable random MAC address support so that networking boot can

Re: [U-Boot] [PATCH v2 2/3] x86: baytrail: Add fsp-header verification for secure boot fsp

2017-05-16 Thread Bin Meng
Hi Anatolij, On Tue, May 16, 2017 at 3:55 PM, Anatolij Gustschin wrote: > From: Markus Valentin > > Introduce a new Kconfig variable for secure boot on baytrail based > platforms. If this variable is set the build process tries to use > fsp-sb.bin instead of fsp.bin

Re: [U-Boot] Very slow mtest on i.MX6UL over dual-die DDR3 (two chip selects)

2017-05-16 Thread Fabio Estevam
Hi Hector, On Tue, May 16, 2017 at 1:15 PM, Palacios, Hector wrote: > Greetings, > > I'm adding support to a 1GiB DDR3 chip that internally has two dies. I have > configured the i.MX6UL memory controller for using two chip selects and > assigned 512MiB to each.

Re: [U-Boot] [PATCH 43/47] Convert CONFIG_CMD_IRQ to Kconfig

2017-05-16 Thread Daniel Schwierzeck
2017-05-15 12:57 GMT+02:00 Simon Glass : > This converts the following to Kconfig: >CONFIG_CMD_IRQ > > Signed-off-by: Simon Glass > --- ... > diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig > b/arch/powerpc/cpu/mpc85xx/Kconfig > index

Re: [U-Boot] [PATCH 3/3] MIPS: add BMIPS Sagem F@ST1704 board

2017-05-16 Thread Daniel Schwierzeck
2017-05-15 22:49 GMT+02:00 Álvaro Fernández Rojas : > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/Makefile | 1 + > arch/mips/dts/sagem,f...@st1704.dts | 50 > >

Re: [U-Boot] [PATCH 5/6] moveconfig: Support building a simple config database

2017-05-16 Thread Chris Packham
On 15/05/2017 11:47 PM, "Simon Glass" wrote: Add a -b option which scans all the defconfigs and builds a database of all the CONFIG options used by each. This is useful for querying later. At present this only works with the separate -b option, which does not move any

Re: [U-Boot] [GIT PULL V2] Please pull u-boot-mmc master

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 06:36:34AM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches into u-boot/master? > (I have tested the buildman.) > > The following changes since commit 22f3368e71321db1e0e15dfbf54b052367890ec7: > > Merge branch 'master' of

[U-Boot] [PATCH 02/14] armv7: Add workaround for USB erratum A-009798

2017-05-16 Thread yinbo . zhu
From: Suresh Gupta USB High Speed Squelch Threshold Adjustment This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo.zhu ---

Re: [U-Boot] Please pull u-boot-video/master

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 12:05:48AM +0200, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit 22f3368e71321db1e0e15dfbf54b052367890ec7: > > Merge branch 'master' of git://git.denx.de/u-boot-mips (2017-05-13 16:45:35 > -0400) > > are available in the git repository at:

[U-Boot] [PATCH 01/14] armv7: Add workaround for USB erratum A-009008

2017-05-16 Thread yinbo . zhu
From: Suresh Gupta USB High Speed (HS) EYE Height Adjustment This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv7/ls102xa/Kconfig| 2 ++

Re: [U-Boot] [PATCH v6 00/18] GPT over MTD

2017-05-16 Thread Maxime Ripard
On Fri, May 12, 2017 at 04:09:08PM +, Patrick DELAUNAY wrote: > Hi Maxime > > > From: Maxime Ripard [mailto:maxime.rip...@free-electrons.com] > > Sent: jeudi 11 mai 2017 16:46 > > > > On Thu, May 11, 2017 at 09:19:16AM +, Patrick DELAUNAY wrote: > > > Hi Maxime, > > > > > > > From:

Re: [U-Boot] [PATCH v2 1/9] dm: Use dm.h header when driver mode is used

2017-05-16 Thread Masahiro Yamada
Hi Simon, 2017-05-13 10:11 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 10 May 2017 at 20:12, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2017-05-11 6:43 GMT+09:00 Tom Rini : >>> On Mon, May 01, 2017 at 09:18:44AM -0600,

Re: [U-Boot] [PATCH v2 5/9] Fix up inclusion of common.h

2017-05-16 Thread Masahiro Yamada
Hi Simon, 2017-05-13 10:11 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 10 May 2017 at 20:21, Masahiro Yamada > wrote: >> Hi Simon >> >> 2017-05-11 6:43 GMT+09:00 Tom Rini : >>> On Mon, May 01, 2017 at 09:18:48AM -0600,

Re: [U-Boot] [PATCH v2 2/9] dm: core: Move dev_get_addr() etc. into a separate file

2017-05-16 Thread Masahiro Yamada
Hi Simon, 2017-05-02 0:18 GMT+09:00 Simon Glass : > Move this group of address-related functions into a new file. These use > the flat device tree. Future work will provide new versions of these which > can support the live tree. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 8/9] dm: core: Add ofnode to represent device tree nodes

2017-05-16 Thread Masahiro Yamada
Hi Simon, 2017-05-02 0:18 GMT+09:00 Simon Glass : > With live tree we need a struct device_node * to reference a node. With > the existing flat tree, we need an int offset. We need to unify these into > a single value which can represent both. > > Add an ofnode union for this

[U-Boot] [PATCH 2/2] nand: arasan_nfc: Add support for ondie ecc

2017-05-16 Thread Siva Durga Prasad Paladugu
This patch adds support for ondie ecc. As of now this adds support for micron parts which supports ondie ecc. Didnt found any better way to detect ondie ecc support by a device except sorting out with manufacture and device id's. Signed-off-by: Siva Durga Prasad Paladugu ---

[U-Boot] [PATCH 1/2] nand: arasan_nfc: Move common ecc struct initialization init routine

2017-05-16 Thread Siva Durga Prasad Paladugu
Move common part of ecc structure initialization to arasan_nand_init() routine. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mtd/nand/arasan_nfc.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/arasan_nfc.c

Re: [U-Boot] Fwd: arch/x86/cpu/x86_64/built-in.o: In function `checkcpu': (.text.checkcpu+0x0): multiple definition of `checkcpu' arch/x86/cpu/efi/built-in.o:(.text.checkcpu+0x0): first defined here

2017-05-16 Thread Bin Meng
Hi Jeroen, On Thu, May 11, 2017 at 3:39 PM, Jeroen Roovers wrote: > On 11 May 2017 at 06:31, Bin Meng wrote: >> +Simon >> >> On Wed, May 10, 2017 at 6:15 PM, Jeroen Roovers wrote: >>> Trying to compile an x86_64 u-boot with EFI support: >>>

Re: [U-Boot] [PATCH v4 01/20] SPL: FIT: refactor FDT loading

2017-05-16 Thread Lokesh Vutla
Hi Andre, On Wednesday 26 April 2017 06:02 AM, Andre Przywara wrote: > Currently the SPL FIT loader uses the spl_fit_select_fdt() function to > find the offset to the right DTB within the FIT image. > For this it iterates over all subnodes of the /configuration node in > the FIT tree and compares

Re: [U-Boot] [PATCH v4 00/20] SPL: extend FIT loading support

2017-05-16 Thread Andre Przywara
Hi, On 16/05/17 02:40, Kever Yang wrote: > I though I have add review and test tags for the first 5 patches, anyway, Sorry, I must have missed that. Thanks for the review and testing! > I will add again. > > > Not sure if some patches for sunxi still need to wait, can we merge patches > for

[U-Boot] [PATCH 3/3] x86: baytrail: secureboot: Add functions for verification of U-Boot

2017-05-16 Thread Anatolij Gustschin
From: Markus Valentin Introduce functions that check the integrity of U-Boot by utilising the hashes stored in the oem-data block. The verification functions get called in fsp_init() Signed-off-by: Markus Valentin Signed-off-by: Anatolij Gustschin

[U-Boot] [PATCH v2 1/3] x86: congatec: add secureboot enabled defconfig for conga-qeval20-qa3-e3845

2017-05-16 Thread Anatolij Gustschin
From: Markus Valentin Signed-off-by: Markus Valentin [agust: rebased, fixed to build with v2017.05] Signed-off-by: Anatolij Gustschin Reviewed-by: Simon Glass --- Changes in v2: - add Reviewed-by tag

[U-Boot] [PATCH v2 2/3] x86: baytrail: Add fsp-header verification for secure boot fsp

2017-05-16 Thread Anatolij Gustschin
From: Markus Valentin Introduce a new Kconfig variable for secure boot on baytrail based platforms. If this variable is set the build process tries to use fsp-sb.bin instead of fsp.bin (-sb is the secure boot enabled fsp). Also check the two fsp headers against each other and

Re: [U-Boot] PPC440 SDRAM Chip Select

2017-05-16 Thread Sinan Akman
Hi Amin On 14/05/17 05:55 AM, Amin Sahebi wrote: Dear all, Hi, Regarding to my hardware restriction on routing and specific design considerations, I need to set SDRAM0_CFG0 , SDRAM0_CFG1 , SDRAM0_B0CR and probably other registers to make PPC440 to initialize SDRAM always and set SDRAM chip

Re: [U-Boot] [PATCH v4 00/20] SPL: extend FIT loading support

2017-05-16 Thread Mark Kettenis
> From: Andre Przywara > Date: Tue, 16 May 2017 09:10:06 +0100 > > Hi, > > On 16/05/17 02:40, Kever Yang wrote: > > Not sure if some patches for sunxi still need to wait, can we merge patches > > for SPL/FIT first? > > That is a good question. > > Tom, Simon: Are you

Re: [U-Boot] [PATCH 06/14] armv8: Add workaround for USB erratum A-008997

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 08:16:26PM +0800, yinbo.zhu wrote: > From: Suresh Gupta > > USB3 LFPS Peak-Peak Differential Output Voltage Adjustment > This patch is adding the erratum for LS1043 and LS2080 SoCs. > > Signed-off-by: Sriram Dash >

Re: [U-Boot] [PATCH 02/14] armv7: Add workaround for USB erratum A-009798

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 08:16:22PM +0800, yinbo.zhu wrote: > From: Suresh Gupta > > USB High Speed Squelch Threshold Adjustment > This patch is adding the erratum for LS1021. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat

Re: [U-Boot] [PATCH 08/14] usb: dwc3: Add helper functions to enable snooping and burst settings

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 08:16:28PM +0800, yinbo.zhu wrote: > From: Rajat Srivastava > > Adds helper functions to enable snooping and outstanding burst beat > settings. > > Signed-off-by: Rajat Srivastava > Signed-off-by: Rajesh Bhagat

Re: [U-Boot] [PATCH 09/14] usb: ums: support multiple controllers using controller_index

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 08:16:29PM +0800, yinbo.zhu wrote: > From: Rajesh Bhagat > > Adds a new field in fsg_common namely controller_index to support > multiple controllers usb gadget support. > > Signed-off-by: Rajat Srivastava >

[U-Boot] [PATCH v2 3/3] MIPS: add BMIPS Netgear CG3100D board

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: introduce changes requested by Simon Glass: - Add board description. arch/mips/dts/Makefile| 1 + arch/mips/dts/netgear,cg3100d.dts | 96 +++ arch/mips/mach-bmips/Kconfig

[U-Boot] [PATCH v3 4/6] dm: ram: bmips: add BCM6338/BCM6348 support

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v3: no changes. v2: "dm: ram" driver instead of cpu. drivers/ram/bmips_ram.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/ram/bmips_ram.c

[U-Boot] [PATCH v3 5/6] MIPS: add support for Broadcom MIPS BCM6348 SoC family

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- arch/mips/dts/brcm,bcm6348.dtsi | 127 ++ arch/mips/mach-bmips/Kconfig | 12 +++ arch/mips/mach-bmips/include/ioremap.h| 3 +-

Re: [U-Boot] [PATCH] ARM: fixed relocation using proper alignment

2017-05-16 Thread Manfred Schlaegl
On 2017-05-11 08:53, Lokesh Vutla wrote: > > > On Wednesday 10 May 2017 07:11 PM, Manfred Schlaegl wrote: >> Using u-boot-2017.05 on i.MX6UL we ran into following problem: >> Initially U-Boot could be started normally. >> If we added one random command in configuration, the newly generated >>

Re: [U-Boot] [PATCHv6 12/28] net: Add ability to set MAC address via EEPROM

2017-05-16 Thread Maxime Ripard
On Mon, May 15, 2017 at 02:18:06PM +0200, Olliver Schinagl wrote: > Hey Maxime, > > On 15-05-17 10:18, Maxime Ripard wrote: > > On Mon, May 15, 2017 at 10:02:28AM +0200, Olliver Schinagl wrote: > > > This patch allows Kconfig to enable and set parameters to make it > > > possible to read the MAC

Re: [U-Boot] [PATCH] ARM: fixed relocation using proper alignment

2017-05-16 Thread Manfred Schlaegl
On 2017-05-11 14:12, Jagan Teki wrote: > On Wed, May 10, 2017 at 7:11 PM, Manfred Schlaegl > wrote: >> Using u-boot-2017.05 on i.MX6UL we ran into following problem: >> Initially U-Boot could be started normally. >> If we added one random command in configuration,

[U-Boot] [PATCH 3/7] ti816x_evm: Disable CONFIG_USE_PRIVATE_LIBGCC

2017-05-16 Thread Tom Rini
On this platform, we can trace a general failure to boot to enabling / disabling this option. When this is enabled, we go off into the weeds during SPL and are unable to talk with the SD card and mmc_initialize() fails. Signed-off-by: Tom Rini ---

[U-Boot] [PATCH 6/7] ti816x: Modernize the defconfig

2017-05-16 Thread Tom Rini
- Switch to using and family. This lets us drop lots of custom defines. - Ensure that our default environment uses DEFAULT_LINUX_BOOT_ENV so that Linux will boot correctly. - Enable CONFIG_DISTRO_DEFAULTS - Switch to using CONFIG_OF_CONTROL - Various other cleanups to match other SoCs in the

Re: [U-Boot] [PATCH 12/14] armv8/fsl-layerscape: add dwc3 gadget driver support

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 08:16:32PM +0800, yinbo.zhu wrote: > From: Rajat Srivastava > > Implements the dwc3 gadget driver support for LS1043 > platform, and performs below operations: > 1. Enables snooping support for DWC3 controller. > 2. Enables cache coherency in

Re: [U-Boot] [PATCH 03/14] armv7: Add workaround for USB erratum A-008997

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 08:16:23PM +0800, yinbo.zhu wrote: > From: Suresh Gupta > > USB3 LFPS Peak-Peak Differential Output Voltage Adjustment > This patch is adding the erratum for LS1021. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh

[U-Boot] [PATCH v3 6/6] MIPS: add BMIPS Comtrend CT-5361 board

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v3: introduce changes requested by Simon Glass: - Add board description. v2: add comtrend ct-5361 Kconfig arch/mips/dts/Makefile| 1 +

[U-Boot] [PATCH v3 3/6] dm: ram: bmips: split bcm6358_get_ram_size

2017-05-16 Thread Álvaro Fernández Rojas
This is done in order to reuse ram size calculation for BCM6338/BCM6348 Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v3: no changes. v2: no changes. drivers/ram/bmips_ram.c | 23 +-- 1 file changed, 13

[U-Boot] [PATCH v2 0/3] mips: bmips: add BCM3380 SoC support

2017-05-16 Thread Álvaro Fernández Rojas
BCM3380 is a dual core BCM33xx SoC, which means that it's pretty similar to the BCM63xx, but it's meant for HFC instead of xDSL. The pll_conf register seems to be bugged, because it just stalls the SoC instead of performing a reboot, so the watchdog needs to be used as sysreset. v2: Introduce

Re: [U-Boot] [PATCHv6 25/28] net: sun7i_mac: Add read_rom_hwaddr hook

2017-05-16 Thread Maxime Ripard
On Mon, May 15, 2017 at 02:20:25PM +0200, Olliver Schinagl wrote: > Hey Maxime, > > On 15-05-17 10:22, Maxime Ripard wrote: > > On Mon, May 15, 2017 at 10:02:41AM +0200, Olliver Schinagl wrote: > > > With this patch sun7i_mac can now get the MAC address from the board in > > > a predetermined

[U-Boot] [PATCH v2 2/3] MIPS: add support for Broadcom MIPS BCM3380 SoC family

2017-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: no changes. arch/mips/dts/brcm,bcm3380.dtsi | 154 ++ arch/mips/mach-bmips/Kconfig | 12 +++ include/configs/bmips_bcm3380.h | 25 +

Re: [U-Boot] [PATCH 04/14] armv7: Add workaround for USB erratum A-009007

2017-05-16 Thread Tom Rini
On Tue, May 16, 2017 at 08:16:24PM +0800, yinbo.zhu wrote: > From: Suresh Gupta > > USB3PHY Observing Intermittent Failure in Rx > This patch is adding the erratum for LS1021. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat

  1   2   >