[U-Boot] [PATCH 4/4] arm: dra76: fastboot: extend cpu type for getvar command

2017-10-12 Thread Praneeth Bajjuri
'commit fa24eca1f20a ("omap: Add routine for setting fastboot variables")' adds initial support and usage of "fastboot getvar" command for DRA75x and DRA72x devices. and 'commit 0f9e6aee9dbc ("arm: dra76: Add support for ES1.0 detection")' adds initial dra76 device definition This patch is to

[U-Boot] [PATCH 1/4] arm: am57xx: Add vendor partition to Android GPT table for eMMC

2017-10-12 Thread Praneeth Bajjuri
Add vendor partition to Android GPT table for eMMC. A Vendor image contains SoC-specific code and configuration. Prior to Android 8.0, the vendor partition was optional ; files belonging to these images were placed in boot.img or system.img with symlinks (such as /vendor >/system/vendor ) when

[U-Boot] [PATCH 3/4] omap-common: fastboot: extend cpu type for DRA71x rev 2.1

2017-10-12 Thread Praneeth Bajjuri
From: Vishal Mahaveer DRA71x processors are reduced pin and software compatible derivative of DRA72 processors. Extend support for this revision in "getvar cpu" command. Signed-off-by: Vishal Mahaveer [prane...@ti.com: rebase to u-boot master] Signed-off-by:

[U-Boot] [PATCH 2/4] arm: dra7xx: Add vendor partition to Android GPT table for eMMC

2017-10-12 Thread Praneeth Bajjuri
From: Vishal Mahaveer Add vendor partition to Android GPT table for eMMC. A Vendor image contains SoC-specific code and configuration. Prior to Android 8.0, the vendor partition was optional ; files belonging to these images were placed in boot.img or system.img with symlinks

Re: [U-Boot] [PATCH] spi: kirkwood_spi: implement workaround for FE-9144572

2017-10-12 Thread Chris Packham
On Fri, Oct 13, 2017 at 2:05 PM, Chris Packham wrote: > Erratum NO. FE-9144572: The device SPI interface supports frequencies of > up to 50 MHz. However, due to this erratum, when the device core clock > is 250 MHz and the SPI interfaces is configured for 50MHz SPI clock

Re: [U-Boot] [PATCH 07/11] efi_loader: fix events

2017-10-12 Thread Heinrich Schuchardt
On 10/10/2017 02:23 PM, Rob Clark wrote: An event can be created with type==0, Shell.efi does this for an event that is set when Ctrl-C is typed. So our current approach of having a fixed set of timer slots, and determining which slots are unused by type==0 doesn't work so well. But we don't

Re: [U-Boot] [PATCH] power: extend prefix match to regulator-name property

2017-10-12 Thread Felix Brack
On 12.10.2017 04:46, Chen-Yu Tsai wrote: > On Mon, Oct 9, 2017 at 6:04 PM, Felix Brack wrote: >> This patch extends pmic_bind_children prefix matching. In addition to >> the node name the property regulator-name is used while trying to match >> prefixes. This allows assigning

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Heinrich Schuchardt
On 10/12/2017 02:48 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 3:15 AM, Alexander Graf wrote: On 12.10.17 00:07, Rob Clark wrote: On Wed, Oct 11, 2017 at 10:45 AM, Alexander Graf wrote: On 10.10.17 14:23, Rob Clark wrote: In some cases, it is quite

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Alexander Graf
On 10/12/2017 02:48 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 3:15 AM, Alexander Graf wrote: On 12.10.17 00:07, Rob Clark wrote: On Wed, Oct 11, 2017 at 10:45 AM, Alexander Graf wrote: On 10.10.17 14:23, Rob Clark wrote: In some cases, it is quite useful

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Rob Clark
On Thu, Oct 12, 2017 at 9:05 AM, Heinrich Schuchardt wrote: > > > On 10/12/2017 02:48 PM, Rob Clark wrote: >> >> On Thu, Oct 12, 2017 at 3:15 AM, Alexander Graf wrote: >>> >>> >>> >>> On 12.10.17 00:07, Rob Clark wrote: On Wed, Oct 11, 2017 at 10:45

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Rob Clark
On Thu, Oct 12, 2017 at 9:11 AM, Alexander Graf wrote: > On 10/12/2017 02:48 PM, Rob Clark wrote: >> >> On Thu, Oct 12, 2017 at 3:15 AM, Alexander Graf wrote: >>> >>> >>> On 12.10.17 00:07, Rob Clark wrote: On Wed, Oct 11, 2017 at 10:45 AM, Alexander Graf

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Mark Kettenis
> From: Rob Clark > Date: Thu, 12 Oct 2017 08:48:39 -0400 > > On Thu, Oct 12, 2017 at 3:15 AM, Alexander Graf wrote: > > > > > > On 12.10.17 00:07, Rob Clark wrote: > >> On Wed, Oct 11, 2017 at 10:45 AM, Alexander Graf wrote: > >>> > >>> > >>>

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Alexander Graf
On 10/12/2017 03:40 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 9:05 AM, Heinrich Schuchardt wrote: On 10/12/2017 02:48 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 3:15 AM, Alexander Graf wrote: On 12.10.17 00:07, Rob Clark wrote: On Wed, Oct 11,

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Rob Clark
On Thu, Oct 12, 2017 at 9:44 AM, Mark Kettenis wrote: >> From: Rob Clark >> Date: Thu, 12 Oct 2017 08:48:39 -0400 >> >> On Thu, Oct 12, 2017 at 3:15 AM, Alexander Graf wrote: >> > >> > >> > On 12.10.17 00:07, Rob Clark wrote: >> >> On

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Rob Clark
On Thu, Oct 12, 2017 at 9:50 AM, Alexander Graf wrote: > On 10/12/2017 03:40 PM, Rob Clark wrote: >> >> On Thu, Oct 12, 2017 at 9:05 AM, Heinrich Schuchardt >> wrote: >>> >>> >>> On 10/12/2017 02:48 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 3:15

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Alexander Graf
On 10/12/2017 04:28 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 9:50 AM, Alexander Graf wrote: On 10/12/2017 03:40 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 9:05 AM, Heinrich Schuchardt wrote: On 10/12/2017 02:48 PM, Rob Clark wrote: On Thu, Oct 12,

[U-Boot] [PATCH v2 1/2] icore: configs: Fix merge conflict issue

2017-10-12 Thread Jagan Teki
Fix for finding mmc devices on i.MX6Q icore boards added in below comment "icorem6: Fix to find MMC devices" (sha1: a2b137b38d925df91afef52f5122927de024f81a) which is reverted in during u-boot-imx merge " Merge git://git.denx.de/u-boot-imx" (sha1: 6aee2ab68c362ace5a59f89a63abed82e0bf19e5) This

[U-Boot] [PATCH v2 2/2] icorem6_rqs: env: Return mmc devno

2017-10-12 Thread Jagan Teki
Instead of changing mmc devno from dts nodes better to return the detected devno so-that env trigger the same. Signed-off-by: Jagan Teki --- Changes for v2: - None board/engicam/icorem6_rqs/icorem6_rqs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-10-12 Thread York Sun
Tom, The following changes since commit 39dd65a059e503883dbf16d4c00ac083d15837da: sandbox: Enable btrfs support (2017-10-03 08:44:55 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to

Re: [U-Boot] [U-Boot, 10/11] efi_loader: Add mem-mapped for fallback

2017-10-12 Thread Alexander Graf
> When we don't have a real device/image path, such as 'bootefi hello', > construct a mem-mapped device-path. > > This fixes 'bootefi hello' after devicepath refactoring. > > Fixes: 95c5553ea2 ("efi_loader: refactor boot device and loaded_image > handling") > Signed-off-by: Rob Clark

Re: [U-Boot] [U-Boot, 05/11] efi_loader: console support for color attributes

2017-10-12 Thread Alexander Graf
> Shell.efi uses this, and supporting color attributes makes things look > nicer. Map the EFI fg/bg color attributes to ANSI escape sequences. > Not all colors have a perfect match, but spec just says "Devices > supporting a different number of text colors are required to emulate the > above

Re: [U-Boot] [PATCH] power: extend prefix match to regulator-name property

2017-10-12 Thread Felix Brack
On 12.10.2017 14:53, Chen-Yu Tsai wrote: > On Thu, Oct 12, 2017 at 8:24 PM, Felix Brack wrote: >> On 12.10.2017 04:46, Chen-Yu Tsai wrote: >>> On Mon, Oct 9, 2017 at 6:04 PM, Felix Brack wrote: This patch extends pmic_bind_children prefix matching. In addition to

Re: [U-Boot] [PATCH v2 2/2] icorem6_rqs: env: Return mmc devno

2017-10-12 Thread Stefano Babic
On 12/10/2017 16:44, Jagan Teki wrote: > Instead of changing mmc devno from dts nodes better > to return the detected devno so-that env trigger the same. > > Signed-off-by: Jagan Teki > --- > Changes for v2: > - None > > board/engicam/icorem6_rqs/icorem6_rqs.c | 3

[U-Boot] Rebase on u-boot-imx !

2017-10-12 Thread Stefano Babic
Hi iMXers, I was preparing to send my PR to Tom, but the request pull reveals that something went wrong. A lot of files not related to iMX was part of PR. I have tried to find the reason, but no way. I have then rebased u-boot-imx on Tom's (but not yet pushed to server), and applied all patches.

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Mark Kettenis
> From: Rob Clark > Date: Thu, 12 Oct 2017 10:28:43 -0400 > > On Thu, Oct 12, 2017 at 9:50 AM, Alexander Graf wrote: > > On 10/12/2017 03:40 PM, Rob Clark wrote: > >> > >> On Thu, Oct 12, 2017 at 9:05 AM, Heinrich Schuchardt > >> wrote: >

Re: [U-Boot] [PATCH V2] ARM: imx6: Add DHCOM i.MX6 PDK board support

2017-10-12 Thread Stefano Babic
On 09/10/2017 21:51, Marek Vasut wrote: > Add support for the DHCOM i.MX6 PDK board. This board has: > - FEC ethernet > - EHCI USB host > - 3x SDMMC > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > --- > V2: Use get_cpu_type() and imx_get_mac_from_fuse() > ---

Re: [U-Boot] [PATCH] imx: mx7: spl: remove redundant SATA definitionas

2017-10-12 Thread Stefano Babic
On 10/10/2017 08:13, Uri Mashiach wrote: > The i.MX7 SOC doesn't include the SATA interface. > > Signed-off-by: Uri Mashiach > --- > include/configs/imx7_spl.h | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/include/configs/imx7_spl.h

Re: [U-Boot] [PATCH 2/2] mx6: sys_proto: Add prototypes for imx6_pcie_toggle() functions

2017-10-12 Thread Stefano Babic
On 05/10/2017 14:15, Diego Dorta wrote: > When compiling with W=1 errors are observed: > > drivers/pci/pcie_imx.c:517:12: warning: no previous prototype for > ‘imx6_pcie_toggle_power’ [-Wmissing-prototypes] __weak int > imx6_pcie_toggle_power(void) > > drivers/pci/pcie_imx.c:528:12: warning:

Re: [U-Boot] [PATCH 1/2] mx6: clock: Add a prototype for do_mx6_showclocks()

2017-10-12 Thread Stefano Babic
On 05/10/2017 14:15, Diego Dorta wrote: > When compiling with W=1 the following warning is observed: > > arch/arm/mach-imx/mx6/clock.c:1268:5: warning: no previous prototype for > ‘do_mx6_showclocks’ [-Wmissing-prototypes] int do_mx6_showclocks(cmd_tbl_t > *cmdtp, int flag, int argc, char *

Re: [U-Boot] [PATCH] i.mx6ul: xpress: update UART init for current board revision

2017-10-12 Thread Stefano Babic
On 02/10/2017 21:32, Anatolij Gustschin wrote: > UART pinmux has been changed on the last board revision. Change > board pinmux accordingly. Console is on UART7 now, add pinmux, > base address and update console string in environment. > > Signed-off-by: Anatolij Gustschin > ---

Re: [U-Boot] [PATCH] mx6slevk: Use PARTUUID to specify the rootfs location

2017-10-12 Thread Stefano Babic
On 02/10/2017 15:11, Fabio Estevam wrote: > From: Fabio Estevam > > mx6slevk can run different kernel versions, such as NXP 4.1 or mainline. > > Currently the rootfs location is passed via mmcblk number and the > problem with this approach is that the mmcblk number

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

2017-10-12 Thread Stefano Babic
On 05/10/2017 13:46, Fabio Estevam wrote: > From: Sven-Ola Tuecke > > We have at least a minor count of boards, that failed to re-initialize > PCI express in the Linux kernel. Typical failure rate is 20% on affected > boards. This is mitigated by commit

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Alexander Graf
Am 12.10.2017 um 18:00 schrieb Mark Kettenis : >> From: Rob Clark >> Date: Thu, 12 Oct 2017 10:28:43 -0400 >> >>> On Thu, Oct 12, 2017 at 9:50 AM, Alexander Graf wrote: On 10/12/2017 03:40 PM, Rob Clark wrote: On

Re: [U-Boot] [PATCH] mx6slevk: Fix MMC breakage for the SPL target

2017-10-12 Thread Fabio Estevam
Hi Stefano, On Sun, Oct 1, 2017 at 4:23 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Commit 001cdbbb32ef1f6 ("imx: mx6slevk: enable more DM drivers") breaks > MMC support in U-Boot proper on the mx6slevk_spl_defconfig target: > > U-Boot SPL

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

2017-10-12 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 1b22c5ba496ffc9b0702919d58c410ed1527ab63: Merge git://git.denx.de/u-boot-i2c (2017-10-11 08:38:20 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for you to fetch

Re: [U-Boot] [PATCH V2] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-12 Thread Tom Rini
On Wed, Oct 11, 2017 at 06:17:12PM -0400, Tom Rini wrote: > On Wed, Oct 11, 2017 at 07:07:04PM -0300, Fabio Estevam wrote: > > On Wed, Oct 11, 2017 at 6:55 PM, Tom Rini wrote: > > > > > Yes, I think that's it, along with removing the default y if DM_MMC from > > > the BLK

[U-Boot] 'filesize' env var - making U-Boot command more scriptable?

2017-10-12 Thread Tim Harvey
Greetings, Various U-Boot commands that deal with files/blobs end up setting the 'filesize' env variable to be used for subsequent commands which is very handy. I haven't found this documented anywhere but a scan of the code looks like this is done by

Re: [U-Boot] [PATCH] mx6slevk: Fix MMC breakage for the SPL target

2017-10-12 Thread Stefano Babic
Hi Fabio, On 12/10/2017 18:27, Fabio Estevam wrote: > Hi Stefano, > > On Sun, Oct 1, 2017 at 4:23 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Commit 001cdbbb32ef1f6 ("imx: mx6slevk: enable more DM drivers") breaks >> MMC support in U-Boot

Re: [U-Boot] [PATCH V2] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-12 Thread Fabio Estevam
Tom, On Thu, Oct 12, 2017 at 1:33 PM, Tom Rini wrote: > OK, disregard what I had been saying. At this point, it's a matter of > correcting and testing boards to have either DM_MMC (and DM_USB and BLK) > on, or having DM_MMC off (because they want USB gadget support). Here

Re: [U-Boot] [PATCH V2] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 03:35:38PM -0300, Fabio Estevam wrote: > Tom, > > On Thu, Oct 12, 2017 at 1:33 PM, Tom Rini wrote: > > > OK, disregard what I had been saying. At this point, it's a matter of > > correcting and testing boards to have either DM_MMC (and DM_USB and

Re: [U-Boot] [PATCH V2] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-12 Thread Fabio Estevam
On Thu, Oct 12, 2017 at 3:38 PM, Tom Rini wrote: > Yes, just work on the imx* targets. For am33xx/am43xx/am57xx we don't > want to swap things around as we then get rid of USB gadget support. > It's a bit tricky atm to get all cases covered as, iirc, there's > something

Re: [U-Boot] [PATCH V2] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 03:39:56PM -0300, Fabio Estevam wrote: > On Thu, Oct 12, 2017 at 3:38 PM, Tom Rini wrote: > > > Yes, just work on the imx* targets. For am33xx/am43xx/am57xx we don't > > want to swap things around as we then get rid of USB gadget support. > > It's a

Re: [U-Boot] [PATCH] mx6slevk: Use PARTUUID to specify the rootfs location

2017-10-12 Thread Tom Rini
On Mon, Oct 02, 2017 at 10:11:37AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > mx6slevk can run different kernel versions, such as NXP 4.1 or mainline. > > Currently the rootfs location is passed via mmcblk number and the > problem with this approach is that

[U-Boot] [PATCH] imx: Fix regression with CONFIG_DM_MMC=y

2017-10-12 Thread Fabio Estevam
From: Fabio Estevam When CONFIG_DM_MMC=y, CONFIG_BLK should be selected, otherwise the SD/eMMC card cannot be used. Also, select CONFIG_DM_USB=y when CONFIG_USB=y to avoid build failure. Tested on mx6slevk, mx7dsabresd and mx6ullevk. Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] mx6slevk: Use PARTUUID to specify the rootfs location

2017-10-12 Thread Fabio Estevam
On Thu, Oct 12, 2017 at 4:00 PM, Tom Rini wrote: > Shouldn't mmcpart be changed to 2 here as well and finduud be part uuid > ${mmcdev}:${mmcpart} ? This would also make things a bit more > scriptable for use in other distros. mmcpart is still used to load kernel and dtb

Re: [U-Boot] [PATCH] mx6slevk: Use PARTUUID to specify the rootfs location

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 04:10:27PM -0300, Fabio Estevam wrote: > On Thu, Oct 12, 2017 at 4:00 PM, Tom Rini wrote: > > > Shouldn't mmcpart be changed to 2 here as well and finduud be part uuid > > ${mmcdev}:${mmcpart} ? This would also make things a bit more > > scriptable

[U-Boot] [PATCH 1/1] usbtty: fix typos

2017-10-12 Thread Heinrich Schuchardt
Fix typos in USB tty driver. Signed-off-by: Heinrich Schuchardt --- drivers/serial/usbtty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c index 353109c070..182385e499 100644 --- a/drivers/serial/usbtty.c

[U-Boot] reading ubi from a NAND for programming to other devices

2017-10-12 Thread Tim Harvey
Greetings, I'm looking to understand what methods are available for reading/writing ubi/ubifs from an existing NAND flash in order to duplicate the contents onto another device in U-Boot, Linux, and with JTAG flashing for production. Typically I create ubi's using ubinize then I can use U-Boot

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Heinrich Schuchardt
On 10/12/2017 04:28 PM, Rob Clark wrote: > On Thu, Oct 12, 2017 at 9:50 AM, Alexander Graf wrote: >> On 10/12/2017 03:40 PM, Rob Clark wrote: >>> >>> On Thu, Oct 12, 2017 at 9:05 AM, Heinrich Schuchardt >>> wrote: On 10/12/2017 02:48 PM, Rob

[U-Boot] [PATCH 1/1] efi_selftest: correctly check return values

2017-10-12 Thread Heinrich Schuchardt
When cancelling the timer we should check the return value provided by the set_timer service. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_events.c | 2 +- lib/efi_selftest/efi_selftest_tpl.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH 1/1] arm64: zynqmp: remove unnecessary logical constraint

2017-10-12 Thread Heinrich Schuchardt
In if (a || b) else if (!a) the constraint (!a) is always true if else is reached and can be removed. Signed-off-by: Heinrich Schuchardt --- arch/arm/cpu/armv8/zynqmp/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Rob Clark
On Thu, Oct 12, 2017 at 6:38 PM, Heinrich Schuchardt wrote: > On 10/12/2017 04:28 PM, Rob Clark wrote: >> On Thu, Oct 12, 2017 at 9:50 AM, Alexander Graf wrote: >>> On 10/12/2017 03:40 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 9:05 AM, Heinrich

[U-Boot] [PATCH 1/1] dm: tegra: correct type for tegra_xusb_padctl_lane_find_function

2017-10-12 Thread Heinrich Schuchardt
tegra_xusb_padctl_lane_find_function returns int and not unsigned int. Detecting an error (func < 0) is not possible if variable func is defined as unsigned. Detected by cppcheck. Signed-off-by: Heinrich Schuchardt --- arch/arm/mach-tegra/xusb-padctl-common.c | 2 +- 1

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Heinrich Schuchardt
On 10/12/2017 11:26 PM, Rob Clark wrote: > On Thu, Oct 12, 2017 at 6:38 PM, Heinrich Schuchardt > wrote: >> On 10/12/2017 04:28 PM, Rob Clark wrote: >>> On Thu, Oct 12, 2017 at 9:50 AM, Alexander Graf wrote: On 10/12/2017 03:40 PM, Rob Clark wrote: >

Re: [U-Boot] [PATCH 05/11] efi_loader: move efi_search_obj up in code

2017-10-12 Thread Heinrich Schuchardt
On 10/09/2017 06:49 AM, Simon Glass wrote: > On 7 October 2017 at 22:57, Heinrich Schuchardt wrote: >> To avoid a forward declaration move efi_search_obj before >> all protocol services functions. >> >> Signed-off-by: Heinrich Schuchardt >> --- >>

Re: [U-Boot] Please pull from u-boot-i2c

2017-10-12 Thread Tom Rini
On Wed, Oct 11, 2017 at 11:02:12AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c master > > The following changes since commit 45c9d96ae40b0c4292eb67d687f0bf698a0ce72b: > > configs: Re-sync CONFIG_CMD_IMLS with moveconfig (2017-10-10 17:52:07 -0400) > > are

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

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 06:29:05PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > > The following changes since commit 1b22c5ba496ffc9b0702919d58c410ed1527ab63: > > Merge git://git.denx.de/u-boot-i2c (2017-10-11 08:38:20 -0400) > > are available in the

Re: [U-Boot] [PATCH] board: ti: dra71x-evm: Hook LDO1 of LP8733 to EN_PIN

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 10:18:45AM +0530, Keerthy wrote: > All regulators are hooked to EN_Pin at reset so that EN Pin controls > their state. Hook the LDO1 regulator to EN pin which at reset is not > hooked. This applies only to LP8733. > > Signed-off-by: Keerthy

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 02:51:21PM +, York Sun wrote: > Tom, > > The following changes since commit 39dd65a059e503883dbf16d4c00ac083d15837da: > > sandbox: Enable btrfs support (2017-10-03 08:44:55 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH u-boot 1/3] ARM: dts: Synchronize Amlogic from Linux Mainline 4.13.5

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 03:50:30PM +0200, Neil Armstrong wrote: > Synchronize the Amlogic ARM64 dts from mainline Linux 4.13.5 > > In the preparation of the support of the Amlogic P212 board, > import the corresponding meson-gxl-s905x-p212.dts file. > > Signed-off-by: Neil Armstrong

Re: [U-Boot] [PATCH u-boot 3/3] arm: add initial support for Amlogic P212 based on Meson GXL family

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 03:50:32PM +0200, Neil Armstrong wrote: > This adds platform code for the Amlogic P212 reference board based on a > Meson GXL (S905X) SoC with the Meson GXL configuration. > > This initial submission only supports UART and MMC/SDCard, support for the > internal Ethernet

Re: [U-Boot] [PATCH u-boot 2/3] pinctrl: meson: Add GXL Support

2017-10-12 Thread Tom Rini
On Thu, Oct 12, 2017 at 03:50:31PM +0200, Neil Armstrong wrote: > Add the Amlogic Meson GXL pinctrl support based on the GXBB driver and > the synchronized DTS from Linux 4.13.5 > > Signed-off-by: Neil Armstrong Reviewed-by: Tom Rini -- Tom

[U-Boot] [PATCH u-boot 0/3] Add initial support for Amlogic P212 Reference board

2017-10-12 Thread Neil Armstrong
This patchset aimed to add minimal support for the Amlogic P212 reference board from Amlogic based on the Meson S905X SoC from the Meson GXL SoC Family. The initial support is composed of : - GXL pinctrl driver - Minimal boot support with serial, MMC and SDCard - Updated DTS from Linux 4.13.5

[U-Boot] [PATCH u-boot 2/3] pinctrl: meson: Add GXL Support

2017-10-12 Thread Neil Armstrong
Add the Amlogic Meson GXL pinctrl support based on the GXBB driver and the synchronized DTS from Linux 4.13.5 Signed-off-by: Neil Armstrong --- drivers/pinctrl/meson/Kconfig | 4 + drivers/pinctrl/meson/Makefile| 1 +

[U-Boot] [PATCH u-boot 1/3] ARM: dts: Synchronize Amlogic from Linux Mainline 4.13.5

2017-10-12 Thread Neil Armstrong
Synchronize the Amlogic ARM64 dts from mainline Linux 4.13.5 In the preparation of the support of the Amlogic P212 board, import the corresponding meson-gxl-s905x-p212.dts file. Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 3 +-

[U-Boot] [PATCH u-boot 3/3] arm: add initial support for Amlogic P212 based on Meson GXL family

2017-10-12 Thread Neil Armstrong
This adds platform code for the Amlogic P212 reference board based on a Meson GXL (S905X) SoC with the Meson GXL configuration. This initial submission only supports UART and MMC/SDCard, support for the internal Ethernet PHY in Work In Progress. Signed-off-by: Neil Armstrong

[U-Boot] U-Boot fails to read NAND initialized by Linux

2017-10-12 Thread Ivan Bublikov
Hello, It's probably just a simple case of misconfiguration of U-Boot or Linux, and someone with knowledgecould easily set me straight looking at the symptom. Many thanks in advance! Summary:Linux can write and read NAND flash, but U-boot thinks all NAND blocks are bad.(Linux 4.1.15, U-boot

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

2017-10-12 Thread Fabio Estevam
Hi David, On Wed, Oct 11, 2017 at 5:18 AM, David Müller (ELSOFT AG) wrote: > Hi Fabio > > Fabio Estevam wrote: >> From: Sven-Ola Tuecke >> >> However, at least on some i.MX6 custom boards, when calling > > By "some", I assume that not all

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Rob Clark
On Thu, Oct 12, 2017 at 7:48 PM, Heinrich Schuchardt wrote: > On 10/12/2017 11:26 PM, Rob Clark wrote: >> On Thu, Oct 12, 2017 at 6:38 PM, Heinrich Schuchardt >> wrote: >>> On 10/12/2017 04:28 PM, Rob Clark wrote: On Thu, Oct 12, 2017 at 9:50 AM,

[U-Boot] [PATCH] spi: kirkwood_spi: implement workaround for FE-9144572

2017-10-12 Thread Chris Packham
Erratum NO. FE-9144572: The device SPI interface supports frequencies of up to 50 MHz. However, due to this erratum, when the device core clock is 250 MHz and the SPI interfaces is configured for 50MHz SPI clock and CPOL=CPHA=1 there might occur data corruption on reads from the SPI device.

[U-Boot] [PATCH] libfdt: give setup.py optional interpreter

2017-10-12 Thread Matt Weber
If building in a sandboxed environment where a alternate python interpreter is desired. Allow configuring of the PYTHON variable to specify the interpreter to invoke setup.py. Signed-off-by: Matthew Weber --- tools/Makefile | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH 02/11] efi_loader: Initial HII protocols

2017-10-12 Thread Rob Clark
On Thu, Oct 12, 2017 at 3:13 AM, Alexander Graf wrote: > > > On 12.10.17 00:02, Rob Clark wrote: >> On Wed, Oct 11, 2017 at 10:30 AM, Alexander Graf wrote: >>> >>> >>> On 10.10.17 14:22, Rob Clark wrote: From: Leif Lindholm

[U-Boot] [PATCH] armv8: ls1088aqds: Change phy mode to PHY_INTERFACE_MODE_RGMII_ID

2017-10-12 Thread Ashish Kumar
Since TX delay is now enabled only in PHY_INTERFACE_MODE_RGMII_ID PHY_INTERFACE_MODE_RGMII_TXID. These change where introduced in phy driver in commit titled "net: phy: realtek: fix enabling of the TX-delay for RTL8211F" Signed-off-by: Ashish Kumar ---

Re: [U-Boot] [PATCH 02/11] efi_loader: Initial HII protocols

2017-10-12 Thread Alexander Graf
On 10/12/2017 11:55 AM, Rob Clark wrote: On Thu, Oct 12, 2017 at 3:13 AM, Alexander Graf wrote: On 12.10.17 00:02, Rob Clark wrote: On Wed, Oct 11, 2017 at 10:30 AM, Alexander Graf wrote: On 10.10.17 14:22, Rob Clark wrote: From: Leif Lindholm

[U-Boot] [PATCH 1/2] x86: baytrail: Fix unstable ACPI S3 resume

2017-10-12 Thread Bin Meng
It was observed that when booting a Ubuntu 16.04 kernel, doing ACPI S3 suspend/resume sometimes causes the Ubuntu kernel hang forever. The issue is however not reproduced with a kernel built from i386/ x86_64 defconfig configuration. The unstability is actually caused by unexpected interrupts

[U-Boot] [PATCH 2/2] x86: Turn off running VGA ROM during S3 resume

2017-10-12 Thread Bin Meng
This is only needed when graphics console is used. For kernel with native graphics driver, this can be turned off to speed up. Change this option's default to n in the Kconfig. Signed-off-by: Bin Meng --- arch/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 03/11] efi_loader: Initial EFI_UNICODE_COLLATION_PROTOCOL

2017-10-12 Thread Alexander Graf
On 10/11/2017 10:47 PM, Alexander Graf wrote: On 11.10.17 22:30, Rob Clark wrote: On Wed, Oct 11, 2017 at 10:36 AM, Alexander Graf wrote: On 10.10.17 14:22, Rob Clark wrote: From: Leif Lindholm Not complete, but enough for Shell.efi and SCT.efi.

[U-Boot] u-boot environment utilities and mmc device(calculate fw_env.config parameters)

2017-10-12 Thread MOHAMMAD RASIM
Hi, How can i calculate the numbers to plug in the configuration file of uboot tools(fw_env.config)? My device doesn't have mtd devices instead it uses mmc block device, here are some info about the device *$*lsblk -o FSTYPE,NAME,SIZE,PHY-SEC,LOG-SEC,ALIGNMENT,TYPE NAME  SIZE

Re: [U-Boot] [PATCH v5 00/18] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-10-12 Thread Heiko Stuebner
Am Dienstag, 10. Oktober 2017, 16:21:00 CEST schrieb Philipp Tomsich: > > Recent discussions confirmed (what the code always assumed): the > Rockchip BROM always enters U-Boot with the stack-pointer valid > (i.e. the U-Boot startup code is running off the BROM stack). > > We can thus replace the

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Rob Clark
On Thu, Oct 12, 2017 at 3:15 AM, Alexander Graf wrote: > > > On 12.10.17 00:07, Rob Clark wrote: >> On Wed, Oct 11, 2017 at 10:45 AM, Alexander Graf wrote: >>> >>> >>> On 10.10.17 14:23, Rob Clark wrote: In some cases, it is quite useful to have (for example)

Re: [U-Boot] [PATCH] power: extend prefix match to regulator-name property

2017-10-12 Thread Chen-Yu Tsai
On Thu, Oct 12, 2017 at 8:24 PM, Felix Brack wrote: > On 12.10.2017 04:46, Chen-Yu Tsai wrote: >> On Mon, Oct 9, 2017 at 6:04 PM, Felix Brack wrote: >>> This patch extends pmic_bind_children prefix matching. In addition to >>> the node name the property regulator-name

Re: [U-Boot] [PATCH v3 2/5] usb: host: Move CONFIG_XHCI_FSL to Kconfig

2017-10-12 Thread Bin Meng
Hi Ran, On Wed, Oct 11, 2017 at 1:30 PM, Ran Wang wrote: > use Kconfig to select xhci accordingly. > > Signed-off-by: Ran Wang > --- > Change in v3: > New patch file. > > drivers/usb/host/Kconfig | 6 ++ > include/configs/ls1012afrdm.h |

Re: [U-Boot] [PATCH v3 1/5] arm64: layerscape: Move CONFIG_HAS_FSL_XHCI_USB to Kconfig

2017-10-12 Thread Bin Meng
Hi Ran, On Wed, Oct 11, 2017 at 1:30 PM, Ran Wang wrote: > Use Kconfig to select QE-HDLC and USB pin-mux. > > Signed-off-by: Ran Wang > --- > Change in v3: > New patch file. > > arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 7 +++ >

Re: [U-Boot] [PATCH v3 3/5] arm: layerscape: Remove CONFIG_USB_MAX_CONTROLLER_COUNT

2017-10-12 Thread Bin Meng
Hi Ran, On Wed, Oct 11, 2017 at 1:30 PM, Ran Wang wrote: > Because COMFIG_DM_USB have been enabled and will not use it anymore. nits: has been enabled > > Signed-off-by: Ran Wang > --- > Change in v3: > New patch file. > >

Re: [U-Boot] [PATCH v3 5/5] ls1088aqds: Enable USB command on QDS for qspi-boot

2017-10-12 Thread Bin Meng
On Wed, Oct 11, 2017 at 1:30 PM, Ran Wang wrote: > Signed-off-by: Amrita Kumari > Signed-off-by: Ashish Kumar > Signed-off-by: Ran Wang > --- > Change in v3: > - none > > Change in v2: > Remove macro

Re: [U-Boot] [PATCH v3 4/5] ls1088ardb: Enable USB command RDB qspi-boot

2017-10-12 Thread Bin Meng
On Wed, Oct 11, 2017 at 1:30 PM, Ran Wang wrote: > Signed-off-by: Ashish Kumar > Signed-off-by: Amrita Kumari > Signed-off-by: Ran Wang > --- > Change in v3: > 1.Move HAS_FSL_XHCI_USB and USB_XHCI_FSL

Re: [U-Boot] [PATCH] x86: minnowmax: Adjust VGA rom address

2017-10-12 Thread Bin Meng
On Sat, Oct 7, 2017 at 5:44 PM, Stefan Roese wrote: > On 07.10.2017 11:43, Bin Meng wrote: >> >> Adjust VGA rom address to 0xfffb so that u-boot.rom image >> can be built again. >> >> Signed-off-by: Bin Meng > > > Reviewed-by: Stefan Roese

[U-Boot] [PATCH v2] armv8: configs: ls1012a: correct the generic timer frequency issue

2017-10-12 Thread andy.tang
From: Yuantian Tang On ls1012a soc, core clock source frequency is 100Mhz. Generic timer frequency is derived from core clock source divided by 4, which is 25Mhz. So assign timer frequency to 25Mhz here. Signed-off-by: Tang Yuantian --- v2: - refine

Re: [U-Boot] [PATCH 01/11] efi_loader: Initial EFI_DEVICE_PATH_UTILITIES_PROTOCOL

2017-10-12 Thread Heinrich Schuchardt
On 10/11/2017 10:32 PM, Rob Clark wrote: On Wed, Oct 11, 2017 at 10:07 AM, Alexander Graf wrote: On 10.10.17 14:22, Rob Clark wrote: From: Leif Lindholm Not complete, but enough for Shell.efi and SCT.efi. We'll implement the rest as needed or

Re: [U-Boot] [PATCH 02/11] efi_loader: Initial HII protocols

2017-10-12 Thread Alexander Graf
On 12.10.17 00:02, Rob Clark wrote: > On Wed, Oct 11, 2017 at 10:30 AM, Alexander Graf wrote: >> >> >> On 10.10.17 14:22, Rob Clark wrote: >>> From: Leif Lindholm >>> >>> Enough implementation of the following protocols to run Shell.efi and >>> SCT.efi:

Re: [U-Boot] [PATCH 06/11] efi_loader: Decouple EFI input/output from stdin/stdout

2017-10-12 Thread Alexander Graf
On 12.10.17 00:07, Rob Clark wrote: > On Wed, Oct 11, 2017 at 10:45 AM, Alexander Graf wrote: >> >> >> On 10.10.17 14:23, Rob Clark wrote: >>> In some cases, it is quite useful to have (for example) EFI on screen >>> but u-boot on serial port. >>> >>> This adds two new optional

[U-Boot] [PATCH] rockchip: rk3399: init CPU clock when rkclk_init()

2017-10-12 Thread Kever Yang
Init the CPU and its buses to speed up the boot time. Move rkclk_init() to a place after rk3399_configure_cpu has defined at the same time, or else there will be a warning. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk_rk3399.c | 157