Re: [U-Boot] [PATCH] spl: Add full fitImage support

2018-05-13 Thread Marek Vasut
On 05/14/2018 12:02 AM, Simon Glass wrote: > On 13 May 2018 at 08:23, Marek Vasut wrote: >> Add support for loading U-Boot and optionally FDT from a fitImage >> in SPL by using the full fitImage support from U-Boot. While we do >> have limited SPL loading support in SPL with a small footprint, it

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (13.05.2018)

2018-05-13 Thread Marek Vasut
On 05/13/2018 09:24 PM, Lukasz Majewski wrote: > Dear Marek, > > > Travis CI: > https://travis-ci.org/lmajewski/u-boot-dfu/builds/378387230 > > The following changes since commit > 62d77cea31216cad526e5f45c88e8377efc6fcae: > > mmc: Improve tinification (2018-05-13 07:57:32 -0400) > > are ava

Re: [U-Boot] [PATCH v2 4/6] scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987

2018-05-13 Thread Eugeniu Rosca
Hi Simon, On Mon, May 14, 2018 at 08:00:40AM +1000, Simon Glass wrote: > Hi, > > On 13 May 2018 at 03:13, Eugeniu Rosca wrote: > > From: Rob Herring > > > > This adds the following commits from upstream: > > > > aadd0b65c987 checks: centralize printing of property names in failure > > messages

Re: [U-Boot] [PATCH v2 08/11] sandbox: Enable support for MC34708 PMIC in DTS

2018-05-13 Thread Simon Glass
On 7 May 2018 at 06:26, Lukasz Majewski wrote: > This commit also provides the default values of the emulated MC34708 PMIC > internal registers content. > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - New patch > > arch/sandbox/dts/sandbox.dts | 4 > arch/sandbox/dt

Re: [U-Boot] [PATCH v2 09/11] sandbox: Enable MC34708 PMIC support

2018-05-13 Thread Simon Glass
On 7 May 2018 at 06:26, Lukasz Majewski wrote: > This MC34708 PMIC is somewhat special - it used single transfers (R/W) with > 3 bytes size - up till now u-boot's PMICs only used 1 byte. U-Boot's > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - New patch > > configs/sandbox_de

Re: [U-Boot] [PATCH] spl: Add full fitImage support

2018-05-13 Thread Simon Glass
On 13 May 2018 at 08:23, Marek Vasut wrote: > Add support for loading U-Boot and optionally FDT from a fitImage > in SPL by using the full fitImage support from U-Boot. While we do > have limited SPL loading support in SPL with a small footprint, it > is missing a lot of important features, like c

Re: [U-Boot] [PATCH v2 10/11] sandbox: tests: Exclude common test code (pmic_get) in test/dm/pmic.c

2018-05-13 Thread Simon Glass
On 7 May 2018 at 06:26, Lukasz Majewski wrote: > The common code can be excluded to be reused by tests for other PMIC. > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - New patch > > test/dm/pmic.c | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) Reviewed-by

Re: [U-Boot] [PATCH v2 05/11] pmic: dm: Add support for MC34708 for PMIC DM

2018-05-13 Thread Simon Glass
Hi Lukasz, On 7 May 2018 at 06:26, Lukasz Majewski wrote: > This patch adds support for MC34708 PMIC, to be used with driver model > (DM). > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - Support for uclass private data with trasfer length > > drivers/power/pmic/Kconfig | 7

Re: [U-Boot] [PATCH 2/3] fit: Add empty fit_print_contents() and fit_image_print()

2018-05-13 Thread Simon Glass
On 13 May 2018 at 08:22, Marek Vasut wrote: > These functions may be needed in SPL, so add empty variants of them > if CONFIG_SPL_FIT_PRINT is disabled. > > Signed-off-by: Marek Vasut > Cc: Pantelis Antoniou > Cc: Simon Glass > --- > common/image-fit.c | 4 +++- > 1 file changed, 3 insertions(

Re: [U-Boot] [PATCH 1/3] fit: Fix CONFIG_FIT_SPL_PRINT

2018-05-13 Thread Simon Glass
On 13 May 2018 at 08:22, Marek Vasut wrote: > Rename CONFIG_FIT_SPL_PRINT to CONFIG_SPL_FIT_PRINT and add Kconfig > entry for it. > > Signed-off-by: Marek Vasut > Cc: Pantelis Antoniou > Cc: Simon Glass > --- > Kconfig| 6 ++ > README | 2 +- > common/image-fit.c |

Re: [U-Boot] [PATCH v2 11/11] sandbox: tests: Add tests for mc34708 PMIC device

2018-05-13 Thread Simon Glass
On 7 May 2018 at 06:26, Lukasz Majewski wrote: > Following tests has been added for mc34708 device: > > - get_test for mc34708 PMIC > - Check if proper number of registers is read > - Check if default (emulated via i2c device) value is properly read > - Check if value write/read operation is corre

Re: [U-Boot] [PATCH 3/3] fit: Add standalone image type handling

2018-05-13 Thread Simon Glass
On 13 May 2018 at 08:22, Marek Vasut wrote: > Just add IH_TYPE_STANDALONE to fit_get_image_type_property(). > > Signed-off-by: Marek Vasut > Cc: Pantelis Antoniou > Cc: Simon Glass > --- > common/image-fit.c | 2 ++ > include/image.h| 1 + > 2 files changed, 3 insertions(+) > Reviewed-by:

Re: [U-Boot] [PATCH v3 3/3] net: designware: Add reset ctrl to driver

2018-05-13 Thread Simon Glass
On 8 May 2018 at 13:19, Ley Foon Tan wrote: > Add code to reset all reset signals as in Ethernet DT node. A reset property > is an optional feature, > so only print out a warning and do not fail if a reset property is not > present. > > If a reset property is discovered, then use it to deassert,

Re: [U-Boot] [PATCH v2 07/11] sandbox: Rewrite i2c_pmic_emul.c to support PMIC with 3 bytes transmission

2018-05-13 Thread Simon Glass
Hi Lukasz, On 7 May 2018 at 06:26, Lukasz Majewski wrote: > This change enables support for MC34708 PMIC in sandbox. Now we can > emulate the I2C transfers larger than 1 byte. > > Notable changes for this driver: > > - From now on the register number is not equal to index in the buffer, > which

Re: [U-Boot] [PATCH v2] timer: Add Cadence TTC timer counter support

2018-05-13 Thread Simon Glass
On 10 May 2018 at 18:24, Michal Simek wrote: > This driver was tested on Xilinx ZynqMP SoC. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - Remove tabs from U_BOOT_DRIVER > > MAINTAINERS | 1 + > drivers/timer/Kconfig | 7 +++ > drivers/timer/Makefile |

Re: [U-Boot] [PATCH v3 1/3] mmc: dwmmc: socfpga: Add reset ctrl to driver

2018-05-13 Thread Simon Glass
On 8 May 2018 at 13:19, Ley Foon Tan wrote: > Add code to reset all reset signals as in mmc DT node. A reset property is an > optional feature, > so only print out a warning and do not fail if a reset property is not > present. > > If a reset property is discovered, then use it to deassert, thus

Re: [U-Boot] [PATCH 7/7] serial: serial_msm: added pinmux & config

2018-05-13 Thread Simon Glass
On 12 May 2018 at 20:15, Ramon Fried wrote: > Serial port configuration was missing from previous implementation. > It only worked because it was preconfigured by LK. > This patch configures the uart for 115200 8N1. > It also configures the pin mux for uart pins using DT bindings. > > Signed-off-b

Re: [U-Boot] [PATCH v2 06/11] pmic: Rewrite the pmic command to not only work with single byte transmission

2018-05-13 Thread Simon Glass
On 7 May 2018 at 06:26, Lukasz Majewski wrote: > Up till now it was only possible to use 'pmic' command with a single byte > transmission. > The pmic_read|write functions has been replaced with ones, which don't need > the transmission length as a parameter. > > Due to that it is possible now to r

Re: [U-Boot] [PATCH v2 6/6] sandbox: dts: test: Fix wrong aliases property names

2018-05-13 Thread Simon Glass
On 13 May 2018 at 03:13, Eugeniu Rosca wrote: > After importing v4.17-rc1 Linux commit 9130ba884640 ("scripts/dtc: > Update to upstream version v1.4.6-9-gaadd0b65c987"), sandbox build > reports below warnings: > > arch/sandbox/dts/test.dtb: Warning (alias_paths): /aliases: aliases property > name

Re: [U-Boot] [PATCH v2 04/11] pmic: dm: Rewrite pmic_reg_{read|write|clrsetbits} to support 3 bytes transmissions

2018-05-13 Thread Simon Glass
Hi Lukasz, On 7 May 2018 at 06:26, Lukasz Majewski wrote: > This commit provides support for transmissions larger than 1 byte for > PMIC devices used with DM (e.g. MC34708 from NXP). > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - pmic_reg_* fixes to use uclass private structur

Re: [U-Boot] [PATCH v2 02/11] pmic: fsl: Define number of bytes sent at once by MC34708 PMIC

2018-05-13 Thread Simon Glass
On 7 May 2018 at 06:25, Lukasz Majewski wrote: > This patch adds definition of the number of bytes sent at once by the > MC34708 PMIC. > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - None > > include/fsl_pmic.h | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v2 4/6] scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987

2018-05-13 Thread Simon Glass
Hi, On 13 May 2018 at 03:13, Eugeniu Rosca wrote: > From: Rob Herring > > This adds the following commits from upstream: > > aadd0b65c987 checks: centralize printing of property names in failure messages > 88960e398907 checks: centralize printing of node path in check_msg > f1879e1a50eb Add limi

Re: [U-Boot] [PATCH v2 3/6] scripts/dtc: Update to upstream version v1.4.5-6-gc1e55a5513e9

2018-05-13 Thread Simon Glass
On 13 May 2018 at 03:13, Eugeniu Rosca wrote: > From: Rob Herring > > Pickup the fix for handling unresolved phandles in overlays. > > This adds the following commits from upstream: > > c1e55a5513e9 checks: fix handling of unresolved phandles for dts plugins > f8872e29ce06 tests: Avoid 64-bit ari

Re: [U-Boot] [PATCH 3/7] serial: serial_msm: initialize uart only before relocation

2018-05-13 Thread Simon Glass
On 12 May 2018 at 20:15, Ramon Fried wrote: > The uart is already initialized prior to relocation, > reinitialization after relocation is unnecessary. > > Signed-off-by: Ramon Fried > --- > drivers/serial/serial_msm.c | 4 > 1 file changed, 4 insertions(+) Reviewed-by: Simon Glass But pl

Re: [U-Boot] [PATCH 5/7] mach-snapdragon: Introduce pinctrl driver

2018-05-13 Thread Simon Glass
Hi Ramon, On 12 May 2018 at 20:15, Ramon Fried wrote: > This patch adds pinmux and pinctrl driver for TLMM > subsystem in snapdragon chipsets. > Currently, supporting only 8016, but implementation is > generic and 8096 can be added easily. > > Driver is using the generic dt-bindings and doesn't >

Re: [U-Boot] [PATCH v2 03/11] pmic: Add support for setting transmission length in uclass private data

2018-05-13 Thread Simon Glass
On 7 May 2018 at 06:26, Lukasz Majewski wrote: > The struct dm_pmic_info's trans_len field stores the number of types to > be transmitted per PMIC transfer. > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - New patch > > drivers/power/pmic/pmic-uclass.c | 10 ++ > include

Re: [U-Boot] [PATCH 1/7] db820c: set clk node to be probed before relocation

2018-05-13 Thread Simon Glass
Hi Ramon, On 12 May 2018 at 20:15, Ramon Fried wrote: > The clock and serial nodes are needed before relocation. > This patch ensures that the msm-serial driver will probe > and provide uart output before relocation. > > Signed-off-by: Ramon Fried > --- > arch/arm/dts/dragonboard820c-uboot.dtsi

Re: [U-Boot] [PATCH 6/7] db410: added pinctrl node and serial bindings

2018-05-13 Thread Simon Glass
On 12 May 2018 at 20:15, Ramon Fried wrote: > Added TLMM pinctrl node for pin muxing & config. > Additionally, added a serial node for uart. > > Signed-off-by: Ramon Fried > --- > arch/arm/dts/dragonboard410c.dts | 14 ++ > 1 file changed, 14 insertions(+) > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 2/7] serial: serial_msm: fail probe if settings clocks fails

2018-05-13 Thread Simon Glass
Hi Ramon, On 12 May 2018 at 20:15, Ramon Fried wrote: > Failure to set the clocks will causes data abort exception when > trying to write to AHB uart registers. > This patch ensures that we don't touch these registers if clock > setting failed. > > Signed-off-by: Ramon Fried > --- > drivers/ser

Re: [U-Boot] net: [PATCH v10 3/3] Adding wget

2018-05-13 Thread Simon Glass
Hi, On 14 May 2018 at 07:05, Duncan Hare wrote: > > > > >>> >>>Please setup a test that can run in an environment without the >>>Internet. That is critical for unit tests. >>> >>>Hand tests for Internet usage and the environmental effects are great, >>>but that ca

Re: [U-Boot] net: [PATCH v10 3/3] Adding wget

2018-05-13 Thread Duncan Hare
  >> >>Please setup a test that can run in an environment without the >>Internet. That is critical for unit tests. >> >>Hand tests for Internet usage and the environmental effects are great, >>but that can't be what we include in the auto tests for repeat-ability >>reasons. Simon is asking for a s

Re: [U-Boot] [PATCH v2 1/6] kconfig: re-sync with Linux 4.17-rc4

2018-05-13 Thread Eugeniu Rosca
On Sun, May 13, 2018 at 10:52:07PM +0900, Masahiro Yamada wrote: > 2018-05-13 4:17 GMT+09:00 Eugeniu Rosca : > > I wonder if Kconfig could avoid printing whitespace in command line > > user dialogs. Then maybe those space characters could be removed from > > the "*xpected_stdout" files. > > > 'ma

[U-Boot] [GIT] Pull request: u-boot-dfu (13.05.2018)

2018-05-13 Thread Lukasz Majewski
Dear Marek, Travis CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/378387230 The following changes since commit 62d77cea31216cad526e5f45c88e8377efc6fcae: mmc: Improve tinification (2018-05-13 07:57:32 -0400) are available in the git repository at: git://git.denx.de/u-boot-dfu.git

Re: [U-Boot] [PATCH] net: include/phy.h: add new mode for internal phy

2018-05-13 Thread Marek Vasut
On 05/11/2018 11:51 AM, Kunihiko Hayashi wrote: > Add the new mode to indicate a built-in PHY. > This will be used by UniPhier AVE ethernet driver. Hi, Hayashi-san, CC Joe on network stuff. Reviewed-by: Marek Vasut > Signed-off-by: Kunihiko Hayashi > --- > include/phy.h | 2 ++ > 1 file chan

Re: [U-Boot] [PATCH 3/3] fpga: zynqmp: Fix the nonsecure bitstream loading issue

2018-05-13 Thread Marek Vasut
On 03/28/2018 04:30 PM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Xilfpga library expects the size of bitstream in a pointer > but currenly we are passing the size as a value. This patch > fixes this issue. This breaks fpga loadb on zynqmp with FSBL 0.3 for me, so please revert.

Re: [U-Boot] [PATCH v2] board: sun50i: Add Amarula A64 Relic initial support

2018-05-13 Thread Marek Vasut
On 05/11/2018 07:47 AM, Jagan Teki wrote: > Amarula A64 Relic is A64 based IoT device, which support > - Allwinner A64 Cortex-A53 > - Mali-400MP2 GPU > - AXP803 PMIC > - 1GB DDR3 RAM > - 8GB eMMC > - AP6330 Wifi/BLE > - MIPI-DSI > - CSI: OV5640 sensor > - USB OTG > - 12V DC power supply > > Signed

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-13 Thread Marek Vasut
On 05/11/2018 07:53 PM, Evan Thompson wrote: > On Fri, May 11, 2018 at 10:18 AM, Tom Rini wrote: >> On Fri, May 11, 2018 at 10:14:38AM -0700, Evan Thompson wrote: >>> On Thu, May 10, 2018 at 3:02 PM, Tom Rini wrote: On Mon, Mar 26, 2018 at 04:05:24PM -0700, evan.g.thomp...@gmail.com wrote: >

Re: [U-Boot] [PATCH] bootcount: Add bootcount command

2018-05-13 Thread Lukasz Majewski
On Sat, 12 May 2018 05:49:47 + Alex Kiernan wrote: > Add a command to manipulate the bootcounter. This is useful if you can > run device recovery from inside U-Boot and need to reset the > bootcounter after executing that process as part of altbootcmd. > > Signed-off-by: Alex Kiernan > ---

Re: [U-Boot] [PATCH v2 1/1] arm: print instructions pointed to by pc

2018-05-13 Thread Marek Vasut
On 05/13/2018 02:22 PM, Tuomas Tynkkynen wrote: > Hi, > > On Thu, 10 May 2018 16:38:30 +0200 > Heinrich Schuchardt wrote: > >> If an exception occurs in a loaded image and the relocation offset is >> unknown, it is helful to know the instructions pointed to by the >> program counter. This patch

Re: [U-Boot] [PATCH] mx6: remove duplicated BOUNCE_BUFFER defines

2018-05-13 Thread Lukasz Majewski
Hi Peter, > The mx6_common.h file already defines BOUNCE_BUFFER so no need to > definit it again in specific configs. > > Signed-off-by: Peter Robinson > --- > include/configs/advantech_dms-ba16.h | 1 - > include/configs/apalis_imx6.h| 1 - > include/configs/colibri_imx6.h | 1 -

Re: [U-Boot] [PATCH v2 1/6] kconfig: re-sync with Linux 4.17-rc4

2018-05-13 Thread Masahiro Yamada
2018-05-13 4:17 GMT+09:00 Eugeniu Rosca : > > Hello Petr, > > On Sat, May 12, 2018 at 08:25:56PM +0200, Petr Vorel wrote: >> Hi Eugeniu, >> >> > My testing was limited to: >> > - make defconfig all >> > - make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- r8a7795_ulcb_defconfig all >> > - comparing .co

Re: [U-Boot] [PATCH v2 1/1] arm: print instructions pointed to by pc

2018-05-13 Thread Tuomas Tynkkynen
Hi, On Thu, 10 May 2018 16:38:30 +0200 Heinrich Schuchardt wrote: > If an exception occurs in a loaded image and the relocation offset is > unknown, it is helful to know the instructions pointed to by the > program counter. This patch adds the missing output. > > A possible output is: > *pc

Re: [U-Boot] mmc: Improve tinification

2018-05-13 Thread Tom Rini
On Sun, Apr 15, 2018 at 12:37:11AM +0200, Marek Vasut wrote: > From: Marek Vasut > > Drop all the extra content from the MMC core, so that tiny MMC support > is really tiny, no fancy anything. That means the tiny MMC support does > only 1-bit transfers at default speed settings. Moreover, this p

Re: [U-Boot] Support for the Raspberry Pi 3B+?

2018-05-13 Thread Peter Robinson
On Sat, May 12, 2018 at 8:50 PM, Qwerty Chouskie wrote: > The defconfig for the 3 seems to work fine, except that for some reason > Ethernet doesn't work (from what I understand, it is on the USB bus, though > u-boot doesn't detect it? > > A quick google found some (maybe) useful files (e.g. the D