Re: [U-Boot] [PATCH 2/2] sunxi: Enable MMC new mode for A83T

2017-08-28 Thread Maxime Ripard
Hi Jagan, On Sat, Aug 26, 2017 at 12:11:23PM +0530, Jagan Teki wrote: > On Wed, Aug 23, 2017 at 3:33 PM, Maxime Ripard > wrote: > > The eMMC controller for the A83T uses the new operating mode. Enable it. > > > > Signed-off-by: Maxime Ripard > > Reviewed-by: Jagan Teki I think both these patc

Re: [U-Boot] [PATCH 1/4] part: efi: Fix offset

2017-08-28 Thread Maxime Ripard
Hi Tom, On Thu, Aug 24, 2017 at 09:05:06PM -0400, Tom Rini wrote: > On Wed, Aug 23, 2017 at 04:01:30PM +0200, Maxime Ripard wrote: > > > Both the config option and the DT options specify the offset to set the GPT > > at in bytes, yet the code treats those values as block numbers. > > > > Fix tha

Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd

2017-08-28 Thread Stefano Babic
Hi Jagan, Peng, Fabio, On 28/08/2017 08:45, Peng Fan wrote: > > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Monday, August 28, 2017 2:41 PM >> To: Peng Fan >> Cc: Stefano Babic ; u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH V2 02/12] arm:

Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd

2017-08-28 Thread Peng Fan
> -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Monday, August 28, 2017 3:07 PM > To: Peng Fan ; Jagan Teki > Cc: Stefano Babic ; u-boot@lists.denx.de; Fabio Estevam > > Subject: Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd > > Hi Jagan

Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd

2017-08-28 Thread Jagan Teki
Hi Stefano, On Mon, Aug 28, 2017 at 12:36 PM, Stefano Babic wrote: > Hi Jagan, Peng, Fabio, > > On 28/08/2017 08:45, Peng Fan wrote: >> >> >>> -Original Message- >>> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >>> Sent: Monday, August 28, 2017 2:41 PM >>> To: Peng Fan >>> Cc: Stef

[U-Boot] [PATCH V8 0/4] introduce Rockchip rockusb

2017-08-28 Thread Eddie Cai
Changes in v8: -rebase to v2017.09-rc2 -fix compile error Changes in v7: -use imply in the Kconfig to enable rockusb Changes in v6: -enable rockusb in defconfig -move some data to f_rockusb structure Changes in v5: -fix build erro

[U-Boot] [PATCH V8 1/4] usb: rockchip: add the rockusb gadget

2017-08-28 Thread Eddie Cai
this patch implement rockusb protocol on the device side. this is based on USB download gadget infrastructure. the rockusb function implements the rd, wl, rid commands. it can work with rkdeveloptool Signed-off-by: Eddie Cai Reviewed-by: Simon Glass Changes in v8:

[U-Boot] [PATCH V8 2/4] usb: rockchip: add rockusb command

2017-08-28 Thread Eddie Cai
this patch add rockusb command. the usage is rockusb e.g. rockusb 0 mmc 0 Signed-off-by: Eddie Cai Reviewed-by: Simon Glass Changes in v8: -none Changes in v7: -none Changes in v6: -none Changes in v5: -none Changes in v4:

[U-Boot] [PATCH V8 3/4] rockchip:usb: add a simple readme for rockusb

2017-08-28 Thread Eddie Cai
add a simple readme to introduce rockusb and tell people how to use it Signed-off-by: Eddie Cai Reviewed-by: Simon Glass Changes in v8: -none Changes in v7: -none Changes in v6: -none Changes in v5: -none Changes in v4: -add

[U-Boot] [PATCH V8 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-08-28 Thread Eddie Cai
this patch enable rockusb support on rk3288 based device. Signed-off-by: Eddie Cai Reviewed-by: Simon Glass Changes in v8: -fix compile error Changes in v7: -use imply in the Kconfig to enable rockusb Changes in v6: -enable roc

Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd

2017-08-28 Thread Stefano Babic
On 28/08/2017 09:20, Jagan Teki wrote: > Hi Stefano, > > On Mon, Aug 28, 2017 at 12:36 PM, Stefano Babic wrote: >> Hi Jagan, Peng, Fabio, >> >> On 28/08/2017 08:45, Peng Fan wrote: >>> >>> -Original Message- From: Jagan Teki [mailto:jagannadh.t...@gmail.com] Sent: Monday, A

Re: [U-Boot] [PATCH V2 01/12] scripts: spl: fix typo

2017-08-28 Thread Stefano Babic
On 28/08/2017 08:28, Peng Fan wrote: > Typo fix: CONIFG->CONFIG > > Signed-off-by: Peng Fan > Cc: Tom Rini > --- > > V2: none Just to reduce my confusion: this was V2 or V3 ? Regards, Stefano > > scripts/Makefile.uncmd_spl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

Re: [U-Boot] [PATCH V2 01/12] scripts: spl: fix typo

2017-08-28 Thread Peng Fan
> -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Monday, August 28, 2017 3:33 PM > To: Peng Fan ; sba...@denx.de > Cc: van.free...@gmail.com; u-boot@lists.denx.de; Tom Rini > > Subject: Re: [PATCH V2 01/12] scripts: spl: fix typo > > On 28/08/2017 08:28, Peng F

Re: [U-Boot] [PATCH] pico-imx7d: Add support for secure boot

2017-08-28 Thread Stefano Babic
Hi Vanessa, On 23/08/2017 18:16, Vanessa Ayumi Maegima wrote: > Hi Fabio, > > On Wed, Aug 23, 2017 at 11:11 AM, Fabio Estevam > wrote: > > Hi Vanessa, > > On Wed, Aug 23, 2017 at 11:05 AM, Vanessa Maegima > mailto:vanessa.maeg...@nxp.com>> wrote: > >

Re: [U-Boot] [PATCH V2 01/12] scripts: spl: fix typo

2017-08-28 Thread Stefano Babic
On 28/08/2017 09:36, Peng Fan wrote: > > >> -Original Message- >> From: Stefano Babic [mailto:sba...@denx.de] >> Sent: Monday, August 28, 2017 3:33 PM >> To: Peng Fan ; sba...@denx.de >> Cc: van.free...@gmail.com; u-boot@lists.denx.de; Tom Rini >> >> Subject: Re: [PATCH V2 01/12] scripts

[U-Boot] [PATCH V9 0/4] introduce Rockchip rockusb

2017-08-28 Thread Eddie Cai
Changes in v9: -rebase to the latest mainline -fix compile error Changes in v8: -rebase to v2017.09-rc2 -fix compile error Changes in v7: -use imply in the Kconfig t

[U-Boot] [PATCH V9 1/4] usb: rockchip: add the rockusb gadget

2017-08-28 Thread Eddie Cai
this patch implement rockusb protocol on the device side. this is based on USB download gadget infrastructure. the rockusb function implements the rd, wl, rid commands. it can work with rkdeveloptool Signed-off-by: Eddie Cai Reviewed-by: Simon Glass Changes in v9:

[U-Boot] [PATCH V9 2/4] usb: rockchip: add rockusb command

2017-08-28 Thread Eddie Cai
this patch add rockusb command. the usage is rockusb e.g. rockusb 0 mmc 0 Signed-off-by: Eddie Cai Reviewed-by: Simon Glass Changes in v9: -none Changes in v8:

[U-Boot] [PATCH V9 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-08-28 Thread Eddie Cai
this patch enable rockusb support on rk3288 based device. Signed-off-by: Eddie Cai Reviewed-by: Simon Glass Changes in v9: -fix compile error Changes in v8: -fix

[U-Boot] [PATCH V9 3/4] rockchip:usb: add a simple readme for rockusb

2017-08-28 Thread Eddie Cai
add a simple readme to introduce rockusb and tell people how to use it Signed-off-by: Eddie Cai Reviewed-by: Simon Glass Changes in v9: -none Changes in v8: -none

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-08-28 Thread Łukasz Majewski
On 08/28/2017 01:02 AM, Chaiken, Alison wrote: On 2017-05-31 01:12, Lukasz Majewski wrote: [ . . . ] And another request -> Could you consider adding tests for those new gpt commands to the 'sandbox' (sandbox_defconfig) ? Then you can 'mount' some gpt test image ('host' command) and use it wi

Re: [U-Boot] [PATCH 2/2] sunxi: Enable MMC new mode for A83T

2017-08-28 Thread Jagan Teki
On Mon, Aug 28, 2017 at 12:29 PM, Maxime Ripard wrote: > Hi Jagan, > > On Sat, Aug 26, 2017 at 12:11:23PM +0530, Jagan Teki wrote: >> On Wed, Aug 23, 2017 at 3:33 PM, Maxime Ripard >> wrote: >> > The eMMC controller for the A83T uses the new operating mode. Enable it. >> > >> > Signed-off-by: Max

Re: [U-Boot] [PATCH 2/2] sunxi: Enable MMC new mode for A83T

2017-08-28 Thread Chen-Yu Tsai
On Mon, Aug 28, 2017 at 4:05 PM, Jagan Teki wrote: > On Mon, Aug 28, 2017 at 12:29 PM, Maxime Ripard > wrote: >> Hi Jagan, >> >> On Sat, Aug 26, 2017 at 12:11:23PM +0530, Jagan Teki wrote: >>> On Wed, Aug 23, 2017 at 3:33 PM, Maxime Ripard >>> wrote: >>> > The eMMC controller for the A83T uses t

Re: [U-Boot] [PATCH 2/2] sunxi: Enable MMC new mode for A83T

2017-08-28 Thread Maxime Ripard
On Mon, Aug 28, 2017 at 04:12:15PM +0800, Chen-Yu Tsai wrote: > On Mon, Aug 28, 2017 at 4:05 PM, Jagan Teki wrote: > > On Mon, Aug 28, 2017 at 12:29 PM, Maxime Ripard > > wrote: > >> Hi Jagan, > >> > >> On Sat, Aug 26, 2017 at 12:11:23PM +0530, Jagan Teki wrote: > >>> On Wed, Aug 23, 2017 at 3:33

[U-Boot] [PATCH v3 1/5] Kconfig: drop CONFIG_USB_ETHER_DM9601

2017-08-28 Thread Chris Packham
This is not a valid option. Drop it. Signed-off-by: Chris Packham Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None include/configs/dragonboard410c.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/dragonboard410

[U-Boot] [PATCH v3 2/5] Kconfig: drop CONFIG_USB_ETHER_RNDIS

2017-08-28 Thread Chris Packham
This is not a valid option. Drop it. Signed-off-by: Chris Packham Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None include/configs/cl-som-am57x.h | 1 - include/configs/cm_t54.h | 1 - include/configs/omap3_beagle.h | 1 - include/configs/omap3_evm.h| 1 - includ

[U-Boot] [PATCH v3 5/5] usb: doc: update README.usb for new config options

2017-08-28 Thread Chris Packham
A number of the config options for USB networking have been migrated to Kconfig. Update README.usb to reflect this. Signed-off-by: Chris Packham --- Changes in v3: None Changes in v2: None doc/README.usb | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git

Re: [U-Boot] [PATCH 2/2] sunxi: Enable MMC new mode for A83T

2017-08-28 Thread Jagan Teki
On Mon, Aug 28, 2017 at 2:15 PM, Maxime Ripard wrote: > On Mon, Aug 28, 2017 at 04:12:15PM +0800, Chen-Yu Tsai wrote: >> On Mon, Aug 28, 2017 at 4:05 PM, Jagan Teki wrote: >> > On Mon, Aug 28, 2017 at 12:29 PM, Maxime Ripard >> > wrote: >> >> Hi Jagan, >> >> >> >> On Sat, Aug 26, 2017 at 12:11:2

[U-Boot] [PATCH] sunxi: bpi-m3: Enable eMMC

2017-08-28 Thread Jagan Teki
From: Jagan Teki Add CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to use eMMC on BPI_M3 board. Cc: Chen-Yu Tsai Cc: Maxime Ripard Signed-off-by: Jagan Teki Tested-by: Jagan Teki --- configs/Sinovoip_BPI_M3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Sinovoip_BPI_M3_defconfig b/c

Re: [U-Boot] [PATCH 2/2] sunxi: Enable MMC new mode for A83T

2017-08-28 Thread Maxime Ripard
On Mon, Aug 28, 2017 at 02:30:23PM +0530, Jagan Teki wrote: > On Mon, Aug 28, 2017 at 2:15 PM, Maxime Ripard > wrote: > > On Mon, Aug 28, 2017 at 04:12:15PM +0800, Chen-Yu Tsai wrote: > >> On Mon, Aug 28, 2017 at 4:05 PM, Jagan Teki > >> wrote: > >> > On Mon, Aug 28, 2017 at 12:29 PM, Maxime Rip

Re: [U-Boot] [PATCH 2/2] sunxi: Enable MMC new mode for A83T

2017-08-28 Thread Jagan Teki
On Mon, Aug 28, 2017 at 2:40 PM, Maxime Ripard wrote: > On Mon, Aug 28, 2017 at 02:30:23PM +0530, Jagan Teki wrote: >> On Mon, Aug 28, 2017 at 2:15 PM, Maxime Ripard >> wrote: >> > On Mon, Aug 28, 2017 at 04:12:15PM +0800, Chen-Yu Tsai wrote: >> >> On Mon, Aug 28, 2017 at 4:05 PM, Jagan Teki >>

[U-Boot] [PATCH] patman: add support for omitting bouncing addresses

2017-08-28 Thread Chris Packham
Add a --bounce-file option which can be used to omit addresses that are known to bounce. The option specifies a file which lists addresses (one per line) that are stripped from the Cc list. Signed-off-by: Chris Packham --- Here's a quick proof of concept. Right now the .bounces file has to match

[U-Boot] [PATCH v4 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-28 Thread Ran Wang
USB High Speed (HS) EYE Height Adjustment USB HS speed eye diagram fails with the default value at many corners, particularly at a high temperature Optimal eye at TXREFTUNE value to 0x9 is observed, change set the same value. Signed-off-by: Ran Wang --- Change in v4: Change 1001 to 0x9 i

[U-Boot] [PATCH v4 3/8] armv8: Add workaround for USB erratum A-008997

2017-08-28 Thread Ran Wang
Low Frequency Periodic Signaling(LFPS) Peak-to-Peak Differential Output Voltage Test Compliance fails using default transmitter settings Change config of transmitter signal swings by setting register PCSTXSWINGFULL to 0x47 to pass compliance tests. Signed-off-by: Sriram Dash Signed-off-by: Rajes

[U-Boot] [PATCH v4 8/8] armv7: Add workaround for USB erratum A-009007

2017-08-28 Thread Ran Wang
Rx Compliance tests may fail intermittently at high jitter frequencies using default register values Program register USB_PHY_RX_OVRD_IN_HI in certain sequence to make the Rx compliance test pass. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: Suresh Gupta Signed-off-by

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

2017-08-28 Thread Ran Wang
Rx Compliance tests may fail intermittently at high jitter frequencies using default register values. Program register USB_PHY_RX_OVRD_IN_HI in certain sequence to make the Rx compliance test pass. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: Suresh Gupta Signed-off-b

[U-Boot] [PATCH v4 2/8] armv8: Add workaround for USB erratum A-009798

2017-08-28 Thread Ran Wang
The default setting for USB High Speed Squelch Threshold results in a threshold close to or lower than 100mV. This leads to Receiver Compliance test failure for a 100mV threshold. Shift the threshold from ~100mV towards ~130mV by setting SQRXTUNE to 0x0 to pass USB High Speed Receiver Sensitivity

[U-Boot] [PATCH v4 6/8] armv7: Add workaround for USB erratum A-009798

2017-08-28 Thread Ran Wang
The default setting for USB High Speed Squelch Threshold results in a threshold close to or lower than 100mV. This leads to Receive Compliance test failure for a 100mV threshold. Shift the threshold from ~100mV towards ~130mV by setting SQRXTUNE to 0x0 to pass USB High Speed Receiver Sensitivity C

[U-Boot] [PATCH v4 5/8] armv7: Add workaround for USB erratum A-009008

2017-08-28 Thread Ran Wang
USB High Speed (HS) EYE Height Adjustment USB HS speed eye diagram fails with the default value at many corners, particularly at a high temperature Optimal eye at TXREFTUNE value to 0x9 is observed, change set the same value. Signed-off-by: Sriram Dash Signed-off-by: Suresh Gupta Signed-off-by:

[U-Boot] [PATCH v4 7/8] armv7: Add workaround for USB erratum A-008997

2017-08-28 Thread Ran Wang
Low Frequency Periodic Singaling (LFPS) Peak-to-Peak Differential Output Voltage Test Compliance fails using default transmitter settings Change config of transmitter signal swings by setting register PCSTXSWINGFULL to 0x47 to pass compliance tests. Signed-off-by: Sriram Dash Signed-off-by: Raje

Re: [U-Boot] [PATCH v2 3/4] usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig

2017-08-28 Thread Simon Glass
On 27 August 2017 at 03:44, Chris Packham wrote: > CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on > USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and > LAN78XX options under new menu. Finally update the defconfigs that need > CONFIG_USB_HOST_ETHER. > >

Re: [U-Boot] [RFC PATCH 0/4] usb: net: Migrate USB Ethernet to Kconfig

2017-08-28 Thread Łukasz Majewski
Hi Chris, I ran into a few problems running moveconfig.py mainly due to boards that include a common .h file. I'm not confident I've captured all the defconfigs that need CONFIG_USB_HOST_ETHER or one of the specific drivers. Is there a more fool-proof way of catching these cases? Needless to say

[U-Boot] [PATCH v3 0/5] usb: net: Migrate USB Ethernet to Kconfig

2017-08-28 Thread Chris Packham
I think the addition of the implies caught more of the -common.h cases so I'm happier with this version. There is still the chance that something has slipped through. Changes in v3: - rebase on top of u-boot-usb - add README.usb patch Changes in v2: - add imply USB_HOST_ETHER for X86 and TARGET_N

[U-Boot] [PATCH v3 3/5] usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig

2017-08-28 Thread Chris Packham
CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and LAN78XX options under new menu. Finally update the defconfigs that need CONFIG_USB_HOST_ETHER. Signed-off-by: Chris Packham Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v3 4/5] usb: net: migrate USB Ethernet adapters to Kconfig

2017-08-28 Thread Chris Packham
This migrates ASIX, ASIX88179, MCS7830, RTL8152 and SMSC95XX to Kconfig. Update defconfigs. Signed-off-by: Chris Packham --- Changes in v3: None Changes in v2: - add imply for TARGET_NITROGEN6X, ARCH_EXYNOS5 and X86 arch/Kconfig | 2 ++ arch/arm/mach-exyn

[U-Boot] [PATCH v3 0/7] Add VID support for QDS and RDB platforms

2017-08-28 Thread Rajesh Bhagat
Adds LTC3882 voltage regulator chip support in common VID driver. And adds VID support for LS1088A QDS and RDB platforms. Rajesh Bhagat (7): armv8: lsch3: Add serdes and DDR voltage setup board: common:vid: Add LS1088A VID Supported voltage values board: common: vid: Add board specific vdd a

[U-Boot] [PATCH v3 2/7] board: common:vid: Add LS1088A VID Supported voltage values

2017-08-28 Thread Rajesh Bhagat
Adds below voltage values supported by LS1088A Soc: 1.025 V(default), 0.9875V, 0.9750 V, 0.9V, 1.0 V, 1.0125 V, 1.0250 V Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- board/freescale/common/vid.c | 21 + 1 file changed, 21 insertions(+) diff --git a/board/fr

[U-Boot] [PATCH v3 1/7] armv8: lsch3: Add serdes and DDR voltage setup

2017-08-28 Thread Rajesh Bhagat
Adds SERDES voltage and reset SERDES lanes API and makes enable/disable DDR controller support 0.9V API common. Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- Changes in v3: Restructured LS1088A VID support to use common VID driver Cosmetic review comments fixed Added __iomem fo

[U-Boot] [PATCH v3 3/7] board: common: vid: Add board specific vdd adjust API

2017-08-28 Thread Rajesh Bhagat
Adds a board specific API namely board_adjust_vdd which is required to define the board VDD adjust settings. Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- board/freescale/common/vid.c | 13 + 1 file changed, 13 insertions(+) diff --git a/board/freescale/common/vid.c

[U-Boot] [PATCH v3 4/7] board: common: vid: Move IR chip specific code in flag

2017-08-28 Thread Rajesh Bhagat
Moves IR chip (IR36021) specific code in flag to resolve compilation issue where it is not present. For example, LS1088A is having a new LTC3882 voltage chip. Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- board/freescale/common/vid.c | 10 +- 1 file changed, 9 insertions(

[U-Boot] [PATCH v3 7/7] ls1088a: Add VID support for QDS and RDB platforms

2017-08-28 Thread Rajesh Bhagat
This patch adds the support for VID on LS1088AQDS and LS1088ARDB systems. It reads the fusesr register and changes the VDD accordingly by adjusting the voltage via LTC3882 regulator. This patch also takes care of the special case of 0.9V VDD is present in fusesr register. In that case,it also chan

[U-Boot] [PATCH v3 6/7] board: common: vid: Add support for LTC3882 voltage regulator chip

2017-08-28 Thread Rajesh Bhagat
Restructures common driver to support LTC3882 voltage regulator chip. Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- Changes in v3: Restructured LS1088A VID support to use common VID driver Added the coding for voltage in comments i.e. 1/4096V Removed APIs getLSB/MSB and used bi

[U-Boot] [PATCH v3 5/7] Kconfig: Add LTC3882 voltage regulator config

2017-08-28 Thread Rajesh Bhagat
Adds below LTC3882 voltage regulator config: CONFIG_VOL_MONITOR_LTC3882_READ CONFIG_VOL_MONITOR_LTC3882_SET Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- board/freescale/common/Kconfig | 16 1 file changed, 16 insertions(+) diff --git a/board/freescale/common/Kc

Re: [U-Boot] [PATCH] env: Fix operation of 'make environ'

2017-08-28 Thread Måns Rullgård
Simon Glass writes: > This was broken by the recent environment refactoring. Specifically: > > $ make environ > scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory > make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. > make: *** [Makefile:1469: environ]

Re: [U-Boot] [PATCH] env: Fix operation of 'make environ'

2017-08-28 Thread Tom Rini
On Mon, Aug 28, 2017 at 12:01:51PM +0100, Måns Rullgård wrote: > Simon Glass writes: > > > This was broken by the recent environment refactoring. Specifically: > > > > $ make environ > > scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory > > make[1]: *** No rule to make

Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd

2017-08-28 Thread Fabio Estevam
On Mon, Aug 28, 2017 at 4:06 AM, Stefano Babic wrote: > In my understanding, Jagan's series has still open coments from Joe > regarding phy-reset. I have not seen a new post, and I confess I have > then forgotten this series. I have not seen a review by Fabio, too, and > he's the maintainer for s

[U-Boot] [PATCH 2/2] i.MX6Q: icorem6: Add falcon mode

2017-08-28 Thread Jagan Teki
From: Jagan Teki Add Falcon mode support in Engicam i.CoreM6 board. Signed-off-by: Jagan Teki --- board/engicam/common/spl.c | 11 +++ configs/imx6qdl_icore_mmc_defconfig | 1 + include/configs/imx6-engicam.h | 14 ++ 3 files changed, 26 insertions(+) diff -

[U-Boot] [PATCH 1/2] i.MX6Q: spl: Fix falcon to use dram_init_banksize

2017-08-28 Thread Jagan Teki
From: Jagan Teki Memory dt node update introduced by spl_fixup_fdt() in below commit was making DDR configuration in-appropriate to boot falcon mode. Hence added dram_init_banksize for explicit assignment of proper base and size of DDR. "boot: fdt: Perform arch_fixup_fdt() on the given device t

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-08-28 Thread Tom Rini
On Mon, Aug 28, 2017 at 09:54:38AM +0200, Łukasz Majewski wrote: > On 08/28/2017 01:02 AM, Chaiken, Alison wrote: > >On 2017-05-31 01:12, Lukasz Majewski wrote: > > > >[ . . . ] > > > >>And another request -> Could you consider adding tests for those new > >>gpt commands to the 'sandbox' (sandbox_d

Re: [U-Boot] [PATCH v3] rpi: Enable USB keyboard support

2017-08-28 Thread Alexander Graf
> Am 26.08.2017 um 19:43 schrieb Simon Glass : > > This is currently disabled, so USB keyboards are not detected in U-Boot. > Enable this option to fix that. > > Signed-off-by: Simon Glass > Tested-by: Jonathan Gray > Reviewed-by: Bin Meng > Tested-by: Paul Barker When did the default beha

Re: [U-Boot] [U-Boot, 1/2] board: ti: am57xx: Add dt support for BeagleBoard-X15 revC

2017-08-28 Thread Tom Rini
On Wed, Aug 23, 2017 at 11:39:06AM +0530, Lokesh Vutla wrote: > Add support for selecting proper dtb for > am57xx BeagleBoard X15 revC u-boot from FIT > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini > --- > arch/arm/dts/Makefile | 1 + > board/ti/am57xx/board.c | 3 ++

Re: [U-Boot] [PATCH] spi: add "jedec,spi-nor" to spi_flash_std_ids

2017-08-28 Thread Jagan Teki
On Tue, Aug 8, 2017 at 10:27 AM, Chris Packham wrote: > "jedec,spi-nor" is used by Linux for many boards with spi flash. In fact > according to the binding documentation this must be included for any SPI > NOR flash that can be identified by the JEDEC READ ID opcode (0x9F). > Make device trees mor

[U-Boot] [PATCH] LS2080A_SECURE_BOOT: Enable CONFIG_FSL_LS_PPA.

2017-08-28 Thread Udit Agarwal
Add config CONFIG_FSL_LS_PPA and CONFIG_FSL_CAAM in LS2080AQDS and LS2080ARDB secure boot defconfig. Signed-off-by: Udit Agarwal --- configs/ls2080aqds_SECURE_BOOT_defconfig | 5 +++-- configs/ls2080ardb_SECURE_BOOT_defconfig | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --gi

[U-Boot] [PATCH] ARM: rmobile: Replace CONFIG_RAVB with CONFIG_RENESAS_RAVB in boards

2017-08-28 Thread Marek Vasut
The configuration option name is the later, so replace usage of CONFIG_RAVB in board files with CONFIG_RENESAS_RAVB , otherwise the RAVB pinmux is not set and ethernet does not work. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 2 +- board/renesas

[U-Boot] [PATCH] ARM: rmobile: Add missing IPSR18 bits to R8A7795 PFC

2017-08-28 Thread Marek Vasut
The IPSR18 register bits were missing from the R8A7795 ES2.0+ PFC tables, which triggered a BUG() in sh_pfc driver. This is because of an out-of-bounds access to the pinmux_gpios[] array in the PFC tables, which was too short due to the missing IPSR18 bits. Signed-off-by: Marek Vasut Cc: Nobuhiro

[U-Boot] [PATCH] ARM: rmobile: Drop board_mmc_init

2017-08-28 Thread Marek Vasut
The board_mmc_init() is no longer invoked when DM is used, so move all the pinmux config into board_init() instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 9 ++--- board/renesas/ulcb/ulcb.c | 9 ++--- 2 files changed, 4 i

[U-Boot] [PATCH] serial: serial_sh: take into account port->clk_mode for SH7785/7786

2017-08-28 Thread Thomas Petazzoni
In the SH7785/SH7786 case, the SCSCR value is harcoded to be 0x3a, which means bits CKE1/CKE0 have the value 10b. This tells the SCIF that the "External clock/SCIF_SCK pin functions as clock input". However, this is not the case in all designs, and it's the purpose of the clk_mode = EXT_CLK to ind

[U-Boot] I/O accessors on SuperH and endianness

2017-08-28 Thread Thomas Petazzoni
Hello, As you've noticed, I'm porting U-Boot to a SH4 board running big-endian. The big-endian choice cannot be changed, because it's selected by the HW design: moving to little endian would require a modification of the board. The serial_sh driver was working fine in big endian, with no change.

Re: [U-Boot] [RFC] ARM: davinci: da850: Enable Caches for DA850-EVM

2017-08-28 Thread Adam Ford
On Sun, Aug 27, 2017 at 5:39 PM, Adam Ford wrote: > What starting up the DA850-EVM, U-Boot generates a warning: >WARNING: Caches not enabled > > Looking at other arm926 processors, this is an attempt > to enable the caches and remove the warning. > > I am notsure who the proper TI or ARM peopl

Re: [U-Boot] [PATCH v2 08/10] config: sandbox: Add unit tests

2017-08-28 Thread Pantelis Antoniou
Hi Simon, On Sat, 2017-08-26 at 07:37 -0600, Simon Glass wrote: > On 11 August 2017 at 02:52, Pantelis Antoniou > wrote: > > Add unit tests for sandbox default config. > > > > Signed-off-by: Pantelis Antoniou > > --- > > configs/sandbox_defconfig | 2 ++ > > 1 file changed, 2 insertions(+) > >

[U-Boot] [PATCH] ARM: uniphier: fix DSPLL init code for LD20 SoC

2017-08-28 Thread Masahiro Yamada
From: Dai Okamura Signed-off-by: Dai Okamura Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/pll-base-ld20.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-uniphier/clk/pll-base-ld20.c b/arch/arm/mach-uniphier/clk/pll-base-ld20.c index 6

[U-Boot] [PATCH 1/2] imx: timer: don't clear the GPT control register multiple times

2017-08-28 Thread Anatolij Gustschin
There is no need to clear the control register 100 times in a loop, a single zero write clears the register. I didn't find any justification why clearing this register in a loop is needed (no info in i.MX6 errata or GPT timer linux driver, linux driver uses single write to clear this control regist

[U-Boot] [PATCH 2/2] spl: do not repeat timer init on i.MX6

2017-08-28 Thread Anatolij Gustschin
The GPT timer was already initialised in board_init_f() as it is needed in dram init. Do not repeat timer init in board_init_r(). Signed-off-by: Anatolij Gustschin --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index d

[U-Boot] [PATCH] imx6: don't include unneeded boot_mode array in SPL

2017-08-28 Thread Anatolij Gustschin
The soc_boot_modes array is only used by bmode command and not needed in SPL. Don't include it into SPL. Signed-off-by: Anatolij Gustschin --- arch/arm/mach-imx/mx6/soc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c index 9ede1f5

[U-Boot] [PATCH] lib: disable hashtable and display options code in SPL

2017-08-28 Thread Anatolij Gustschin
We do not need hashtable code in SPL when building without environment support. Also display options code is not used in current SPL configuration and can be disabled. Signed-off-by: Anatolij Gustschin --- lib/Makefile | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib

[U-Boot] [PATCH] lib: don't build regex support into SPL when not using environment

2017-08-28 Thread Anatolij Gustschin
regex code is not used in SPL when environment support is disabled, so do not include this code to reduce SPL size. Signed-off-by: Anatolij Gustschin --- lib/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Makefile b/lib/Makefile index 1ffa455..b0850a1 100644 --- a/lib/Makefi

Re: [U-Boot] [PATCH] net: macb: Add support for Xilinx Zynq SoC

2017-08-28 Thread Joe Hershberger
On Tue, Aug 22, 2017 at 10:25 PM, Wilson Lee wrote: > Although Xilinx Zynq SoC was using MACB similar hardware. However, > U-boot MACB driver was not supporting Xilinx Zynq SoC. This patch is > to add support for the Xilinx Zynq SoC to the existing MACB network > driver. > > This patch is to add Z

Re: [U-Boot] [PATCH v2 2/4] Kconfig: drop CONFIG_USB_ETHER_RNDIS

2017-08-28 Thread Joe Hershberger
On Sun, Aug 27, 2017 at 4:44 AM, Chris Packham wrote: > This is not a valid option. Drop it. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/l

Re: [U-Boot] [PATCH v2 1/4] Kconfig: drop CONFIG_USB_ETHER_DM9601

2017-08-28 Thread Joe Hershberger
On Sun, Aug 27, 2017 at 4:44 AM, Chris Packham wrote: > This is not a valid option. Drop it. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/l

Re: [U-Boot] [PATCH] imx6: don't include unneeded boot_mode array in SPL

2017-08-28 Thread Stefano Babic
On 28/08/2017 17:51, Anatolij Gustschin wrote: > The soc_boot_modes array is only used by bmode command > and not needed in SPL. Don't include it into SPL. > > Signed-off-by: Anatolij Gustschin > --- > arch/arm/mach-imx/mx6/soc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/a

[U-Boot] [PATCH] clk: uniphier: add System clock support

2017-08-28 Thread Masahiro Yamada
Support system clocks for LD4, Pro4, sLD8, Pro5, PXs2/LD6b, LD11, LD20. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/Makefile| 1 + drivers/clk/uniphier/clk-uniphier-core.c | 30 drivers/clk/uniphier/clk-uniphier-sys.c | 34 +

Re: [U-Boot] [PATCH 2/2] spl: do not repeat timer init on i.MX6

2017-08-28 Thread Stefano Babic
On 28/08/2017 17:46, Anatolij Gustschin wrote: > The GPT timer was already initialised in board_init_f() as > it is needed in dram init. Do not repeat timer init in > board_init_r(). > > Signed-off-by: Anatolij Gustschin > --- > common/spl/spl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [U-Boot] [PATCH 1/2] imx: timer: don't clear the GPT control register multiple times

2017-08-28 Thread Stefano Babic
On 28/08/2017 17:46, Anatolij Gustschin wrote: > There is no need to clear the control register 100 times in a > loop, a single zero write clears the register. I didn't find any > justification why clearing this register in a loop is needed > (no info in i.MX6 errata or GPT timer linux driver, linu

Re: [U-Boot] [PATCH] env: Fix operation of 'make environ'

2017-08-28 Thread Joe Hershberger
On Mon, Aug 28, 2017 at 6:13 AM, Tom Rini wrote: > On Mon, Aug 28, 2017 at 12:01:51PM +0100, Måns Rullgård wrote: >> Simon Glass writes: >> >> > This was broken by the recent environment refactoring. Specifically: >> > >> > $ make environ >> > scripts/Makefile.build:59: tools/environ/Makefile: N

Re: [U-Boot] [PATCH] common: console: Fix duplicated CONFIG in silent env callback

2017-08-28 Thread Joe Hershberger
On Fri, Aug 25, 2017 at 2:06 AM, Wilson Lee wrote: > The silent environment callback function does not update the silent > flag during silent env set or unset. That is because of duplicated > CONFIG keyword at preprocessor condition in silent environment > callback function and cause silent env ca

[U-Boot] Reg UBoot ITB Image Support for Sunxi Cortex A53 Family SOCS

2017-08-28 Thread Chakra D
Hi all, I'm trying to build ITB image for sunxi banana Pi M64 image in Buildroot. I'm facing issues with ITB format Uboot build. As per the readme file "board/sunxi/README.sunxi64", we need to build the bl31.bin image before uboot and pass the path of image as BL31 variable to UBOOT. Is there an

Re: [U-Boot] [PATCH] video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before

2017-08-28 Thread Fabio Estevam
Hi Anatolij, On Fri, Aug 25, 2017 at 10:10 AM, Anatolij Gustschin wrote: > void ipuv3_fb_shutdown(void) > { > - int i; > + struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR; > struct ipu_stat *stat = (struct ipu_stat *)IPU_STAT; > + u32 reg; > +

Re: [U-Boot] [PATCH V2 10/12] board: freescale: common: add pfuze dm code

2017-08-28 Thread York Sun
On 08/27/2017 11:30 PM, Peng Fan wrote: > Add pfuze dm code, this code does the same thing as pfuze.c, but > only effects when CONFIG_$(SPL_)DM_PMIC_PFUZE100 enabled. > > Signed-off-by: Peng Fan > Cc: York Sun > Cc: Jaehoon Chung > Cc: Stefano Babic > --- > > V2: none > > board/freescale/c

Re: [U-Boot] [PATCH] imx: mx7: Add support for USB boot mode

2017-08-28 Thread Troy Kisky
On 8/27/2017 3:04 PM, Eric Nelson wrote: > This adds support for USB boot mode on the i.MX7D SoC, which > is most useful when doing U-Boot development on this chip. > > i.e., it enables you to enter the ROM boot loader's serial > download protocol using the command: > > => bmode usb > > Signed-o

Re: [U-Boot] [U-Boot, 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-08-28 Thread York Sun
On 08/26/2017 04:50 AM, Jagan Teki wrote: > On Thu, Aug 3, 2017 at 1:02 AM, Tom Rini wrote: >> On Wed, Aug 02, 2017 at 07:10:51PM +, York Sun wrote: >>> On 04/18/2017 04:57 AM, B, Ravi wrote: In single stage bootmode or falcon boot mode, the SPL shall update the memory dt nodes

[U-Boot] FSL PCIe LTSSM >= PCI_LTSSM_L0 equals link up

2017-08-28 Thread Joakim Tjernlund
FSL PCIe controller drivers before REV 3 has this test for link up: enabled = ltssm >= PCI_LTSSM_L0; We have a PCIe dev. that stays in LTSSM=0x51 (Polling Compliance) when non ready for PCI transaktions. When FSL PCIe controller tries to access this device, it hangs forever. Is LTSSM=0x51 real

Re: [U-Boot] [PATCH] video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before

2017-08-28 Thread Stefano Babic
Hi Anatolji, On 25/08/2017 15:10, Anatolij Gustschin wrote: > Boards can skip display interface init using board_video_skip(). > If display interface was not initialized (e.g. no ipuv3 framebuffer > registered or IPU clock disabled), booting Linux stops due to the > crash in IPU shutdown function,

[U-Boot] [PATCH 1/1] efi_loader: bootefi hello should use loadaddr

2017-08-28 Thread Heinrich Schuchardt
Command 'bootefi hello' currently uses CONFIG_SYS_LOAD_ADDR as loading address. qemu machines have by default 128 MiB RAM. CONFIG_SYS_LOAD_ADDR for x86 is 0x2000 (512 MiB). This causes 'bootefi hello' to fail. We should use the environment variable loadaddr if available. It defaults to 0x1000

Re: [U-Boot] FSL PCIe LTSSM >= PCI_LTSSM_L0 equals link up

2017-08-28 Thread York Sun
On 08/28/2017 09:48 AM, Joakim Tjernlund wrote: > FSL PCIe controller drivers before REV 3 has this test for link up: >enabled = ltssm >= PCI_LTSSM_L0; > > We have a PCIe dev. that stays in LTSSM=0x51 (Polling Compliance) when non > ready > for PCI transaktions. When FSL PCIe controller tries

[U-Boot] [PATCH] rk3288: Add Vyasa initial board support

2017-08-28 Thread Jagan Teki
From: Jagan Teki This patch adds support for Vyasa RK3288 initial board from Amarula. Boot from SDMMC: --- U-Boot SPL 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45) Trying to boot from MMC1 U-Boot 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45 +0530) Model: Ama

[U-Boot] [PATCH v2] rk3288: Add Vyasa initial board support

2017-08-28 Thread Jagan Teki
From: Jagan Teki This patch adds support for Vyasa RK3288 initial board from Amarula. Boot from SDMMC: --- U-Boot SPL 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45) Trying to boot from MMC1 U-Boot 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45 +0530) Model: Ama

[U-Boot] [PATCH 0/3] rk3288: Falcon mode support

2017-08-28 Thread Jagan Teki
From: Jagan Teki This series add falcon mode support on vyasa rk3288. Jagan Teki (3): rk3288: vyasa: Add TPL support rk3288: vyasa: Add falcon mode support rk3288: spl: Add dram_init_banksize arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk3288-board-spl.c |

[U-Boot] [PATCH 2/3] rk3288: vyasa: Add falcon mode support

2017-08-28 Thread Jagan Teki
From: Jagan Teki Add Falcon mode support in vyasa rk3288 board. Signed-off-by: Jagan Teki --- board/amarula/vyasa-rk3288/vyasa-rk3288.c | 13 + include/configs/vyasa-rk3288.h| 17 + 2 files changed, 30 insertions(+) diff --git a/board/amarula/vyasa-rk32

[U-Boot] [PATCH 1/3] rk3288: vyasa: Add TPL support

2017-08-28 Thread Jagan Teki
From: Jagan Teki Since the size of SPL can't be exceeded 0x8000 bytes in RK3288, it is not possible add new SPL features like Falcon mode or etc. So add TPL stage so-that adding new features to SPL is possible. - TPL: DRAM init, clocks - SPL: MMC, falcon, etc Booting from SD with TPL: -

[U-Boot] [PATCH 3/3] rk3288: spl: Add dram_init_banksize

2017-08-28 Thread Jagan Teki
From: Jagan Teki Falcon mode, is updating DDR dt node configuration through spl_fixup_fdt() so add appropriate DDR base and size through dram_init_banksize. Signed-off-by: Jagan Teki --- arch/arm/mach-rockchip/rk3288-board-spl.c | 17 + 1 file changed, 17 insertions(+) diff --

  1   2   >