[U-Boot] [PATCH v2 1/2] test: py: Use global pytestmark for hush tests

2017-05-18 Thread Michal Simek
All tests in test_hush_if_test depends on hush parser to be present. This patch simplify test dependencies by using global pytestmark. Reported-by: Stephen Warren Signed-off-by: Michal Simek --- Changes in v2: - Fix line-wrapping in comming message test/py/tests/test_hush_if_test.py | 6 ++---

[U-Boot] [PATCH v2 2/2] test: py: hush: Add echo dependency

2017-05-18 Thread Michal Simek
Some tests depends on echo command to be present. Reported-by: Stephen Warren Signed-off-by: Michal Simek --- Changes in v2: - New patch in this series - Tested on sandbox test/py/tests/test_hush_if_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/tests/test_hush_if_test.

Re: [U-Boot] [PATCH v3 4/4] arm: socfpga: Add FPGA driver support for Arria 10

2017-05-18 Thread chee skywind
On Thu, May 18, 2017 at 3:03 AM, Dinh Nguyen wrote: > > > On 05/15/2017 05:52 AM, tien.fong.c...@intel.com wrote: > > From: Tien Fong Chee > > > > Add FPGA driver support for Arria 10. > > > > Signed-off-by: Tien Fong Chee > > --- > > arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 +

[U-Boot] [PATCH 1/1] reset: sti: add deassert counter in reset channel descriptor

2017-05-18 Thread patrice.chotard
From: Patrice Chotard This deassert counter allow to manage "shared" reset lines encountered in some specific case. On STiH410 SoC, DWC3, EHCI and OHCI are all using a respective PHY, but all of these PHYs shared a "global" reset. Currently, during command "usb stop", all host controller are sto

[U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-18 Thread Kever Yang
Add aliases for mmc controller to get a fixed order with emmc at index 0 and sdmmc at index 1. Signed-off-by: Kever Yang --- arch/arm/dts/rk3328.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/rk3328.dtsi b/arch/arm/dts/rk3328.dtsi index 8a98ee3..e1af030 100644 --- a/ar

Re: [U-Boot] [PATCH V2 12/12] imx: mx7dsabresd: add board revision check

2017-05-18 Thread Stefano Babic
Hi Peng, On 18/04/2017 02:54, Peng Fan wrote: > Hi Fabio, > >> -Original Message- >> From: Fabio Estevam [mailto:feste...@gmail.com] >> Sent: Monday, April 17, 2017 11:00 PM >> To: Peng Fan >> Cc: Stefano Babic ; U-Boot-Denx >> Subject: Re: [U-Boot] [PATCH V2 12/12] imx: mx7dsabresd: ad

Re: [U-Boot] [PATCH v5 20/33] ARM: i.MX6: sabresd: Add dm_gpio_* for backlight

2017-05-18 Thread Jagan Teki
On Thu, May 11, 2017 at 10:53 PM, Fabio Estevam wrote: > On Thu, May 4, 2017 at 12:11 PM, Jagan Teki wrote: >> From: Jagan Teki >> >> For OF_CONTROL, gpio's need to configure through >> dm_gpio_* calls instead of non-dm gpio code, So >> add dm_gpio_* calls for dts supported code. >> >> Cc: Stefa

Re: [U-Boot] [PATCH V2 09/12] imx: mx7dsabresd: enable more DM drivers

2017-05-18 Thread Stefano Babic
Hi Peng, On 13/04/2017 08:09, Peng Fan wrote: > Enable more DM drivers. The imx I2C/MMC DM drivers needs DM_GPIO > enabled. The 74x164 drivers needs SOFT_SPI and DM_GPIO enabled. > So needs to enable them together. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- > > V2: > None > > boa

[U-Boot] [PATCH] imx: mx7dsabresd: fix secure config after switching to DM

2017-05-18 Thread Stefano Babic
mx7dsabresd_secure_defconfig was not updated after moving to DM. Signed-off-by: Stefano Babic --- configs/mx7dsabresd_secure_defconfig | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/configs/mx7dsabresd_secure_defconfig b/configs/mx7dsabresd_secur

Re: [U-Boot] [PATCH] imx: mx7dsabresd: fix secure config after switching to DM

2017-05-18 Thread Peng Fan
> -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Thursday, May 18, 2017 4:48 PM > To: u-boot@lists.denx.de > Cc: Peng Fan ; Adrian Alonso Lazcano > ; Stefano Babic > Subject: [PATCH] imx: mx7dsabresd: fix secure config after switching to DM > > mx7dsabresd_secu

Re: [U-Boot] [PATCH V2 12/12] imx: mx7dsabresd: add board revision check

2017-05-18 Thread Peng Fan
> -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Thursday, May 18, 2017 4:20 PM > To: Peng Fan ; Fabio Estevam > Cc: Stefano Babic ; U-Boot-Denx > Subject: Re: [U-Boot] [PATCH V2 12/12] imx: mx7dsabresd: add board revision > check > > Hi Peng, Hi Stefano, >

Re: [U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-18 Thread Sam Protsenko
On 18 May 2017 at 01:20, Tom Rini wrote: > On Wed, May 17, 2017 at 08:20:47PM +0300, Sam Protsenko wrote: > >> This patch adds support for flashing zImage to the Android boot >> partition on eMMC. > [snip] >> +#ifdef CONFIG_ANDROID_BOOT_IMAGE >> + if (strcmp(cmd, "zImage") == 0 || strcmp(cmd,

Re: [U-Boot] [PATCH] arm: dts: imx: add aliases for usbotg nodes

2017-05-18 Thread Stefano Babic
On 24/04/2017 23:20, Alexey Ignatov wrote: > Aliases must be present for USB gadget with DM_USB. Without this, > usb_setup_ehci_gadget() fails because it can't find required devices > in UCLASS_USB. > > Signed-off-by: Alexey Ignatov > --- Applied to u-boot-imx, thanks ! Best regards, Stefano B

Re: [U-Boot] [PATCH 2/2] mx6sabresd: Add SPL support for the mx6dl variant

2017-05-18 Thread Stefano Babic
Hi Fabio, On 12/05/2017 17:45, Fabio Estevam wrote: > Add support for the mx6dlsabresd board in SPL. > > Retrieved the DCD table from: > board/freescale/mx6sabresd/mx6dlsabresd.cfg > (NXP U-Boot branch imx_v2015.04_4.1.15_1.0.0_ga) > > Flashed SPL and u-boot.img to an SD card and could successfu

Re: [U-Boot] [PATCH V2 12/12] imx: mx7dsabresd: add board revision check

2017-05-18 Thread Stefano Babic
On 18/05/2017 10:51, Peng Fan wrote: >> Patches 1..11 are free of comments. I am merging them and I will send PR to >> Tom for inclusion after my build test. I will just let this last one out. > > It is ok for me to let this out. Thanks. ok - just check with patch I send today to fix the "secure"

[U-Boot] [PATCH v2] net: usb: mcs7830: fix no DM recive path

2017-05-18 Thread Uri Mashiach
The function mcs7830_recv_common() returns a negative value on error, 0 or positive value on success. Modifications: * Fix the condition for calling the function net_process_received_packet(). * The return value of the function mcs7830_recv() reflects the success of the function mcs7830_recv_com

Re: [U-Boot] [PATCH 0/2] Gateworks Ventana watchdog fix

2017-05-18 Thread Stefano Babic
On 15/05/2017 19:05, Tim Harvey wrote: > This series resovles a couple of issues with the Gateworks Ventana > IMX6 watchdog device-tree fixups. > > Tim Harvey (2): > imx: ventana: fix GW520x external watchdog dt update > imx: ventana: update imx wdog external reset dt property > > board/gate

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-05-18 Thread Stefano Babic
On 12/05/2017 21:58, Tim Harvey wrote: > There is no dedicated reset signal wired up for the MX6QDL thus if the > bootloader enables the link we need some special handling to get the core > back into a state where it is safe to touch it for configuration. > > While there has been some special hand

Re: [U-Boot] [PATCH V2] pinctrl: imx: fix memory leak

2017-05-18 Thread Stefano Babic
On 11/05/2017 11:34, Peng Fan wrote: > Each time set_state is called, a new piece memory will > be allocated for pin_data, but not freed, this will > incur memory leak. > > When error, the devm API could not free memory automatically. > So need call devm_kfree when error. > > Issue reported by Co

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

2017-05-18 Thread Marek Vasut
On 05/16/2017 09:32 PM, Tom Rini wrote: > 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 v2] net: usb: mcs7830: fix no DM recive path

2017-05-18 Thread Marek Vasut
On 05/18/2017 11:04 AM, Uri Mashiach wrote: > The function mcs7830_recv_common() returns a negative value on error, 0 > or positive value on success. > > Modifications: So you want to drop this "Modifications" part and just somehow grind these two lines into the commit message. > * Fix the condi

Re: [U-Boot] [PATCH v3 5/7] usb: host: ohci-generic: add CLOCK support

2017-05-18 Thread Marek Vasut
On 05/17/2017 03:34 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > use list to save reference to enabled clocks in order to > disabled them in case of error during probe() or > during driver removal. > > Signed-off-by: Patrice Chotard > --- > > v3: _ extract in this patch the

Re: [U-Boot] [PATCH v3 3/7] usb: host: ehci-generic: add error path and .remove callback

2017-05-18 Thread Marek Vasut
On 05/17/2017 03:34 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > use list to save reference to enabled clocks and deasserted resets > in order to respectively disabled and asserted them in case of error > during probe() or during driver removal. > > Signed-off-by: Patrice Chotar

Re: [U-Boot] [PATCH v3 6/7] usb: host: ohci-generic: add RESET support

2017-05-18 Thread Marek Vasut
On 05/17/2017 03:34 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > use list to save reference to deasserted resets in order to > assert them in case of error during probe() or during driver > removal. > > Signed-off-by: Patrice Chotard > --- > > v3: _ extract in this patch the

Re: [U-Boot] [PATCH v4] usb: lpc32xx: add i2c DM support

2017-05-18 Thread Marek Vasut
On 05/17/2017 07:01 PM, Sylvain Lemieux wrote: > From: Liam Beguin > > Add DM support for i2c functions. > > Signed-off-by: Liam Beguin > Signed-off-by: Sylvain Lemieux > Reviewed-by: Marek Vasut Applied, thanks. -- Best regards, Marek Vasut ___

[U-Boot] [PULL] u-boot-usb/master

2017-05-18 Thread Marek Vasut
The following changes since commit fa8967cfbaed5582ba987756fa9f0470a9affbf4: Merge git://git.denx.de/u-boot-uniphier (2017-05-17 14:13:58 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 9ad69f0ba45b1e1a95be04fcc2d7e143fa2

[U-Boot] [PULL] u-boot-socfpga/master

2017-05-18 Thread Marek Vasut
The following changes since commit fa8967cfbaed5582ba987756fa9f0470a9affbf4: Merge git://git.denx.de/u-boot-uniphier (2017-05-17 14:13:58 -0400) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to d89e979c42892db572c4ef5d56bc207

Re: [U-Boot] [PATCH] Convert CONFIG_SPL_BOARD_INIT to Kconfig

2017-05-18 Thread Ley Foon Tan
On Thu, May 4, 2017 at 11:17 AM, Ley Foon Tan wrote: > On Wed, May 3, 2017 at 5:13 PM, Ley Foon Tan wrote: >> This converts the following to Kconfig: >>CONFIG_SPL_BOARD_INIT >> >> Signed-off-by: Ley Foon Tan > > Note, this patch is rebased u-boot-socfpga.git/next branch [1] with > u-boot.git

Re: [U-Boot] [PATCH] arm: dts: imx: add aliases for usbotg nodes

2017-05-18 Thread Stefano Babic
On 18/05/2017 10:53, Stefano Babic wrote: > On 24/04/2017 23:20, Alexey Ignatov wrote: >> Aliases must be present for USB gadget with DM_USB. Without this, >> usb_setup_ehci_gadget() fails because it can't find required devices >> in UCLASS_USB. >> >> Signed-off-by: Alexey Ignatov >> --- > > > A

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

2017-05-18 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit fa8967cfbaed5582ba987756fa9f0470a9affbf4: Merge git://git.denx.de/u-boot-uniphier (2017-05-17 14:13:58 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for you to fet

Re: [U-Boot] [PATCH V2] pinctrl: imx: fix memory leak

2017-05-18 Thread Lothar Waßmann
Hi, On Thu, 18 May 2017 11:15:08 +0200 Stefano Babic wrote: > On 11/05/2017 11:34, Peng Fan wrote: > > Each time set_state is called, a new piece memory will > > be allocated for pin_data, but not freed, this will > > incur memory leak. > > > > When error, the devm API could not free memory autom

Re: [U-Boot] [PATCH] arm: dts: imx: add aliases for usbotg nodes

2017-05-18 Thread Sébastien Szymanski
Hi, On 05/18/2017 12:13 PM, Stefano Babic wrote: > On 18/05/2017 10:53, Stefano Babic wrote: >> On 24/04/2017 23:20, Alexey Ignatov wrote: >>> Aliases must be present for USB gadget with DM_USB. Without this, >>> usb_setup_ehci_gadget() fails because it can't find required devices >>> in UCLASS_US

Re: [U-Boot] [PATCH] arm: dts: imx: add aliases for usbotg nodes

2017-05-18 Thread Stefano Babic
On 18/05/2017 12:28, Sébastien Szymanski wrote: > Hi, > > On 05/18/2017 12:13 PM, Stefano Babic wrote: >> On 18/05/2017 10:53, Stefano Babic wrote: >>> On 24/04/2017 23:20, Alexey Ignatov wrote: Aliases must be present for USB gadget with DM_USB. Without this, usb_setup_ehci_gadget() fai

Re: [U-Boot] [PATCH v5 20/33] ARM: i.MX6: sabresd: Add dm_gpio_* for backlight

2017-05-18 Thread Fabio Estevam
Hi Jagan, On Thu, May 18, 2017 at 5:30 AM, Jagan Teki wrote: > I think this backlight IMX_GPIO_NR(1, 21) gpio is related to board > code here in U-boot, couldn't see the node related to this on dts. In U-Boot MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 is used to as GPIO and when it is at 1, it sets the ba

[U-Boot] [PATCH v3] net: usb: mcs7830: fix no DM recive path

2017-05-18 Thread Uri Mashiach
The function mcs7830_recv_common() returns a negative value on error, 0 or positive value on success. Fix the condition for calling the function net_process_received_packet(). The function mcs7830_recv() is always returning 0. Update the return value of mcs7830_recv() to reflect the function's suc

Re: [U-Boot] [PATCH] mx6sabresd: Remove non-SPL targets

2017-05-18 Thread Fabio Estevam
On Thu, May 18, 2017 at 2:58 AM, Jagan Teki wrote: > Missing to update MAINTAINERS file, will change it here and send along > with the series, is that OK? Let me take care of it as I do have other changes as part of moving mx6sabresd to SPL. Will send these patches later today with you on Cc.

[U-Boot] [PATCH v6 00/21] ARM: i.MX6: SabreSD: Add dts support

2017-05-18 Thread Jagan Teki
From: Jagan Teki Compared to previous series, this series - Add dts files directly from Linux - Moved spl code in separate file spl.c - Add patches ontop of 'Fabio' changes. - Droped file/drirectory rename changes Changes for v6: - rebase on u-boot-imx/master - Fixed comments from 'Fabio' in v5

[U-Boot] [PATCH v6 01/21] mx6sabresd: MAINTAINERS: Remove invalid defconfigs F: list

2017-05-18 Thread Jagan Teki
From: Jagan Teki no-SPL target defconfigs are droped in below commit and forgot to update the same on MAINTAINERS F: list "mx6sabresd: Remove non-SPL targets" (sha1: e2bab4b9ea3c9ab59c1ba064263ee0863cba112e) Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/MAINTAINERS | 2 -- 1 file ch

[U-Boot] [PATCH v6 02/21] mx6sabresd: README: Fix to add space on dd command

2017-05-18 Thread Jagan Teki
From: Jagan Teki Fix to give space between of and bs of dd command. Cc: Stefano Babic Cc: Michael Trimarchi Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam --- board/freescale/mx6sabresd/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/mx6s

[U-Boot] [PATCH v6 07/21] ARM: dts: i.MX6: Add imx6qp.dtsi

2017-05-18 Thread Jagan Teki
From: Jagan Teki Retrive imx6qp.dtsi from Linux with last commit "ARM: dts: imx6qp: add PRG nodes and hook up to IPUs" (sha1: 54458dac349f72dd9a4fd816619bde0bab40841d) Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qp.dtsi | 149 +++ 1 file changed,

[U-Boot] [PATCH v6 04/21] ARM: dts: i.MX6: Add imx6qdl-sabresd.dtsi

2017-05-18 Thread Jagan Teki
From: Jagan Teki Retrive imx6qdl-sabresd.dtsi from Linux with last commit "ARM: dts: imx6qdl-sabresd: Set LDO regulator supply" (sha1: c23568dbbda110a5c79c6537cc81ed7af5444b64) Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-sabresd.dtsi | 626 ++ 1 file

[U-Boot] [PATCH v6 05/21] ARM: dts: i.MX6: Add imx6q-sabresd.dts

2017-05-18 Thread Jagan Teki
From: Jagan Teki Retrive imx6q-sabresd.dts from Linux with last commit "ARM: dtsi: enable ahci sata on imx6q platforms" (sha1: 0fb1f804269e549b556b475c8655bc862c220622) Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx6q-sabresd.dts | 25

[U-Boot] [PATCH v6 16/21] i.MX6: Sabre: Move CONFIG_FEC_MXC to defconfigs

2017-05-18 Thread Jagan Teki
From: Jagan Teki Moved CONFIG_FEC_MXC from include/configs/mxsabresd.h to imx6 sabresd and sabreauto defconfigs. Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam --- configs/mx6dlsabreauto_defconfig | 2 ++ configs/mx6qpsabreauto_defconfig | 2 ++ configs/mx6qsabreauto_defconfig | 2 +

[U-Boot] [PATCH v6 14/21] SabreSD: Enable CONFIG_DM_REGULATOR

2017-05-18 Thread Jagan Teki
From: Jagan Teki Enable CONFIG_DM_REGULATOR for i.MX6 SabreSD boards. Signed-off-by: Jagan Teki --- arch/arm/cpu/armv7/mx6/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig index 314a61f..9a874cd 100644 --- a/arch/arm/cp

[U-Boot] [PATCH v6 17/21] i.MX6: SabreSD: Enable DM_ETH

2017-05-18 Thread Jagan Teki
From: Jagan Teki (1) Enable DM_ETH (2) Droped board_eth_init Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam --- arch/arm/cpu/armv7/mx6/Kconfig | 1 + board/freescale/mx6sabresd/mx6sabresd.c | 45 ++--- 2 files changed, 3 insertions(+), 43 deletions(

[U-Boot] [PATCH v6 08/21] ARM: dts: i.MX6: Add imx6qp-sabresd.dts

2017-05-18 Thread Jagan Teki
From: Jagan Teki Retrive imx6qp-sabresd.dts from Linux with last commit "ARM: dts: imx6qp-sabresd: Set reg_arm regulator supply" (sha1: 448548174caaa04ffe9da4da9326052eb8791a9b) Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx6qp-sabresd.dts | 93 +

[U-Boot] [PATCH v6 19/21] i.MX6: SabreSD: Cleanup board code

2017-05-18 Thread Jagan Teki
From: Jagan Teki - Give proper tab alignment for display_info_t structure - Add tab spaces UART_PAD_CTRL and SPI_PAD_CTRL - Give proper alignment of reg init values on setup_display - Add space and newline on board_init_f - Add static qualifier for file scope structures Signed-off-by: Jagan Teki

[U-Boot] [PATCH v6 12/21] SabreSD: Move CONFIG_SYS_I2C_MXC to defconfigs

2017-05-18 Thread Jagan Teki
From: Jagan Teki Moved CONFIG_SYS_I2C_MXC from include/configs/mxsabresd.h to imx6 sabresd defconfigs. Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam --- configs/mx6sabresd_spl_defconfig | 1 + include/configs/mx6sabresd.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) di

[U-Boot] [PATCH v6 13/21] SabreSD: Enable DM_I2C and DM_PMIC

2017-05-18 Thread Jagan Teki
From: Jagan Teki (1) Enable DM_I2C DM_PMIC DM_PMIC_PFUZE100 (2) Removed setup_i2c power_init_board I2C Log: => i2c bus Bus 0: i2c@021a Bus 1: i2c@021a4000 08: pfuze100@08, offset len 1, flags 0 Bus 2: i2c@021a8000 => i2c dev 1 Setting bus to 1 => i2c speed

[U-Boot] [PATCH v6 03/21] ARM: i.MX6: sabresd: Remove SPL_I2C_SUPPORT

2017-05-18 Thread Jagan Teki
From: Jagan Teki I2C support not needed for SPL build, hence removed the CONFIG_SPL_I2C_SUPPORT from mx6sabresd_spl_defconfig Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/mx6sabresd_spl_defconfig | 1 - 1 file changed, 1 deletion(-) diff -

[U-Boot] [PATCH v6 20/21] i.MX6: SabreSD: mx6sabresd_spl_defconfig => mx6sabresd_defconfig

2017-05-18 Thread Jagan Teki
From: Jagan Teki Now, SabreSD support SPL for all cpu types and the only configuration option, So renamed mx6sabresd_spl_defconfig to mx6sabresd_defconfig Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/MAINTAINERS | 2 +- configs/{mx6sabresd_spl_defconfig => mx6sa

[U-Boot] [PATCH v6 06/21] ARM: dts: i.MX6: Add imx6dl-sabresd.dts

2017-05-18 Thread Jagan Teki
From: Jagan Teki Retrive imx6dl-sabresd.dts from Linux with last commit "ARM: dts: imx: share pad macro names between imx6q and imx6dl" (sha1: c56009b2f6134e5943a03cf26e4d7fce9745d56b) Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx6dl-sabresd.dts | 17 ++

[U-Boot] [PATCH v6 21/21] SabreSD: README: Update with dtb changes

2017-05-18 Thread Jagan Teki
From: Jagan Teki Now SabreSD board support SPL with U-Boot proper devicetree enabled, so update the README according with images generated with respective builds. "Booting from eMMC" still need to test and update README. Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/README | 66 +++

[U-Boot] [PATCH v6 10/21] sabresd: i.MX6QP: Add initial dts support

2017-05-18 Thread Jagan Teki
From: Jagan Teki Add initial devicetree support for i.MX6 Quad Plus Sabresd board. Signed-off-by: Jagan Teki --- arch/arm/cpu/armv7/mx6/Kconfig | 3 +++ board/freescale/mx6sabresd/spl.c | 12 configs/mx6sabresd_spl_defconfig | 1 + 3 files changed, 16 insertions(+) diff --git

[U-Boot] [PATCH v6 09/21] sabresd: i.MX6Q: Add initial dts support

2017-05-18 Thread Jagan Teki
From: Jagan Teki Add initial devicetree support for i.MX6 Quad Sabresd board. (1) Added config options CONFIG_OF_CONTROL=y CONFIG_DM_GPIO=y CONFIG_DM_MMC=y CONFIG_BLK is not set CONFIG_DM_MMC_OPS is not set CONFIG_PINCTRL=y CONFIG_PINCTRL_IMX6=y (2) Moved spl code to

[U-Boot] [PATCH v6 18/21] i.MX6: sabresd: Drop checkboard

2017-05-18 Thread Jagan Teki
From: Jagan Teki Since SabreSD is supporting fdt, there is no use of printing the board name explicitly using checkboard because dtb supported u-boot will print model like this Model: Freescale i.MX6 Quad Plus SABRE Smart Device Board Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam ---

[U-Boot] [PATCH v6 11/21] SabreSD: i.MX6DL: Add initial dts support

2017-05-18 Thread Jagan Teki
From: Jagan Teki Add initial devicetree support for i.MX6 DualLite Sabresd board. Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/spl.c | 2 ++ configs/mx6sabresd_spl_defconfig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/freescale/mx6sabresd/spl.c b/boa

[U-Boot] [PATCH v6 15/21] SabreSD: Enable DM_USB

2017-05-18 Thread Jagan Teki
From: Jagan Teki Enable DM_USB and removed non-DM_USB related config options. Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam --- arch/arm/cpu/armv7/mx6/Kconfig | 1 + board/freescale/mx6sabresd/mx6sabresd.c | 65 - include/configs/mx6sabresd.h

[U-Boot] [PATCH 2/3] mx6sabresd: Update the config file

2017-05-18 Thread Fabio Estevam
From: Fabio Estevam Only configs/mx6sabresd_defconfig is supported now, so update the MAINTAINERS file accordingly. Signed-off-by: Fabio Estevam --- board/freescale/mx6sabresd/MAINTAINERS | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/board/freescale/mx6sabresd/MAINTAIN

[U-Boot] [PATCH 3/3] mx6sabresd: Update to SPL only mode

2017-05-18 Thread Fabio Estevam
From: Fabio Estevam mx6sabresd only supports SPL mode now, so update the README file accordingly. Signed-off-by: Fabio Estevam --- board/freescale/mx6sabresd/README | 84 +-- 1 file changed, 28 insertions(+), 56 deletions(-) diff --git a/board/freescale/mx6

[U-Boot] [PATCH 1/3] mx6sabresd: Rename target to mx6sabresd_defconfig

2017-05-18 Thread Fabio Estevam
From: Fabio Estevam As mx6sabresd only supports SPL target now, there is no need to keep the 'spl' in the name of the target, so simply rename it to mx6sabresd_defconfig. Signed-off-by: Fabio Estevam --- configs/{mx6sabresd_spl_defconfig => mx6sabresd_defconfig} | 0 1 file changed, 0 insertio

[U-Boot] [PATCH 1/2] drivers: net: fsl-mc: Define PHY_RESET_R function

2017-05-18 Thread Bogdan Purcareata
DPAA2 platforms boot the Management Complex based on the u-boot env variable "mcinitcmd". Instead of doing this step on each platform individually, define a reset_phy function in the MC driver, since it's semantically tied to it and it gets called at a later moment, when all board PHY devices have

[U-Boot] [PATCH 2/2] drivers: net: fsl-mc: Include MAC addr fixup in DPL

2017-05-18 Thread Bogdan Purcareata
Previous to MC v10.x, port mac address was specified via DPL. Since newer MC versions are compatible with old style DPLs, make the u-boot env mac addresses visible there. This applies only to DPLs that have an older version. DPLs use 32 bit values for specifying MAC addresses. U-boot environment v

Re: [U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-18 Thread Tom Rini
On Thu, May 18, 2017 at 11:50:23AM +0300, Sam Protsenko wrote: > On 18 May 2017 at 01:20, Tom Rini wrote: > > On Wed, May 17, 2017 at 08:20:47PM +0300, Sam Protsenko wrote: > > > >> This patch adds support for flashing zImage to the Android boot > >> partition on eMMC. > > [snip] > >> +#ifdef CONF

[U-Boot] [PATCH v3] fastboot: Add support for flashing zImage

2017-05-18 Thread Sam Protsenko
This patch adds support for flashing zImage to the Android boot partition on eMMC. Usage: $ fastboot flash zImage It's based on [1]. [1] http://omapzoom.org/?p=repo/u-boot.git;a=commit;h=3393b908c1e848bba3706612cbe50aa8970720b3 Signed-off-by: Sam Protsenko --- Changes in v2: - use blk_

Re: [U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-18 Thread Sam Protsenko
On 18 May 2017 at 14:20, Tom Rini wrote: > On Thu, May 18, 2017 at 11:50:23AM +0300, Sam Protsenko wrote: >> On 18 May 2017 at 01:20, Tom Rini wrote: >> > On Wed, May 17, 2017 at 08:20:47PM +0300, Sam Protsenko wrote: >> > >> >> This patch adds support for flashing zImage to the Android boot >> >

Re: [U-Boot] [PATCH 3/3] marvell: armada385: Add the Turris Omnia board

2017-05-18 Thread Stefan Roese
Hi Marek, On 13.05.2017 11:54, Andreas Färber wrote: +/* Default boot environment. */ +#define CONFIG_BOOTCOMMAND \ + "i2c dev 1; " \ + "i2c read 0x2a 0x9 1 0x00F0; "\ + "setexpr.b rescue *0x00F0; " \ + "if t

Re: [U-Boot] [PATCH 1/3] driver/ddr: Add support for setting timing in hws_topology_map

2017-05-18 Thread Stefan Roese
Hi Marek, looks good, as small comment below... On 12.05.2017 16:10, Marek Behún wrote: > The DDR3 training code for Marvell A38X currently computes 1t timing > when given board topology map of the Turris Omnia, but Omnia needs 2t. > > This patch adds support for enforcing the 2t timing in stru

Re: [U-Boot] [PATCH v6 01/21] mx6sabresd: MAINTAINERS: Remove invalid defconfigs F: list

2017-05-18 Thread Fabio Estevam
Hi Jagan, On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > From: Jagan Teki > > no-SPL target defconfigs are droped in below commit > and forgot to update the same on MAINTAINERS F: list > "mx6sabresd: Remove non-SPL targets" > (sha1: e2bab4b9ea3c9ab59c1ba064263ee0863cba112e) > > Signed-off-

Re: [U-Boot] [PATCH v6 03/21] ARM: i.MX6: sabresd: Remove SPL_I2C_SUPPORT

2017-05-18 Thread Fabio Estevam
On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > From: Jagan Teki > > I2C support not needed for SPL build, hence removed the > CONFIG_SPL_I2C_SUPPORT from mx6sabresd_spl_defconfig > > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki > --- > confi

Re: [U-Boot] [PATCH v6 02/21] mx6sabresd: README: Fix to add space on dd command

2017-05-18 Thread Fabio Estevam
On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > From: Jagan Teki > > Fix to give space between of and bs of dd command. > > Cc: Stefano Babic > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki > Reviewed-by: Fabio Estevam Same here, maybe you can put my 3 patches as part of your series

Re: [U-Boot] [PATCH v6 04/21] ARM: dts: i.MX6: Add imx6qdl-sabresd.dtsi

2017-05-18 Thread Fabio Estevam
On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > From: Jagan Teki > > Retrive imx6qdl-sabresd.dtsi from Linux with last commit > "ARM: dts: imx6qdl-sabresd: Set LDO regulator supply" > (sha1: c23568dbbda110a5c79c6537cc81ed7af5444b64) Could you use a tag like 4.11.1, for example? It is much c

Re: [U-Boot] [PATCH v6 13/21] SabreSD: Enable DM_I2C and DM_PMIC

2017-05-18 Thread Fabio Estevam
Hi Jagan, On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > From: Jagan Teki > > (1) Enable > DM_I2C > DM_PMIC > DM_PMIC_PFUZE100 > (2) Removed > setup_i2c > power_init_board > > I2C Log: > > => i2c bus > Bus 0: i2c@021a > Bus 1: i2c@021a4000 >08: pfuze1

Re: [U-Boot] [PATCH v6 14/21] SabreSD: Enable CONFIG_DM_REGULATOR

2017-05-18 Thread Fabio Estevam
On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > From: Jagan Teki > > Enable CONFIG_DM_REGULATOR for i.MX6 SabreSD boards. > > Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de

Re: [U-Boot] [PATCH v6 17/21] i.MX6: SabreSD: Enable DM_ETH

2017-05-18 Thread Fabio Estevam
Hi Jagan, On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > -static void setup_iomux_enet(void) > -{ > - SETUP_IOMUX_PADS(enet_pads); > - > - /* Reset AR8031 PHY */ > - gpio_direction_output(IMX_GPIO_NR(1, 25) , 0); > - mdelay(10); > - gpio_set_value(IMX_GPIO_NR(

Re: [U-Boot] [PATCH v6 20/21] i.MX6: SabreSD: mx6sabresd_spl_defconfig => mx6sabresd_defconfig

2017-05-18 Thread Fabio Estevam
On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > From: Jagan Teki > > Now, SabreSD support SPL for all cpu types and the only configuration > option, So renamed mx6sabresd_spl_defconfig to mx6sabresd_defconfig > > Signed-off-by: Jagan Teki Already part of my series.

Re: [U-Boot] [PATCH v6 13/21] SabreSD: Enable DM_I2C and DM_PMIC

2017-05-18 Thread Fabio Estevam
On Thu, May 18, 2017 at 9:22 AM, Fabio Estevam wrote: > Last time I tested the pmic commands were gone. Were you able to > access the PMIC via the 'pmic' commands? Just tested your latest version and the 'pmic' command is gone, so this needs to be fixed. Thanks __

[U-Boot] [PATCH 0/3] omap: Provide fastboot variables for fastboot.sh

2017-05-18 Thread Sam Protsenko
fastboot.sh is a script used for flashing Android images for TI boards (and can be found in corresponding AOSP sources). This script relies on some fastboot variables, which can be accessed with "fastboot getvar" command. This patch series exports those variables, which fastboot.sh script relies o

[U-Boot] [PATCH 2/3] arm: am57xx: Set fastboot variables in environment

2017-05-18 Thread Sam Protsenko
One can obtain those variables using next commands: $ fastboot getvar cpu $ fastboot getvar secure $ fastboot getvar board_rev $ fastboot getvar userdata_size Those variables are needed for fastboot.sh script. Signed-off-by: Sam Protsenko --- board/ti/am57xx/board.c | 1 + 1 fi

[U-Boot] [PATCH 1/3] omap: Add routine for setting fastboot variables

2017-05-18 Thread Sam Protsenko
This patch reuses new option, which allows us to expose variables from environment to "fastboot getvar" command. Those variables must be of "fastboot.%s" format. Signed-off-by: Sam Protsenko --- arch/arm/include/asm/omap_common.h | 2 + arch/arm/mach-omap2/utils.c| 134

[U-Boot] [PATCH 3/3] arm: dra7: Set fastboot variables in environment

2017-05-18 Thread Sam Protsenko
One can obtain those variables using next commands: $ fastboot getvar cpu $ fastboot getvar secure $ fastboot getvar board_rev $ fastboot getvar userdata_size Those variables are needed for fastboot.sh script. Signed-off-by: Sam Protsenko --- board/ti/dra7xx/evm.c | 1 + 1 file

[U-Boot] RPi3 + arm64/ARMv8 USB Keyboard not detected

2017-05-18 Thread Jeff Forsyth
I have u-boot 2017.03 and 2017.05 detecting the keyboard in 32 bit mode. But in 64 bit mode the keyboard is never detected. Under the 32 bit mode, 4 items are detected using "usb tree". In 64 bit mode only 3 items are detected. I have tried "usb start" and "usb reset". Any suggestions would be

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

2017-05-18 Thread Manfred Schlaegl
On 2017-05-17 06:13, Lokesh Vutla wrote: > > > 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: Initi

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-05-18 Thread Tim Harvey
On Thu, May 18, 2017 at 2:12 AM, Stefano Babic wrote: > On 12/05/2017 21:58, Tim Harvey wrote: >> There is no dedicated reset signal wired up for the MX6QDL thus if the >> bootloader enables the link we need some special handling to get the core >> back into a state where it is safe to touch it fo

[U-Boot] litesom.c: Board stuff in SOC ?

2017-05-18 Thread Stefano Babic
Hi Marcin, even if it was already merged (and maybe I am guilty of it because I have not noted before), it is completely crazy that a board is stored inside the SOC directory. The litesom board is in fact in ./arch/arm/cpu/armv7/mx6/litesom.c, and there is nothing that justify this. The code has j

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-05-18 Thread Stefano Babic
Hi Tim, On 18/05/2017 16:22, Tim Harvey wrote: > On Thu, May 18, 2017 at 2:12 AM, Stefano Babic wrote: >> On 12/05/2017 21:58, Tim Harvey wrote: >>> There is no dedicated reset signal wired up for the MX6QDL thus if the >>> bootloader enables the link we need some special handling to get the core

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

2017-05-18 Thread Hector Palacios
Hi Fabio, On 05/17/2017 11:08 PM, Fabio Estevam wrote: > Hi Hector, > > On Wed, May 17, 2017 at 5:50 AM, Palacios, Hector > wrote: > >> The code is on Github [1] (well, not the dual-die DDR3 yet) but there isn't >> much to see for this issue other than: > > I looked at your code and I see: >

Re: [U-Boot] litesom.c: Board stuff in SOC ?

2017-05-18 Thread Marcin Niestroj
Hi Stefano, On 18.05.2017 16:28, Stefano Babic wrote: Hi Marcin, even if it was already merged (and maybe I am guilty of it because I have not noted before), it is completely crazy that a board is stored inside the SOC directory. The litesom board is in fact in ./arch/arm/cpu/armv7/mx6/litesom.

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

2017-05-18 Thread Lothar Waßmann
Manfred Schlaegl wrote: > On 2017-05-17 06:13, Lokesh Vutla wrote: > > > > > > 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.MX6

Re: [U-Boot] litesom.c: Board stuff in SOC ?

2017-05-18 Thread Stefano Babic
Hi Marcin, On 18/05/2017 16:57, Marcin Niestroj wrote: > Hi Stefano, > > On 18.05.2017 16:28, Stefano Babic wrote: >> Hi Marcin, >> >> even if it was already merged (and maybe I am guilty of it because I >> have not noted before), it is completely crazy that a board is stored >> inside the SOC di

[U-Boot] [PATCH BUGFIX] ColdFire: Remove rogue 'CONFIG_SYS_NO_FLASH' embedded within another CONFIG_ name

2017-05-18 Thread Lothar Waßmann
Hi, The original commit for the MCF54418TWR ColdFire development board support defined a 'CONFIG_SYS_FAULT_ECCONFIG_SYS_NO_FLASHHO_LINK_DOWN' which obviously has a rogue 'CONFIG_SYS_NO_FLASH' embedded in the intended 'CONFIG_SYS_FAULT_ECHO_LINK_DOWN' define. Signed-off-by: Lothar Waßmann --- in

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

2017-05-18 Thread Manfred Schlaegl
On 2017-05-18 16:59, Lothar Waßmann wrote: > Manfred Schlaegl wrote: > >> On 2017-05-17 06:13, Lokesh Vutla wrote: >>> >>> >>> 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 Schlae

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

2017-05-18 Thread Jagan Teki
On Thu, May 18, 2017 at 9:04 PM, Manfred Schlaegl wrote: > On 2017-05-18 16:59, Lothar Waßmann wrote: >> Manfred Schlaegl wrote: >> >>> On 2017-05-17 06:13, Lokesh Vutla wrote: On Tuesday 16 May 2017 07:59 PM, Manfred Schlaegl wrote: > On 2017-05-11 08:53, Lokesh Vutla wrote: >

Re: [U-Boot] [PATCH v6 02/21] mx6sabresd: README: Fix to add space on dd command

2017-05-18 Thread Jagan Teki
On Thu, May 18, 2017 at 5:47 PM, Fabio Estevam wrote: > On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: >> From: Jagan Teki >> >> Fix to give space between of and bs of dd command. >> >> Cc: Stefano Babic >> Cc: Michael Trimarchi >> Signed-off-by: Jagan Teki >> Reviewed-by: Fabio Estevam

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

2017-05-18 Thread Fabio Estevam
Hi Hector, On Thu, May 18, 2017 at 11:43 AM, Hector Palacios wrote: > In case I wasn't clear, I don't have any memory mapping problems. I have one > single > DDR chip, which internally uses two dies and two chip selects. Setting > CONFIG_NR_DRAM_BANKS to 1 (and full size) or 2 (and half size) i

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

2017-05-18 Thread Manfred Schlaegl
On 2017-05-18 17:37, Jagan Teki wrote: > On Thu, May 18, 2017 at 9:04 PM, Manfred Schlaegl > wrote: >> On 2017-05-18 16:59, Lothar Waßmann wrote: >>> Manfred Schlaegl wrote: >>> On 2017-05-17 06:13, Lokesh Vutla wrote: > > > On Tuesday 16 May 2017 07:59 PM, Manfred Schlaegl wrote

Re: [U-Boot] [PATCH 36/38] common: arm: davinci: Move header file out of common

2017-05-18 Thread Simon Glass
Hi Tom, On 17 May 2017 at 15:33, Tom Rini wrote: > On Wed, May 17, 2017 at 08:23:09AM -0600, Simon Glass wrote: > >> We should not have an arch-specific header file in common.h. Instead, use >> the asm/hardware.h header to provide the required declarations, and drop >> the common.h changes. >> >>

Re: [U-Boot] [PATCH 36/38] common: arm: davinci: Move header file out of common

2017-05-18 Thread Tom Rini
On Thu, May 18, 2017 at 09:55:41AM -0600, Simon Glass wrote: > Hi Tom, > > On 17 May 2017 at 15:33, Tom Rini wrote: > > On Wed, May 17, 2017 at 08:23:09AM -0600, Simon Glass wrote: > > > >> We should not have an arch-specific header file in common.h. Instead, use > >> the asm/hardware.h header to

Re: [U-Boot] [PATCH v3 9/9] dm: core: Adjust device_bind_common() to take an ofnode

2017-05-18 Thread sjg
This core function will need to work with a live tree also. Update it to accept an ofnode instead of an offset. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Cut the series down to only prepare the way for live tree - Drop all live tree changes - Adjust storage to avoid a c

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

2017-05-18 Thread sjg
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 and adjust existing code to move to this. Signed-off-by: Simon Glass --- Chang

  1   2   3   >