Re: [U-Boot] [PATCH v6 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-04-11 Thread Jaehoon Chung
Dear Heiner, On 04/12/2017 04:41 AM, Heiner Kallweit wrote: > Am 20.02.2017 um 20:32 schrieb Heiner Kallweit: >> Enable new Meson GX MMC driver in Odroid C2 defconfig. >> >> Signed-off-by: Heiner Kallweit >> --- >> v6: >> - no changes >> --- >> configs/odroid-c2_defconfig

Re: [U-Boot] [PATCH v4 0/7] board: sama5d4: convert boards to support DM/DT

2017-04-11 Thread Yang, Wenyou
Hi Simon, On 2017/4/11 21:56, Simon Glass wrote: Hi, On 10 April 2017 at 00:57, Yang, Wenyou wrote: Hi Simon, On 2017/4/10 3:28, Simon Glass wrote: +Tom Hi, On 7 April 2017 at 01:28, Yang, Wenyou wrote: Hi Andreas, Could you help

[U-Boot] [PATCH] rockchip: rk3399: use regulators_enable_boot_on() to init regulator

2017-04-11 Thread Kever Yang
Use regulators_enable_boot_on() instead of init regulators one by one, the interface can init all the regulators with regulator-boot-on property. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3399/evb-rk3399.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[U-Boot] [PATCH 2/2] rockchip: dts: evb-rk3399: add gmac support

2017-04-11 Thread Kever Yang
Enable gmac for evb-rk3399. Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-evb.dts | 23 +++ configs/evb-rk3399_defconfig | 4 2 files changed, 27 insertions(+) diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/rk3399-evb.dts

[U-Boot] [PATCH 1/2] rockchip: config: rk3399: clean with make savedefconfig

2017-04-11 Thread Kever Yang
Clean the evb-rk3399_defconfig with make savedefconfig. Signed-off-by: Kever Yang --- configs/evb-rk3399_defconfig | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index

Re: [U-Boot] [PATCH 00/16] RFC: Board init using driver model

2017-04-11 Thread Simon Glass
Hi Bin, On 11 April 2017 at 20:39, Bin Meng wrote: > Hi Simon, > > On Sat, Apr 1, 2017 at 12:21 PM, Simon Glass wrote: >> Hi Tom, >> >> On 22 March 2017 at 09:13, Tom Rini wrote: >>> On Wed, Mar 22, 2017 at 08:43:54AM -0600, Simon

Re: [U-Boot] [PATCH 02/16] x86: Display the SPL banner only once

2017-04-11 Thread Simon Glass
Hi Bin, On 11 April 2017 at 21:09, Bin Meng wrote: > > Hi Simon, > > On Mon, Mar 20, 2017 at 2:59 AM, Simon Glass wrote: > > At present on a cold reboot we must reset the CPU to get it to full speed. > > With 64-bit U-Boot this happens in SPL. At present

Re: [U-Boot] [PATCH 03/16] x86: config: Enable dhrystone command for link

2017-04-11 Thread Bin Meng
On Mon, Mar 20, 2017 at 2:59 AM, Simon Glass wrote: > Enable this command so we can get an approximate performance measurement. > > Signed-off-by: Simon Glass > --- > > configs/chromebook_link64_defconfig | 1 + > configs/chromebook_link_defconfig | 1 + >

Re: [U-Boot] [PATCH 02/16] x86: Display the SPL banner only once

2017-04-11 Thread Bin Meng
Hi Simon, On Mon, Mar 20, 2017 at 2:59 AM, Simon Glass wrote: > At present on a cold reboot we must reset the CPU to get it to full speed. > With 64-bit U-Boot this happens in SPL. At present we print the banner > before doing this, the end result being that we print the

Re: [U-Boot] [PATCH 01/16] x86: Drop leading spaces in cpu_x86_get_desc()

2017-04-11 Thread Bin Meng
On Mon, Mar 20, 2017 at 2:59 AM, Simon Glass wrote: > The Intel CPU name can have leading spaces. Remove them since they are not > useful. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/cpu_x86.c | 6 +- > 1 file changed, 5 insertions(+), 1

[U-Boot] [PATCH v2 2/2] serial: atmel_usart: Add clk support

2017-04-11 Thread Wenyou Yang
Add the clock support. The clock handling of DBGU is different fromt the one of USART. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v2: - Fix the DBGU clock handling. - Add Reviewed-by tag. drivers/serial/atmel_usart.c | 52

[U-Boot] [PATCH v2 1/2] serial: atmel_usart: Fix early debug not work in SPL

2017-04-11 Thread Wenyou Yang
Add the uart init function to be used on both probe and the early debug uart init. For the latter, the input clock should be from CONFIG_DEBUG_UART_CLOCK. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 0/2] serial: atmel_usart: Fix uart init and add clk support

2017-04-11 Thread Wenyou Yang
The patches is rework the uart init to fix the early debug not work in SPL, and add the clock support. Changes in v2: - Fix the DBGU clock handling. - Add Reviewed-by tag. Wenyou Yang (2): serial: atmel_usart: Fix early debug not work in SPL serial: atmel_usart: Add clk support

Re: [U-Boot] [PATCH 00/16] RFC: Board init using driver model

2017-04-11 Thread Bin Meng
Hi Simon, On Sat, Apr 1, 2017 at 12:21 PM, Simon Glass wrote: > Hi Tom, > > On 22 March 2017 at 09:13, Tom Rini wrote: >> On Wed, Mar 22, 2017 at 08:43:54AM -0600, Simon Glass wrote: >>> Hi Tom, >>> >>> On 22 March 2017 at 08:37, Tom Rini

Re: [U-Boot] [PATCH] spl: make image arg or fdt blob address reconfigurable

2017-04-11 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Monday, April 10, 2017 5:29 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Marek Vasut ; Stefan Agner > ; Jeremy Hunt >

[U-Boot] [PATCH 2/2] mips: qemu-mips: Expand malloc pool to fit CONFIG_SYS_BOOTPARAMS_LEN

2017-04-11 Thread Kyle Edwards
Before this patch, CONFIG_SYS_BOOTPARAMS_LEN was the same size as CONFIG_SYS_MALLOC_LEN. So, if malloc() had previously been called, and initr_malloc_bootparams() was called, it would fail with an out-of- memory error. This patch fixes this issue by expanding the malloc pool to 256KB.

[U-Boot] [PATCH 0/2] Fix several bugs in qemu-mips configuration

2017-04-11 Thread Kyle Edwards
I recently played around with the qemu-mips configuration, and encountered several issues. Saving the environment to flash overwrites the U-Boot code, and the malloc pool isn't big enough for initr_malloc_bootparams(). This patchset fixes these issues. Kyle Edwards (2): mips: qemu-mips: Remove

[U-Boot] [PATCH 1/2] mips: qemu-mips: Remove obsolete CONFIG_SYS_MONITOR_LEN from config

2017-04-11 Thread Kyle Edwards
This fixes an issue with the saveenv command causing U-Boot to no longer work on the QEMU Mips pseudoboard. Because the offset of the environment was being determined by CONFIG_SYS_MONITOR_LEN, and this value was less than the actual size of U-Boot, saveenv was overwriting parts of the U-Boot

Re: [U-Boot] qemu_mips - CONFIG_SYS_MONITOR_LEN is too small

2017-04-11 Thread Daniel Schwierzeck
Am 09.04.2017 um 20:19 schrieb Kyle Edwards: > Hi all, > > I recently tried to use u-boot on the qemu_mips platform, and running > the saveenv command causes u-boot to not boot after a reset. I followed > these steps: > > $ git clone git://git.denx.de/u-boot.git > $ cd u-boot > $ git checkout

Re: [U-Boot] [PATCH] board/t1024rdb: enable board-level reset when issuing reset command

2017-04-11 Thread York Sun
On 04/11/2017 02:16 AM, Shengzhou Liu wrote: -Original Message- From: York Sun [mailto:york@nxp.com] Sent: Tuesday, April 11, 2017 1:14 AM To: Shengzhou Liu ; u-boot@lists.denx.de Subject: Re: [PATCH] board/t1024rdb: enable board-level reset when issuing

Re: [U-Boot] [Patch v2 3/3] armv8: ls1088aqds: Add support of LS1088AQDS

2017-04-11 Thread York Sun
On 04/10/2017 09:19 AM, Ashish Kumar wrote: This patch add support of LS1088AQDS platform. The LS1088A QorIQTM Development System (QDS) is a high-performance computing, evaluation, and development platform that supports the LS1088A QorIQ Architecture processor. Signed-off-by: Prabhakar

Re: [U-Boot] [Patch v2 2/3] armv8: ls1088ardb: Add support for LS1088ARDB platform

2017-04-11 Thread York Sun
On 04/10/2017 09:19 AM, Ashish Kumar wrote: LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin platform that supports the LS1088A family SoCs. This patch add basic support of the platform. Signed-off-by: Alison Wang Signed-off-by: Prabhakar Kushwaha

Re: [U-Boot] [Patch v2 1/3] armv8: ls1088a: Add NXP LS1088A SoC support

2017-04-11 Thread York Sun
On 04/10/2017 09:19 AM, Ashish Kumar wrote: The QorIQ LS1088A processor is built on the Layerscape architecture combining eight ARM A53 processor cores with advanced, high-performance datapath acceleration and networks, peripheral interfaces required for networking, wireless infrastructure, and

Re: [U-Boot] [PATCH 5/6] arm: sunxi: Use board hooks to obtain MAC address

2017-04-11 Thread Olliver Schinagl
Hey Joe, On 11-04-17 00:56, Joe Hershberger wrote: On Fri, Apr 7, 2017 at 8:57 AM, wrote: On Fri, 2017-04-07 at 15:45 +0200, Olliver Schinagl wrote: Hey Joe, On 30-11-16 22:36, Joe Hershberger wrote: On Fri, Nov 25, 2016 at 9:38 AM, Olliver Schinagl

Re: [U-Boot] [PATCH v6 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-04-11 Thread Heiner Kallweit
Am 20.02.2017 um 20:32 schrieb Heiner Kallweit: > Enable new Meson GX MMC driver in Odroid C2 defconfig. > > Signed-off-by: Heiner Kallweit > --- > v6: > - no changes > --- > configs/odroid-c2_defconfig | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff

Re: [U-Boot] [PATCH RFC 1/7] omap_hsmmc: update struct hsmmc to accommodate omap3 from DT

2017-04-11 Thread Adam Ford
On Mon, Apr 10, 2017 at 11:33 PM, Vignesh R wrote: > > > On Tuesday 11 April 2017 03:42 AM, Adam Ford wrote: >> I am working on porting an OMAP3630 board to support device tree, and >> I attempted to change enable DM_MMC. Unfortunately, that broke MMC. >> >> I discovered that

[U-Boot] [PATCH 8/8] defconfig: keystone: Enable DM I2C

2017-04-11 Thread Franklin S Cooper Jr
Now that the davinci I2C driver is converted to driver model enable it in 66AK2Gx defconfig Signed-off-by: Franklin S Cooper Jr --- configs/k2e_evm_defconfig | 1 + configs/k2g_evm_defconfig | 1 + configs/k2hk_evm_defconfig | 1 + configs/k2l_evm_defconfig | 1 + 4 files

[U-Boot] [PATCH 0/8] drivers: i2c: davinci_i2c: Convert driver to DM

2017-04-11 Thread Franklin S Cooper Jr
This patch series converts the davinci i2c driver to use device model. This updated driver has been verified on both Keystone K2G and Keystone K2L evms by performing several i2c operations in U-boot prompt. Some additional work was required to get things working on K2G due to the code that reads

[U-Boot] [PATCH 6/8] ARM: dts: keystone2: add I2C aliases for davinci I2C nodes

2017-04-11 Thread Franklin S Cooper Jr
Add aliases for I2C nodes required for the DM framework to probe the davinci-i2c driver. Signed-off-by: Franklin S Cooper Jr --- arch/arm/dts/keystone.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/keystone.dtsi b/arch/arm/dts/keystone.dtsi index

[U-Boot] [PATCH 4/8] ti: common: board_detect: Set alen to expected value before i2c read

2017-04-11 Thread Franklin S Cooper Jr
In non DM I2C read operations the address length passed in during a read operation will be used automatically. However, in DM I2C the address length is set to a default value of one which causes problems when trying to perform a read with a differing alen. Therefore, before the first read in a

[U-Boot] [PATCH 5/8] ARM: dts: k2g: Add I2C nodes to 66AK2Gx

2017-04-11 Thread Franklin S Cooper Jr
Add I2C nodes to the 66AK2Gx dtsi. Signed-off-by: Franklin S Cooper Jr --- arch/arm/dts/keystone-k2g.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/dts/keystone-k2g.dtsi b/arch/arm/dts/keystone-k2g.dtsi index 2193f9f..191e3f1

[U-Boot] [PATCH 7/8] ARM: dts: keystone-k2g-evm: Enable I2C0 and I2C1

2017-04-11 Thread Franklin S Cooper Jr
Enable I2C0 and I2C1 which is needed to enable usage of DM I2C. Signed-off-by: Franklin S Cooper Jr --- arch/arm/dts/keystone-k2g-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/keystone-k2g-evm.dts b/arch/arm/dts/keystone-k2g-evm.dts index

[U-Boot] [PATCH 3/8] ti: common: board_detect: Introduce function to set the address length.

2017-04-11 Thread Franklin S Cooper Jr
Reading from the I2C EEPROM used typically requires using an address length of 2. However, when using DM for I2C the default address length used is 1. To fix this introduce a new function that allows the address length to be changed. The logic to do so was copied from cmd/i2c.c. Signed-off-by:

[U-Boot] [PATCH 2/8] drivers: i2c: davinci_i2c: Update davinci i2c driver to driver model

2017-04-11 Thread Franklin S Cooper Jr
Convert davinci i2c driver to driver model. Signed-off-by: Franklin S Cooper Jr --- drivers/i2c/davinci_i2c.c | 92 +-- 1 file changed, 90 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/davinci_i2c.c

[U-Boot] [PATCH 1/8] i2c: davinci: Split functions into two parts for future DM support

2017-04-11 Thread Franklin S Cooper Jr
The i2c driver will be converted to support device model. In preparation for that change split the various functions into two parts. This will allow device model specific driver to reuse the majority of the code from the non device model implementation. Also rename the probe function to

Re: [U-Boot] [PATCH v6 1/3] arm: dts: update Meson GXBB / Odroid-C2 DT with latest Linux version

2017-04-11 Thread felix zihlmann
Am Montag, den 10.04.2017, 21:07 +0200 schrieb Heiner Kallweit: > Am 10.04.2017 um 21:03 schrieb felix zihlmann: > > Hi, > > > > I have tried this patch-set (applied to u-boot-2017.03) on a Odroid-C2. > > Booting from SD card works fine. However booting form eMMC card (128GB > > from Hardkernel)

Re: [U-Boot] [PATCH v3 0/6] Introduce DCU support for Vybrid

2017-04-11 Thread Stefan Agner
Stefano, This patchset has been on the ML for a quite a while, any chance to get this still into v2017.05? -- Stefan On 2017-04-10 22:42, Sanchayan Maity wrote: > Hello, > > This patchset adds support for the Freescale/NXP Display Controller Unit > (DCU4) > for Vybrid which is found on the

Re: [U-Boot] [PATCH v3 1/6] Convert CONFIG_FSL_DCU_FB to Kconfig

2017-04-11 Thread Stefan Agner
On 2017-04-10 22:42, Sanchayan Maity wrote: > Rename CONFIG_FSL_DCU_FB to CONFIG_VIDEO_FSL_DCU_FB > and convert it to Kconfig. Looks good to me. Reviewed-by: Stefan Agner -- Stefan > > Signed-off-by: Sanchayan Maity > --- >

[U-Boot] [PATCH] imx: ventana: config: set MMC env Partition to 1

2017-04-11 Thread Tim Harvey
Partition 1 equates to EMMC boot0 Signed-off-by: Tim Harvey --- include/configs/gw_ventana.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index c3908de..8191d43 100644 --- a/include/configs/gw_ventana.h

Re: [U-Boot] [PATCH v4 00/16] GPT over MTD

2017-04-11 Thread Patrick DELAUNAY
From: Tom Rini [mailto:tr...@konsulko.com] Sent: vendredi 7 avril 2017 18:26 > > On Wed, Mar 15, 2017 at 03:11:31PM +0100, Patrick Delaunay wrote: > > > > > I have a request to support GPT over MTD to have the MTD informations > > without U-Boot environment(CONFIG_ENV_IS_NOWHERE is a other > >

Re: [U-Boot] [PATCH 1/3] fsl: PPA: add support PPA image validation from NAND and SD

2017-04-11 Thread Sumit Garg
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Tuesday, April 11, 2017 9:09 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Vini Pillai

Re: [U-Boot] [PATCH] include: configs: Fix build warnings due to redefined

2017-04-11 Thread Tom Rini
On Tue, Apr 11, 2017 at 05:57:42PM +0200, Marek Vasut wrote: > On 04/11/2017 05:53 PM, suniel.spar...@gmail.com wrote: > > From: Suniel Mahesh > > > > Driver model for OMAP24XX and later Multichannel SPI master controller, > > if used, OMAP3 SPI configuration is set. >

Re: [U-Boot] [PATCH] include: configs: Fix build warnings due to redefined

2017-04-11 Thread Marek Vasut
On 04/11/2017 05:53 PM, suniel.spar...@gmail.com wrote: > From: Suniel Mahesh > > Driver model for OMAP24XX and later Multichannel SPI master controller, > if used, OMAP3 SPI configuration is set. > The same configuration is defined in ti_armv7_omap.h, because > of

[U-Boot] [PATCH] include: configs: Fix build warnings due to redefined

2017-04-11 Thread suniel . spartan
From: Suniel Mahesh Driver model for OMAP24XX and later Multichannel SPI master controller, if used, OMAP3 SPI configuration is set. The same configuration is defined in ti_armv7_omap.h, because of redefinition, warnings are spilled during build. Fixed warnings for

Re: [U-Boot] Please pull ARC changes

2017-04-11 Thread Tom Rini
On Tue, Apr 11, 2017 at 02:56:44PM +, Alexey Brodkin wrote: > Hi Tom, > > There's just a minor but quite important fix for ARC to be pulled from my > tree. > Anyways please pull it. > > The following changes since commit 9963890b8be1d208035945abc5ba9f77637b6542: > >   libfdt: fix build

[U-Boot] [PATCH] arc: arcv1: Disable master/slave check

2017-04-11 Thread Alexey Brodkin
ARCompact cores are not supposed to be used in SMP designs (this doesn't stop people from creation of heterogeneous chips, for an example keep reading) so there's no point in checking ARCNUM and halting somebody if we build for ARC700. Moreover on AXS101 board we have ARC770 in the ASIC together

Re: [U-Boot] [PATCH 1/3] fsl: PPA: add support PPA image validation from NAND and SD

2017-04-11 Thread York Sun
On 04/11/2017 04:59 AM, Sumit Garg wrote: -Original Message- From: York Sun [mailto:york@nxp.com] Sent: Tuesday, April 11, 2017 11:44 AM To: Sumit Garg ; u-boot@lists.denx.de Cc: Ruchika Gupta ; Prabhakar Kushwaha

Re: [U-Boot] [PATCHv5 00/21] Retrieve MAC address from EEPROM

2017-04-11 Thread York Sun
On 04/11/2017 07:38 AM, o.schin...@ultimaker.com wrote: Hey York, On Mon, 2017-04-10 at 09:23 -0700, York Sun wrote: On 04/10/2017 08:57 AM, Olliver Schinagl wrote: Hey York, On 10-04-17 17:52, York Sun wrote: On 04/10/2017 08:34 AM, Olliver Schinagl wrote: First off: P.S. Joe, for some

[U-Boot] Please pull ARC changes

2017-04-11 Thread Alexey Brodkin
Hi Tom, There's just a minor but quite important fix for ARC to be pulled from my tree. Anyways please pull it. The following changes since commit 9963890b8be1d208035945abc5ba9f77637b6542:   libfdt: fix build with Python 3 (2017-04-10 13:25:19 -0600) are available in the git repository at:  

Re: [U-Boot] [PATCHv5 00/21] Retrieve MAC address from EEPROM

2017-04-11 Thread o . schinagl
Hey York, On Mon, 2017-04-10 at 09:23 -0700, York Sun wrote: > On 04/10/2017 08:57 AM, Olliver Schinagl wrote: > > Hey York, > > > > On 10-04-17 17:52, York Sun wrote: > > > On 04/10/2017 08:34 AM, Olliver Schinagl wrote: > > > > First off: > > > > P.S. Joe, for some reason my previous patches

Re: [U-Boot] [PATCH v2] tiny-printf: Add support for %p format

2017-04-11 Thread Simon Glass
On 11 April 2017 at 08:13, Tom Rini wrote: > On Tue, Apr 11, 2017 at 08:03:07AM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 11 April 2017 at 08:00, Tom Rini wrote: >> > On Tue, Apr 11, 2017 at 07:56:06AM -0600, Simon Glass wrote: >> >> On 10 April 2017

Re: [U-Boot] [PATCH v2] tiny-printf: Add support for %p format

2017-04-11 Thread Tom Rini
On Tue, Apr 11, 2017 at 08:03:07AM -0600, Simon Glass wrote: > Hi Tom, > > On 11 April 2017 at 08:00, Tom Rini wrote: > > On Tue, Apr 11, 2017 at 07:56:06AM -0600, Simon Glass wrote: > >> On 10 April 2017 at 00:53, Vignesh R wrote: > >> > Add support for %p,

Re: [U-Boot] [PATCH v2] tiny-printf: Add support for %p format

2017-04-11 Thread Simon Glass
Hi Tom, On 11 April 2017 at 08:00, Tom Rini wrote: > On Tue, Apr 11, 2017 at 07:56:06AM -0600, Simon Glass wrote: >> On 10 April 2017 at 00:53, Vignesh R wrote: >> > Add support for %p, %pa[p], %pM, %pm and %pI4 formats to tiny-printf. >> > %pM and %pI4 are

Re: [U-Boot] [PATCH v2] tiny-printf: Add support for %p format

2017-04-11 Thread Tom Rini
On Tue, Apr 11, 2017 at 07:56:06AM -0600, Simon Glass wrote: > On 10 April 2017 at 00:53, Vignesh R wrote: > > Add support for %p, %pa[p], %pM, %pm and %pI4 formats to tiny-printf. > > %pM and %pI4 are widely used by SPL networking stack and is required if > > networking support

Re: [U-Boot] [PATCH v4 0/7] board: sama5d4: convert boards to support DM/DT

2017-04-11 Thread Simon Glass
Hi, On 10 April 2017 at 00:57, Yang, Wenyou wrote: > Hi Simon, > > > On 2017/4/10 3:28, Simon Glass wrote: >> >> +Tom >> >> Hi, >> >> On 7 April 2017 at 01:28, Yang, Wenyou wrote: >>> >>> Hi Andreas, >>> >>> Could you help find a time to

Re: [U-Boot] [PATCH v2] tiny-printf: Add support for %p format

2017-04-11 Thread Simon Glass
On 10 April 2017 at 00:53, Vignesh R wrote: > Add support for %p, %pa[p], %pM, %pm and %pI4 formats to tiny-printf. > %pM and %pI4 are widely used by SPL networking stack and is required if > networking support is desired in SPL. > %p, %pa and %pap are mostly used by debug prints

Re: [U-Boot] [PATCH 3/5] rockchip: video: Add mipi dsi driver for rk3399

2017-04-11 Thread Simon Glass
Hi Eric, On 9 April 2017 at 20:41, Eric Gao wrote: > Add mipi dsi driver for rk chip, To enable this > you need to enable DM, DM_VIDEO, DM_ROCKCHIP_VIDEO, > DISPLAY_MIPI in menuconfig. And enable rk808,and it's > corresponding i2c. General comment: Can you please

Re: [U-Boot] [PATCH 2/5] rockchip: pmic: Enable RK808 for rk3399 evb

2017-04-11 Thread Simon Glass
On 9 April 2017 at 20:41, Eric Gao wrote: > For using mipi display, we need to enable lcd3v3 > which supplied by rk808,so enable rk808 first. > > Signed-off-by: Eric Gao > --- > > arch/arm/dts/rk3399-evb.dts | 39

Re: [U-Boot] [PATCH 4/5] rockchip: dts: Add mipi dsi support for rk3399

2017-04-11 Thread Simon Glass
On 9 April 2017 at 20:41, Eric Gao wrote: > Add dts config for mipi display, include vop, > mipi controller, panel, backlight.And Enable rk808 > for lcd_3v3 in another patch. > > Signed-off-by: Eric Gao > --- > > arch/arm/dts/rk3399-evb.dts

Re: [U-Boot] [PATCH 1/5] rockchip: i2c: Enable i2c for rk3399

2017-04-11 Thread Simon Glass
On 9 April 2017 at 20:17, Eric Gao wrote: > To enable mipi display, we need to enable pmic > rk808 first for lcd3v3 power,which use i2c0 to > communicate with soc. So enable i2c0. > > Signed-off-by: Eric Gao > > --- > > arch/arm/dts/rk3399.dtsi

Re: [U-Boot] [PATCH] rockchip: rk3399: defconfig: add CONFIG_OF_EMBED support

2017-04-11 Thread Simon Glass
Hi Kever, On 9 April 2017 at 20:36, Kever Yang wrote: > Hi Simon, > > > On 04/10/2017 03:28 AM, Simon Glass wrote: >> >> Hi Kever, >> >> On 7 April 2017 at 04:35, Kever Yang wrote: >>> >>> Need to enablt CONFIG_OF_EMBED if we use separate

Re: [U-Boot] [PATCHv2 04/21] net: core: Add function to check/set MAC locality

2017-04-11 Thread Olliver Schinagl
A first comment I have myself, which will go in a v3 (or as a separate patch after this has been merged): On 10-04-17 17:33, Olliver Schinagl wrote: Universally administered and locally administered addresses are distinguished by setting the second-least-significant bit of the first octet of

Re: [U-Boot] [PATCH v2] tiny-printf: Add support for %p format

2017-04-11 Thread Tom Rini
On Mon, Apr 10, 2017 at 12:23:22PM +0530, Vignesh R wrote: > Add support for %p, %pa[p], %pM, %pm and %pI4 formats to tiny-printf. > %pM and %pI4 are widely used by SPL networking stack and is required if > networking support is desired in SPL. > %p, %pa and %pap are mostly used by debug prints

Re: [U-Boot] Please pull u-boot-fdt

2017-04-11 Thread Tom Rini
On Mon, Apr 10, 2017 at 02:52:44PM -0600, Simon Glass wrote: > Hi Tom, > > Just a few minor fixes. > > > The following changes since commit 01cce5fdd098add2b8aa570468cb35fca5d778fe: > > Merge git://git.denx.de/u-boot-x86 (2017-04-10 08:07:29 -0400) > > are available in the git repository

Re: [U-Boot] [RFC, 1/2] NVMe: add NVMe driver support

2017-04-11 Thread Tom Rini
On Tue, Apr 11, 2017 at 02:33:40AM +, Z.K. Zhang wrote: > Hi Tom, > > As I know, the CONFIG_BLK is not supported on some platforms' > defconfig (# CONFIG_BLK is not set), such as the fsl-qoriq platform. > I find when 'CONFIG_BLK=y', then 'fsl-esdhc-mmc' device can't work normally. > > So,

Re: [U-Boot] i.Mx6q u-boot stuck

2017-04-11 Thread Fausto Sessego
what do you suggest? How can i check if the ram configuration is right? Thanks -- *Ing. Fausto Sessego* *R Hardware & Software Engineer* info mob > *Tecnologie Wireless per la logistica e la sicurezza* *a:* Parco scientifico e tecnologico

Re: [U-Boot] MTD devices emulation driver (gluebi) support

2017-04-11 Thread ManuelCurcio
I tried to use ubifs. However, I just need of a space storage for three files with a total size of 500 bytes. From theses three files, the UBIFS generated a 1.8 MegaBytes file. The ubifs file system mounted took 7 Megabytes just for 500 bytes ! JFFS2 over ubi requires "only" 4 LEB minimum, so

Re: [U-Boot] MTD devices emulation driver (gluebi) support

2017-04-11 Thread ManuelCurcio
Hello Thanks for the answer. Hi Thanks for the answer. I would like ... but I think I'm going to a raw data storage in a ubi volume instead of a little jffs2 file system :( (my need it is just to store some bytes of data) ... Manuel - Eaton Industries

Re: [U-Boot] i.Mx6q u-boot stuck

2017-04-11 Thread Fausto Sessego
I tryed to remove it but the result was the same. I have another straing problem: if i enable the macro #define DEBUG in my mx6board.h the system stuck U-Boot 2016.07 (Apr 11 2017 - 11:19:23 +0200) initcall: 1780b930 U-Boot code: 1780 -> 17847A3C BSS: -> 178928E8 initcall: 17801cb4 CPU:

Re: [U-Boot] [RFC, 1/2] NVMe: add NVMe driver support

2017-04-11 Thread Z.K. Zhang
Hi Tom, As I know, the CONFIG_BLK is not supported on some platforms' defconfig (# CONFIG_BLK is not set), such as the fsl-qoriq platform. I find when 'CONFIG_BLK=y', then 'fsl-esdhc-mmc' device can't work normally. So, in order to make sure the NVMe driver is available on all the platforms, I

Re: [U-Boot] i.Mx6q u-boot stuck

2017-04-11 Thread Fabio Estevam
On Tue, Apr 11, 2017 at 8:20 AM, Fausto Sessego wrote: > what do you suggest? > > How can i check if the ram configuration is right? > https://community.nxp.com/docs/DOC-331930 https://community.nxp.com/docs/DOC-105652 ___

[U-Boot] generating a script file in FIT_SIGNATURE context

2017-04-11 Thread Nicolas LE BAYON
Hi all, In my setup, I have activated FIT (without signature in a first step), and I boot using standard script way (boot.scr), which I generate with the following command : mkimage -A arm -T script -C none -n "My boot script" -d boot.txt boot.scr It works fine, and I can "load" and "bootm" the

Re: [U-Boot] [PATCH v4 14/19] arm: socfpga: Add SPL support for Arria 10

2017-04-11 Thread Dinh Nguyen
On Tue, Apr 11, 2017 at 12:48 AM, Ley Foon Tan wrote: > On Tue, Apr 11, 2017 at 11:42 AM, Dinh Nguyen wrote: >> >> >> On 04/10/2017 05:05 PM, Dinh Nguyen wrote: >>> >>> >>> On 04/10/2017 03:43 PM, Dinh Nguyen wrote: On 04/05/2017 04:32

Re: [U-Boot] [PATCH 1/3] fsl: PPA: add support PPA image validation from NAND and SD

2017-04-11 Thread Sumit Garg
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Tuesday, April 11, 2017 11:44 AM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Vini Pillai

Re: [U-Boot] MTD devices emulation driver (gluebi) support

2017-04-11 Thread Heiko Schocher
Hello Manuel, Am 11.04.2017 um 09:20 schrieb manuelcur...@eaton.com: Hello Thanks for the answer. Hi Thanks for the answer. I would like ... but I think I'm going to a raw data storage in a ubi volume instead of a little jffs2 file system :( (my need it is just to store some bytes of data)

Re: [U-Boot] i.Mx6q u-boot stuck

2017-04-11 Thread Fabio Estevam
On Tue, Apr 11, 2017 at 6:29 AM, Fausto Sessego wrote > > > > Could it be a problem of ram configuration? > Yes, this could be the problem. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v4 14/19] arm: socfpga: Add SPL support for Arria 10

2017-04-11 Thread Marek Vasut
On 04/11/2017 05:42 AM, Dinh Nguyen wrote: > > > On 04/10/2017 05:05 PM, Dinh Nguyen wrote: >> >> >> On 04/10/2017 03:43 PM, Dinh Nguyen wrote: >>> >>> >>> On 04/05/2017 04:32 AM, Ley Foon Tan wrote: Add SPL support for Arria 10. Signed-off-by: Tien Fong Chee

[U-Boot] [PATCH] board: ls2080ardb: Add serdes1 protocol 0x4b support

2017-04-11 Thread Santan Kumar
Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain --- board/freescale/ls2080ardb/eth_ls2080rdb.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/freescale/ls2080ardb/eth_ls2080rdb.c

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: set up PLL1 on sun6i+ without use dividers

2017-04-11 Thread Maxime Ripard
On Mon, Apr 10, 2017 at 12:06:27PM +0200, Ondřej Jirman wrote: > Hi Maxime, > > Maxime Ripard píše v Po 10. 04. 2017 v 08:59 +0200: > > On Mon, Apr 10, 2017 at 12:19:41AM +0800, Icenowy Zheng wrote: > > > According to the researching result of Ondrej Jirman, the factor M of > > > PLL1 shouldn't

Re: [U-Boot] [PATCH] sunxi: set up PLL1 on sun6i+ without use dividers

2017-04-11 Thread Maxime Ripard
On Mon, Apr 10, 2017 at 04:43:00PM +0800, icen...@aosc.io wrote: > 在 2017-04-10 14:59,Maxime Ripard 写道: > > On Mon, Apr 10, 2017 at 12:19:41AM +0800, Icenowy Zheng wrote: > > > According to the researching result of Ondrej Jirman, the factor M of > > > PLL1 shouldn't be used and the factor P

Re: [U-Boot] [PATCH] board/t1024rdb: enable board-level reset when issuing reset command

2017-04-11 Thread Shengzhou Liu
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Tuesday, April 11, 2017 1:14 AM > To: Shengzhou Liu ; u-boot@lists.denx.de > Subject: Re: [PATCH] board/t1024rdb: enable board-level reset when issuing > reset command > > On 04/10/2017 01:14

[U-Boot] [PATCH v4 1/2] at91: video: Support driver-model for the HLCD driver

2017-04-11 Thread Songjun Wu
Add driver-model support to this driver. Signed-off-by: Songjun Wu --- Changes in v4: - Add "atmel,at91sam9x5-hlcdc" to atmel_hlcdc_ids[]. Changes in v3: - Replace lcdc_readl/lcdc_writel with real/writel - Replace while() with wait_for_bit(). - Disable the clock if

[U-Boot] [PATCH v4 2/2] at91: video: DT binding for HLCDC driver

2017-04-11 Thread Songjun Wu
DT binding documentation for atmel HLCDC driver. Signed-off-by: Songjun Wu --- Changes in v4: - Add "atmel,at91sam9x5-hlcdc" to compatible. Changes in v3: - Add 'atmel,output-mode' entry in dts. Changes in v2: None doc/device-tree-bindings/video/atme-hlcdc.txt | 42

[U-Boot] [PATCH v4 0/2] at91: video: add driver for Atmel HLCD controller

2017-04-11 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the HLCD function. 2) Device tree binding documentation, it describes how to add the HLCD in device tree. Changes in v4: - Add "atmel,at91sam9x5-hlcdc" to atmel_hlcdc_ids[]. - Add "atmel,at91sam9x5-hlcdc" to compatible. Changes in

[U-Boot] [PATCH v2 2/2] doc: dtbinding: add pwm binding file

2017-04-11 Thread Kever Yang
This is a copy from kernel. Signed-off-by: Kever Yang --- Changes in v2: None doc/device-tree-bindings/pwm/pwm.txt | 69 1 file changed, 69 insertions(+) create mode 100644 doc/device-tree-bindings/pwm/pwm.txt diff --git

[U-Boot] [PATCH v2 1/2] power: regulator: pwm: support pwm polarity setting

2017-04-11 Thread Kever Yang
The latest kernel PWM drivers enable the polarity settings. When system run from U-Boot to kerenl, if there are differences in polarity set or duty cycle, the PMW will re-init: close -> set polarity and duty cycle -> enable the PWM. The power supply controled by pwm regulator may have voltage

Re: [U-Boot] Unbricking process with separate environment binary?

2017-04-11 Thread Lukasz Majewski
Hi John, > nstead of having 2 builds of u-boot, one which defaults to fastboot > and one for normal booting, is it possible to have one u-boot binary > and a separate environment piece (especially for bootcmd, but maybe > also for some scripts)? If I might ask - where your envs are stored? Do

[U-Boot] [PATCH] arm: ls1021atwr: Enable RGMII TX/RX clock internal delay for AR8033

2017-04-11 Thread Alison Wang
Since commit ce412b7, RGMII TX clock internal delay is not enabled for AR8033 unconditionally. On LS1021ATWR board, the third port eTSEC3 uses AR8033 in RGMII mode. The TX/RX internal delay needs to be enabled. This patch will set PHY_INTERFACE_MODE_RGMII_ID to enable RGMII TX/RX clock internal

Re: [U-Boot] [PATCH 1/3] fsl: PPA: add support PPA image validation from NAND and SD

2017-04-11 Thread York Sun
On 04/10/2017 10:54 PM, Sumit Garg wrote: -Original Message- From: York Sun [mailto:york@nxp.com] Sent: Monday, April 10, 2017 10:39 PM To: Sumit Garg ; u-boot@lists.denx.de Cc: Ruchika Gupta ; Prabhakar Kushwaha

Re: [U-Boot] [PATCH] am335x_evm_usbspl_defconfig: Fix USB RNDIS boot

2017-04-11 Thread Vignesh R
On Tuesday 11 April 2017 11:25 AM, Lokesh Vutla wrote: > > > On Tuesday 11 April 2017 10:30 AM, Vignesh R wrote: >> >> >> On Monday 10 April 2017 06:28 PM, Lokesh Vutla wrote: >>> >>> >>> On 4/10/2017 1:56 PM, Vignesh R wrote: It seems few config options are missing in the current