[U-Boot] [PATCH v1] ARM: socfpga: stratix10: Enable DMA330 DMA controller

2019-05-03 Thread chee . hong . ang
From: "Ang, Chee Hong" Signed-off-by: Ang, Chee Hong --- arch/arm/mach-socfpga/include/mach/reset_manager_s10.h | 1 + arch/arm/mach-socfpga/spl_s10.c| 4 2 files changed, 5 insertions(+) diff --git a/arch/arm/mach-socfpga/include/mach/reset_manager_s10.h b/arch/a

[U-Boot] [PATCH v1] ARM: socfpga: stratix10: Probe FPGA status before bridge enable

2019-05-03 Thread chee . hong . ang
From: "Ang, Chee Hong" Send CONFIG_STATUS and RECONFIG_STATUS mailbox commands to Secure Device Manager (SDM) to get the status of FPGA and make sure the FPGA is in user mode before enable the bridge. Signed-off-by: Ang, Chee Hong --- arch/arm/mach-socfpga/misc_s10.c | 12 1 file

[U-Boot] [PATCH v1] ARM: socfpga: stratix10: Disable FPGA2SOC reset

2019-05-03 Thread chee . hong . ang
From: "Ang, Chee Hong" Software must never reset FPGA2SOC bridge. This bridge must only be reset by POR/COLD/WARM reset. Asserting the FPGA2SOC reset by software can cause the SoC to lock-up if there are traffics being drived into FPGA2SOC bridge. Signed-off-by: Ang, Chee Hong --- arch/arm/mac

[U-Boot] [PATCH 0/1] Add MikroTik CRS305-1G-4S+IN board support

2019-05-03 Thread Luka Kovacic
This is the corrected patch. I enabled CONFIG_DISPLAY_BOARDINFO in the defconfig. Luka Kovacic (1): arm: mvebu: Add CRS305-1G-4S board arch/arm/dts/Makefile | 3 +- .../dts/armada-xp-crs305-1g-4s-u-boot.dtsi| 13 +++ arch/arm/dts/armada-xp-crs305-1g-4s.dts

[U-Boot] [PATCH 1/1] arm: mvebu: Add CRS305-1G-4S board

2019-05-03 Thread Luka Kovacic
CRS305-1G-4S has a switch chip with an integrated CPU (98DX3236) and like some of the other simillar boards requires bin_hdr. bin_hdr (DDR3 init stage) is currently retrieved from the stock bootloader and compiled into the kwb image. Adds support for U-Boot, enable UART, SPI, Winbond SPI flash chi

Re: [U-Boot] [PATCH v1 05/18] usb: dwc3: switch to peripheral mode when exiting

2019-05-03 Thread Jean-Jacques Hiblot
On 29/04/2019 11:56, Marek Vasut wrote: On 4/5/19 2:55 PM, Jean-Jacques Hiblot wrote: This allow the phy to enter idle and then suspend. the K2 platforms require the PHY to be suspended before the USB domain clock can be turned off. Signed-off-by: Jean-Jacques Hiblot --- drivers/usb/dwc3/c

Re: [U-Boot] [PATCH v1 03/18] dm: Add a No-op uclass

2019-05-03 Thread Jean-Jacques Hiblot
On 29/04/2019 11:56, Marek Vasut wrote: On 4/5/19 2:55 PM, Jean-Jacques Hiblot wrote: This uclass is intended for devices that do not need any features from the uclass, including binding children. This will typically be used by devices that are used to bind child devices but do not use dm_scan_

Re: [U-Boot] [PATCH v1 12/18] usb: dwc3: Add dwc3_of_parse() to get quirks information from DT

2019-05-03 Thread Jean-Jacques Hiblot
On 29/04/2019 11:58, Marek Vasut wrote: On 4/5/19 2:55 PM, Jean-Jacques Hiblot wrote: Add a new function that read quirk and configuration information from the DT. The goal is to allow platforms using their own version of DWC3 driver to migrate to the generic DWC3 driver. The function is adapte

Re: [U-Boot] [PATCH v1 00/18] Improvement for the DWC3 USB generic driver and fixes for the K2 platforms

2019-05-03 Thread Jean-Jacques Hiblot
On 29/04/2019 11:52, Marek Vasut wrote: On 4/29/19 11:09 AM, Jean-Jacques Hiblot wrote: Marek, This series fixes the linux boot on the K2 platforms. without it the K2 platforms are broken. Can you give it a look please ? Sure, can you rebase/repost please ? I don't have it in my mailbox anymo

Re: [U-Boot] [PATCH v3 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-05-03 Thread Jagan Teki
On Fri, May 3, 2019 at 7:58 AM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > Hi everyone, > > This series enables EMAC (Ethernet controller) on two A83T boards, > the Cubietruck Plus and Bananapi M3. > > This series is now based on sunxi/next, which has patches that convert > sun8i-emac to use t

Re: [U-Boot] [PATCH 1/5] mtd: spi-nor: fix page program issue when using spi-mem driver

2019-05-03 Thread Jagan Teki
On Fri, Apr 26, 2019 at 2:53 PM Weijie Gao wrote: > > Some SPI controllers can't write nor->page_size bytes in a single step > because their TX FIFO is too small, but when that happens we should > make sure a WRITE_EN command before each write access and READ_SR command > after each write access i

Re: [U-Boot] [PATCH v1 05/18] usb: dwc3: switch to peripheral mode when exiting

2019-05-03 Thread Marek Vasut
On 5/3/19 11:26 AM, Jean-Jacques Hiblot wrote: > > On 29/04/2019 11:56, Marek Vasut wrote: >> On 4/5/19 2:55 PM, Jean-Jacques Hiblot wrote: >>> This allow the phy to enter idle and then suspend. >>> the K2 platforms require the PHY to be suspended before the USB domain >>> clock can be turned off.

Re: [U-Boot] [PATCH v1 03/18] dm: Add a No-op uclass

2019-05-03 Thread Marek Vasut
On 5/3/19 11:30 AM, Jean-Jacques Hiblot wrote: > > On 29/04/2019 11:56, Marek Vasut wrote: >> On 4/5/19 2:55 PM, Jean-Jacques Hiblot wrote: >>> This uclass is intended for devices that do not need any features >>> from the >>> uclass, including binding children. >>> This will typically be used by

Re: [U-Boot] [PATCH v1] ARM: socfpga: stratix10: Enable DMA330 DMA controller

2019-05-03 Thread Marek Vasut
On 5/3/19 10:18 AM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" Commit message is missing -- why do you need to enable the DMA330 ? Don't you have a reset driver, like A10 and Gen5 ? > Signed-off-by: Ang, Chee Hong > --- > arch/arm/mach-socfpga/include/mach/reset_manager_s10.h | 1

Re: [U-Boot] [PATCH v1 12/18] usb: dwc3: Add dwc3_of_parse() to get quirks information from DT

2019-05-03 Thread Marek Vasut
On 5/3/19 11:38 AM, Jean-Jacques Hiblot wrote: > > On 29/04/2019 11:58, Marek Vasut wrote: >> On 4/5/19 2:55 PM, Jean-Jacques Hiblot wrote: >>> Add a new function that read quirk and configuration information from >>> the >>> DT. The goal is to allow platforms using their own version of DWC3 >>> d

Re: [U-Boot] [PATCH v3 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-05-03 Thread Chen-Yu Tsai
On Fri, May 3, 2019 at 5:49 PM Jagan Teki wrote: > > On Fri, May 3, 2019 at 7:58 AM Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > Hi everyone, > > > > This series enables EMAC (Ethernet controller) on two A83T boards, > > the Cubietruck Plus and Bananapi M3. > > > > This series is now b

Re: [U-Boot] [PATCH 1/1] arm: mvebu: Add CRS305-1G-4S board

2019-05-03 Thread Chris Packham
On Fri, May 3, 2019 at 4:36 AM Luka Kovacic wrote: > > CRS305-1G-4S has a switch chip with an integrated CPU (98DX3236) and like > some of the > other simillar boards requires bin_hdr. bin_hdr (DDR3 init stage) is > currently retrieved > from the stock bootloader and compiled into the kwb image.

Re: [U-Boot] [PATCH] arm: zimage: add other-bootloader image magic number

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 12:19:05PM +0200, Christoph Fritz wrote: > For chainboot configurations or test environments, this patch allows > booting other-bootloader images by using command bootz. > > Signed-off-by: Christoph Fritz > --- > arch/arm/lib/zimage.c | 6 -- > 1 file changed, 4 inse

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Hannes Schmelzer
On 5/2/19 9:03 PM, Tom Rini wrote: On Thu, May 02, 2019 at 08:34:32PM +0200, Hannes Schmelzer wrote: On 5/2/19 6:06 PM, Michal Simek wrote: Hi, Hi Michal, On 02. 05. 19 5:14, Hannes Schmelzer wrote: diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index dfa5b02..2b00129 100644 --

[U-Boot] [PATCH] arm: zimage: add other-bootloader image magic number

2019-05-03 Thread Christoph Fritz
For chainboot configurations or test environments, this patch allows booting other-bootloader images by using command bootz. Signed-off-by: Christoph Fritz --- arch/arm/lib/zimage.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/lib/zimage.c b/arch/arm/lib/zim

[U-Boot] [PATCH v2] arm: zimage: add barebox image magic number

2019-05-03 Thread Christoph Fritz
For chainboot configurations or test environments, this patch allows booting barebox images by using command bootz. Signed-off-by: Christoph Fritz --- Changes since v1: - s/other-bootloader/barebox/ arch/arm/lib/zimage.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-03 Thread Niel Fourie
Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega AM335x. CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-WEGA DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet@4a10 Working: - Eth0 - i2C - MMC/SD - NAND - UART - USB (host) Device tr

Re: [U-Boot] [PATCH v12 5/9] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-05-03 Thread Simon Goldschmidt
On Thu, May 2, 2019 at 9:49 AM Chee, Tien Fong wrote: > > On Tue, 2019-04-30 at 14:24 +0200, Simon Goldschmidt wrote: > > On Tue, Apr 30, 2019 at 2:09 PM Chee, Tien Fong > > wrote: > > > > > > > > > On Sat, 2019-04-27 at 21:57 +0200, Simon Goldschmidt wrote: > > > > > > > > > > > > On 19.03.19 09

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Hannes Schmelzer
On 5/2/19 9:03 PM, Tom Rini wrote: On Thu, May 02, 2019 at 08:34:32PM +0200, Hannes Schmelzer wrote: On 5/2/19 6:06 PM, Michal Simek wrote: Hi, Hi Michal, On 02. 05. 19 5:14, Hannes Schmelzer wrote: diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index dfa5b02..2b00129 100644 --

Re: [U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-03 Thread Marek Vasut
On 5/3/19 1:28 PM, Niel Fourie wrote: > Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec > phyBOARD-Wega AM335x. > > CPU : AM335X-GP rev 2.1 > Model: Phytec AM335x phyBOARD-WEGA > DRAM: 256 MiB > NAND: 256 MiB > MMC: OMAP SD/MMC: 0 > eth0: ethernet@4a10 > > Working: > -

Re: [U-Boot] [PATCH u-boot-marvell v3 00/17] Fixes for Turris Omnia

2019-05-03 Thread Stefan Roese
On 02.05.19 16:53, Marek Behún wrote: Hi, this is the third version of my fixes for Turris Omnia. Added since v2: - patch 16: adds GPIO support so that boot script can recognize if SFP module is inserted and select appropriate device tree for kernel - patch 17: en

Re: [U-Boot] [PATCH] kwbimage: fixing the issue with proper return code checking

2019-05-03 Thread Stefan Roese
On 17.04.19 12:53, Young Xiao wrote: EVP_VerifyFinal would return one of three values: 1 if the data is verified to be correct; 0 if it is incorrect; -1 if there is any failure in the verification process. The varification in unpatched version is wrong, since it ignored the return value of -1.

[U-Boot] Please pull u-boot-marvell/master

2019-05-03 Thread Stefan Roese
Hi Tom, please pull the following Marvell related patches: - Fix in kwbimage (return code checking) (Young Xiao) - Misc updates to Turris Omnia (Marek) Here the Trav

Re: [U-Boot] [PATCH v12 9/9] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL

2019-05-03 Thread Simon Goldschmidt
On Thu, May 2, 2019 at 9:56 AM Chee, Tien Fong wrote: > > On Tue, 2019-04-30 at 14:26 +0200, Simon Goldschmidt wrote: > > On Tue, Apr 30, 2019 at 2:19 PM Chee, Tien Fong > > wrote: > > > > > > > > > On Sat, 2019-04-27 at 21:50 +0200, Simon Goldschmidt wrote: > > > > > > > > > > > > On 19.03.19 09

Re: [U-Boot] [PATCH v3 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-05-03 Thread Jagan Teki
On Fri, May 3, 2019 at 3:31 PM Chen-Yu Tsai wrote: > > On Fri, May 3, 2019 at 5:49 PM Jagan Teki wrote: > > > > On Fri, May 3, 2019 at 7:58 AM Chen-Yu Tsai wrote: > > > > > > From: Chen-Yu Tsai > > > > > > Hi everyone, > > > > > > This series enables EMAC (Ethernet controller) on two A83T board

Re: [U-Boot] [PATCH v3 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-05-03 Thread Jagan Teki
On Fri, May 3, 2019 at 7:58 AM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > Hi everyone, > > This series enables EMAC (Ethernet controller) on two A83T boards, > the Cubietruck Plus and Bananapi M3. > > This series is now based on sunxi/next, which has patches that convert > sun8i-emac to use t

[U-Boot] [PATCH] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Fabio Estevam
Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver") causes some i.MX boards that were converted to DM, such as warp7, to fail to boot. As explained by Lukas Auer: "With the patch, U-Boot probes the drivers for devices under simple-bus device tree nodes in the pre-r

Re: [U-Boot] WaRP7 nok on master

2019-05-03 Thread Fabio Estevam
Hi Lukas, On Thu, May 2, 2019 at 1:59 PM Fabio Estevam wrote: > > Hi Lukas, > > On Thu, May 2, 2019 at 1:58 PM Auer, Lukas > wrote: > > > Yes, I will send a patch for this. Do you prefer setting the default > > value for i.MX in one place (in arch/arm/mach-imx/Kconfig) or > > individually for ea

Re: [U-Boot] [PATCH v3 0/2] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-05-03 Thread Chen-Yu Tsai
On Fri, May 3, 2019 at 8:15 PM Jagan Teki wrote: > > On Fri, May 3, 2019 at 3:31 PM Chen-Yu Tsai wrote: > > > > On Fri, May 3, 2019 at 5:49 PM Jagan Teki > > wrote: > > > > > > On Fri, May 3, 2019 at 7:58 AM Chen-Yu Tsai wrote: > > > > > > > > From: Chen-Yu Tsai > > > > > > > > Hi everyone, >

Re: [U-Boot] [PATCH] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Joris Offouga
Tested-by: Joris Offouga Le 03/05/2019 à 14:25, Fabio Estevam a écrit : Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver") causes some i.MX boards that were converted to DM, such as warp7, to fail to boot. As explained by Lukas Auer: "With the patch, U-Boot pr

Re: [U-Boot] WaRP7 nok on master

2019-05-03 Thread Auer, Lukas
Hi Fabio, On Fri, 2019-05-03 at 09:26 -0300, Fabio Estevam wrote: > Hi Lukas, > > On Thu, May 2, 2019 at 1:59 PM Fabio Estevam wrote: > > Hi Lukas, > > > > On Thu, May 2, 2019 at 1:58 PM Auer, Lukas > > wrote: > > > > > Yes, I will send a patch for this. Do you prefer setting the default > >

Re: [U-Boot] [PATCH] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Auer, Lukas
On Fri, 2019-05-03 at 09:25 -0300, Fabio Estevam wrote: > Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to > simple-bus driver") causes some i.MX boards that were converted > to DM, such as warp7, to fail to boot. > > As explained by Lukas Auer: > > "With the patch, U-Boot probes t

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 01:34:24PM +0200, Hannes Schmelzer wrote: > > > On 5/2/19 9:03 PM, Tom Rini wrote: > >On Thu, May 02, 2019 at 08:34:32PM +0200, Hannes Schmelzer wrote: > >>On 5/2/19 6:06 PM, Michal Simek wrote: > >>>Hi, > >>Hi Michal, > >>>On 02. 05. 19 5:14, Hannes Schmelzer wrote: > >>>

[U-Boot] [PATCH v3 0/5] Kconfig conversion: CONFIG_SYS_[DI]CACHE_OFF

2019-05-03 Thread Trevor Woerner
This series of patches starts with a couple clean-up patches for various items related to CONFIG_SYS_[DI]CACHE_OFF, then converts these two configuration items to the Kconfig system. CONFIG_SYS_[DI]CACHE_OFF had been minimally converted to Kconfig, but only for the arc architecture; all other inst

[U-Boot] [PATCH v3 1/5] CONFIG_SYS_[ID]CACHE_OFF: unify the 'any' case

2019-05-03 Thread Trevor Woerner
According to De Morgan's Law[1]: !(A && B) = !A || !B !(A || B) = !A && !B There are 5 places in the code where we find: #if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) and 4 places in the code where we find: #if (!defined(CONFIG_SYS_ICACHE_O

[U-Boot] [PATCH v3 5/5] CONFIG_SPL_SYS_[DI]CACHE_OFF: add

2019-05-03 Thread Trevor Woerner
While converting CONFIG_SYS_[DI]CACHE_OFF to Kconfig, there are instances where these configuration items are conditional on SPL. This commit adds SPL variants of these configuration items, uses CONFIG_IS_ENABLED(), and updates the configurations as required. Acked-by: Alexey Brodkin Signed-off-b

[U-Boot] [PATCH v3 3/5] CONFIG_SYS_[DI]CACHE_OFF: remove commented lines

2019-05-03 Thread Trevor Woerner
Eventually these configuration items will be converted to Kconfig, therefore there's little point in leaving commented-out versions of them in include/configs. Signed-off-by: Trevor Woerner --- Changes in v3: None Changes in v2: None include/configs/uniphier.h | 4 include/confi

[U-Boot] [PATCH v3 4/5] CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig

2019-05-03 Thread Trevor Woerner
CONFIG_SYS_[DI]CACHE_OFF had been partially converted to Kconfig parameters; only for the ARC architecture. This patch turns these two parameters into Kconfig items everywhere else they are found. All of the include/configs/* and defconfig changes in this patch are for arm machines only. The Kconf

[U-Boot] [PATCH v3 2/5] CONFIG_SYS_[DI]CACHE_OFF: remove superfluous "1"

2019-05-03 Thread Trevor Woerner
This config is the only config that uses: #define CONFIG_SYS_DCACHE_OFF 1 in its #define. Remove the superfluous "1" so this cache #define is like all the others. Signed-off-by: Trevor Woerner --- Changes in v3: None Changes in v2: None include/configs/origen.h | 2 +- 1 file changed,

Re: [U-Boot] [PATCH] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 12:51:24PM +, Auer, Lukas wrote: > On Fri, 2019-05-03 at 09:25 -0300, Fabio Estevam wrote: > > Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to > > simple-bus driver") causes some i.MX boards that were converted > > to DM, such as warp7, to fail to boot. >

Re: [U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 01:28:02PM +0200, Niel Fourie wrote: > Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec > phyBOARD-Wega AM335x. > > CPU : AM335X-GP rev 2.1 > Model: Phytec AM335x phyBOARD-WEGA > DRAM: 256 MiB > NAND: 256 MiB > MMC: OMAP SD/MMC: 0 > eth0: ethernet@4a10

[U-Boot] [PULL, RESEND] Please pull u-boot-rockchip/tags/rockchip-for-2019.07

2019-05-03 Thread Philipp Tomsich
Tom, [resend due to me forgetting to CC the mailing-list] Here’s the first batch of changes for the Rockchip side of the repository. Took a bit longer as expected as there always was ‘one more issue’ to fix up during the merge… Clean bill-of-health in Travis-CI at https://travis-ci.org/

Re: [U-Boot] [PATCH] board_f: Do not mark pre-relocated fdt space as reserved

2019-05-03 Thread Lokesh Vutla
Simon, On 22/04/19 8:15 PM, Tom Rini wrote: > On Thu, Apr 18, 2019 at 08:23:45AM +0200, Simon Goldschmidt wrote: >> On Thu, Apr 18, 2019 at 8:12 AM Lokesh Vutla wrote: >>> >>> >>> >>> On 18/04/19 12:46 AM, Simon Goldschmidt wrote: [This is a follow-up to https://patchwork.ozlabs.org/patch/10

Re: [U-Boot] [PATCH v1] ARM: socfpga: stratix10: Probe FPGA status before bridge enable

2019-05-03 Thread Marek Vasut
On 5/3/19 10:18 AM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > Send CONFIG_STATUS and RECONFIG_STATUS mailbox commands to Secure > Device Manager (SDM) to get the status of FPGA and make sure the > FPGA is in user mode before enable the bridge. > > Signed-off-by: Ang, Chee Hong

Re: [U-Boot] [PATCH v1] ARM: socfpga: stratix10: Disable FPGA2SOC reset

2019-05-03 Thread Marek Vasut
On 5/3/19 10:19 AM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > Software must never reset FPGA2SOC bridge. This bridge must only be > reset by POR/COLD/WARM reset. Asserting the FPGA2SOC reset by software > can cause the SoC to lock-up if there are traffics being drived into > FPG

[U-Boot] [PULL] u-boot-socfpga/master

2019-05-03 Thread Marek Vasut
The following changes since commit 6aebc0d11a10f48a54146c5e71bbef15a1a458fc: Revert "fs: btrfs: fix false negatives in ROOT_ITEM search" (2019-04-27 11:35:44 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to 7110259f550

Re: [U-Boot] [PATCH v4 0/3] Move Stratix 10 SDRAM driver to DM

2019-05-03 Thread Marek Vasut
On 5/3/19 8:27 AM, Ley Foon Tan wrote: > Compile ALTERA_SDRAM driver in SPL only and move Stratix 10 SDRAM driver to > DM. > > v3 -> v4: > - Add CONFIG_SPL_ALTERA_SDRAM to config_whitelist.txt in patch [1/3] and > remove it in patch [3/3] > - Remove _remove(). > - Update commit message in patch

[U-Boot] [PULL] u-boot-usb/master

2019-05-03 Thread Marek Vasut
The following changes since commit b4ee6daad7a2604ca9466b2ba48de86cc27d381f: Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx (2019-05-01 07:25:51 -0400) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to ff83e4c368f

Re: [U-Boot] [PATCH v1] ARM: socfpga: stratix10: Enable DMA330 DMA controller

2019-05-03 Thread Ang, Chee Hong
On Fri, 2019-05-03 at 11:55 +0200, Marek Vasut wrote: > On 5/3/19 10:18 AM, chee.hong@intel.com wrote: > > > > From: "Ang, Chee Hong" > Commit message is missing -- why do you need to enable the DMA330 ? > > Don't you have a reset driver, like A10 and Gen5 ? DMA driver for S10 is still missi

Re: [U-Boot] [PATCH 4/4] lib: uuid: Improve randomness of uuid values on RANDOM_UUID=y

2019-05-03 Thread Eugeniu Rosca
On Thu, May 02, 2019 at 12:32:53AM +0200, Eugeniu Rosca wrote: > Hi Tom, > > On Wed, May 01, 2019 at 03:51:49PM -0400, Tom Rini wrote: > [..] > > > > Agreed, this patch sounds like it addresses a number of problems today > > that are real problems (I await someone filing a CVE now for our PRNG >

[U-Boot] RISC-V: Crashes with OpenSBI+U-Boot on the qemu "virt" machine

2019-05-03 Thread Karsten Merker
Hello, I'm currently testing the U-Boot patch for adding booti support on the RISC-V architecture and the corresponding kernel patch on a qemu riscv64 "virt" machine with OpenSBI. While performing the tests, I have found two probably unrelated issues in U-Boot and OpenSBI, though I'm unsure wheth

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Michal Simek
On 03. 05. 19 6:18, Tom Rini wrote: > On Fri, May 03, 2019 at 01:34:24PM +0200, Hannes Schmelzer wrote: >> >> >> On 5/2/19 9:03 PM, Tom Rini wrote: >>> On Thu, May 02, 2019 at 08:34:32PM +0200, Hannes Schmelzer wrote: On 5/2/19 6:06 PM, Michal Simek wrote: > Hi, Hi Michal, > On 02

[U-Boot] [PATCH v2] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Fabio Estevam
Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver") causes some i.MX boards that were converted to DM, such as warp7, to fail to boot. As explained by Lukas Auer: "With the patch, U-Boot probes the drivers for devices under simple-bus device tree nodes in the pre-r

Re: [U-Boot] [PATCH v1] ARM: socfpga: stratix10: Enable DMA330 DMA controller

2019-05-03 Thread Marek Vasut
On 5/3/19 5:53 PM, Ang, Chee Hong wrote: > On Fri, 2019-05-03 at 11:55 +0200, Marek Vasut wrote: >> On 5/3/19 10:18 AM, chee.hong@intel.com wrote: >>> >>> From: "Ang, Chee Hong" >> Commit message is missing -- why do you need to enable the DMA330 ? >> >> Don't you have a reset driver, like A10

Re: [U-Boot] [PATCH v2] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Pierre-Jean Texier
Hi Fabio, Le 03/05/2019 à 19:05, Fabio Estevam a écrit : Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver") causes some i.MX boards that were converted to DM, such as warp7, to fail to boot. As explained by Lukas Auer: "With the patch, U-Boot probes the drivers

Re: [U-Boot] [PATCH v2] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Joris OFFOUGA
Hi Fabio, Tested-by Joris Offouga BR, Joris Le ven. 3 mai 2019 à 19:20, Pierre-Jean Texier a écrit : > Hi Fabio, > > Le 03/05/2019 à 19:05, Fabio Estevam a écrit : > > Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to > > simple-bus driver") causes some i.MX boards that were c

Re: [U-Boot] [PATCH v2] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Joris OFFOUGA
Hi Fabio Tested-by Joris Offouga BR Joris Le ven. 3 mai 2019 à 19:05, Fabio Estevam a écrit : > Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to > simple-bus driver") causes some i.MX boards that were converted > to DM, such as warp7, to fail to boot. > > As explained by Lukas

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 09:29:32AM -0700, Michal Simek wrote: [snip] > I think we need to get more clarity what exactly vxworks expects and > what are just your "hacks" to get it work. > If vxworks deviates existing dt binding, or create completely new one. Hold up. If it's not in the spec itself

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 01:35:11PM -0400, Tom Rini wrote: > On Fri, May 03, 2019 at 09:29:32AM -0700, Michal Simek wrote: > [snip] > > I think we need to get more clarity what exactly vxworks expects and > > what are just your "hacks" to get it work. > > If vxworks deviates existing dt binding, or

[U-Boot] [PATCH 3/3] dt: bcm63158: watchdog should use a 50Mhz clock

2019-05-03 Thread Philippe Reynes
The watchdog should use a clock at 50 Mhz, so instead of using the clock osc (200 Mhz), we define a reference clock at 50Mhz and use it for both watchdog. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm63158.dtsi | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/

[U-Boot] [PATCH 0/3] fix bcm6345 watchdog on broadcom board

2019-05-03 Thread Philippe Reynes
Since the commit: commit 06985289d452 ("watchdog: Implement generic watchdog_reset() version"), the watchdog is always started and a default timeout of 6 ms is used. But the driver for the bcm6345 watchdog use this timeout in ms as tick. So a board using this driver reboot immediately. The fir

[U-Boot] [PATCH 2/3] dt: bcm6858: watchdog should use a 50Mhz clock

2019-05-03 Thread Philippe Reynes
The watchdog should use a clock at 50 Mhz, so instead of using the clock osc (200 Mhz), we define a reference clock at 50Mhz and use it for both watchdog. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm6858.dtsi | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/a

[U-Boot] [PATCH 1/3] watchdog: bcm6345: callback start use tick instead of ms

2019-05-03 Thread Philippe Reynes
The function bcm6345_wdt_start use the argument timeout as tick but it should be used as milliseconds. A clock is added as requirement for this driver. The frequency of the clock is then used to convert the millisecond to ticks in the function bcm6345_wdt_start. Signed-off-by: Philippe Reynes --

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Michal Simek
On 03. 05. 19 10:35, Tom Rini wrote: > On Fri, May 03, 2019 at 09:29:32AM -0700, Michal Simek wrote: > [snip] >> I think we need to get more clarity what exactly vxworks expects and >> what are just your "hacks" to get it work. >> If vxworks deviates existing dt binding, or create completely new on

[U-Boot] [PATCH 3/3] bcm968380gerg: remove CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT

2019-05-03 Thread Philippe Reynes
This board define the flag CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT but it's a mistake. It's a workaround for an issue in nand core. This issue was fixed by the commit 5f626e78491c ("mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior"). Now, this flag break the nand on this board, so we simply

[U-Boot] [PATCH 1/3] bcm968580xref: remove CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT

2019-05-03 Thread Philippe Reynes
This board define the flag CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT but it's a mistake. It's a workaround for an issue in nand core. This issue was fixed by the commit 5f626e78491c ("mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior"). Now, this flag break the nand on this board, so we simply

Re: [U-Boot] [PATCH v1] ARM: socfpga: stratix10: Enable DMA330 DMA controller

2019-05-03 Thread Ang, Chee Hong
On Fri, 2019-05-03 at 19:04 +0200, Marek Vasut wrote: > On 5/3/19 5:53 PM, Ang, Chee Hong wrote: > > > > On Fri, 2019-05-03 at 11:55 +0200, Marek Vasut wrote: > > > > > > On 5/3/19 10:18 AM, chee.hong@intel.com wrote: > > > > > > > > > > > > From: "Ang, Chee Hong" > > > Commit message is m

[U-Boot] [PATCH 2/3] bcm963158: remove CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT

2019-05-03 Thread Philippe Reynes
This board define the flag CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT but it's a mistake. It's a workaround for an issue in nand core. This issue was fixed by the commit 5f626e78491c ("mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior"). Now, this flag break the nand on this board, so we simply

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 10:49:34AM -0700, Michal Simek wrote: > On 03. 05. 19 10:35, Tom Rini wrote: > > On Fri, May 03, 2019 at 09:29:32AM -0700, Michal Simek wrote: > > [snip] > >> I think we need to get more clarity what exactly vxworks expects and > >> what are just your "hacks" to get it work.

Re: [U-Boot] [PATCH v2] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Bryan O'Donoghue
On 03/05/2019 18:05, Fabio Estevam wrote: Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver") causes some i.MX boards that were converted to DM, such as warp7, to fail to boot. As explained by Lukas Auer: "With the patch, U-Boot probes the drivers for devices u

Re: [U-Boot] [PATCH v2] board/BuR/zynq/brsmarc2: initial commit

2019-05-03 Thread Michal Simek
On 03. 05. 19 11:04, Tom Rini wrote: > On Fri, May 03, 2019 at 10:49:34AM -0700, Michal Simek wrote: >> On 03. 05. 19 10:35, Tom Rini wrote: >>> On Fri, May 03, 2019 at 09:29:32AM -0700, Michal Simek wrote: >>> [snip] I think we need to get more clarity what exactly vxworks expects and wh

Re: [U-Boot] Pull request for UEFI sub-system for v2019.07-rc2

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 07:27:40AM +0200, Heinrich Schuchardt wrote: > The following changes since commit b4ee6daad7a2604ca9466b2ba48de86cc27d381f: > > Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx > (2019-05-01 07:25:51 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PULL, RESEND] Please pull u-boot-rockchip/tags/rockchip-for-2019.07

2019-05-03 Thread Tom Rini
On Fri, May 03, 2019 at 04:09:27PM +0200, Philipp Tomsich wrote: > Tom, > > [resend due to me forgetting to CC the mailing-list] > > Here’s the first batch of changes for the Rockchip side of the repository. > Took a bit longer as expected as there always was ‘one more issue’ to fix up > during

Re: [U-Boot] [PATCH] MAINTAINERS, git-mailrc: Update the mmc maintainer

2019-05-03 Thread Tom Rini
On Wed, Apr 24, 2019 at 11:56:58AM +, Peng Fan wrote: > Update the mmc maintainer from Jaehoon to me. > > Cc: Jaehoon Chung > Signed-off-by: Peng Fan > Acked-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH] firmware: ti_sci: Fix TISCI mailbox receive timeout handling

2019-05-03 Thread Tom Rini
On Wed, Apr 24, 2019 at 02:20:08PM -0500, Andreas Dannenberg wrote: > An earlier commit converted the TISCI receive timeouts to be specified > in ms rather than us however it failed to take this change into account > when passing the actual timeout to be used when invoking the mailbox > receive AP

Re: [U-Boot] [PATCH] drivers: dma: ti: k3-udma: Extract packet data only when Meta data is not NULL

2019-05-03 Thread Tom Rini
On Wed, Apr 24, 2019 at 04:33:54PM +0530, Keerthy wrote: > Currently packet data is wrongly extracted when metadata is NULL. > Fix it and negate the if check. > > Signed-off-by: Keerthy > Reviewed-by: Grygorii Strashko > Reviewed-by: Peter Ujfalusi Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH] watchdog: Kconfig: update WDT help message

2019-05-03 Thread Tom Rini
On Thu, Apr 25, 2019 at 12:57:28PM +0200, Patrice Chotard wrote: > Restart operation never exists and reset operation never > makes the watchdog expire immediately but expire_now operation > does. > > Signed-off-by: Patrice Chotard > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks!

Re: [U-Boot] [PATCH] dma: ti: k3-udma: Do not touch RT registers before channel configuration

2019-05-03 Thread Tom Rini
On Thu, Apr 25, 2019 at 12:08:15PM +0530, Vignesh Raghavendra wrote: > From: Peter Ujfalusi > > Upcoming sysfw (2019.03) will not open the channelized firewalls during > init, it only going to do so in response to the channel configuration > message. > > Remove the channel state checks done bef

Re: [U-Boot] [PATCH] README: davinci: update the documentation for DaVinci

2019-05-03 Thread Tom Rini
On Tue, Apr 30, 2019 at 09:39:25AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The DM* family of SOCs is no longer supported. We now support the > omap-l138 lcdk board and Lego EV3 platform. Reflect those changes > in the README. > > Signed-off-by: Bartosz Golaszewski > R

Re: [U-Boot] [PATCH v2] arm: dts: k3-am654: Sync IOPAD macros with Linux

2019-05-03 Thread Tom Rini
On Mon, Apr 29, 2019 at 12:56:44PM -0500, Andreas Dannenberg wrote: > Transition to the IOPAD macros as used in Linux in which the pin mux > mode is specified using a dedicated parameter while also dropping the > related MUX_MODEx macros that are no longer needed. This transition > will allow us t

Re: [U-Boot] [PATCH] board: am335x: Drop duplicate pinmux configuration

2019-05-03 Thread Tom Rini
On Thu, Apr 25, 2019 at 03:12:00PM +0100, p...@betafive.co.uk wrote: > From: Paul Barker > > In commit ad6054f1fe128f797b6eb2964afca6674b584785 where support for the > Sancloud BeagleBone Enhanced (BBE) was added, new conditional > configuration of either MII pin muxing or RGMII pin muxing is do

Re: [U-Boot] [PATCH] armv7R: dts: k3: am654: Switch DMSC TX message thread ID

2019-05-03 Thread Tom Rini
On Thu, Apr 25, 2019 at 12:27:02PM -0500, Andreas Dannenberg wrote: > Switch from using the high priority DMSC transmit message queue used > by the secure R5 MCU island boot context to the low priority message > queue. While the change in priority is irrelevant for the current boot > architecture

Re: [U-Boot] [PATCH] fs: btrfs: Do not print mount fail message when not btrfs filesystem

2019-05-03 Thread Tom Rini
On Fri, Apr 26, 2019 at 03:11:09PM +0200, Marek Behún wrote: > Other filesystem drivers don't do this. > > Signed-off-by: Marek Behún Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH 2/2] ti: Add am335x-pocketbeagle to am335x_evm_defconfig.

2019-05-03 Thread Tom Rini
On Mon, Apr 29, 2019 at 04:12:30PM -0700, Vagrant Cascadian wrote: > Add am335x-pocketbeagle to CONFIG_OF_LIST in am335x_evm_defconfig. > > Signed-off-by: Vagrant Cascadian > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH 1/2] ti: Add device-tree for am335x-pocketbeagle.

2019-05-03 Thread Tom Rini
On Mon, Apr 29, 2019 at 04:12:29PM -0700, Vagrant Cascadian wrote: > Add device-tree files from linux 5.1-rc7 needed to complete support > for PocketBeagle. > > Signed-off-by: Vagrant Cascadian > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH] tools/Makefile: fix HOSTCFLAGS with CROSS_BUILD_TOOLS

2019-05-03 Thread Tom Rini
On Wed, May 01, 2019 at 03:08:25PM +0200, Fabrice Fontaine wrote: > When CROSS_BUILD_TOOLS is set, set HOSTCFLAGS to CFLAGS otherwise CC > will be used with HOSTCFLAGS which seems wrong > > Signed-off-by: Fabrice Fontaine Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [U-Boot] [PATCH v3 1/1] at91: cleanup taurus port

2019-05-03 Thread Tom Rini
On Mon, Apr 29, 2019 at 04:36:10PM +0200, Heiko Schocher wrote: > - at91sam9g20-taurus.dts: use labels > - cleanup taurus port to compile clean with > current mainline again. SPL has no serial > output anymore, so it fits into SRAM. > > Signed-off-by: Heiko Schocher Applied to u-boot/master

Re: [U-Boot] [PATCH] firmware: ti_sci: Always request response from firmware

2019-05-03 Thread Tom Rini
On Mon, Apr 29, 2019 at 09:04:11AM -0400, Andrew F. Davis wrote: > TI-SCI firmware will only respond to messages when the > TI_SCI_FLAG_REQ_ACK_ON_PROCESSED flag is set. Most messages > already do this, set this for the ones that do not. > > Signed-off-by: Andrew F. Davis > Tested-by: Alejandro

Re: [U-Boot] [PATCH 1/1] fs: correct comments for fs_read() and write()

2019-05-03 Thread Tom Rini
On Thu, Apr 25, 2019 at 08:36:39PM +0200, Heinrich Schuchardt wrote: > The existing comments where confusing read and write. The comment for > fs_write() had: > "@addr: The address to read into" > > So let's rework the comments and format them in Sphinx style. > > Signed-off-by: Heinrich Schucha

Re: [U-Boot] [PATCH 1/1] lib/vsprintf: remove #include from vsprintf.c

2019-05-03 Thread Tom Rini
On Mon, Apr 29, 2019 at 08:04:36AM +0200, Heinrich Schuchardt wrote: > common.h already includes uuid.h > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing lis

Re: [U-Boot] [PATCH] fs: btrfs: fix btrfs methods return values on failure

2019-05-03 Thread Tom Rini
On Thu, May 02, 2019 at 03:28:43PM +0200, Marek Behún wrote: > The btrfs implementation methods .ls(), .size() and .read() returns 1 on > failure, but the command handlers expect values <0 on failure. > > For example if given a nonexistent path, the load command currently > returns success, and h

Re: [U-Boot] [PATCH] lib: Kconfig: fix help text for GZIP

2019-05-03 Thread Tom Rini
On Mon, Apr 29, 2019 at 08:59:38AM +0200, Heiko Schocher wrote: > commit 95f4bbd581cf ("lib: fdt: Allow LZO and GZIP DT compression in U-Boot") > > introduced Kconfig option for gzip in U-Boot, but help text > says gzip for SPL, which is wrong. Fix this. > > Signed-off-by: Heiko Schocher > Acke

Re: [U-Boot] [PATCH] ARM: dts: logicpd-som-lv: Fix MMC1 card detect

2019-05-03 Thread Tom Rini
On Tue, Apr 30, 2019 at 07:53:16AM -0500, Adam Ford wrote: > The card detect pin was incorrectly using IRQ_TYPE_LEVEL_LOW > instead of GPIO_ACTIVE_LOW when reading the state of the CD pin. > > Without this patch, MMC1 won't be detected. > > This is the same patch submitted to linux-omap, but I w

Re: [U-Boot] ARM: omap3_logic: Enable UUID

2019-05-03 Thread Fabio Estevam
Hi Stefano, On Fri, Apr 26, 2019 at 7:11 AM wrote: > > > Instead of hardcoding the mmcroot to /dev/mmcblkX, use the UUID > > method. > > Signed-off-by: Adam Ford > > diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig > > index 5b5f3eb7b4..9a1596c89b 100644 > > --- a/con

Re: [U-Boot] [PATCH] board_f: Do not mark pre-relocated fdt space as reserved

2019-05-03 Thread Simon Goldschmidt
Hi Lokesh, On 03.05.19 16:24, Lokesh Vutla wrote: Simon, On 22/04/19 8:15 PM, Tom Rini wrote: On Thu, Apr 18, 2019 at 08:23:45AM +0200, Simon Goldschmidt wrote: On Thu, Apr 18, 2019 at 8:12 AM Lokesh Vutla wrote: On 18/04/19 12:46 AM, Simon Goldschmidt wrote: [This is a follow-up to htt

  1   2   >