Re: [U-Boot] [PATCH] sunxi: H6: DRAM: Add support for half DQ

2019-08-20 Thread Jernej Škrabec
Hi! Dne sreda, 21. avgust 2019 ob 02:31:04 CEST je André Przywara napisal(a): > On 17/07/2019 23:16, Jernej Skrabec wrote: > > Half DQ configuration seems to be very rare for H6 based boards/STBs, > > but exists nevertheless. Currently the only known product which needs > > this support is Tanix T

Re: [U-Boot] [EXT] Re: [PATCH 0/1] NVME fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
Thanks. I'm still trying to figure out why my patch isn't showing up in the mailing list. Without it I can easily cause my Samsung NVME drive to fail with the status containing 0x2013 when doing large writes in a FAT filesystem (but for some reason not reads). I also could not reproduce this with

Re: [U-Boot] [PATCH 0/1] NVME fix PRP Offset Invalid

2019-08-20 Thread Bin Meng
On Wed, Aug 21, 2019 at 10:29 AM Aaron Williams wrote: > > OK, for some reason my patch with this fix is not making it to this mailing > list. > It looks the patch arrived the ML. I will take a look. Thanks. Regards, Bin ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH 0/1] NVME fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
OK, for some reason my patch with this fix is not making it to this mailing list. -Aaron On Tuesday, August 20, 2019 5:23:29 PM PDT Aaron Williams wrote: > Our QA team had problems writing large files (187MB) to the > FAT filesystem on a Samsung EVO 970 NVME drive and I was > able to track it do

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

2019-08-20 Thread Rick Chen
Hi Lukas > Hi Rick, > > On Wed, 2019-08-14 at 20:15 +, Auer, Lukas wrote: > > Hi Rick, > > > > On Wed, 2019-08-14 at 10:20 +0800, Rick Chen wrote: > > > Hi Lukas > > > > > > > > From: Tom Rini [mailto:tr...@konsulko.com] > > > > > Sent: Wednesday, August 14, 2019 12:50 AM > > > > > To: Open So

Re: [U-Boot] [PATCH v3 00/17] Add Intel Agilex SoC support

2019-08-20 Thread Ley Foon Tan
On Wed, Aug 21, 2019 at 9:55 AM Marek Vasut wrote: > > On 8/21/19 3:52 AM, Ley Foon Tan wrote: > > On Tue, Aug 20, 2019 at 8:34 PM Marek Vasut wrote: > >> > >> On 8/20/19 9:51 AM, Ley Foon Tan wrote: > >>> This is 3rd version of patchset to add Intel Agilex SoC[1] support. > >>> Two major changes

Re: [U-Boot] [PATCH v3 00/17] Add Intel Agilex SoC support

2019-08-20 Thread Marek Vasut
On 8/21/19 3:52 AM, Ley Foon Tan wrote: > On Tue, Aug 20, 2019 at 8:34 PM Marek Vasut wrote: >> >> On 8/20/19 9:51 AM, Ley Foon Tan wrote: >>> This is 3rd version of patchset to add Intel Agilex SoC[1] support. >>> Two major changes in this series are move Stratix 10 and Agilex common >>> code to

Re: [U-Boot] [PATCH v3 00/17] Add Intel Agilex SoC support

2019-08-20 Thread Ley Foon Tan
On Tue, Aug 20, 2019 at 8:34 PM Marek Vasut wrote: > > On 8/20/19 9:51 AM, Ley Foon Tan wrote: > > This is 3rd version of patchset to add Intel Agilex SoC[1] support. > > Two major changes in this series are move Stratix 10 and Agilex common > > code to _soc64* file and convert drivers from struct

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-20 Thread Ley Foon Tan
On Tue, Aug 20, 2019 at 7:24 PM Marek Vasut wrote: > > On 8/20/19 12:29 PM, Simon Goldschmidt wrote: > > > > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Di., 20. > > Aug. 2019, 12:15: > > > > On 8/20/19 11:55 AM, Simon Goldschmidt wrote: > > > > > > > > > Marek Vasut mailto:m

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-20 Thread Ley Foon Tan
On Tue, Aug 20, 2019 at 5:50 PM Marek Vasut wrote: > > On 8/20/19 4:35 AM, Ley Foon Tan wrote: > > Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct > > to defines. > > No functional change. > > > > Signed-off-by: Ley Foon Tan > > --- > > .../mach-socfpga/include/mach/reset_man

Re: [U-Boot] [PATCH v5 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-08-20 Thread Xiaowei Bao
> -Original Message- > From: Joakim Tjernlund > Sent: 2019年8月20日 19:04 > To: Prabhakar Kushwaha ; Ruchika Gupta > ; Xiaowei Bao ; > Shengzhou Liu ; w...@denx.de; > ja...@amarulasolutions.com > Cc: u-boot@lists.denx.de; Jiafei Pan ; Chuanhua Han > > Subject: Re: [U-Boot] [PATCH v5 2/5] d

[U-Boot] [PATCH 1/1] serial: ns16550: Read reg-io-type from device tree

2019-08-20 Thread Park, Aiden
ns16550 can select register access type from device tree. This also allows an inherited serial driver of ns16550 to configure register access type at run-time by overriding ofdata_to_platdata. Signed-off-by: Aiden Park --- drivers/serial/ns16550.c | 63 +++- i

[U-Boot] [PATCH 1/1] nvme: Fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
When large writes take place I saw a Samsung EVO 970+ return a status value of 0x13, PRP Offset Invalid. I tracked this down to the improper handling of PRP entries. The blocks the PRP entries are placed in cannot cross a page boundary and thus should be allocated on page boundaries. This is how

Re: [U-Boot] [PATCH] sunxi: H6: DRAM: Add support for half DQ

2019-08-20 Thread André Przywara
On 17/07/2019 23:16, Jernej Skrabec wrote: > Half DQ configuration seems to be very rare for H6 based boards/STBs, > but exists nevertheless. Currently the only known product which needs > this support is Tanix TX6 mini. > > This commit adds support for half DQ configuration. Code was tested > for

[U-Boot] [PATCH 1/1] nvme: Fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
When large writes take place I saw a Samsung EVO 970+ return a status value of 0x13, PRP Offset Invalid. I tracked this down to the improper handling of PRP entries. The blocks the PRP entries are placed in cannot cross a page boundary and thus should be allocated on page boundaries. This is how

[U-Boot] [PATCH 0/1] NVME fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
Our QA team had problems writing large files (187MB) to the FAT filesystem on a Samsung EVO 970 NVME drive and I was able to track it down to PRP buffer issues. Namely, this buffer cannot cross a page boundary and it should be allocated in page-sized chunks. This patch modifies the U-Boot NVME dr

[U-Boot] [PATCH 0/1] NVME fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
Let's try this yet again. I'm sorry if multiple emails are going out, I'm having issues getting git send-email working with our mail server. Anyway, this fixes a problem where the U-Boot NVME driver fails during large transfers due to the way the NVME driver allocates the PRP data structure. Thi

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

2019-08-20 Thread Auer, Lukas
Hi Rick, On Wed, 2019-08-14 at 20:15 +, Auer, Lukas wrote: > Hi Rick, > > On Wed, 2019-08-14 at 10:20 +0800, Rick Chen wrote: > > Hi Lukas > > > > > > From: Tom Rini [mailto:tr...@konsulko.com] > > > > Sent: Wednesday, August 14, 2019 12:50 AM > > > > To: Open Source Project uboot > > > > Cc

[U-Boot] [PATCH v4 02/11] Makefile: support building SPL FIT images without device trees

2019-08-20 Thread Lukas Auer
When building a U-Boot FIT image, the device trees specified by the board are unconditionally built for inclusion in the FIT image. However, not all device tree providers, such as CONFIG_OF_PRIOR_STAGE, require a device tree to be built and bundled with the U-Boot binary. They rely on other mechani

Re: [U-Boot] [PATCH V2 0/7] ARM: imx: Update Novena to DM/DT

2019-08-20 Thread Vagrant Cascadian
On 2019-08-19, Marek Vasut wrote: > On 6/4/19 9:06 AM, Vagrant Cascadian wrote: >> On 2019-05-17, Marek Vasut wrote: >>> Update Kosagi Novena to DM / DT and remove the warnings. ... >> I have two oustanding issues... with some files it sometimes fails to >> load one or more from SATA: >> >> Retrie

[U-Boot] [PATCH 1/1] dm: scsi: Scan the actual number of ports

2019-08-20 Thread Park, Aiden
The scsi_scan_dev() is looping over the number of uc_plat->max_id. The number of actual ports a AHCI controller has can be greater than max_id. Update uc_plat->max_id to make SCSI scan all detected ports. Signed-off-by: Aiden Park --- drivers/ata/ahci.c | 8 1 file changed, 8 insertions

Re: [U-Boot] [PATCH v3 8/8] ata: ahci: Don't forget to clear upper address regs.

2019-08-20 Thread Tom Rini
On Tue, Aug 06, 2019 at 05:08:52PM +0200, Frank Wunderlich wrote: > From: Oleksandr Rybalko > > In 32bits mode upper bits need to be set to 0, otherwise controller will > try to DMA into not existing memory and stops with error. > > changes since v2: none > > Tested-by: Frank Wunderlich > Sig

Re: [U-Boot] [PATCH v4 2/4] USB: host: Add the USB3 host driver

2019-08-20 Thread Sherry Sun
Hi Marek, > > On 8/20/19 5:42 PM, Sherry Sun wrote: > [...] > > >>> +U_BOOT_DRIVER(xhci_imx8) = { > >>> + .name = "xhci_imx8", > >>> + .id = UCLASS_USB, > >>> + .of_match = xhci_usb_ids, > >>> + .probe = xhci_imx8_probe, > >>> + .remove = xhci_im

Re: [U-Boot] [PATCH v4 2/4] USB: host: Add the USB3 host driver

2019-08-20 Thread Marek Vasut
On 8/20/19 5:42 PM, Sherry Sun wrote: [...] >>> +U_BOOT_DRIVER(xhci_imx8) = { >>> + .name = "xhci_imx8", >>> + .id = UCLASS_USB, >>> + .of_match = xhci_usb_ids, >>> + .probe = xhci_imx8_probe, >>> + .remove = xhci_imx8_remove, >>> +

Re: [U-Boot] [PATCH v4 2/4] USB: host: Add the USB3 host driver

2019-08-20 Thread Sherry Sun
Hi Marek, > > On 8/20/19 5:24 PM, Sherry Sun wrote: > > Hi Marek, > > Hi, > > >> On 8/20/19 10:31 AM, Sherry Sun wrote: > >>> Hi Marek, > >>> > > On 8/19/19 8:10 AM, Sherry Sun wrote: > > Add the USB3 host driver for NXP imx8 platform, and the cadence IP > > is in it. The USB3

Re: [U-Boot] [PATCH] sifive-fu540: config: Add mmc0 as a boot target device

2019-08-20 Thread Auer, Lukas
On Fri, 2019-08-16 at 11:00 -0700, Alistair Francis wrote: > Add the mmc0 device as a BOOT_TARGET_DEVICES. > > Signed-off-by: Alistair Francis > --- > include/configs/sifive-fu540.h | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Lukas Auer _

Re: [U-Boot] [PATCH v4 2/4] USB: host: Add the USB3 host driver

2019-08-20 Thread Marek Vasut
On 8/20/19 5:24 PM, Sherry Sun wrote: > Hi Marek, Hi, >> On 8/20/19 10:31 AM, Sherry Sun wrote: >>> Hi Marek, >>> On 8/19/19 8:10 AM, Sherry Sun wrote: > Add the USB3 host driver for NXP imx8 platform, and the cadence IP > is in it. The USB3 host driver support DM mode, it will

Re: [U-Boot] [PATCH v4 2/4] USB: host: Add the USB3 host driver

2019-08-20 Thread Sherry Sun
Hi Marek, > > On 8/20/19 10:31 AM, Sherry Sun wrote: > > Hi Marek, > > > >> > >> On 8/19/19 8:10 AM, Sherry Sun wrote: > >>> Add the USB3 host driver for NXP imx8 platform, and the cadence IP > >>> is in it. The USB3 host driver support DM mode, it will probe USB3 > >>> host node in dts. > >>> >

Re: [U-Boot] [PATCH v1] common: fix building image.c

2019-08-20 Thread Igor Opaniuk
On Tue, Aug 20, 2019 at 5:09 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Wrap image_decomp() and all dependent functions with > !ifdef(USE_HOSTCC) macro, as this function isn't used by > any tool from /tools. > > Without this it leads to compilation issues (because of > CONFIG_LZMA from new

[U-Boot] [PATCH v1] common: fix building image.c

2019-08-20 Thread Igor Opaniuk
From: Igor Opaniuk Wrap image_decomp() and all dependent functions with !ifdef(USE_HOSTCC) macro, as this function isn't used by any tool from /tools. Without this it leads to compilation issues (because of CONFIG_LZMA from newly added #include statement, which pulls all these definitions): In

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-20 Thread Kurt Miller
Hi Kever, On Tue, 2019-08-20 at 10:46 +0800, Kever Yang wrote: > Hi Kurt, > > > Does this patch fix your issue? > > https://patchwork.ozlabs.org/patch/1147457/ > Yes! It fixes my boot issue. Thank you for working on it. However there is a second issue. Only 2G of memory was recognized instea

Re: [U-Boot] [PATCH v3 00/17] Add Intel Agilex SoC support

2019-08-20 Thread Marek Vasut
On 8/20/19 9:51 AM, Ley Foon Tan wrote: > This is 3rd version of patchset to add Intel Agilex SoC[1] support. > Two major changes in this series are move Stratix 10 and Agilex common > code to _soc64* file and convert drivers from struct to defines. > > This patchset needs to apply after patch in

[U-Boot] [PATCH] ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux

2019-08-20 Thread Adam Ford
When the pinmux configuration was added, it was accidentally placed into the omap3_pmx_wkup node when it should have been placed into the omap3_pmx_core. This error was accidentally propagated to U-Boot by me when I blindly copied the device tree from Linux. This patch moves the i2c2_pins and i2

Re: [U-Boot] [RFC PATCH v1] common: fix building image.c

2019-08-20 Thread Tom Rini
On Tue, Aug 20, 2019 at 10:39:43AM +, Igor Opaniuk wrote: > Hi Tom, > > On Tue, Aug 13, 2019 at 3:44 PM Igor Opaniuk wrote: > > > > From: Igor Opaniuk > > > > Wrap image_decomp() and all dependent functions with > > !ifdef(USE_HOSTCC) macro, as this function isn't used by > > any tool from /

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-20 Thread Marek Vasut
On 8/20/19 12:29 PM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Di., 20. > Aug. 2019, 12:15: > > On 8/20/19 11:55 AM, Simon Goldschmidt wrote: > > > > > > Marek Vasut mailto:ma...@denx.de> > >> schr

Re: [U-Boot] [PATCH V4 0/4] Prepare i.MX8MM clk

2019-08-20 Thread Lukasz Majewski
Hi Peng, > V4: > 1/4: Expose CCF for all > 2/4: Improve commit log > 3/4: Typo fix > 4/4: Drop unneeded initialization Your patches cause some build breaks on sandbox: https://travis-ci.org/lmajewski/u-boot-dfu/jobs/574198639 and TI: https://travis-ci.org/lmajewski/u-boot-dfu/jobs/574198655

Re: [U-Boot] [PATCH v5 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-08-20 Thread Joakim Tjernlund
On Tue, 2019-08-20 at 06:59 +, Xiaowei Bao wrote: > > From: Chuanhua Han > > Modify the Freescale ESPI driver to support the driver model. > Also resolved the following problems: > > = WARNING == > This board does not use CONFIG_DM_SPI. Please update

Re: [U-Boot] [RFC PATCH v1] common: fix building image.c

2019-08-20 Thread Igor Opaniuk
Hi Tom, On Tue, Aug 13, 2019 at 3:44 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Wrap image_decomp() and all dependent functions with > !ifdef(USE_HOSTCC) macro, as this function isn't used by > any tool from /tools. > > Without this it leads to compilation issues (because of > CONFIG_LZMA

[U-Boot] [PATCH 1/1] null dereference in hush.c

2019-08-20 Thread Niv Shetrit
This patch takes care of potential null dereference and a few typos. It has been detected by our static code analysis system. The diff was created using p4. The row numbering is incorrect because we're using outdated code. Signed-off-by: Niv Shetrit niv.shet...@altair-semi.com

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-20 Thread Simon Goldschmidt
Marek Vasut schrieb am Di., 20. Aug. 2019, 12:15: > On 8/20/19 11:55 AM, Simon Goldschmidt wrote: > > > > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Di., 20. > > Aug. 2019, 11:50: > > > > On 8/20/19 4:35 AM, Ley Foon Tan wrote: > > > Convert reset manager for Gen5, Arria 10 and Str

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-20 Thread Marek Vasut
On 8/20/19 11:55 AM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Di., 20. > Aug. 2019, 11:50: > > On 8/20/19 4:35 AM, Ley Foon Tan wrote: > > Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct > > to defines. > > No functional cha

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-20 Thread Simon Goldschmidt
Marek Vasut schrieb am Di., 20. Aug. 2019, 11:50: > On 8/20/19 4:35 AM, Ley Foon Tan wrote: > > Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct > > to defines. > > No functional change. > > > > Signed-off-by: Ley Foon Tan > > --- > > .../mach-socfpga/include/mach/reset_manag

[U-Boot] [PATCH] rockchip: rk3288: remove fennec board support

2019-08-20 Thread Kever Yang
Since there is no one using this board, remove it. Signed-off-by: Kever Yang --- arch/arm/dts/Makefile| 1 - arch/arm/dts/rk3288-fennec-u-boot.dtsi | 54 --- arch/arm/dts/rk3288-fennec.dts | 31 -- arch/arm/dts/rk3288-fennec.dtsi | 42

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-20 Thread Marek Vasut
On 8/20/19 4:35 AM, Ley Foon Tan wrote: > Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct > to defines. > No functional change. > > Signed-off-by: Ley Foon Tan > --- > .../mach-socfpga/include/mach/reset_manager.h | 12 + > .../include/mach/reset_manager_arria10.h |

[U-Boot] [PATCHv2 13/14] powerpc: mpc8548cds: extend the reserved length for monitor

2019-08-20 Thread Hou Zhiqiang
Extend the reserved length for monitor to fix the following build error: BINMAN u-boot-with-dtb.bin Wrote map file './image.map' to show errors binman: Section '/binman': contents size 0x8 (524288) exceeds section size 0x4 (262144) Makefile:1373: recipe for target 'u-boot-with-dtb.bin' f

Re: [U-Boot] [PATCH v4 2/4] USB: host: Add the USB3 host driver

2019-08-20 Thread Marek Vasut
On 8/20/19 10:31 AM, Sherry Sun wrote: > Hi Marek, > >> >> On 8/19/19 8:10 AM, Sherry Sun wrote: >>> Add the USB3 host driver for NXP imx8 platform, and the cadence IP is >>> in it. The USB3 host driver support DM mode, it will probe USB3 host >>> node in dts. >>> >>> Signed-off-by: Sherry Sun >>

[U-Boot] [PATCHv2 12/14] powerpc: dts: add default definition of CONFIG_RESET_VECTOR_ADDRESS

2019-08-20 Thread Hou Zhiqiang
Add CONFIG_RESET_VECTOR_ADDRESS definition with the default value in u-boot.dtsi to fix the build error below. In the configuration header file of some MPC85xx boards, there is not the definition of CONFIG_RESET_VECTOR_ADDRESS, while CONFIG_SYS_MPC85XX_NO_RESETVEC is also not defined. In this case,

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-20 Thread Lukasz Majewski
On Tue, 20 Aug 2019 09:00:40 + Xiaowei Bao wrote: > > -Original Message- > > From: Lukasz Majewski > > Sent: 2019年8月20日 16:20 > > To: Xiaowei Bao > > Cc: w...@denx.de; Ruchika Gupta ; Shengzhou Liu > > ; ja...@amarulasolutions.com; Prabhakar > > Kushwaha ; u-boot@lists.denx.de; Jiaf

[U-Boot] [PATCHv2 06/14] powerpc: Enable device tree support for P1020RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for P1020RDB boards and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile| 2 ++ arch/powerpc/dts/e500v2_power_isa.dtsi |

[U-Boot] [PATCHv2 14/14] powerpc: Enable device tree support for MPC8548CDS

2019-08-20 Thread Hou Zhiqiang
Add device tree for MPC8548CDS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/mpc8548-post.dtsi | 27 +++ arch/powerpc/dts/mpc8548.dts

[U-Boot] [PATCHv2 08/14] powerpc: Enable device tree support for P2041RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for P1041RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/e500mc_power_isa.dtsi | 33 ++

[U-Boot] [PATCHv2 09/14] powerpc: Enable device tree support for P3041DS

2019-08-20 Thread Hou Zhiqiang
Add device tree for P3041DS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/p3041.dtsi| 63 ++ arch/powerpc/dts/p3041

[U-Boot] [PATCHv2 05/14] powerpc: Enable device tree support for T1042D4RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for T1042D4RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/t1042d4rdb.dts | 17 ++

[U-Boot] [PATCHv2 11/14] powerpc: Enable device tree support for P5040DS

2019-08-20 Thread Hou Zhiqiang
Add device tree for P5040DS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/p5040.dtsi| 62 ++ arch/powerpc/dts/p5040

[U-Boot] [PATCHv2 07/14] powerpc: Enable device tree support for P2020RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for P1020RDB boards and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile| 1 + arch/powerpc/dts/p2020-post.dtsi |

[U-Boot] [PATCHv2 03/14] powerpc: Enable device tree support for T4240RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for T4240RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/t4240.dtsi | 102 ++ arch/powerpc/dts/t424

[U-Boot] [PATCHv2 10/14] powerpc: Enable device tree support for P4080DS

2019-08-20 Thread Hou Zhiqiang
Add device tree for P4080DS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/p4080.dtsi| 83 ++ arch/powerpc/dts/p4080

[U-Boot] [PATCHv2 04/14] powerpc: Enable device tree support for T1024RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for T1024RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/e5500_power_isa.dtsi | 34

[U-Boot] [PATCHv2 02/14] powerpc: Enable device tree support for T2080RDB

2019-08-20 Thread Hou Zhiqiang
Add device tree for T2080RDB board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Hou Zhiqiang --- V2: - No change. arch/powerpc/dts/Makefile | 1 + arch/powerpc/dts/t2080rdb.dts | 17

[U-Boot] [PATCHv2 01/14] powerpc: mpc85xx: Add device tree support option for PBL boot image

2019-08-20 Thread Hou Zhiqiang
The current Makefile always use u-boot.bin to generate PBL boot image (u-boot.pbl), this patch changes it to use u-boot-with-dtb.bin to support device tree when CONFIG_OF_SEPARATE is enabled. Signed-off-by: Hou Zhiqiang --- V2: - New patch. Makefile | 8 +++- 1 file changed, 7 insertions(+

[U-Boot] [PATCHv2 00/14] powerpc: Enable device tree support

2019-08-20 Thread Hou Zhiqiang
This patch is to enable device tree support for the Freescale PowerPC platforms below. Hou Zhiqiang (14): powerpc: mpc85xx: Add device tree support option for PBL boot image powerpc: Enable device tree support for T2080RDB powerpc: Enable device tree support for T4240RDB powerpc: Enable de

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-20 Thread Xiaowei Bao
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月20日 16:20 > To: Xiaowei Bao > Cc: w...@denx.de; Ruchika Gupta ; Shengzhou Liu > ; ja...@amarulasolutions.com; Prabhakar > Kushwaha ; u-boot@lists.denx.de; Jiafei > Pan ; Chuanhua Han > Subject: Re: [U-Boot] [PATCH v5 1/5] spl:

[U-Boot] [PATCH 0/1] NVME fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
Our QA team had problems writing large files (187MB) to the FAT filesystem on a Samsung EVO 970 NVME drive and I was able to track it down to PRP buffer issues. Namely, this buffer cannot cross a page boundary and it should be allocated in page-sized chunks. This patch modifies the U-Boot NVME dr

[U-Boot] [PATCH 1/1] nvme: Fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
When large writes take place I saw a Samsung EVO 970+ return a status value of 0x13, PRP Offset Invalid. I tracked this down to the improper handling of PRP entries. The blocks the PRP entries are placed in cannot cross a page boundary and thus should be allocated on page boundaries. This is how

Re: [U-Boot] [PATCH 0/3] arm: socfpga: Convert drivers from struct to defines

2019-08-20 Thread Simon Goldschmidt
Ley, Ley Foon Tan schrieb am Di., 20. Aug. 2019, 04:35: > Convert reset, system and clock manager drivers to use #define > instead of struct. > > No functional change. > It's still holiday season here, it might probably take until September until I find the time to review this. Regards, Simon

Re: [U-Boot] [PATCH v4 2/4] USB: host: Add the USB3 host driver

2019-08-20 Thread Sherry Sun
Hi Marek, > > On 8/19/19 8:10 AM, Sherry Sun wrote: > > Add the USB3 host driver for NXP imx8 platform, and the cadence IP is > > in it. The USB3 host driver support DM mode, it will probe USB3 host > > node in dts. > > > > Signed-off-by: Sherry Sun > > [...] > > > +static void xhci_imx8_get_r

Re: [U-Boot] [RFC PATCH] net: designware: drop compatible altr, socfpga-stmmac

2019-08-20 Thread Simon Goldschmidt
Ralph Siemsen schrieb am Mo., 19. Aug. 2019, 20:43: > The same compatible = "altr,socfpga-stmmac" appears in both > drivers/net/designware.c and drivers/net/dwmac_socfgpa.c, > creating ambiguity in which driver will be bound. > > For Intel/Altera SoC devices, dwmac_socfpga.c is the correct driver

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-20 Thread Lukasz Majewski
On Tue, 20 Aug 2019 07:51:18 + Xiaowei Bao wrote: > > -Original Message- > > From: Lukasz Majewski > > Sent: 2019年8月20日 15:43 > > To: Xiaowei Bao > > Cc: w...@denx.de; Ruchika Gupta ; Shengzhou Liu > > ; ja...@amarulasolutions.com; Prabhakar > > Kushwaha ; u-boot@lists.denx.de; Jiaf

Re: [U-Boot] [RFC PATCH] net: designware: drop compatible altr, socfpga-stmmac

2019-08-20 Thread Alexey Brodkin
Hi Ralph, > -Original Message- > From: Ralph Siemsen > Sent: Monday, August 19, 2019 9:43 PM > To: u-boot@lists.denx.de; Joe Hershberger ; Alexey > Brodkin > ; Vlad Zakharov > Cc: Ralph Siemsen > Subject: [RFC PATCH] net: designware: drop compatible altr,socfpga-stmmac > > The same co

[U-Boot] [PATCH v3 10/17] arm: socfpga: agilex: Add CCU support for Agilex

2019-08-20 Thread Ley Foon Tan
Add Cache Coherency Unit (CCU) support for Agilex. CCU is to ensures consistency of shared data between multi masters in the system. Software need to initialize CCU's directories and coherency agent interfaces in CCU IP. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- arch/arm/m

[U-Boot] [PATCH v3 05/17] arm: socfpga: Move Stratix10 and Agilex system manager common code

2019-08-20 Thread Ley Foon Tan
Move Stratix10 and Agilex system manager common code to system_manager_soc64.h. Signed-off-by: Ley Foon Tan --- v3: - Change filename to system_manager_soc64.h - Move to use defines instead of struct. v2: - Move common defines for Stratix 10 and Agilex to system_manager_s10_agilex_common.h ---

[U-Boot] [PATCH v3 09/17] arm: socfpga: agilex: Add clock wrapper functions

2019-08-20 Thread Ley Foon Tan
Add clock wrapper functions call to clock DM functions to get clock frequency and used in cm_print_clock_quick_summary(). Signed-off-by: Ley Foon Tan --- v3: - Improved commit message. - Rename STRATIX10_* to SOCFPGA_SOC64_* - Include clock_manager_soc64.h and clk-agilex.h. v2: - Get clocks fro

[U-Boot] [PATCH v3 14/17] board: intel: agilex: Add socdk board support for Intel Agilex SoC

2019-08-20 Thread Ley Foon Tan
Add socdk board support for Intel Agilex SoC Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- board/intel/agilex-socdk/MAINTAINERS | 7 +++ board/intel/agilex-socdk/Makefile| 7 +++ board/intel/agilex-socdk/socfpga.c | 7 +++ 3 files changed, 21 insertions(+) cr

[U-Boot] [PATCH v3 16/17] arm: dts: agilex: Add base dtsi and devkit dts

2019-08-20 Thread Ley Foon Tan
Add device tree files for Agilex SoC platform. Based on Linux Commit ID4b36daf9ada30. Signed-off-by: Ley Foon Tan --- v3: - Fixed bank 1 memory alias base address to 0x28000. - Rename STRATIX10_*_CLK to SOCFPGA_SOC64_*_CLK. - Include socfpga-soc64-clock.h - Change to "intel,sdr-ctl-

Re: [U-Boot] [PATCH v4 1/4] USB: gadget: Add the cadence USB3 gadget driver

2019-08-20 Thread Sherry Sun
Hi Marek, > > On 8/19/19 8:10 AM, Sherry Sun wrote: > > This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and > > some changes have also been made to adapt to U-Boot. > > > > Add the Cadence USB3 IP(CDNS3) driver for the gadget (device mode). > > The CDNS3 gadget driver support DM m

[U-Boot] [PATCH v3 17/17] arm: socfpga: agilex: Enable Agilex SoC build

2019-08-20 Thread Ley Foon Tan
Add build support for Agilex SoC. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v3: - Disable CONFIG_USE_TINY_PRINTF v2: - Remove IC_CLK define, use clock DM method to get i2c clock - Change CONFIG_ENV_SIZE to 4KB since CONFIG_SPI_FLASH_USE_4K_SECTORS is enabled. --- arch/ar

[U-Boot] [PATCH v3 13/17] ddr: altera: agilex: Add SDRAM driver for Agilex

2019-08-20 Thread Ley Foon Tan
Add SDRAM driver for Agilex SoC. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- v3: - Use sdmmc_soc64.* - Change compatible string to use "intel" (intel,sdr-ctl-agilex). - Improve error handing if DDR size mismatched. --- drivers/ddr/altera/Kconfig| 6 +- drivers/ddr/a

[U-Boot] [PATCH v3 08/17] clk: agilex: Add clock driver for Agilex

2019-08-20 Thread Ley Foon Tan
Add clock manager driver for Agilex. Provides clock initialization and get_rate functions. Rename stratix10-clock.h to socfpga-soc64-clock.h. stratix10-clock.h is from Linux commit ID 89727949ea1e. Signed-off-by: Chee Hong Ang Signed-off-by: Ley Foon Tan --- v3: - Fixed clear PLL's lost

[U-Boot] [PATCH v3 12/17] ddr: altera: Restructure Stratix 10 SDRAM driver

2019-08-20 Thread Ley Foon Tan
Restructure Stratix 10 SDRAM driver. Move common code to separate file, in preparation to support SDRAM driver for Agilex. Signed-off-by: Ley Foon Tan --- v3: - Change sdram_common.* to sdram_soc64.* --- drivers/ddr/altera/Makefile | 2 +- drivers/ddr/altera/sdram_s10.c

[U-Boot] [PATCH v3 15/17] arm: socfpga: agilex: Add SPL for Agilex SoC

2019-08-20 Thread Ley Foon Tan
Add SPL support for Agilex SoC. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v2: - Change clock driver probing to DM. - Remove unused OSC1TIMER0 reset - Remove debug_uart_init(). UART depends on clock driver setup, no point to call debug_uart_init() after spl_early_init() an

[U-Boot] [PATCH v3 07/17] arm: socfpga: Move Stratix10 and Agilex clock manager common code

2019-08-20 Thread Ley Foon Tan
Move Stratix10 and Agilex clock manager common code to new header file. Fixed CLKMGR_INTOSC_HZ to 400MHz instead of 460MHz. Signed-off-by: Ley Foon Tan --- .../include/mach/clock_manager_s10.h | 16 +++-- .../include/mach/clock_manager_soc64.h| 23 +++ 2

[U-Boot] [PATCH v3 06/17] arm: socfpga: agilex: Add system manager support

2019-08-20 Thread Ley Foon Tan
Add system manager support for Agilex. Signed-off-by: Ley Foon Tan --- v3: - Change include filename to system_manager_soc64.h. - Move to use defines instead of struct. v2: - Include system_manager_s10_agilex_common.h in system_manager_agilex.h --- arch/arm/mach-socfpga/include/mach/system_man

[U-Boot] [PATCH v3 01/17] arm: socfpga: agilex: Add base address for Intel Agilex SoC

2019-08-20 Thread Ley Foon Tan
Add base address for Intel Agilex SoC. Reuse base_addr_s10.h for Agilex, only one base address is different from S10. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v2: - Reuse base_addr_s10.h and add #ifdef Agilex for SOCFPGA_FW_MPU_DDR_SCR_ADDRESS --- arch/arm/mach-socfpga/i

[U-Boot] [PATCH v3 11/17] arm: agilex: Add clock handoff offset for Agilex

2019-08-20 Thread Ley Foon Tan
Add clock handoff offset for Agilex. Remove S10 prefix to avoid confusion. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/handoff_s10.h | 9 +++-- arch/arm/mach-socfpga/wrap_pll_config_s10.c | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/a

[U-Boot] [PATCH v3 04/17] arm: socfpga: agilex: Add reset manager support

2019-08-20 Thread Ley Foon Tan
Add reset manager support for Agilex. Signed-off-by: Ley Foon Tan --- v3: - Add reset_manager_soc64.h - Convert to use defines instead of struct. --- arch/arm/mach-socfpga/include/mach/reset_manager.h| 2 ++ .../mach-socfpga/include/mach/reset_manager_agilex.h | 11 +++ 2 files ch

[U-Boot] [PATCH v3 03/17] arm: socfpga: Move Stratix10 and Agilex reset manager common code

2019-08-20 Thread Ley Foon Tan
Move Stratix10 and Agilex reset manager common code to reset_manager_soc64.h. Remove unused RSTMGR_XXX defines. Signed-off-by: Ley Foon Tan --- v3: - Add new reset_manager_soc64.h - Convert to use defines instead of struct. --- .../include/mach/reset_manager_s10.h | 87 +-

[U-Boot] [PATCH v3 00/17] Add Intel Agilex SoC support

2019-08-20 Thread Ley Foon Tan
This is 3rd version of patchset to add Intel Agilex SoC[1] support. Two major changes in this series are move Stratix 10 and Agilex common code to _soc64* file and convert drivers from struct to defines. This patchset needs to apply after patch in [2] for manager drivers struct to defines conversi

[U-Boot] [PATCH v3 02/17] arm: socfpga: Move firewall code to firewall file

2019-08-20 Thread Ley Foon Tan
Move firewall related code to new firewall.c, to share code in Stratix 10 and Agilex. No functional change. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v3: - Move SOCFPGA_FIREWALL_TCU to firewall.c --- arch/arm/mach-socfpga/Makefile| 1 + .../mach-socfpga/

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-20 Thread Xiaowei Bao
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月20日 15:43 > To: Xiaowei Bao > Cc: w...@denx.de; Ruchika Gupta ; Shengzhou Liu > ; ja...@amarulasolutions.com; Prabhakar > Kushwaha ; u-boot@lists.denx.de; Jiafei > Pan ; Pan Jiafei ; Chuanhua > Han > Subject: Re: [U-Boot] [PAT

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-20 Thread Lukasz Majewski
On Tue, 20 Aug 2019 07:27:39 + Xiaowei Bao wrote: > > -Original Message- > > From: Lukasz Majewski > > Sent: 2019年8月20日 15:14 > > To: Xiaowei Bao > > Cc: w...@denx.de; Ruchika Gupta ; Shengzhou Liu > > ; ja...@amarulasolutions.com; Prabhakar > > Kushwaha ; u-boot@lists.denx.de; Jiaf

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-20 Thread Xiaowei Bao
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月20日 15:14 > To: Xiaowei Bao > Cc: w...@denx.de; Ruchika Gupta ; Shengzhou Liu > ; ja...@amarulasolutions.com; Prabhakar > Kushwaha ; u-boot@lists.denx.de; Jiafei > Pan ; Pan Jiafei ; Chuanhua > Han > Subject: Re: [U-Boot] [PAT

[U-Boot] [PATCH] nvme: Fix PRP Offset Invalid

2019-08-20 Thread Aaron Williams
When large writes take place I saw a Samsung EVO 970+ return a status value of 0x13, PRP Offset Invalid. I tracked this down to the improper handling of PRP entries. The blocks the PRP entries are placed in cannot cross a page boundary and thus should be allocated on page boundaries. This is how

Re: [U-Boot] [PATCH v3 0/8] add PCIe, its PHY and AHCI support for mt7623

2019-08-20 Thread Frank Wunderlich
Any comments on this series? can it be merged as it is? ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-20 Thread Lukasz Majewski
Hi Xiaowei, > From: Chuanhua Han > > This patch solves the problem that spiboot cannot be performed in > non-DM SPL. I've posted recently a set of patches to move setting of DM_SPI_FLASH to Kconfig: https://patchwork.ozlabs.org/cover/1146494/ Please rebase your work on top of it. > > Signed-

[U-Boot] [PATCH v5 5/5] configs: enable espi device module in T2080QDS

2019-08-20 Thread Xiaowei Bao
From: Chuanhua Han This patch is to enable espi DM for T2080QDS in uboot Signed-off-by: Chuanhua Han --- Changes in v5: - No change. Changes in v4: - No change. Changes in v3: - Add a cover-letter for this patch set. Changes in v2: - No change. configs/T20

[U-Boot] [PATCH v5 4/5] powerpc: dts: t2080qds: add espi slave nodes support

2019-08-20 Thread Xiaowei Bao
From: Chuanhua Han Add espi slave nodes to support t2080qds. Signed-off-by: Chuanhua Han --- Changes in v5: - No change. Changes in v4: - Modify the spi-max-frequency attribute value of the flash@x node of the device tree. Changes in v3: - Add a cover-letter for this

[U-Boot] [PATCH v5 3/5] powerpc: dts: t2080: add espi controller node support

2019-08-20 Thread Xiaowei Bao
From: Chuanhua Han Add espi controller node to support t2080. Signed-off-by: Chuanhua Han --- Changes in v5: - No change. Changes in v4: - No change. Changes in v3: - Add a cover-letter for this patch set. Changes in v2: - No change. arch/powerpc/dts/t2080.dt

[U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-20 Thread Xiaowei Bao
From: Chuanhua Han This patch solves the problem that spiboot cannot be performed in non-DM SPL. Signed-off-by: Pan Jiafei Signed-off-by: Chuanhua Han --- Changes in v5: - No change. Changes in v4: - No change. Changes in v3: - Add a cover-letter for this patch set. Ch

[U-Boot] [PATCH v5 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-08-20 Thread Xiaowei Bao
From: Chuanhua Han Modify the Freescale ESPI driver to support the driver model. Also resolved the following problems: = WARNING == This board does not use CONFIG_DM_SPI. Please update the board before v2019.04 for no dm conversion and v2019.07 for partial