Re: [U-Boot] [PATCH] sf: Enable FSR polling on N25Q256(A)

2018-05-28 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Tuesday, May 29, 2018 10:22 AM > To: Marek Vasut ; Siva Durga Prasad Paladugu > > Cc: U-Boot Mailing List ; Tom Rini > > Subject: Re: [U-Boot] [PATCH] sf: Enable FSR polling on N25Q256(A) > > + Siva >

Re: [U-Boot] [PATCH] zynq: Add Zynq MiniZed board support

2018-05-28 Thread Michal Simek
On 28.5.2018 10:12, Clement Laigle wrote: > MiniZed is a single-core Zynq 7Z007S development board. > > More information on this board: http://zedboard.org/product/minized > > Signed-off-by: Clement Laigle > --- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/zynq-minized.dts | 61 >

Re: [U-Boot] [PATCH] arm: mvebu: switch clearfog to use device-tree i2c and gpio

2018-05-28 Thread Stefan Roese
On 29.05.2018 07:10, Chris Packham wrote: On Tue, May 29, 2018 at 4:58 PM Baruch Siach wrote: Hi Chris, On Tue, May 29, 2018 at 10:53:38AM +1200, Chris Packham wrote: On Tue, May 29, 2018 at 4:11 AM Baruch Siach wrote: From: Jon Nettleton This switches the clearfog boards to use DM

Re: [U-Boot] [PATCH] malloc: Use malloc simple before malloc is fully initialized in memalign()

2018-05-28 Thread Masahiro Yamada
2018-05-26 11:06 GMT+09:00 Simon Glass : > +Masahiro > > On 25 May 2018 at 02:50, Ley Foon Tan wrote: >> >> On Fri, May 25, 2018 at 11:33 AM, Simon Glass wrote: >> > Hi, >> > >> > On 24 May 2018 at 21:24, Ley Foon Tan wrote: >> >> >> >> On Thu, May 24, 2018 at 12:33 AM, Simon Glass wrote: >>

Re: [U-Boot] [PATCH] arm: mvebu: switch clearfog to use device-tree i2c and gpio

2018-05-28 Thread Chris Packham
On Tue, May 29, 2018 at 4:58 PM Baruch Siach wrote: > Hi Chris, > On Tue, May 29, 2018 at 10:53:38AM +1200, Chris Packham wrote: > > On Tue, May 29, 2018 at 4:11 AM Baruch Siach wrote: > > > > > From: Jon Nettleton > > > > > This switches the clearfog boards to use DM based gpio and i2c > > >

Re: [U-Boot] [PATCH v2 1/2] sunxi-mmc: use new mode on A64

2018-05-28 Thread Jagan Teki
On Mon, May 28, 2018 at 11:13 PM, Vasily Khoruzhick wrote: > You need both patches in order for it to work. > > I tested these patches on Pinebook and Pine64 LTS, both were able to > boot from eMMC. What board are you using? Did you test BPI-M64? Here is the another board [1] where it failed

Re: [U-Boot] [PATCH] arm: mvebu: switch clearfog to use device-tree i2c and gpio

2018-05-28 Thread Baruch Siach
Hi Chris, On Tue, May 29, 2018 at 10:53:38AM +1200, Chris Packham wrote: > On Tue, May 29, 2018 at 4:11 AM Baruch Siach wrote: > > > From: Jon Nettleton > > > This switches the clearfog boards to use DM based gpio and i2c > > drivers. The io expanders are configured via their device-tree > >

Re: [U-Boot] [PATCH] sf: Enable FSR polling on N25Q256(A)

2018-05-28 Thread Jagan Teki
+ Siva On Fri, May 25, 2018 at 1:28 AM, Marek Vasut wrote: > The N25Q256(A) datasheet clearly states that this device does have > a Flag Status Register and does update FSR PEC bit 7 during Program > and Erase cycles to indicate the cycle is in progress. Enable the > FSR PEC bit polling on this

[U-Boot] [PATCH 2/2] mvebu: turris_omnia: add note about i2c slave disable

2018-05-28 Thread Baruch Siach
Code that disables the i2c slave is now in the mvtwsi i2c driver. Platform must enable DM_I2C to use that code. Add a comment in the code as a reminder for the planned DM_I2C migration of Turris Omnia. Reviewed-by: Heiko Schocher Signed-off-by: Baruch Siach --- v2: Add Reviewed-by from Heiko

[U-Boot] [PATCH 1/2] i2c: mvtwsi: disable i2c slave on Armada 38x

2018-05-28 Thread Baruch Siach
Equivalent code that disables the hidden i2c0 slave already exists in the Turris Omnia platform specific code. But this hidden i2c0 slave that interferes the i2c bus is not board specific. Armada 38x SoCs and at least some Kirkwood variants are affected as well. Add code to disable this slave to

Re: [U-Boot] [PATCH] sf: Add Winbond W25Q256 ID

2018-05-28 Thread Jagan Teki
On Wed, May 16, 2018 at 8:15 PM, Marek Vasut wrote: > Add ID for the Winbond W25Q256 flash. > > Signed-off-by: Marek Vasut > Cc: Jagan Teki > --- Applied to u-boot-spi/master ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V2] sf: Add Macronix MX25U25635F ID

2018-05-28 Thread Jagan Teki
On Thu, May 17, 2018 at 6:19 PM, Marek Vasut wrote: > Add ID for the Macronix MX25U25635F flash. > > Signed-off-by: Marek Vasut > Cc: Jagan Teki > --- Applied to u-boot-spi/master ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: disable i2c slave on Armada 38x

2018-05-28 Thread Heiko Schocher
Hello Chris, Am 29.05.2018 um 05:49 schrieb Chris Packham: On Tue, May 29, 2018 at 2:39 PM Baruch Siach wrote: Hi Chris, On Tue, May 29, 2018 at 10:32:47AM +1200, Chris Packham wrote: Did you intend to omit the u-boot mailing list? No, sorry. Thanks for noticing. I'll resend with the

Re: [U-Boot] [PATCH 26/41] lpi2c: Add bus busy error handling

2018-05-28 Thread Heiko Schocher
Hello Peng, Am 28.05.2018 um 14:25 schrieb Peng Fan: From: Ye Li When doing "i2c dev 4; i2c probe" with ENET daughter card connected on iMX8QXP MEK board, we met a i2c bus busy issue, that the BBF of lpi2c always show busy, but the master is idle, and stop is detected (SDF set). This patch

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: disable i2c slave on Armada 38x

2018-05-28 Thread Chris Packham
On Tue, May 29, 2018 at 3:56 PM Baruch Siach wrote: > Hi Chris, > On Tue, May 29, 2018 at 03:49:44PM +1200, Chris Packham wrote: > > On Tue, May 29, 2018 at 2:39 PM Baruch Siach wrote: > > > On Tue, May 29, 2018 at 10:32:47AM +1200, Chris Packham wrote: > > > > Did you intend to omit the

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: disable i2c slave on Armada 38x

2018-05-28 Thread Baruch Siach
Hi Chris, On Tue, May 29, 2018 at 03:49:44PM +1200, Chris Packham wrote: > On Tue, May 29, 2018 at 2:39 PM Baruch Siach wrote: > > On Tue, May 29, 2018 at 10:32:47AM +1200, Chris Packham wrote: > > > Did you intend to omit the u-boot mailing list? > > > No, sorry. Thanks for noticing. I'll

Re: [U-Boot] [PATCH 25/41] lpi2c: Fix bus stop problem in xfer

2018-05-28 Thread Heiko Schocher
Hello Peng, Am 28.05.2018 um 14:25 schrieb Peng Fan: From: Ye Li In xfer function, both bus_i2c_read and bus_i2c_write will send a STOP command. This causes a problem when reading register data from i2c device. Generally two operations comprise the register data reading: 1. Write the

Re: [U-Boot] [PATCH 24/41] imx: lpi2c: fix clock issue when NACK detected

2018-05-28 Thread Heiko Schocher
Hello Peng, Am 28.05.2018 um 14:25 schrieb Peng Fan: From: Gao Pan For LPI2C IP, NACK is detected by the rising edge of the ninth clock. In current uboot driver, once NACK is detected, it will reset and then disable LPI2C master. As a result, we can never see the falling edge of the ninth

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: disable i2c slave on Armada 38x

2018-05-28 Thread Chris Packham
On Tue, May 29, 2018 at 2:39 PM Baruch Siach wrote: > Hi Chris, > On Tue, May 29, 2018 at 10:32:47AM +1200, Chris Packham wrote: > > Did you intend to omit the u-boot mailing list? > No, sorry. Thanks for noticing. I'll resend with the change that Stefan > suggested and keep your Tested-by. >

Re: [U-Boot] [PATCH 23/41] imx_lpi2c: Update lpi2c driver to support imx8

2018-05-28 Thread Heiko Schocher
Hello Peng, Am 28.05.2018 um 14:25 schrieb Peng Fan: From: Ye Li Add compatible string for i.MX8 and move imx_lpi2c.h from mx7ulp directory to u-boot include directory as a common header file. Signed-off-by: Ye Li Signed-off-by: Peng Fan Cc: Heiko Schocher --- drivers/i2c/imx_lpi2c.c

[U-Boot] Pull request: u-boot-ubi/master

2018-05-28 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi.git master The following changes since commit 624d2cae3401c2e4d43c571a9b81d1f650e7703d: SPDX: Fixup SPDX tags in a few new files (2018-05-20 09:47:45 -0400) are available in the Git repository at: git://git.denx.de/u-boot-ubi.git master for you to

Re: [U-Boot] [PATCH] ubi: fastmap: Implement produce_free_peb()

2018-05-28 Thread Heiko Schocher
Hello Patrice, Am 22.05.2018 um 10:10 schrieb Patrice Chotard: Since 'commit f82290afc847 ("mtd: ubi: Fix worker handling")', when booting from NAND, on a fresh NAND just after being flashed (and only in this case), we got the following log: ubi0: default fastmap pool size: 200 ubi0: default

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: disable i2c slave on Armada 38x

2018-05-28 Thread Baruch Siach
Hi Chris, On Tue, May 29, 2018 at 10:32:47AM +1200, Chris Packham wrote: > Did you intend to omit the u-boot mailing list? No, sorry. Thanks for noticing. I'll resend with the change that Stefan suggested and keep your Tested-by. > On Tue, May 29, 2018 at 3:11 AM Baruch Siach wrote: > >

Re: [U-Boot] [PATCH 37/41] mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue

2018-05-28 Thread Peng Fan
> -Original Message- > From: Benoît Thébaudeau [mailto:benoit.thebaudeau@gmail.com] > Sent: 2018年5月29日 6:32 > To: Peng Fan > Cc: sba...@denx.de; Fabio Estevam ; U-Boot > ; Bough Chen > Subject: Re: [U-Boot] [PATCH 37/41] mmc: fsl_esdhc: fix sd/mmc ddr mode clock > setting issue >

Re: [U-Boot] [PATCH v2 1/2] drivers; add DM_NO_OF Kconfig option

2018-05-28 Thread Tom Rini
On Sun, May 27, 2018 at 07:45:12PM -0600, Simon Glass wrote: > +Tom > > Hi Angelo, > > On 27 May 2018 at 01:22, Angelo Dureghello wrote: > > Hi Simon, > > > > On Sat, May 26, 2018 at 04:18:57PM -0600, Simon Glass wrote: > >> Hi Angelo, > >> > >> On 3 May 2018 at 16:01, Angelo Dureghello wrote:

Re: [U-Boot] [PATCH 1/4] mx7: psci: add cpu hotplug support

2018-05-28 Thread Anson Huang
Hi, Bryan Anson Huang Best Regards! > -Original Message- > From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] > Sent: Monday, May 28, 2018 4:59 PM > To: Anson Huang ; sba...@denx.de; Fabio Estevam > ; albert.u.b...@aribaud.net; > christian.gmei...@gmail.com; Peng Fan ; >

Re: [U-Boot] Remove CONFIG_MVGBE from config_whitelist.txt

2018-05-28 Thread Tom Rini
On Tue, May 29, 2018 at 11:12:22AM +1200, Chris Packham wrote: > Hi Tom, > On Tue, May 29, 2018 at 7:12 AM Tom Rini wrote: > > > On Wed, May 16, 2018 at 08:34:14PM +1200, Chris Packham wrote: > > > > Now that there are more boards defining this it can be removed from the > > > whitelist. > > >

[U-Boot] [PATCH] arm: sunxi: Add support for Pengpod 1000 tablet

2018-05-28 Thread Bob Ham
This is initial support for the Pengpod 1000 tablet. The display is not currently working but the UART works fine and allows access to the u-boot console. Memory timing is fine and Linux boots from SD card and runs OK. Signed-off-by: Bob Ham --- arch/arm/dts/Makefile | 1 +

Re: [U-Boot] [PATCH] mvebu: a38x: Force receiver detected on PCIe lanes

2018-05-28 Thread Rabeeh Khoury
> > >> > I understand that this might fix an issue on a specific board (ClearFog > in this case, correct?). But are you sure that its safe to force this > link detection for all A38x boards? > We have tested on clearfog-pro / base and two other custom boards that we have. On long traces this fix

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 11:07 PM, Jorge Ramirez-Ortiz wrote: Jorge, I just sent you a fix. can you test it and if it works I'll push it upstream. yes I can see the console now so that fix is good. however there must be some other regression lurking because the system wont boot a kernel from the SD

Re: [U-Boot] [PATCH] bug.h: introduce WARN_ONCE

2018-05-28 Thread Masahiro Yamada
2018-05-28 18:44 GMT+09:00 Ramon Fried : > Add WARN_ONCE definition to allow single time notification > of warnings to the user. > > Signed-off-by: Ramon Fried > --- > include/linux/bug.h | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/include/linux/bug.h

Re: [U-Boot] Remove CONFIG_MVGBE from config_whitelist.txt

2018-05-28 Thread Chris Packham
Hi Tom, On Tue, May 29, 2018 at 7:12 AM Tom Rini wrote: > On Wed, May 16, 2018 at 08:34:14PM +1200, Chris Packham wrote: > > Now that there are more boards defining this it can be removed from the > > whitelist. > > > > Signed-off-by: Chris Packham > > Reviewed-by: Simon Glass > Applied to

Re: [U-Boot] [PATCH] arm: mvebu: switch clearfog to use device-tree i2c and gpio

2018-05-28 Thread Chris Packham
On Tue, May 29, 2018 at 4:11 AM Baruch Siach wrote: > From: Jon Nettleton > This switches the clearfog boards to use DM based gpio and i2c > drivers. The io expanders are configured via their device-tree > entries. > Signed-off-by: Jon Nettleton > [baruch: add DT i2c aliases] >

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Ramon Fried
On Tue, May 29, 2018, 12:11 AM Jorge Ramirez-Ortiz wrote: > > On 05/28/2018 11:07 PM, Jorge Ramirez-Ortiz wrote: > > Jorge, I just sent you a fix. can you test it and if it works I'll > push it upstream. > > > yes I can see the console now so that fix is good. > > however there must be some other

[U-Boot] [PATCH] db820c: add dummy clock for uart node

2018-05-28 Thread Ramon Fried
The missing clock causes serial_msm driver probe to fail. Added a dummy node so the probe succeeds, as the clock init currently in db820c is empty. Fixes: 11d59fe5374a ("serial: serial_msm: fail probe if settings clocks fails") Signed-off-by: Ramon Fried --- arch/arm/dts/dragonboard820c.dts |

Re: [U-Boot] [PATCH] mvebu: a38x: Force receiver detected on PCIe lanes

2018-05-28 Thread Chris Packham
On Tue, May 29, 2018 at 12:52 AM Stefan Roese wrote: > (Added Mario and Chris) > On 27.05.2018 17:34, Baruch Siach wrote: > > From: Rabeeh Khoury > > > > Some QCA988x based modules presence is not detected by the SERDES lanes, > > so force this detection which will trigger the LTSSM state

Re: [U-Boot] [PATCH 37/41] mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue

2018-05-28 Thread Benoît Thébaudeau
Dear Peng Fan, On Mon, May 28, 2018 at 2:25 PM, Peng Fan wrote: > From: Ye Li > > When sd/mmc work at DDR mode, like HS400/HS400ES/DDR52/DDR50 mode, > the actual clock rate is just half of the expected clock. > > This patch set the DDR_EN bit first for DDR mode, hardware divide > the usdhc

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 10:25 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 11:14 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 11:07 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 10:01 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:59 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 09:48 PM,

[U-Boot] [PATCH v2] mach-snapdragon: increase size of malloc pool

2018-05-28 Thread Ramon Fried
Pool size must be increased to support new additionals drivers. Signed-off-by: Ramon Fried --- v2: increase pool size to 0x200 as suggested by Tom. arch/arm/mach-snapdragon/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-snapdragon/Kconfig

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Ramon Fried
On Mon, May 28, 2018 at 10:35 PM, Tom Rini wrote: > On Mon, May 28, 2018 at 10:28:51PM +0300, Ramon Fried wrote: >> On Mon, May 28, 2018 at 10:26 PM, Tom Rini wrote: >> > On Mon, May 28, 2018 at 10:24:36PM +0300, Ramon Fried wrote: >> >> On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz >>

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Ramon Fried
On Mon, May 28, 2018 at 11:07 PM, Jorge Ramirez-Ortiz wrote: > On 05/28/2018 10:01 PM, Ramon Fried wrote: >> >> On Mon, May 28, 2018 at 10:59 PM, Jorge Ramirez-Ortiz >> wrote: >>> >>> On 05/28/2018 09:48 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:24 PM, Ramon Fried wrote:

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Ramon Fried
On Mon, May 28, 2018 at 10:59 PM, Jorge Ramirez-Ortiz wrote: > On 05/28/2018 09:48 PM, Ramon Fried wrote: >> >> On Mon, May 28, 2018 at 10:24 PM, Ramon Fried >> wrote: >>> >>> On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz >>> wrote: On 05/28/2018 09:12 PM, Tom Rini wrote:

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 10:01 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:59 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 09:48 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:24 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 09:12 PM, Tom

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Ramon Fried
On Mon, May 28, 2018 at 10:24 PM, Ramon Fried wrote: > On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz > wrote: >> On 05/28/2018 09:12 PM, Tom Rini wrote: >>> >>> On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried wrote: >>> UART clock enabling flow was wrong. Changed the flow

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 09:48 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:24 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 09:12 PM, Tom Rini wrote: On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried wrote: UART clock enabling flow was

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Ramon Fried
On Mon, May 28, 2018 at 11:14 PM, Ramon Fried wrote: > On Mon, May 28, 2018 at 11:07 PM, Jorge Ramirez-Ortiz > wrote: >> On 05/28/2018 10:01 PM, Ramon Fried wrote: >>> >>> On Mon, May 28, 2018 at 10:59 PM, Jorge Ramirez-Ortiz >>> wrote: On 05/28/2018 09:48 PM, Ramon Fried wrote: >

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Tom Rini
On Mon, May 28, 2018 at 10:28:51PM +0300, Ramon Fried wrote: > On Mon, May 28, 2018 at 10:26 PM, Tom Rini wrote: > > On Mon, May 28, 2018 at 10:24:36PM +0300, Ramon Fried wrote: > >> On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz > >> wrote: > >> > On 05/28/2018 09:12 PM, Tom Rini wrote:

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Ramon Fried
On Mon, May 28, 2018 at 10:26 PM, Tom Rini wrote: > On Mon, May 28, 2018 at 10:24:36PM +0300, Ramon Fried wrote: >> On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz >> wrote: >> > On 05/28/2018 09:12 PM, Tom Rini wrote: >> >> >> >> On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried

Re: [U-Boot] [U-Boot,v1,2/5] serial: stm32: Fix bits defines name

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 02:50:43PM +0200, Patrice Chotard wrote: > Rename USART_ISR_FLAG_xxx bits to USART_ISR_xxx bits and > USART_ICR_OREF to USART_ICR_ORECF in order to match datasheets. > Sort defines by descendant order. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Tom Rini
On Mon, May 28, 2018 at 10:24:36PM +0300, Ramon Fried wrote: > On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz > wrote: > > On 05/28/2018 09:12 PM, Tom Rini wrote: > >> > >> On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried wrote: > >> > >>> UART clock enabling flow was wrong. > >>>

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Ramon Fried
On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz wrote: > On 05/28/2018 09:12 PM, Tom Rini wrote: >> >> On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried wrote: >> >>> UART clock enabling flow was wrong. >>> Changed the flow according to downstream implementation in LK. >>> >>>

Re: [U-Boot] mmc: stm32_sdmmc2: Fix stm32_sdmmc2_start_cmd()

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 04:53:57PM +0200, Patrice Chotard wrote: > SDMMC_CMD_CPSMEN bit is wrongly check and set in > SDMMC_ARG register instead of SDMMC_CMD register. > > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 09:12 PM, Tom Rini wrote: On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried wrote: UART clock enabling flow was wrong. Changed the flow according to downstream implementation in LK. Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! Ramon, did you re-test this

Re: [U-Boot] [U-Boot,v1,4/5] serial: stm32: Add setparity support

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 02:50:45PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > Add possibility to update the serial parity used. > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot, v3] add FIT data-position & data-offset property support

2018-05-28 Thread Tom Rini
On Sat, May 19, 2018 at 06:21:37PM +0800, Kelvin Cheung wrote: > Add FIT data-position & data-offset property support for bootm, > which were already supported in SPL. > > Signed-off-by: Kelvin Cheung Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 00/12] binman: A few more features

2018-05-28 Thread Tom Rini
On Sat, May 26, 2018 at 04:18:45PM -0600, Simon Glass wrote: > Hi, > > On 15 May 2018 at 19:52, Simon Glass wrote: > > This series ads a few more features to binman, principally the ability to > > nest entries within other entries, to form hierarchical images. > > > > Also included are support

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

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 12:13:41PM +0300, Ramon Fried wrote: > Added TLMM pinctrl node for pin muxing & config. > Additionally, added a serial node for uart. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] malloc: Use malloc simple before malloc is fully initialized in memalign()

2018-05-28 Thread Tom Rini
On Fri, May 18, 2018 at 06:03:12PM +0800, Ley Foon Tan wrote: > Follow implementation in mALLOc(). Check GD_FLG_FULL_MALLOC_INIT flag and use > malloc_simple if GD_FLG_FULL_MALLOC_INIT is unset. Adjust the malloc bytes > to align with the requested alignment. > > The original memalign() function

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

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 12:13:38PM +0300, Ramon Fried wrote: > The uart is already initialized prior to relocation, > reinitialization after relocation is unnecessary. > > Signed-off-by: Ramon Fried > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v1, 1/4] stm32mp1: remove the second TAMP_BOOT_CONTEXT update

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 03:24:04PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > The register TAMP_BOOT_CONTEXT is already updated in > get_bootmode() in cpu.c and no need to be done > twice. > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard Applied to

Re: [U-Boot] [U-Boot, v1, 5/5] stm32mp1: Allow to activate CONFIG_DEBUG_UART

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 02:50:46PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > Add the needed information to enable the debug uart > to have printf before the serial driver probe > (so before probe for clock, pincontrol and reset drivers) > > To enable the debug on uart 4

Re: [U-Boot] [U-Boot,v1,2/4] stm32mp1: add bsec driver

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 03:24:05PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > Add a MISC driver with read and write access to BSEC IP > (Boot and Security and OTP control) > - offset 0: shadowed values > - offset 0x8000: OTP fuse box values (SAFMEM) > > Signed-off-by:

Re: [U-Boot] [U-Boot, 1/2] PCI: Add newlines to debug prints in pci_auto_common.c

2018-05-28 Thread Tom Rini
On Mon, May 14, 2018 at 07:38:12PM +0300, Tuomas Tynkkynen wrote: > All of the debug output from this file is squished to one line. Fix > it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 2/2] PCI: autoconfig: Don't allocate 64-bit addresses to 32-bit only resources

2018-05-28 Thread Tom Rini
On Mon, May 14, 2018 at 07:38:13PM +0300, Tuomas Tynkkynen wrote: > Currently, if we happen to allocate an address requiring 64 bits to a > device only supporting 32-bit BARs, the address eventually gets silently > truncated to 32 bits. Avoid this by adding a new flag to >

Re: [U-Boot] [U-Boot,v1,3/4] stm32mp1: add FUSE command support

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 03:24:06PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > Add support of fuse command (read/write/program/sense) > on bank 0 to access to BSEC SAFMEM (4096 OTP bits). > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard Applied to

Re: [U-Boot] [U-Boot,v1,1/5] serial: stm32: Add debug uart support

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 02:50:42PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > Add support for early debug printf, before the availability of > driver model and device tree support. > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass

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

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 12:13:40PM +0300, 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

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

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 12:13:42PM +0300, 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

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

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 12:13:36PM +0300, 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 > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] Remove CONFIG_MVGBE from config_whitelist.txt

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 08:34:14PM +1200, Chris Packham wrote: > Now that there are more boards defining this it can be removed from the > whitelist. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot,v1,3/5] dm: serial: Add setparity

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 02:50:44PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > Implements serial setparity ops to allow uart parity change. > It allows to select ODD, EVEN or NONE parity. > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard Applied to

Re: [U-Boot] [U-Boot, v1, 4/4] stm32mp1: use OTP to configure MAC address and serial number

2018-05-28 Thread Tom Rini
On Thu, May 17, 2018 at 03:24:07PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > Use OTP57 and 58 for MAC address > - OTP57 = MAC address bits [31:0] > - OTP58 = MAC address bit [47:32] stored in OTP LSB's > > Use manufacture information in OTP13 to OTP15 to build unique >

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried wrote: > UART clock enabling flow was wrong. > Changed the flow according to downstream implementation in LK. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2] ram: stm32_sdram: Adds stm32f429-disco fixes for HardFault at booting

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 05:27:11PM +0200, Radoslaw Pietrzyk wrote: > - adds reading FMC swap setting from DTB to SDRAM driver > - sets FMC swap for stm32f429-disco board > - changes ram start address to 0x9000 > > Signed-off-by: Radoslaw Pietrzyk > Acked-by: Patrice Chotard Applied to

Re: [U-Boot] PCI: Document pciauto_region_allocate()

2018-05-28 Thread Tom Rini
On Mon, May 14, 2018 at 11:50:05PM +0300, Tuomas Tynkkynen wrote: > Add a doc comment for pciauto_region_allocate(). > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

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

2018-05-28 Thread Tom Rini
On Wed, May 16, 2018 at 12:13:37PM +0300, 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 >

Re: [U-Boot] [U-Boot, 3/3] doc: qemu-arm: Drop highmem=off references

2018-05-28 Thread Tom Rini
On Mon, May 14, 2018 at 06:47:52PM +0300, Tuomas Tynkkynen wrote: > Now that U-Boot works fine with highmem enabled, there is no need to > tell users to disable highmem. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/3] PCI: dm: Ignore 64-bit memory regions if CONFIG_SYS_PCI_64BIT not set

2018-05-28 Thread Tom Rini
On Mon, May 14, 2018 at 06:47:50PM +0300, Tuomas Tynkkynen wrote: > Currently, qemu_arm_defconfig and qemu_arm64_defconfig only work with > the 'highmem=off' parameter passed to QEMU's virt machine. The reason is > that when 'highmem' is not disabled, QEMU appends 64-bit a memory > resource to

Re: [U-Boot] [U-Boot, 2/3] ARM: qemu-arm: Bump RAM size in AArch64 MMU table

2018-05-28 Thread Tom Rini
On Mon, May 14, 2018 at 06:47:51PM +0300, Tuomas Tynkkynen wrote: > Now that PCI devices work with highmem-enabled QEMU emulation, bump up > the RAM size in the MMU tables to gain access to the full 255 GB of RAM > potential instead of the puny 3 GB. > > Signed-off-by: Tuomas Tynkkynen >

Re: [U-Boot] [PATCH v2 1/2] sunxi-mmc: use new mode on A64

2018-05-28 Thread Vasily Khoruzhick
You need both patches in order for it to work. I tested these patches on Pinebook and Pine64 LTS, both were able to boot from eMMC. What board are you using? On Sun, May 27, 2018 at 11:43 AM, Jagan Teki wrote: > On Mon, May 14, 2018 at 8:57 PM, Vasily Khoruzhick wrote: >> That is necessary for

[U-Boot] [PATCH] arm: mvebu: switch clearfog to use device-tree i2c and gpio

2018-05-28 Thread Baruch Siach
From: Jon Nettleton This switches the clearfog boards to use DM based gpio and i2c drivers. The io expanders are configured via their device-tree entries. Signed-off-by: Jon Nettleton [baruch: add DT i2c aliases] Signed-off-by: Baruch Siach

[U-Boot] [PATCH] Import Android's dt_table.h for DT image format

2018-05-28 Thread Alex Deymo
Android documentation defines the recommended image format for storing DTB/DTBO files in a single dtbo.img image. This patch includes the latest header file with the struct definitions for this format from AOSP. The header was adapted to U-Boot's coding style and the function declarations were

Re: [U-Boot] [PATCH] mvebu: a38x: Force receiver detected on PCIe lanes

2018-05-28 Thread Stefan Roese
On 28.05.2018 15:15, Mario Six wrote: Hi Stefan, On Mon, May 28, 2018 at 2:52 PM, Stefan Roese wrote: (Added Mario and Chris) On 27.05.2018 17:34, Baruch Siach wrote: From: Rabeeh Khoury Some QCA988x based modules presence is not detected by the

Re: [U-Boot] [PATCH] mvebu: a38x: Force receiver detected on PCIe lanes

2018-05-28 Thread Stefan Roese
On 28.05.2018 16:16, Rabeeh Khoury wrote: I understand that this might fix an issue on a specific board (ClearFog in this case, correct?). But are you sure that its safe to force this link detection for all A38x boards? We have tested on clearfog-pro / base and two other custom

Re: [U-Boot] [U-Boot, v2, 1/2] common: Add support for Android DT image

2018-05-28 Thread Tom Rini
On Mon, May 28, 2018 at 12:02:31PM +0200, Alex Deymo wrote: > Hi, > I checked with our team and the include/dt_table.h import as BSD-3 here is > fine with us. Would you like me to send a patch with just this header file > or just Signed-off-by this whole patch? > Thanks, > deymo@ Thanks and

Re: [U-Boot] [PATCH 2/2] configs: remove CONFIG_SYS_MVFS

2018-05-28 Thread Stefan Roese
On 26.05.2018 12:32, Chris Packham wrote: This was being used by some Marvell boards to enable some file system related features (many of which have already been moved to Kconfig). Make the future migration of the final 2 or 3 config options easier by expanding #define CONFIG_SYS_MVFS into the

[U-Boot] [PATCH] zynq: Add Zynq MiniZed board support

2018-05-28 Thread Clement Laigle
MiniZed is a single-core Zynq 7Z007S development board. More information on this board: http://zedboard.org/product/minized Signed-off-by: Clement Laigle --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynq-minized.dts | 61

Re: [U-Boot] [PATCH v7 00/18] Add fastboot UDP support

2018-05-28 Thread Lukasz Majewski
Hi Alex, Sam, Sam have you tested Alex patches on your HW (as you asked earlier for the repo to fetch the code)? Could you add Tested-by: tag? Are there any more comments on this series? Best regards, Łukasz > This series merges the fastboot UDP support from AOSP into mainline > U-Boot. > >

Re: [U-Boot] [PATCH] mvebu: a38x: Force receiver detected on PCIe lanes

2018-05-28 Thread Mario Six
Hi Stefan, On Mon, May 28, 2018 at 2:52 PM, Stefan Roese wrote: > (Added Mario and Chris) > > > On 27.05.2018 17:34, Baruch Siach wrote: >> >> From: Rabeeh Khoury >> >> Some QCA988x based modules presence is not detected by the SERDES lanes, >> so force this

Re: [U-Boot] [PATCH v3 1/3] misc: docs: Fix comments in misc.h

2018-05-28 Thread Mario Six
Hi Simon, On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote: > +Marex > > Hi Mario, > > On 23 May 2018 at 08:07, Mario Six wrote: >> The comments in misc.h are not in kernel-doc format. Correct the format. >> >> Signed-off-by: Mario Six

Re: [U-Boot] [PATCH] mvebu: a38x: Force receiver detected on PCIe lanes

2018-05-28 Thread Stefan Roese
(Added Mario and Chris) On 27.05.2018 17:34, Baruch Siach wrote: From: Rabeeh Khoury Some QCA988x based modules presence is not detected by the SERDES lanes, so force this detection which will trigger the LTSSM state machine to negotiate link. An example of such a card

[U-Boot] FYI: Android bootloader flow documentation published

2018-05-28 Thread Alex Deymo
Just an FYI, earlier this month the team spent some time polishing and publishing in source.android.com documentation about the flows the bootloader goes through in Android, specially true for stock Android like in Pixels phones or other devices based of recent AOSP versions. Take a look at

Re: [U-Boot] [PATCH] arm: mvebu: move i2c slave disable to generic SPL code

2018-05-28 Thread Marek Behun
On Mon, 28 May 2018 14:34:07 +0200 Stefan Roese wrote: > On 28.05.2018 12:42, Baruch Siach wrote: > > > > > __twsi_i2c_init() is called from the main U-Boot image, but not > > from SPL as far as my testing shows. Clearfog doesn't use i2c > > from SPL, but the Turris

Re: [U-Boot] [PATCH v3 2/3] misc: uclass: Add enable/disable function

2018-05-28 Thread Mario Six
Hi Simon, On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote: > Hi Mario, > > On 23 May 2018 at 08:07, Mario Six wrote: >> Add generic enable/disable function to the misc uclass. >> >> Signed-off-by: Mario Six >> >> --- >> >> v2 -> v3:

Re: [U-Boot] [PATCH v3 3/3] misc: Add gdsys_ioep driver

2018-05-28 Thread Mario Six
Hi Simon, On Fri, May 25, 2018 at 4:42 AM, Simon Glass wrote: > On 23 May 2018 at 08:07, Mario Six wrote: >> Add driver for the IHS IO endpoint on IHS FPGAs. >> >> Signed-off-by: Mario Six >> >> --- >> >> v2 -> v3: >> No changes >> >>

[U-Boot] [PATCH 40/41] dts: imx8qxp: Add DTS and binding header files

2018-05-28 Thread Peng Fan
Introduce dtsi file for i.MX8QXP. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile |2 + arch/arm/dts/fsl-imx8qxp-mek.dts | 416 arch/arm/dts/fsl-imx8qxp.dtsi | 1593 +

[U-Boot] [PATCH 35/41] dm: core: device: enable power domain in probe

2018-05-28 Thread Peng Fan
Enable power domain associated with the device when probe. Signed-off-by: Peng Fan Cc: Simon Glass --- drivers/core/device.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/core/device.c b/drivers/core/device.c index

[U-Boot] [PATCH 38/41] log: include command header file

2018-05-28 Thread Peng Fan
cmd_tbl_t is defined in command.h, so include it in log.h Signed-off-by: Peng Fan Cc: Simon Glass --- include/log.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/log.h b/include/log.h index a3edd25546..51cfd6fc0b 100644 --- a/include/log.h +++

[U-Boot] [UBOOT PATCH] spi: xilinx_spi: Modify xilinx spi driver

2018-05-28 Thread Vipul Kumar
This patch added support to get reg base address from DTS file and added rxfifo() and txfifo() functions to add the modularity. Also, this patch is for the startup block issue in the spi controller. SPI clock is passing through STARTUP block to FLASH. STARTUP block don't provide clock as soon as

[U-Boot] [PATCH 37/41] mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue

2018-05-28 Thread Peng Fan
From: Ye Li When sd/mmc work at DDR mode, like HS400/HS400ES/DDR52/DDR50 mode, the actual clock rate is just half of the expected clock. This patch set the DDR_EN bit first for DDR mode, hardware divide the usdhc clock automatically, then follow the original sdr clock setting

  1   2   3   >