Re: [U-Boot] [PATCH] board: i.MX6QDL: add Engicam i.CoreM6 1.5 QDL MIPI starter kit

2018-02-04 Thread Stefano Babic
On 05/01/2018 19:32, Jagan Teki wrote: > i.CoreM6 1.5 is an another i.CoreM6 QDL cpu modules which can be connected > to EDIMM starter kit design with eMMC and MIPI-CSI interfaces suitable for > Android and video capture application. > > notable features: > CPU NXP i.MX6 S/DL/D/Q

Re: [U-Boot] [PATCH V3 2/3] imx: mx7: psci: add system reset support

2018-02-04 Thread Stefano Babic
On 07/01/2018 07:34, Anson Huang wrote: > Add i.MX7 PSCI system reset support, linux > kernel can use "reboot" command to reset > system even wdog driver is disabled in kernel. > > Signed-off-by: Anson Huang > --- > arch/arm/mach-imx/mx7/psci-mx7.c | 15 ++- > arch/arm/mach-imx/mx7/p

Re: [U-Boot] [PATCH V3 3/3] imx: mx7: psci: add system power off support

2018-02-04 Thread Stefano Babic
On 07/01/2018 07:34, Anson Huang wrote: > Add i.MX7 PSCI system power off support, linux > kernel can use "poweroff" command to power off > system via SNVS, PMIC power will be disabled. > > Signed-off-by: Anson Huang > --- > arch/arm/mach-imx/mx7/psci-mx7.c | 18 ++ > arch/arm/ma

Re: [U-Boot] [PATCH 1/3] configs: enable spl support wrt env device

2018-02-04 Thread Stefano Babic
On 09/01/2018 19:49, Jagan Teki wrote: > nand device needed for mmc config to access nand > for write and update so enabling SPL_SUPPORT to mmc > or nand is wrt to env device rather nand driver check. > > Signed-off-by: Jagan Teki > --- > include/configs/imx6-engicam.h | 2 +- > 1 file changed,

Re: [U-Boot] [PATCH 2/3] configs: icore: enable nand on mmc defconfig

2018-02-04 Thread Stefano Babic
On 09/01/2018 19:49, Jagan Teki wrote: > Enable nand on mmc defconfig, so-that preparing nand > for writing/updating bootimage, Linux becomes easy. > > Signed-off-by: Jagan Teki > --- > configs/imx6qdl_icore_mmc_defconfig | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/configs/imx

Re: [U-Boot] [PATCH 3/3] i.MX: nand: add nandbcb update command

2018-02-04 Thread Stefano Babic
Hi Jagan, On 09/01/2018 19:49, Jagan Teki wrote: > writing/updating boot image in nand device is not > straight forward in i.MX6 platform and it require > boot control block(BCB) configure. > > It become difficult to use uboot 'nand' command to > write BCB since it require platform specific attri

[U-Boot] [PATCH] MAINTAINERS: board: qcom: db410c, db820c: update email.

2018-02-04 Thread Jorge Ramirez-Ortiz
Update email address. Signed-off-by: Jorge Ramirez-Ortiz --- board/qualcomm/dragonboard410c/MAINTAINERS | 2 +- board/qualcomm/dragonboard820c/MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/qualcomm/dragonboard410c/MAINTAINERS b/board/qualcomm/dragonboa

Re: [U-Boot] [PATCH V5 31/31] imx: add i.MX8MQ EVK support

2018-02-04 Thread Stefano Babic
Hi Peng, Fabio, On 31/01/2018 11:30, Stefano Babic wrote: > On 31/01/2018 11:25, Fabio Estevam wrote: >> Hi Stefano, >> >> On Mon, Jan 22, 2018 at 2:20 PM, Stefano Babic wrote: >> >>> ok, thanks, I will merge most of them. >> >> Do you think these patches could be applied to 2018.03? >> > > Yes,

Re: [U-Boot] [PATCHv2 00/15] Updates / improvements to bx50v3 support

2018-02-04 Thread Stefano Babic
Hi Sebastian. On 10/01/2018 20:31, Sebastian Reichel wrote: > This series improves the support on the bx50v3 devices (b540v3, b650v3 > and b850v3). Changes outside of the bx50v3 specific areas: > > - Added driver for RX8010SJ RTC. > - Added functionality to e1000 driver to enable wrting of EEPROM

Re: [U-Boot] [PATCH v3 0/4] arm: imx53: remove usage of mx53_dram_size

2018-02-04 Thread Stefano Babic
Hi Patrick, On 16/01/2018 07:59, linux-kernel-...@beckhoff.com wrote: > From: Patrick Bruenn > > Global variables are not available during board_init_f(). > The i.MX53 boards m53evk, mx53cx9020 and mx53loco are using the exact > same dram initialization code, which uses > 'static uint32_t mx53_d

Re: [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig

2018-02-04 Thread Stefano Babic
On 18/01/2018 15:47, Eric Nelson wrote: > This patch just changes the order of configuration items in > mx6memcal_defconfig to match the Kconfig layout, making it easier > to track changes made using menuconfig. > > Signed-off-by: Eric Nelson > --- > configs/mx6memcal_defconfig | 9 - >

Re: [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support

2018-02-04 Thread Stefano Babic
On 18/01/2018 15:47, Eric Nelson wrote: > The initial implementation of mx6memcal reset the CPU after > running the memory calibration procedure because the generic > board has no information about which boot devices are available. > > Now that we have SDP support in SPL, use it to allow a full >

Re: [U-Boot] [PATCH] mx6memcal: fix comment in board header file

2018-02-04 Thread Stefano Babic
On 18/01/2018 16:36, Eric Nelson wrote: > The board header file included a reference to the starting point > from nitrogen6x.h, but since so much changed, the file bears > little resemblance to that file. > > Signed-off-by: Eric Nelson > --- > include/configs/mx6memcal.h | 5 ++--- > 1 file chan

Re: [U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: add strobe and tuning entry

2018-02-04 Thread Stefano Babic
On 21/01/2018 12:00, Peng Fan wrote: > Add entries that will be used for tuning control. > The whole layout not changed, just expand reserved3[84] and > rename other reservedx in sequence. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Jaehoon Chung > --- > drivers/

Re: [U-Boot] [PATCH V2 4/4] imx: mx7dsabresd: enable UHS and HS200

2018-02-04 Thread Stefano Babic
On 21/01/2018 12:00, Peng Fan wrote: > Enable UHS and HS200 for mx7dsabresd. > > Read Speed improvement: > Kingston SD10VG2/16GB SDHC 3.0 card > 22.2MB/s -> 73.7MB/s > eMMC5.0 MTFC8GACAEAM: > 68MB/s -> 87MB/s > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Jaehoon Chu

Re: [U-Boot] [PATCH V2 2/4] ARM: dts: add pinmux and tuning settings for HS200/SDR104

2018-02-04 Thread Stefano Babic
On 21/01/2018 12:00, Peng Fan wrote: > The pinmux and tuning settings are from > https://source.codeaurora.org/external/imx/linux-imx/tree/arch/ > arm/boot/dts/imx7s.dtsi?h=imx_4.9.11_1.0.0_ga > https://source.codeaurora.org/external/imx/linux-imx/tree/arch/ > arm/boot/dts/imx7d-sdb.dts?h=imx_4.9.1

Re: [U-Boot] [PATCH V2 3/4] mmc: fsl_esdhc: support SDR104 and HS200

2018-02-04 Thread Stefano Babic
On 21/01/2018 12:00, Peng Fan wrote: > Introduce SDR104 and HS200 support > The implementation takes linux kernel sdhci.c and sdhci-esdhc-imx.c > as reference. > - Implement esdhc_change_pinstate to dynamically change pad settings > - Implement esdhc_set_timing > - Implement esdhc_set_voltage to

Re: [U-Boot] [PATCH] mx8mqevk: Update README with additional info

2018-02-04 Thread Stefano Babic
Hi Diego, Peng, On 23/01/2018 14:33, Diego Dorta wrote: > The main reason for this update is due the currently README has no enough > info to boot the board. Add a few more steps that make the board bootable. > > Signed-off-by: Diego Dorta > --- > As patch for mx8evk requires change, this is a

Re: [U-Boot] [PATCH V3] imx: mx25: Remove SION bit in all pin-mux that are safe

2018-02-04 Thread Stefano Babic
On 25/01/2018 14:06, Michael Trimarchi wrote: > SION bit should be used in the situation that we need > to read back the value of a pin and should not be set by > default macro. > > We get some malfunction as raised by following thread > > https://www.spinics.net/lists/linux-usb/msg162574.html >

Re: [U-Boot] [PATCH] board: tbs2910: add private imx config

2018-02-04 Thread Stefano Babic
On 28/01/2018 12:26, Soeren Moch wrote: > Add board specific imx config file with recommended IPU Qos settings > and adapted DDR configuration. > > Signed-off-by: Soeren Moch > --- > Cc: Stefano Babic > Cc: u-boot@lists.denx.de > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic

Re: [U-Boot] [PATCH 1/2] mx6sabre_common: Allow building CONFIG_USB_FUNCTION_MASS_STORAGE

2018-02-04 Thread Stefano Babic
On 28/01/2018 15:49, Fabio Estevam wrote: > From: Fabio Estevam > > Selecting CONFIG_USB_FUNCTION_MASS_STORAGE=y in the defconfig leads to > the following error: > > cmd/built-in.o: In function `do_usb_mass_storage': > cmd/usb_mass_storage.c:217: undefined reference to `fsg_main_thread' > cmd/us

Re: [U-Boot] [PATCH 2/2] mx6sabresd: Select CONFIG_CMD_USB_MASS_STORAGE

2018-02-04 Thread Stefano Babic
On 28/01/2018 15:49, Fabio Estevam wrote: > From: Fabio Estevam > > Select CONFIG_CMD_USB_MASS_STORAGE so that the 'ums' can be used. > > Signed-off-by: Fabio Estevam > --- > configs/mx6sabresd_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/mx6sabresd_defconfig b/c

Re: [U-Boot] [PATCH v2] mx6sabresd: Add fastboot support

2018-02-04 Thread Stefano Babic
On 30/01/2018 23:36, Fabio Estevam wrote: > From: Fabio Estevam > > fastboot tool is a convenient way to flash the eMMC, so > add support for it. > > Examples of usages: > > On the mx6sabresd: > > => fastboot 0 > > On the Linux PC connected via USB: > > $ sudo fastboot getvar bootloader-vers

[U-Boot] [PATCH 0/3] bmips: add support for bcm6348 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Add support for BCM6348 usbh phy. Álvaro Fernández Rojas (3): phy: add support for bcm6348 usbh phy mips: bmips: add support for bcm6348 usb mips: bmips: add ct-5361 usb support arch/mips/dts/brcm,bcm6348.dtsi | 20 arch/mips/dts/comtrend,ct-5361.dts| 8 +++ configs/com

[U-Boot] [PATCH 1/3] phy: add support for bcm6348 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/phy/Kconfig| 6 +++ drivers/phy/Makefile | 1 + drivers/phy/bcm6348-usbh-phy.c | 94 ++ 3 files changed, 101 insertions(+) create mode 100644 drivers/phy/bcm6348-usbh-phy.c diff --g

[U-Boot] [PATCH 2/3] mips: bmips: add support for bcm6348 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6348.dtsi | 20 include/configs/bmips_bcm6348.h | 5 + 2 files changed, 25 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6348.dtsi b/arch/mips/dts/brcm,bcm6348.dtsi index 540b9fea5b..92fb91afc1 100644 --

[U-Boot] [PATCH 1/4] phy: add support for bcm6358 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/phy/Kconfig| 6 +++ drivers/phy/Makefile | 1 + drivers/phy/bcm6358-usbh-phy.c | 94 ++ 3 files changed, 101 insertions(+) create mode 100644 drivers/phy/bcm6358-usbh-phy.c diff --g

[U-Boot] [PATCH 3/3] mips: bmips: add ct-5361 usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/comtrend,ct-5361.dts| 8 configs/comtrend_ct5361_ram_defconfig | 7 +++ 2 files changed, 15 insertions(+) diff --git a/arch/mips/dts/comtrend,ct-5361.dts b/arch/mips/dts/comtrend,ct-5361.dts index c909a528a9..74dc09046c 10

[U-Boot] [PATCH 1/3] phy: add support for bcm6318 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/phy/Kconfig| 7 ++ drivers/phy/Makefile | 1 + drivers/phy/bcm6318-usbh-phy.c | 144 + 3 files changed, 152 insertions(+) create mode 100644 drivers/phy/bcm6318-usbh-phy.c diff --

[U-Boot] [PATCH 2/9] mips: bmips: add support for bcm6368 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6368.dtsi | 29 + include/configs/bmips_bcm6368.h | 7 +++ 2 files changed, 36 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6368.dtsi b/arch/mips/dts/brcm,bcm6368.dtsi index 1bb538a1f3..fc1c5a244

[U-Boot] [PATCH 3/3] mips: bmips: add ar-5315 usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/comtrend,ar-5315u.dts| 12 configs/comtrend_ar5315u_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/comtrend,ar-5315u.dts b/arch/mips/dts/comtrend,ar-5315u.dts index 4e4d69b638..a

[U-Boot] [PATCH 0/3] bmips: add support for bcm6318 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Add support for BCM6318 usbh phy. Álvaro Fernández Rojas (3): phy: add support for bcm6318 usbh phy mips: bmips: add support for bcm6318 usb mips: bmips: add ar-5315 usb support arch/mips/dts/brcm,bcm6318.dtsi| 30 +++ arch/mips/dts/comtrend,ar-5315u.dts| 12 +++ configs/

[U-Boot] [PATCH 8/9] mips: bmips: add support for bcm63268 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm63268.dtsi | 30 ++ include/configs/bmips_bcm63268.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm,bcm63268.dtsi index 4d4e36..ade0

[U-Boot] [PATCH 4/4] mips: bmips: add nb4-ser usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/sfr,nb4-ser.dts | 12 configs/sfr_nb4-ser_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/sfr,nb4-ser.dts b/arch/mips/dts/sfr,nb4-ser.dts index f2092e9f99..473372faa1 100644 --- a/

[U-Boot] [PATCH 0/4] bmips: add support for bcm6358 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Add support for BCM6358 usbh phy. Álvaro Fernández Rojas (4): phy: add support for bcm6358 usbh phy mips: bmips: add support for bcm6358 usb mips: bmips: add hg556a usb support mips: bmips: add nb4-ser usb support arch/mips/dts/brcm,bcm6358.dtsi | 27 +++ arch/mips/dts/huawei

[U-Boot] [PATCH 3/9] mips: bmips: add wap-5813n usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/comtrend,wap-5813n.dts| 12 configs/comtrend_wap5813n_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/comtrend,wap-5813n.dts b/arch/mips/dts/comtrend,wap-5813n.dts index 29386e266

[U-Boot] [PATCH 6/9] mips: bmips: add support for bcm6362 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6362.dtsi | 30 ++ include/configs/bmips_bcm6362.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6362.dtsi b/arch/mips/dts/brcm,bcm6362.dtsi index 921fcd52c3..20a589b0

[U-Boot] [PATCH 9/9] mips: bmips: add vr-3032u usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/comtrend,vr-3032u.dts| 12 configs/comtrend_vr3032u_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/comtrend,vr-3032u.dts b/arch/mips/dts/comtrend,vr-3032u.dts index 54e738c821..9

[U-Boot] [PATCH 2/3] mips: bmips: add support for bcm6318 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6318.dtsi | 30 ++ include/configs/bmips_bcm6318.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6318.dtsi b/arch/mips/dts/brcm,bcm6318.dtsi index 54964a7009..015acc91

[U-Boot] [PATCH 0/9] bmips: add support for bcm6368 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Add support for BCM 6328/6362/6368/63268 usbh phy. Álvaro Fernández Rojas (9): phy: add support for bcm6368 usbh phy mips: bmips: add support for bcm6368 usb mips: bmips: add wap-5813n usb support mips: bmips: add support for bcm6328 usb mips: bmips: add ar-5387un usb support mips: bmi

[U-Boot] [PATCH 7/9] mips: bmips: add dgnd3700v2 usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/netgear,dgnd3700v2.dts | 12 configs/netgear_dgnd3700v2_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/netgear,dgnd3700v2.dts b/arch/mips/dts/netgear,dgnd3700v2.dts index 2739f20

[U-Boot] [PATCH 3/4] mips: bmips: add hg556a usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/huawei,hg556a.dts | 12 configs/huawei_hg556a_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/huawei,hg556a.dts b/arch/mips/dts/huawei,hg556a.dts index 31c7d7ed5c..a1e9c15ab9 10064

[U-Boot] [PATCH 4/9] mips: bmips: add support for bcm6328 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6328.dtsi | 30 ++ include/configs/bmips_bcm6328.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi index 67d9278be4..4fbbcec1

[U-Boot] [PATCH 5/9] mips: bmips: add ar-5387un usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/comtrend,ar-5387un.dts| 12 configs/comtrend_ar5387un_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/comtrend,ar-5387un.dts b/arch/mips/dts/comtrend,ar-5387un.dts index 6067881a7

[U-Boot] [PATCH 1/9] phy: add support for bcm6368 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/phy/Kconfig| 6 ++ drivers/phy/Makefile | 1 + drivers/phy/bcm6368-usbh-phy.c | 203 + 3 files changed, 210 insertions(+) create mode 100644 drivers/phy/bcm6368-usbh-phy.c diff --

[U-Boot] [PATCH 2/4] mips: bmips: add support for bcm6358 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6358.dtsi | 27 +++ include/configs/bmips_bcm6358.h | 7 +++ 2 files changed, 34 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi index 1662783279..b63b53baee

Re: [U-Boot] [PATCH] doc: mxc_hab: Improve the config option list

2018-02-04 Thread Stefano Babic
On 21/01/2018 18:57, Fabio Estevam wrote: > From: Fabio Estevam > > The original text is from the time that the config options were not > converted to Kconfig. > > After the conversion to Kconfig only CONFIG_SECURE_BOOT and > CONFIG_CMD_DEKBLOB need to be selected by the user. > > The other con

Re: [U-Boot] [PATCH v4 2/2] imx: mx7: run sec_init for CAAM RNG

2018-02-04 Thread Stefano Babic
On 26/01/2018 17:27, Bryan O'Donoghue wrote: > This patch adds a sec_init call into arch_misc_init(). Doing so in > conjunction with the patch "drivers/crypto/fsl: assign job-rings to > non-TrustZone" enables use of the CAAM in Linux when OPTEE/TrustZone is > active. > > u-boot will initialise the

Re: [U-Boot] [PATCH] arm: dts: imx6ull: move input include to base device tree

2018-02-04 Thread Stefano Babic
On 25/01/2018 13:56, Stefan Agner wrote: > From: Stefan Agner > > The input keycode KEY_POWER is used in the imx6ull.dtsi file, > hence include the input header where used. > > Signed-off-by: Stefan Agner > --- > > arch/arm/dts/imx6ull-14x14-evk.dts | 1 - > arch/arm/dts/imx6ull.dtsi

Re: [U-Boot] [PATCH v4 2/2] imx: mx7: run sec_init for CAAM RNG

2018-02-04 Thread Stefano Babic
On 26/01/2018 17:40, Auer, Lukas wrote: > On Fri, 2018-01-26 at 16:27 +, Bryan O'Donoghue wrote: >> This patch adds a sec_init call into arch_misc_init(). Doing so in >> conjunction with the patch "drivers/crypto/fsl: assign job-rings to >> non-TrustZone" enables use of the CAAM in Linux when O

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

2018-02-04 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! checkpatch warnings in this PR are just related to long lines (in DTS and pinmux). These are accepted exceptions. In a couple of cases long lines are also accepted because code ramains more readable if not split into more lines). The following chang

Re: [U-Boot] [PATCH v2] sandbox: Add 64-bit sandbox

2018-02-04 Thread Simon Glass
Hi Mario, On 26 January 2018 at 14:43, Simon Glass wrote: > On 19 January 2018 at 00:17, Mario Six wrote: >> From: Mario Six >> >> To debug device tree issues involving 32- and 64-bit platforms, it is useful >> to >> have a generic 64-bit platform available. >> >> Add a version of the sandbox

[U-Boot] Please pull u-boot-dm (take 2)

2018-02-04 Thread Simon Glass
Hi Tom, I've dropped sandbox64 for now and fixed the clang warnings. The following changes since commit b2153075f42c2d46d310778e226bcb11f0af47f5: Kconfig: usb: rockchip: Remove not needed *_defconfig USB/gadget entries (2018-02-02 07:13:48 -0500) are available in the Git repository at: gi

Re: [U-Boot] [PATCH v4 2/2] efi_selftest: provide a test for block io

2018-02-04 Thread Simon Glass
On 21 January 2018 at 11:29, Heinrich Schuchardt wrote: > This test checks the driver for block IO devices. > A disk image is created in memory. > A handle is created for the new block IO device. > The block I/O protocol is installed on the handle. > ConnectController is used to setup partitions a

[U-Boot] PPC405EXr / PPC460EX user manuals

2018-02-04 Thread Zorg
Dear U-Boot community, I am looking for the User Manuals of the PPC405EXr and PPC460EX CPUs, but I can't find them. There doesn't seem to be a document which fully describes the DDR2 interfaces and the bootstrapping via I2C for example, which is why I am hoping that it is somewhere in that UM. T

Re: [U-Boot] [PATCH] arm64 :show_regs: show the address before relocation

2018-02-04 Thread Simon Glass
Hi, On 22 January 2018 at 12:01, Karl Beldan wrote: > > On Tue, Nov 28, 2017 at 10:08:08AM +0800, Peng Fan wrote: > > After relocation, when error happends, it is hard to track > > ELR and LR with asm file objdumped from elf file. > > > > So subtract the gd->reloc_off the reflect the compliation

Re: [U-Boot] [PATCH v3 1/3] drivers/ddr/fsl: Fix DDR4 RDIMM support

2018-02-04 Thread Simon Glass
Hi York, On 24 January 2018 at 12:04, York Sun wrote: > For DDR4, command/address delay in mode registers and parity latency > in timing config register are only needed for UDIMMs, but not RDIMMs. > Add additional register rcw_3 for DDR4 RDIMM. Fix mirrored bit for > dual rank RDIMMs. Set sdram_c

Re: [U-Boot] [PATCH 2/4] buildman: add option -E for treating compiler warnings as errors

2018-02-04 Thread Simon Glass
`On 25 January 2018 at 10:21, Daniel Schwierzeck wrote: > Add a new option '-E' for treating all compiler warnings as errors. > Eventually this will pass 'W=err' to Kbuild. nit: I read 'eventually' as 'in a future patch' How about 'This will cause buildman to pass ...' ? > > Signed-off-by: Dani

Re: [U-Boot] [PATCH 11/16] efi_loader: implement DisconnectController

2018-02-04 Thread Simon Glass
Hi Heinrich, On 8 January 2018 at 16:11, Heinrich Schuchardt wrote: > On 01/08/2018 04:35 AM, Simon Glass wrote: >> >> Hi Heinrich, >> >> On 17 December 2017 at 08:43, Heinrich Schuchardt >> wrote: >>> >>> Unfortunately we need a forward declaration because both >>> OpenProtocol and CloseProtoco

Re: [U-Boot] [PATCH v3 3/4] dm: video: use constants to refer to colors

2018-02-04 Thread Simon Glass
Hi Heinrich, On 29 January 2018 at 00:19, Heinrich Schuchardt wrote: > Use constants to refer to colors. > Adjust initialization of foreground and background color to avoid > setting reserved bits. > Consistently u32 instead of unsigned for color bit mask. > > Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH 3/4] travis.yml: fix 'set +e' in build script

2018-02-04 Thread Simon Glass
On 25 January 2018 at 10:21, Daniel Schwierzeck wrote: > The build script should not manipulate shell flags (especially '-e'). > A non-zero exit value can also be catched with 'cmd || ret=$?'. > > Signed-off-by: Daniel Schwierzeck > --- > > .travis.yml | 5 ++--- > 1 file changed, 2 insertions(+

Re: [U-Boot] [PATCH v3 2/4] dm: video: correctly clean background in 16bit mode

2018-02-04 Thread Simon Glass
On 29 January 2018 at 00:19, Heinrich Schuchardt wrote: > In 16 bit mode we have to copy two bytes per pixels repeatedly and not > four. Otherwise we will see a striped pattern. > > Signed-off-by: Heinrich Schuchardt > --- > v3 > no change > v2 > no change > --- > drivers/video/v

Re: [U-Boot] [PATCH] board_f: Only reserve memory for U-Boot if we're going to relocate

2018-02-04 Thread Simon Glass
Hi Alexey, On 25 January 2018 at 10:56, Alexey Brodkin wrote: > In case of no relocation we'll just waste some paceat the very end space at? > of usable memory area. If U-Boot is huge and we cannot use a lot of memory > this What do you mean by 'U-Boot is huge'? How huge, and why would it be

Re: [U-Boot] [PATCH v3 4/4] dm: video: support increased intensity (bold)

2018-02-04 Thread Simon Glass
Hi Heinrich, On 29 January 2018 at 00:19, Heinrich Schuchardt wrote: > Support special rendition code 0 - reset attributes. > Support special rendition code 1 - increased intensity (bold). > > Signed-off-by: Heinrich Schuchardt > --- > v3 > Add color constants. > v2 > SGR 0 shoul

Re: [U-Boot] [PATCH 4/4] travis.yml: run buildman with option -E

2018-02-04 Thread Simon Glass
On 25 January 2018 at 10:21, Daniel Schwierzeck wrote: > This forces all compiler warnings to be treated as errors. > > Signed-off-by: Daniel Schwierzeck > > --- > > .travis.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass But just checking that this actual

Re: [U-Boot] [PATCH] host-tools: use python2 explicitly for shebang

2018-02-04 Thread Simon Glass
Hi Masahiro, On 28 January 2018 at 21:42, Masahiro Yamada wrote: > 2018-01-29 13:26 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 27 January 2018 at 14:28, Masahiro Yamada >> wrote: >>> Hi Simon, >>> >>> >>> 2018-01-27 0:27 GMT+09:00 Simon Glass : Hi Masahiro, On 21 January 201

Re: [U-Boot] [PATCH] arc: Introduce a possibility to not relocate U-boot

2018-02-04 Thread Simon Glass
On 25 January 2018 at 11:22, Alexey Brodkin wrote: > From: Alexey Brodkin > > Disabling relocation might be useful on ARC for 2 reasons: > a) For advanced debugging with Synopsys proprietary MetaWare debugger > which is capable of accessing much more specific hardware resources > compare

Re: [U-Boot] [PATCH v3 1/4] dm: video: show correct colors in graphical console

2018-02-04 Thread Simon Glass
On 29 January 2018 at 00:19, Heinrich Schuchardt wrote: > Get RGB sequence in pixels right (swap blue and red). > Do not set reserved bits. > > qemu-system-i386 -display sdl -vga virtio and > qemu-system-i386 -display sdl -vga cirrus > now display the similar colors (highlighting still missing) as

Re: [U-Boot] About convert to LIVE DT

2018-02-04 Thread Simon Glass
Hi Kever, On 4 February 2018 at 00:44, Kever Yang wrote: > Hi Simon, Philipp, > > When I try to convert to live dt, I fount there are many APIs work > in fdt are missing in live dt, > > do you have any suggestion to add these APIs in live dt quickly? I need: > > fdtdec_get_addr_size_auto_nopa

Re: [U-Boot] Uboot as x86_64 EFI payload

2018-02-04 Thread Simon Glass
Hi Javier, On 29 January 2018 at 09:36, Javier Santos Romo wrote: > Hi, > > I am Juan Alfonso Reyes, a firmware engineer in GMV. Currently we are > developing new boards based in Apollo Lake CPU. We are trying to load uboot > from UEFI. Using the default qemu-x86_efi_payload64_defconfig we a

[U-Boot] [PATCH] Convert CONFIG_APBH_DMA et al to Kconfig

2018-02-04 Thread Adam Ford
This converts the following to Kconfig: CONFIG_APBH_DMA CONFIG_APBH_DMA_BURST CONFIG_APBH_DMA_BURST8 Signed-off-by: Adam Ford --- configs/apx4devkit_defconfig| 1 + configs/aristainetos2_defconfig | 3 +++ configs/aristainetos2b_defconfig| 3 +++ configs/a

[U-Boot] [PATCH] configs: imx6q_logic: Move CONFIG_MXC_UART to Kconfig

2018-02-04 Thread Adam Ford
Since CONFIG_MXC_UART is already in Kconfig, move this from the header to imx6q_logic_defconfig Signed-off-by: Adam Ford diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index ec34047..23eff91 100644 --- a/configs/imx6q_logic_defconfig +++ b/configs/imx6q_logic_defconfi

[U-Boot] [PATCH] configs: imx6q_logic: Move CONFIG_PHY_SMSC to defconfig

2018-02-04 Thread Adam Ford
Since CONFIG_PHY_SMSC was already in Kconfig, move this from header filet to defconfig Signed-off-by: Adam Ford diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index 23eff91..92a8561 100644 --- a/configs/imx6q_logic_defconfig +++ b/configs/imx6q_logic_defconfig @@ -37,

Re: [U-Boot] [PATCH] configs: imx6q_logic: Move CONFIG_MXC_UART to Kconfig

2018-02-04 Thread Stefano Babic
On 04/02/2018 15:54, Adam Ford wrote: > Since CONFIG_MXC_UART is already in Kconfig, move this from > the header to imx6q_logic_defconfig > > Signed-off-by: Adam Ford > > diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig > index ec34047..23eff91 100644 > --- a/configs/im

[U-Boot] [PATCH] Convert CONFIG_MXC_GPIO to Kconfig

2018-02-04 Thread Adam Ford
This converts the following to Kconfig: CONFIG_MXC_GPIO Signed-off-by: Adam Ford --- arch/arm/Kconfig | 5 + configs/apf27_defconfig | 1 + configs/flea3_defconfig | 1 + configs/imx31_phycore_eet_defconfig | 1 + configs/mx31ads_defconfig

Re: [U-Boot] [PATCH 1/9] phy: add support for bcm6368 usbh phy

2018-02-04 Thread Daniel Schwierzeck
On 04.02.2018 11:19, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/phy/Kconfig| 6 ++ > drivers/phy/Makefile | 1 + > drivers/phy/bcm6368-usbh-phy.c | 203 > + > 3 files changed, 210 inser

Re: [U-Boot] [PATCH 1/3] phy: add support for bcm6318 usbh phy

2018-02-04 Thread Daniel Schwierzeck
On 04.02.2018 11:19, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/phy/Kconfig| 7 ++ > drivers/phy/Makefile | 1 + > drivers/phy/bcm6318-usbh-phy.c | 144 > + > 3 files changed, 152 inser

Re: [U-Boot] [PATCH 1/4] phy: add support for bcm6358 usbh phy

2018-02-04 Thread Daniel Schwierzeck
On 04.02.2018 11:19, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/phy/Kconfig| 6 +++ > drivers/phy/Makefile | 1 + > drivers/phy/bcm6358-usbh-phy.c | 94 > ++ > 3 files changed, 101 insert

Re: [U-Boot] [PATCH 1/3] phy: add support for bcm6348 usbh phy

2018-02-04 Thread Daniel Schwierzeck
On 04.02.2018 11:18, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/phy/Kconfig| 6 +++ > drivers/phy/Makefile | 1 + > drivers/phy/bcm6348-usbh-phy.c | 94 > ++ > 3 files changed, 101 insert

Re: [U-Boot] [PATCH 1/9] phy: add support for bcm6368 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Hi Daniel, El 04/02/2018 a las 19:32, Daniel Schwierzeck escribió: On 04.02.2018 11:19, Álvaro Fernández Rojas wrote: Signed-off-by: Álvaro Fernández Rojas --- drivers/phy/Kconfig| 6 ++ drivers/phy/Makefile | 1 + drivers/phy/bcm6368-usbh-phy.c | 203 +++

Re: [U-Boot] [PATCH] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

2018-02-04 Thread Lukasz Majewski
On Fri, 2 Feb 2018 15:17:55 +0530 Faiz Abbas wrote: > When booting from a non-MMC device, the MMC sub-system may not be > initialized when the environment is first accessed. > We need to make sure that the MMC sub-system is ready in even a > non-MMC boot case. > > Therefore, initialize mmc durin

[U-Boot] [PATCH v2 1/9] phy: add support for bcm6368 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck --- v2: simplify code removing setup register set bits drivers/phy/Kconfig| 6 ++ drivers/phy/Makefile | 1 + drivers/phy/bcm6368-usbh-phy.c | 196 + 3 files

[U-Boot] [PATCH v2 0/9] bmips: add support for bcm6368 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Add support for BCM 6328/6362/6368/63268 usbh phy. v2: use correct phy driver and simplify code. Álvaro Fernández Rojas (9): phy: add support for bcm6368 usbh phy mips: bmips: add support for bcm6368 usb mips: bmips: add wap-5813n usb support mips: bmips: add support for bcm6328 usb mip

[U-Boot] [PATCH v2 2/9] mips: bmips: add support for bcm6368 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm6368.dtsi | 29 + include/configs/bmips_bcm6368.h | 7 +++ 2 files changed, 36 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6368.dtsi b/arch/mips/dts/brcm,bcm6368.dtsi index 1bb5

[U-Boot] [PATCH v2 4/9] mips: bmips: add support for bcm6328 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm6328.dtsi | 30 ++ include/configs/bmips_bcm6328.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi index 67d

[U-Boot] [PATCH v2 8/9] mips: bmips: add support for bcm63268 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm63268.dtsi | 30 ++ include/configs/bmips_bcm63268.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm,bcm63268.dtsi index

[U-Boot] [PATCH v2 3/9] mips: bmips: add wap-5813n usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: use correct phy driver arch/mips/dts/comtrend,wap-5813n.dts| 12 configs/comtrend_wap5813n_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/comtrend,wap-5813n.dts b/arch/mips/dts/comtrend,

[U-Boot] [PATCH v2 9/9] mips: bmips: add vr-3032u usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: use correct phy driver arch/mips/dts/comtrend,vr-3032u.dts| 12 configs/comtrend_vr3032u_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/comtrend,vr-3032u.dts b/arch/mips/dts/comtrend,vr-

[U-Boot] [PATCH v2 6/9] mips: bmips: add support for bcm6362 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm6362.dtsi | 30 ++ include/configs/bmips_bcm6362.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6362.dtsi b/arch/mips/dts/brcm,bcm6362.dtsi index 921

[U-Boot] [PATCH v2 7/9] mips: bmips: add dgnd3700v2 usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: use correct phy driver arch/mips/dts/netgear,dgnd3700v2.dts | 12 configs/netgear_dgnd3700v2_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/netgear,dgnd3700v2.dts b/arch/mips/dts/netgear

[U-Boot] [PATCH v2 1/3] phy: add support for bcm6318 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck --- v2: no changes drivers/phy/Kconfig| 7 ++ drivers/phy/Makefile | 1 + drivers/phy/bcm6318-usbh-phy.c | 144 + 3 files changed, 152 insertions(+) create m

[U-Boot] [PATCH v2 5/9] mips: bmips: add ar-5387un usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: use correct phy driver arch/mips/dts/comtrend,ar-5387un.dts| 12 configs/comtrend_ar5387un_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/comtrend,ar-5387un.dts b/arch/mips/dts/comtrend,

[U-Boot] [PATCH v2 0/3] bmips: add support for bcm6318 usbh phy

2018-02-04 Thread Álvaro Fernández Rojas
Add support for BCM6318 usbh phy. v2: use correct phy driver Álvaro Fernández Rojas (3): phy: add support for bcm6318 usbh phy mips: bmips: add support for bcm6318 usb mips: bmips: add ar-5315 usb support arch/mips/dts/brcm,bcm6318.dtsi| 30 +++ arch/mips/dts/comtrend,ar-5315

[U-Boot] [PATCH v2 2/3] mips: bmips: add support for bcm6318 usb

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm6318.dtsi | 30 ++ include/configs/bmips_bcm6318.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6318.dtsi b/arch/mips/dts/brcm,bcm6318.dtsi index 549

[U-Boot] [PATCH v2 3/3] mips: bmips: add ar-5315 usb support

2018-02-04 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: use correct phy driver arch/mips/dts/comtrend,ar-5315u.dts| 12 configs/comtrend_ar5315u_ram_defconfig | 9 + 2 files changed, 21 insertions(+) diff --git a/arch/mips/dts/comtrend,ar-5315u.dts b/arch/mips/dts/comtrend,ar-

[U-Boot] [PATCH] m68k: fix mcf5441x total interrupt number

2018-02-04 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- arch/m68k/include/asm/immap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/include/asm/immap.h b/arch/m68k/include/asm/immap.h index aca5f3ab2c..3840ac94ff 100644 --- a/arch/m68k/include/asm/immap.h +++ b/arch/m68k/include/asm/

Re: [U-Boot] PPC405EXr / PPC460EX user manuals

2018-02-04 Thread Wolfgang Denk
Dear Zorg, In message you wrote: > > I am looking for the User Manuals of the PPC405EXr and PPC460EX CPUs, > but I can't find them. Please contact your nearest Applied Micro FAQ, and/or APM Technical Support. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Direc

Re: [U-Boot] [PATCH] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

2018-02-04 Thread Alex Kiernan
On Fri, Feb 2, 2018 at 9:47 AM, Faiz Abbas wrote: > When booting from a non-MMC device, the MMC sub-system may not be > initialized when the environment is first accessed. > We need to make sure that the MMC sub-system is ready in even a non-MMC > boot case. > > Therefore, initialize mmc during .i

[U-Boot] [PATCH 1/1][for v2018.03] efi_loader: create stub for CreateEventEx

2018-02-04 Thread Heinrich Schuchardt
Currently we set the function pointer for the CreateEventEx boot service to NULL. When called this would lead to an immediate failure. A function stub is provided which handles the case that the boot service is called without an event group and returns EFI_UNSUPPORTED otherwise. Signed-off-by: He

Re: [U-Boot] [PATCH v4 2/2] efi_selftest: provide a test for block io

2018-02-04 Thread Heinrich Schuchardt
On 02/04/2018 01:39 PM, Simon Glass wrote: > On 21 January 2018 at 11:29, Heinrich Schuchardt wrote: >> This test checks the driver for block IO devices. >> A disk image is created in memory. >> A handle is created for the new block IO device. >> The block I/O protocol is installed on the handle.

  1   2   >