Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-09-04 Thread Chee, Tien Fong
On Isn, 2017-09-04 at 11:39 +0200, Marek Vasut wrote: > On 09/04/2017 09:08 AM, Chee, Tien Fong wrote: > > > > On Rab, 2017-08-30 at 10:52 +0200, Marek Vasut wrote: > > > > > > On 08/30/2017 10:05 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Sel, 2017-08-29 at 13:55 +0200, Marek Vasut

[U-Boot] [PATCH] ARM: mvebu: add SAR frequency values for 1.8/2.0GHz

2017-09-04 Thread Chris Packham
The Armada-38x has 1.8GHz and 2.0GHz variants. Add entries for these variants to the sar_freq_tab. Signed-off-by: Chris Packham --- arch/arm/mach-mvebu/cpu.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-04 Thread Stefan Agner
On 2017-09-04 19:57, Eric Nelson wrote: > Hi Stefan, > > On 09/04/2017 06:21 PM, Stefan Agner wrote: >> From: Stefan Agner >> >> This macro allows to detect whether the boot ROM initialized USB >> already (serial downloader). This is helpful to reliably detect >> if the system has been recovered

[U-Boot] [PATCH] arm64: ls1012ardb: Add distro boot support

2017-09-04 Thread Rajesh Bhagat
Include common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support automatical distro boot which scan boot.scr from external storage devices(e.g. SD and USB) and execute autoboot script. Signed-off-by: Bhaskar Upadhaya Signed-off-by: Rajesh Bhagat --- configs/

Re: [U-Boot] [PATCH] libfdt: Initialize the stack variable

2017-09-04 Thread J. William Campbell
On 9/4/2017 8:41 PM, Chee, Tien Fong wrote: On Rab, 2017-08-30 at 06:31 -0700, J. William Campbell wrote: On 8/29/2017 10:15 PM, tien.fong.c...@intel.com wrote: From: Tien Fong Chee Report Coverity log: The code uses a variable that has not been initialized, leading to unpredictable or uninte

Re: [U-Boot] [PATCH 07/19] arm: socfpga: Add DRAM bank size initialization function

2017-09-04 Thread Chee, Tien Fong
On Isn, 2017-09-04 at 11:40 +0200, Marek Vasut wrote: > On 09/04/2017 09:11 AM, Chee, Tien Fong wrote: > > > > On Rab, 2017-08-30 at 10:56 +0200, Marek Vasut wrote: > > > > > > On 08/30/2017 10:36 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Sel, 2017-08-29 at 13:59 +0200, Marek Vasut

Re: [U-Boot] [PATCH] libfdt: Initialize the stack variable

2017-09-04 Thread Chee, Tien Fong
On Rab, 2017-08-30 at 06:31 -0700, J. William Campbell wrote: > On 8/29/2017 10:15 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Report Coverity log: > > The code uses a variable that has not > > been initialized, leading to unpredictable > > or unintended results. > >

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-04 Thread Eric Nelson
Hi Stefan, On 09/04/2017 06:21 PM, Stefan Agner wrote: From: Stefan Agner This macro allows to detect whether the boot ROM initialized USB already (serial downloader). This is helpful to reliably detect if the system has been recovered via USB serial downloader. Signed-off-by: Stefan Agner A

Re: [U-Boot] video: ipu_common: fix build error

2017-09-04 Thread Eric Nelson
Hi Peng, Can you tell that I'm hunting a bug in an old version? I'm seeing a **very** intermittent regression between U-Boot versions 2015.07 and 2016.05 and happened to spot something in this patch. On 04/27/2016 07:07 PM, Peng Fan wrote: Some toolchains fail to build "clk->rate = (u64)(clk->

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-04 Thread Eric Nelson
Hi all, Adding my normal e-mail account to the chain, since the other account isn't registered on the list. On 09/04/2017 07:37 PM, Eric Nelson wrote: Hi Peng, Pardon the reference to an old update, but do you have a description of the symptoms that brought about this patch? On 03/09/2016 01:

[U-Boot] CONFIG_ENV_ADDR vs CONFIG_ENV_OFFSET

2017-09-04 Thread Adam Ford
A significant number of omap3 boards use CONFIG_ENV_ADDR and CONFIG_ENV_OFFSET together. When CONFIG_ENV_IS_IN_FLASH is defined, environment.h appears to define CONFIG_ENV_ADDR as CONFIG_SYS_FLASH_BASE + CONFIG_ENV_OFFSET if CONFIG_ENV_ADDR is not defined, so it assumes that CONFIG_ENV_OFFSET is d

Re: [U-Boot] rockchip: enable rk322x sysreset driver

2017-09-04 Thread Kever Yang
Hi Philipp, Could you share how long will you applied the patches after you review and ack? I want to use U-Boot v2017.09 as a base for rk3229 and rk3399, but many patches are still pending in the list. Thanks, - Kever On 08/19/2017 12:08 AM, Philipp Tomsich wrote: The sysreset d

Re: [U-Boot] [U-Boot, 3/3] rockchip: firefly-rk3399: enable ATF and dwmmc

2017-09-04 Thread Kever Yang
Hi Philipp, Could you merge this patch first? For the other two patches, I can send later after I figure out how to do it. Thanks, - Kever On 08/18/2017 09:15 PM, Philipp Tomsich wrote: enable the ATF option and SDCard in defconfig. Signed-off-by: Kever Yang Acked-by: Philipp Tomsic

[U-Boot] [PATCH] include/configs: remove references to SMNAND_ENV_OFFSET

2017-09-04 Thread Adam Ford
In mancy cases both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR point to an otherwise-unused SMNAND_ENV_OFFSET. This patch will set both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR to whatever value was defined by SMNAND_ENV_OFFSET. Signed-off-by: Adam Ford --- include/configs/am3517_crane.h | 5 ++--- in

Re: [U-Boot] [PATCH] gitignore: add intermediates from libfdt build

2017-09-04 Thread Bin Meng
On Thu, Aug 31, 2017 at 8:52 PM, Simon Glass wrote: > On 29 August 2017 at 17:47, Philipp Tomsich > wrote: >> Since ee95d10 (fdt: Build the new python libfdt module), a number of >> additional files are auto-generated/installed into the tools directory. >> List these in .gitignore to suppress hav

[U-Boot] [PATCH v1 2/2] imx_common: detect USB serial downloader reliably

2017-09-04 Thread Stefan Agner
From: Stefan Agner The current mechanism using SCR/GPR registers work well when the serial downloader boot mode has been selected explicitly (either via boot mode pins or using bmode command). However, in case the system entered boot ROM due to unbootable primary boot devices (e.g. empty eMMC), t

[U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-04 Thread Stefan Agner
From: Stefan Agner This macro allows to detect whether the boot ROM initialized USB already (serial downloader). This is helpful to reliably detect if the system has been recovered via USB serial downloader. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- Hi Stefano, I noted already

[U-Boot] [PATCH 1/3] efi_loader: rename __efi_hello_world_*

2017-09-04 Thread Heinrich Schuchardt
In scripts/Makefile.lib we build section including helloworld.efi. This allows to load the EFI binary with command 'bootefi hello'. scripts/Makefile.lib contains explicit references to strings containing helloworld and hello_world. This makes it impossible to generalize the coding to accomodate ad

[U-Boot] [PATCH 3/3] efi_loader: usage of always in Makefile

2017-09-04 Thread Heinrich Schuchardt
Variable always should only be appended but not overwritten by lib/efi_loader/Makefile. Remove variable efiprogs which is not otherwise used. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/Ma

[U-Boot] [PATCH 2/3] scripts/Makefile.lib: generalize building built in EFI app

2017-09-04 Thread Heinrich Schuchardt
Replace all occurences of helloworld by generalized forms. This allows us to build additional EFI applications that are included into the U-Boot binary without loading scripts/Makefile.lib with specific filenames. Signed-off-by: Heinrich Schuchardt --- scripts/Makefile.lib | 28 +++--

[U-Boot] [PATCH 0/3] Clean up make process for EFI payload

2017-09-04 Thread Heinrich Schuchardt
Currently we have a single EFI application that we can deliver integrated into U-Boot. It is a hello world application that can be called with 'bootefi hello'. The Makefiles do not easily accomodate further EFI payloads like a unit test for the EFI API or an EFI shell. This patch series changes M

[U-Boot] [PATCH] doc: remove duplicate text in README.gpt

2017-09-04 Thread alison
From: Alison Chaiken Signed-off-by: Alison Chaiken --- doc/README.gpt | 10 -- 1 file changed, 10 deletions(-) diff --git a/doc/README.gpt b/doc/README.gpt index 517df551e7..d3db8bce1c 100644 --- a/doc/README.gpt +++ b/doc/README.gpt @@ -233,16 +233,6 @@ The GPT functionality may be te

[U-Boot] [Bug] Installation of sources fails on case insensitive filesystems

2017-09-04 Thread Stefan Weil
This problem was initially reported for QEMU (which includes the U-Boot sources): https://bugs.launchpad.net/qemu/+bug/1714750 It is caused by scripts/Kconfig and scripts/kconfig which occupy the same name on filesystems which don't distinguish the case. Maybe this can be fixed in the planned ne

[U-Boot] Bad URL for mailing list info in "Contacts" web page

2017-09-04 Thread Stefan Weil
Hi, Could somebody please fix the listinfo URL on http://www.denx.de/wiki/U-Boot/Contacts ? https://lists.denx.de/mailman/listinfo/u-boot does not work. https://lists.denx.de/listinfo/u-boot works. I don't know which state should be the correct one. Tha

Re: [U-Boot] [PATCH v5 4/9] armv8: Add workaround for USB erratum A-008997

2017-09-04 Thread Michael Lawnick
Am 04.09.2017 um 12:46 schrieb Ran Wang: ... arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 6 ++ arch/arm/cpu/armv8/fsl-layerscape/soc.c| 24 ++ ... Maybe I'm a bit pedentatic, but this doesn't sound for ARMv8 but for fsl-layerscape patch ... --

[U-Boot] [PATCH 1/1] sunxi: Add support for A20-OLinuXino-MICRO-eMMC

2017-09-04 Thread Stefan Mavrodiev
From rev.J A20-OLinuXino-MICRO has eMMC option. For now this is only 4GB, but in the future size may increase. The dts file is the same from mainline kernel. Signed-off-by: Stefan Mavrodiev --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun7i-a20-olinuxino-micro-emmc.d

[U-Boot] Please pull u-boot-sh/rmobile branch

2017-09-04 Thread Nobuhiro Iwamatsu
Hi Tom, git request-pull f7f79b4493b8beeb1de099d1d1c86049b018ef5c git://git.denx.de/u-boot-sh.git rmobile The following changes since commit f7f79b4493b8beeb1de099d1d1c86049b018ef5c: ARM: rmobile: Enable MMC and USB DM on ULCB (2017-08-26 07:04:49 +0900) are available in the git repository at:

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

2017-09-04 Thread Anatolij Gustschin
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, when accessing IPU registers. Check IPU clock and skip shutdown if c

[U-Boot] [PATCH v3 12/14] config: sandbox: Add unit tests

2017-09-04 Thread Pantelis Antoniou
Add unit tests for sandbox default config. Signed-off-by: Pantelis Antoniou --- configs/sandbox_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 4c4e480..54120c2 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbo

[U-Boot] [PATCH v3 08/14] fit: fdt overlays doc

2017-09-04 Thread Pantelis Antoniou
Signed-off-by: Pantelis Antoniou --- doc/uImage.FIT/command_syntax_extensions.txt | 12 +- doc/uImage.FIT/overlay-fdt-boot.txt | 221 +++ doc/uImage.FIT/source_file_format.txt| 6 +- 3 files changed, 236 insertions(+), 3 deletions(-) create mode 100644

[U-Boot] [PATCH v3 14/14] test: overlay: Add unit test for stacked overlay

2017-09-04 Thread Pantelis Antoniou
Verify that stacked overlays work. Signed-off-by: Pantelis Antoniou --- test/overlay/Makefile | 1 + test/overlay/cmd_ut_overlay.c | 34 ++- test/overlay/test-fdt-overlay-stacked.dts | 21 +++ 3 files changed, 55 insert

[U-Boot] [PATCH v3 03/14] fdt: Switch to using the verbose overlay application method

2017-09-04 Thread Pantelis Antoniou
The verbose overlay application method prints out more helpful messages, so switch to it. Signed-off-by: Pantelis Antoniou --- cmd/fdt.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/fdt.c b/cmd/fdt.c index 118613f..362a621 100644 --- a/cmd/fdt.c +++ b/cmd/fdt.c

[U-Boot] [PATCH v3 11/14] dtbo: make dtbos special

2017-09-04 Thread Pantelis Antoniou
Special rule for dtbo generation Signed-off-by: Pantelis Antoniou --- scripts/Makefile.lib | 17 + 1 file changed, 17 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 9ce47b4..2a7ed70 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -32

[U-Boot] [PATCH v3 04/14] fdt: Allow stacked overlays phandle references

2017-09-04 Thread Pantelis Antoniou
This patch enables an overlay to refer to a previous overlay's labels by performing a merge of symbol information at application time. In a nutshell it allows an overlay to refer to a symbol that a previous overlay has defined. It requires both the base and all the overlays to be compiled with the

[U-Boot] [PATCH v3 09/14] doc: Document how to apply fdt overlays

2017-09-04 Thread Pantelis Antoniou
We have the capability to apply overlays on the command line but we didn't have a document explaining how. Signed-off-by: Pantelis Antoniou --- doc/README.fdt-overlays | 37 + 1 file changed, 37 insertions(+) create mode 100644 doc/README.fdt-overlays diff -

[U-Boot] [PATCH v3 13/14] ut: fix fdt_getprop_u32() change

2017-09-04 Thread Pantelis Antoniou
fdt_getprop_u32 is not exported and it's different than what the unit test uses. Rename u32 prop access methods to something that's unit test specific. Signed-off-by: Pantelis Antoniou --- test/overlay/cmd_ut_overlay.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[U-Boot] [PATCH v3 05/14] fit: Allow multiple images per property

2017-09-04 Thread Pantelis Antoniou
As part of the fdt overlay support which need it, allow a list of configurations per property. Signed-off-by: Pantelis Antoniou --- common/image-fit.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/common/image-fit.c b/common/image-fit.c index 109ecfa..74

[U-Boot] [PATCH v3 07/14] fit: Introduce methods for applying overlays on fit-load

2017-09-04 Thread Pantelis Antoniou
Introduce an overlay based method for constructing a base DT blob to pass to the kernel. It is based on a specific method now to get the FDT from a FIT image named boot_get_fdt_fit(). Signed-off-by: Pantelis Antoniou --- common/image-fdt.c | 7 +-- common/image-fit.c | 181 +++

[U-Boot] [PATCH v3 10/14] doc: overlays: Tweak documentation regarding overlays

2017-09-04 Thread Pantelis Antoniou
From: Franklin S Cooper Jr Pull some information regarding overlays from commit messages and put them directly within the documentation. Also add some information regarding required dtc version to properly use overlays. Signed-off-by: Franklin S Cooper Jr --- doc/README.fdt-overlays

[U-Boot] [PATCH v3 01/14] Introduce fdt_setprop_placeholder() method

2017-09-04 Thread Pantelis Antoniou
In some cases you need to add a property but the contents of it are not known at creation time, merely the extend of it. This method allows you to create a property of a given size (filled with garbage) while a pointer to the property data will be provided. Signed-off-by: Pantelis Antoniou [dwg:

[U-Boot] [PATCH v3 06/14] fit: Do not throw away extra configuration on fit_image_load()

2017-09-04 Thread Pantelis Antoniou
fit_image_load() threw away the extra configuration parts when loading. We need them around for applying extra overlays for building the boot fdt. Signed-off-by: Pantelis Antoniou --- common/image-fit.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/common/image-

[U-Boot] [PATCH v3 00/14] uboot overlays, FIT image & unittest

2017-09-04 Thread Pantelis Antoniou
This patchset allows uboot to handle overlays in a manner that uses a base DT blob and an arbitrary number of DT overlays blobs. While it is intended to be used with FIT images since handling a multitude of device tree blobs manually is a chore, manual fdt overlay application is supported and desc

[U-Boot] [PATCH v3 02/14] fdt: Introduce helper method fdt_overlay_apply_verbose()

2017-09-04 Thread Pantelis Antoniou
Introduce fdt_overlay_apply_verbose, a method that applies an overlay but in the case of an error produces a helpful message. In addition if a base tree is found to be missing the __symbols__ node the message will point out that the probable reason is that the base tree was miscompiled without the

Re: [U-Boot] [ANN] U-Boot v2017.09-rc4 released

2017-09-04 Thread Paul Barker
On Mon, Sep 4, 2017 at 2:05 PM, Tom Rini wrote: > Hey all, > > It's release day and v2017.09-rc4 is out. It's a week until release > day. Please let me know if you know of any regressions, thanks! > > -- > Tom I looks like u-boot v2017.09-rc4 is still unable to boot Linux on Raspberry Pi device

[U-Boot] Please pull u-boot-dm

2017-09-04 Thread Simon Glass
Hi Tom, Here are a few bug fixes and doc changes, including the CONFIG_BLK migration timeline. The following changes since commit 6935aec0e3f0064698d8970a00b908f5a162b93f: Makefile: Suppress output of python libfdt build command (2017-09-03 15:30:37 -0400) are available in the git repository

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2017-09-04 Thread sjg
Hi Tom, On 7 August 2017 at 09:39, Tom Rini wrote: > On Sat, Aug 05, 2017 at 03:45:53PM -0600, Simon Glass wrote: > >> The CONFIG_BLK conversion involves quite invasive changes in the U-Boot >> code, with #ifdefs and different code paths. We should try to move over to >> this soon so we can drop

Re: [U-Boot] [PATCH v2] dm: core: Add livetree documentation

2017-09-04 Thread sjg
On 08/31/2017 02:00 PM, Simon Glass wrote: > On 31 August 2017 at 19:59, Simon Glass wrote: >> Add some documentation for the live device tree support in U-Boot. This >> was missing from the initial series. >> >> Signed-off-by: Simon Glass >> Suggested-by: Lukasz Majewski > > Reviewed-by: Ɓukasz

Re: [U-Boot] [PATCH] fdt: fix 'prop (...) not found!' error in 'fdt set' command

2017-09-04 Thread sjg
On 18 August 2017 at 06:41, Hannes Schmelzer wrote: > This commit brings things back to the well known working state of the > command. > - > With commit 9620d87259572ef21f0df60988d9a932ca673779 > (cmd/fdt: support single value replacement within an array) > > there was an error introduced modifyin

Re: [U-Boot] [PATCH] gitignore: add intermediates from libfdt build

2017-09-04 Thread sjg
On 29 August 2017 at 17:47, Philipp Tomsich wrote: > Since ee95d10 (fdt: Build the new python libfdt module), a number of > additional files are auto-generated/installed into the tools directory. > List these in .gitignore to suppress having them listed as untracked. > > Signed-off-by: Philipp Tom

Re: [U-Boot] [PATCH v9 00/10] STiH410-B2260: add reset, usb and fastboot support

2017-09-04 Thread Patrice CHOTARD
Hi Just a gentle reminder to not forget this series Thanks On 07/18/2017 02:31 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series adds : > _ update existing sdhci driver to use reset framework > _ add usb phy driver > _ add fastboot support > > With al

[U-Boot] [PATCH v5 1/1] mmc: Add MMC support for stm32h7 Socs

2017-09-04 Thread patrice.chotard
From: Patrice Chotard This patch adds SD/MMC support for STM32H7 SoCs. Here is an extraction of SDMMC main features, embedded in STM32H7 SoCs. The SD/MMC block include the following: _ Full compliance with MultiMediaCard System Specification Version 4.51. Card support for three different dat

Re: [U-Boot] [PATCH v2 2/4] block: ide: Fix block read/write with driver model

2017-09-04 Thread Heinrich Schuchardt
On 09/04/2017 11:08 AM, Bin Meng wrote: > This converts the IDE driver to driver model so that block read and > write are fully functional. > > Fixes: b7c6baef ("x86: Convert MMC to driver model") > Reported-by: Heinrich Schuchardt > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Fixed

Re: [U-Boot] [PATCH v2 2/4] block: ide: Fix block read/write with driver model

2017-09-04 Thread Heinrich Schuchardt
On 09/04/2017 11:08 AM, Bin Meng wrote: > This converts the IDE driver to driver model so that block read and > write are fully functional. > > Fixes: b7c6baef ("x86: Convert MMC to driver model") Now I am able to load a file from the IDE disk and execute it with bootefi. Thanks a lot for fixing

Re: [U-Boot] crypto/fsl: fix obj-yy in Makefile

2017-09-04 Thread Tom Rini
On Sun, Sep 03, 2017 at 07:17:10PM +0200, Clemens Gruber wrote: > When enabling CONFIG_CMD_BLOB and/or CONFIG_CMD_DEKBLOB, the build fails > with a linker error: > ... > LD u-boot > arch/arm/mach-imx/built-in.o: In function `blob_encap_dek': > /home/clemens/dev/u-boot/arch/arm/mach-imx/cm

[U-Boot] [ANN] U-Boot v2017.09-rc4 released

2017-09-04 Thread Tom Rini
Hey all, It's release day and v2017.09-rc4 is out. It's a week until release day. Please let me know if you know of any regressions, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://li

Re: [U-Boot] git: mailrc: Update e-mail address

2017-09-04 Thread Tom Rini
On Sun, Sep 03, 2017 at 06:13:11PM +0200, Lukasz Majewski wrote: > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.

[U-Boot] [PATCH v3 1/2] dm: core: add clocks node scan

2017-09-04 Thread patrice.chotard
From: Patrice Chotard Currently, all fixed-clock declared in "clocks" node in device tree can be binded by clk_fixed_rate.c driver only if each of them have the "simple-bus" compatible string. This constraint has been invoked here [1]. This patch offers a solution to avoid adding "simple-bus" co

[U-Boot] [PATCH v3 2/2] dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test

2017-09-04 Thread patrice.chotard
From: Patrice Chotard This allows to scan the DT including all "clocks" node's sub-nodes in which fixed-clock are defined. All fixed-clock should be defined inside a clocks node which collect all external oscillators. Until now, all clocks sub-nodes can't be binded except if the "simple-bus" comp

[U-Boot] [PATCH v3 0/2] dm: core: add clocks node scan

2017-09-04 Thread patrice.chotard
From: Patrice Chotard v3: _ rename dm_extended_scan_dt() to dm_extended_scan_fdt() to insure function naming consistency _ update dm_extended_scan_fdt() description v2: _ implement this feature in dm_extended_scan_dt() which can be called from test/dm/test-m

Re: [U-Boot] [PATCH v2 1/2] dm: core: add clocks node scan

2017-09-04 Thread Patrice CHOTARD
Hi Simon On 08/13/2017 11:35 PM, Simon Glass wrote: > +Rob Clark who is doing a similar thing with the /chosen node > > Hi Patrice, > > On 8 August 2017 at 06:34, wrote: >> From: Patrice Chotard >> >> Currently, all fixed-clock declared in "clocks" node in device tree >> can be binded by clk_

[U-Boot] [PATCH 2/2] rockchip: rk3368: add the missing target and pinctrl config for sheep board

2017-09-04 Thread Andy Yan
Add the missing target and pinctrl config for rk3368 sheep board Signed-off-by: Andy Yan --- configs/sheep-rk3368_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/sheep-rk3368_defconfig b/configs/sheep-rk3368_defconfig index da6b93a..b00ca47 100644 --- a/configs/sheep-rk3

[U-Boot] [PATCH 1/2] rockchip: rk3368: add ENV_MEM_LAYOUT to extra env settings

2017-09-04 Thread Andy Yan
Add the ENV_MEM_LAYOUT_SETTINGS to CONFIG_EXTRA_ENV_SETTINGS Signed-off-by: Andy Yan --- include/configs/rk3368_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h index a89c69a..2ed1fb1 100644 --- a/include/configs/rk33

[U-Boot] [PATCH v5 6/9] armv7: Add workaround for USB erratum A-009008

2017-09-04 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 v5 9/9] armv7: Add workaround for USB erratum A-009007

2017-09-04 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 v5 4/9] armv8: Add workaround for USB erratum A-008997

2017-09-04 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 v5 5/9] armv8: Add workaround for USB erratum A-009007

2017-09-04 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 v5 8/9] armv7: Add workaround for USB erratum A-008997

2017-09-04 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

[U-Boot] [PATCH v5 7/9] armv7: Add workaround for USB erratum A-009798

2017-09-04 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 v5 3/9] armv8: Add workaround for USB erratum A-009798

2017-09-04 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 v5 2/9] armv8: Add workaround for USB erratum A-009008

2017-09-04 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 v5: Use scfg_clrsetbits3

[U-Boot] [PATCH v5 1/9] armv8: Add scfg_clrsetbits_32(), scfg_clrbits_32()

2017-09-04 Thread Ran Wang
Some erratum patch might need it to program registers. Signed-off-by: Ran Wang --- Change in v4: New patch file arch/arm/include/asm/arch-fsl-layerscape/soc.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscape/soc.h b/arch/arm/include/asm/a

Re: [U-Boot] [PATCH 07/19] arm: socfpga: Add DRAM bank size initialization function

2017-09-04 Thread Marek Vasut
On 09/04/2017 09:11 AM, Chee, Tien Fong wrote: > On Rab, 2017-08-30 at 10:56 +0200, Marek Vasut wrote: >> On 08/30/2017 10:36 AM, Chee, Tien Fong wrote: >>> >>> On Sel, 2017-08-29 at 13:59 +0200, Marek Vasut wrote: On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > >

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-09-04 Thread Marek Vasut
On 09/04/2017 09:08 AM, Chee, Tien Fong wrote: > On Rab, 2017-08-30 at 10:52 +0200, Marek Vasut wrote: >> On 08/30/2017 10:05 AM, Chee, Tien Fong wrote: >>> >>> On Sel, 2017-08-29 at 13:55 +0200, Marek Vasut wrote: On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > >

[U-Boot] [PATCH] armv8: fsl: i2c: Put I2C related code under CONFIG_SYS_I2C

2017-09-04 Thread Sriram Dash
I2C code is put under CONFIG_SYS_I2C Signed-off-by: Sriram Dash --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c index 639e9d2..66afcea 100644 --- a/a

[U-Boot] [PATCH] armv8: fsl: ifc: Put IFC related code under CONFIG_FSL_IFC

2017-09-04 Thread Sriram Dash
IFC code is put under CONFIG_FSL_IFC Signed-off-by: Sriram Dash --- arch/arm/cpu/armv8/fsl-layerscape/soc.c| 2 ++ arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 10 ++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv

[U-Boot] [PATCH] armv8: Remove dependency of SERDES for LS CHASIS3

2017-09-04 Thread Sriram Dash
Remove dependency of SYS_HAS_SERDES for Layerscape Chasis 3. Signed-off-by: Sriram Dash --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++-- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 ++ arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) di

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-09-04 Thread Bin Meng
Hi Heinrich, On Mon, Sep 4, 2017 at 3:30 PM, Bin Meng wrote: > Hi Heinrich, > > On Mon, Sep 4, 2017 at 1:41 PM, Heinrich Schuchardt > wrote: >> On 09/04/2017 05:59 AM, Bin Meng wrote: >>> Hi Heinrich, >>> >>> On Fri, Sep 1, 2017 at 1:24 AM, Heinrich Schuchardt >>> wrote: On 08/31/2017 02

[U-Boot] [PATCH v2 4/4] cmd: ide: Make the first device the default one

2017-09-04 Thread Bin Meng
At present the IDE device number is initialized to -1, which means we cannot type "ide read" command before setting the device number via "ide device #". For convenience, let's set the first device as the default one. Signed-off-by: Bin Meng --- Changes in v2: None cmd/ide.c | 2 +- 1 file c

[U-Boot] [PATCH v2 2/4] block: ide: Fix block read/write with driver model

2017-09-04 Thread Bin Meng
This converts the IDE driver to driver model so that block read and write are fully functional. Fixes: b7c6baef ("x86: Convert MMC to driver model") Reported-by: Heinrich Schuchardt Signed-off-by: Bin Meng --- Changes in v2: - Fixed 'fatls ide 0' issue drivers/block/blk-uclass.c | 2 +- dri

[U-Boot] [PATCH v2 1/4] blk: Use macros for block device vendor/product/rev string size

2017-09-04 Thread Bin Meng
So far these are using magic numbers. Replace them with macros. Signed-off-by: Bin Meng --- Changes in v2: None include/blk.h | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/blk.h b/include/blk.h index a106f9c..fced138 100644 --- a/include/blk.h +++ b/inc

[U-Boot] [PATCH v2 3/4] block: ide: Don't bother to create BLK device if no CDROM inserted

2017-09-04 Thread Bin Meng
When there is no CDROM inserted, the block size is zero hence there is no need to create a BLK device for it. Signed-off-by: Bin Meng --- Changes in v2: None drivers/block/ide.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/block/ide.c b/drivers/block/ide.c index 58b295e..

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-09-04 Thread Bin Meng
Hi Heinrich, On Mon, Sep 4, 2017 at 1:41 PM, Heinrich Schuchardt wrote: > On 09/04/2017 05:59 AM, Bin Meng wrote: >> Hi Heinrich, >> >> On Fri, Sep 1, 2017 at 1:24 AM, Heinrich Schuchardt >> wrote: >>> On 08/31/2017 02:55 PM, Bin Meng wrote: Hi Simon, On Thu, Aug 31, 2017 at 8:52

[U-Boot] [PATCH 1/1] efi_loader: helloworld.c: remove superfluous include

2017-09-04 Thread Heinrich Schuchardt
Remove a superfluous include from helloworld.c Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/helloworld.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/efi_loader/helloworld.c b/lib/efi_loader/helloworld.c index 03e65ab133..77130a36dd 100644 --- a/lib/efi_loader/helloworld.c +++

Re: [U-Boot] [PATCH 07/19] arm: socfpga: Add DRAM bank size initialization function

2017-09-04 Thread Chee, Tien Fong
On Rab, 2017-08-30 at 10:56 +0200, Marek Vasut wrote: > On 08/30/2017 10:36 AM, Chee, Tien Fong wrote: > > > > On Sel, 2017-08-29 at 13:59 +0200, Marek Vasut wrote: > > > > > > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > >

Re: [U-Boot] [PATCH 05/19] arm: socfpga: Enhance FPGA program support with at least 4 byte data

2017-09-04 Thread Chee, Tien Fong
On Rab, 2017-08-30 at 10:55 +0200, Marek Vasut wrote: > On 08/30/2017 10:24 AM, Chee, Tien Fong wrote: > > > > On Sel, 2017-08-29 at 13:58 +0200, Marek Vasut wrote: > > > > > > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > >

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-09-04 Thread Chee, Tien Fong
On Rab, 2017-08-30 at 10:52 +0200, Marek Vasut wrote: > On 08/30/2017 10:05 AM, Chee, Tien Fong wrote: > > > > On Sel, 2017-08-29 at 13:55 +0200, Marek Vasut wrote: > > > > > > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > >