[U-Boot] [PATCH v2] spi: designware_spi: Add reset ctrl to driver

2018-09-06 Thread Ley Foon Tan
Add code to reset all reset signals as in SPI DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Release reset when _remove

[U-Boot] [PATCH v2] gpio: dwapb_gpio: Change to use devm_kcalloc()

2018-09-06 Thread Ley Foon Tan
Change to use managed resource function devm_kcalloc(), so it will auto free memory when driver is removed. Signed-off-by: Ley Foon Tan --- v2: - Remove free() function. --- drivers/gpio/dwapb_gpio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/dwapb_gpio.

Re: [U-Boot] [PATCH V5 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-09-06 Thread Peng Fan
Hi Jon, > -Original Message- > From: Jon Nettleton [mailto:j...@solid-run.com] > Sent: 2018年9月7日 14:03 > To: Fabio Estevam > Cc: Peng Fan ; Diego Dorta ; > Fabio Estevam ; U-Boot Mailing List > > Subject: Re: [U-Boot] [PATCH V5 00/31] imx: add i.MX8M support and i.MX8MQ > EVK > > On Thu

Re: [U-Boot] [PATCH V5 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-09-06 Thread Jon Nettleton
On Thu, Sep 6, 2018 at 3:37 PM Fabio Estevam wrote: > > Hi Peng, > > On Fri, Aug 31, 2018 at 3:27 AM, Jon Nettleton wrote: > > > Peng, > > > > Will you be releasing the script you are using to convert that code > > generated by the ddr training tool into this format? I would like to > > test you

[U-Boot] [PATCH] i2c: xiic: Record xilinx i2c with Zynq fragment

2018-09-06 Thread Michal Simek
Include xilinx soft i2c controller to Zynq fragment to make clear who is responsible for it. Signed-off-by: Michal Simek --- Normally we are handling all these drivers via one fragment to make sure that there is only one central contact. Another reason is that people are changing and their respo

Re: [U-Boot] [PATCH v2] usb: dwc3: convert to livetree

2018-09-06 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: Thursday, September 06, 2018 7:36 PM > To: Siva Durga Prasad Paladugu ; u- > b...@lists.denx.de > Cc: Michal Simek ; ma...@denx.de; > bmeng...@gmail.com; s...@chromium.org; > yamada.masah...@socionext.co

Re: [U-Boot] [PATCH] mtd: nand: denali_dt: Add reset support

2018-09-06 Thread Masahiro Yamada
Hi Marek, 2018-09-06 17:02 GMT+09:00 Marek Vasut : > On 09/06/2018 03:46 AM, Masahiro Yamada wrote: >> 2018-09-05 17:31 GMT+09:00 Marek Vasut : >>> On 08/24/2018 03:10 PM, Marek Vasut wrote: On 08/24/2018 03:05 PM, Masahiro Yamada wrote: > Hi Marek, Hi, > 2018-08-21 22

Re: [U-Boot] [PATCH] ARM: Specify aligned address for secure section instead of using attributes

2018-09-06 Thread Jagan Teki
On Thu, Sep 6, 2018 at 7:15 PM, Tom Rini wrote: > On Thu, Sep 06, 2018 at 11:56:28AM +0800, Chen-Yu Tsai wrote: > >> In commit a1274cc94a20 ("ARM: Page align secure section only when it is >> executed in situ"), we used output section attributes (the "ALIGN" >> keyword after the colon) to specify

Re: [U-Boot] [PATCH 1/2] watchdog: Fix SPL builds when watchdog is enabled

2018-09-06 Thread Jagan Teki
On Tue, Sep 4, 2018 at 6:36 AM, Chris Blake wrote: > Without this fix, u-boot fails to comple as it tries to load watchdog.h > during an SPL build. This breaks support for things such as the sunxi > arch. I'm not quite clear about the issue, was it a build break or functionality? better to paste

[U-Boot] [PATCH] driver/spi: fsl_qspi: Remove non-DM stuff

2018-09-06 Thread Ashish Kumar
Convert fsl_qspi.c to complete DM mode. Signed-off-by: Ashish Kumar Tested-by: Rajat Srivastava Tested-by: Ye Li --- Tested on LS1088ARDB(arm64). Tested on LS1021ATWR(arm32) by Rajat Tested on i.mx6 and i.mx7 by Ye Li Depends on patch series: http://patchwork.ozlabs.org/patch/935858/ http://p

Re: [U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support

2018-09-06 Thread Bin Meng
Hi Tuomas, On Fri, Sep 7, 2018 at 5:03 AM Tuomas Tynkkynen wrote: > > Hi Bin, > > On 09/04/2018 12:31 PM, Bin Meng wrote: > > Hi Lukas, > > > > On Tue, Sep 4, 2018 at 5:39 AM Auer, Lukas > > wrote: > >> > >> On Thu, 2018-08-30 at 00:54 -0700, Bin Meng wrote: > >>> This adds QEMU RISC-V 'virt' bo

Re: [U-Boot] [PATCH 08/12] riscv: Add a helper routine to print CPU information

2018-09-06 Thread Bin Meng
Hi Lucas, On Fri, Sep 7, 2018 at 5:29 AM Auer, Lukas wrote: > > Hi Bin, > > On Thu, 2018-09-06 at 11:03 +0800, Bin Meng wrote: > > Hi Lukas, > > > > On Tue, Sep 4, 2018 at 5:42 AM Auer, Lukas > > wrote: > > > > > > On Thu, 2018-08-30 at 00:54 -0700, Bin Meng wrote: > > > > This adds a helper rou

Re: [U-Boot] [PATCH] gpio: dwapb_gpio: Change to use devm_kcalloc()

2018-09-06 Thread Ley Foon Tan
On Thu, Sep 6, 2018 at 7:14 PM Marek Vasut wrote: > > On 09/06/2018 04:48 PM, Ley Foon Tan wrote: > > Change to use managed resource function devm_kcalloc(), > > so it will auto free memory when driver is removed. > > > > Signed-off-by: Ley Foon Tan > > --- > > drivers/gpio/dwapb_gpio.c | 3 +--

Re: [U-Boot] [PATCH 1/4] ARM: bootscript: Remove hard-coded rootpath from K+P's tpcboot.cmd

2018-09-06 Thread Lukasz Majewski
Dear Tom, Stefano, > The 'rootpath' can be provided by DHCP server. Removing this line > prevents from overwriting it. > > To do that on the DHCP server side (isc-dhcp-server) modify dhcpd.conf > and add 'option root-path "192.168.X.Y:/srv/tftp/rootfs";' > > Signed-off-by: Lukasz Majewski > ---

Re: [U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support

2018-09-06 Thread Auer, Lukas
Hi Bin, On Thu, 2018-09-06 at 11:15 +0800, Bin Meng wrote: > Hi Lukas, > > On Wed, Sep 5, 2018 at 5:37 PM Auer, Lukas > wrote: > > > > On Wed, 2018-09-05 at 10:34 +0800, Bin Meng wrote: > > > Hi Rick, > > > > > > On Wed, Sep 5, 2018 at 9:27 AM Rick Chen > > > wrote: > > > > > > > > > > From

Re: [U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support

2018-09-06 Thread Auer, Lukas
Hi Bin, On Thu, 2018-09-06 at 11:14 +0800, Bin Meng wrote: > Hi Lukas, > > On Wed, Sep 5, 2018 at 5:35 PM Auer, Lukas > wrote: > > > > On Wed, 2018-09-05 at 09:28 +0800, Rick Chen wrote: > > > > > From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de] > > > > > Sent: Wednesday, September 0

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-06 Thread Marek Vasut
On 09/06/2018 11:26 PM, Dalon L Westergreen wrote: > On Thu, 2018-09-06 at 15:41 +0200, Marek Vasut wrote: >> On 09/06/2018 03:39 PM, Dalon L Westergreen wrote: >> On Thu, 2018-09-06 at 12:09 +0200, Marek Vasut wrote: >> On 09/06/2018 05:02 AM, Dalon Westergreen wrote: >> Stratix10 requires a hex i

Re: [U-Boot] [PATCH 03/12] riscv: bootm: Correct the 1st kernel argument to hart id

2018-09-06 Thread Auer, Lukas
Hi Bin, On Thu, 2018-09-06 at 10:57 +0800, Bin Meng wrote: > Hi Lukas, > > On Tue, Sep 4, 2018 at 5:41 AM Auer, Lukas > wrote: > > > > On Thu, 2018-08-30 at 00:54 -0700, Bin Meng wrote: > > > The first argument of Linux kernel is the risc-v core hart id, > > > from which the kernel is booted fr

Re: [U-Boot] [PATCH 08/12] riscv: Add a helper routine to print CPU information

2018-09-06 Thread Auer, Lukas
Hi Bin, On Thu, 2018-09-06 at 11:03 +0800, Bin Meng wrote: > Hi Lukas, > > On Tue, Sep 4, 2018 at 5:42 AM Auer, Lukas > wrote: > > > > On Thu, 2018-08-30 at 00:54 -0700, Bin Meng wrote: > > > This adds a helper routine to print CPU information. Currently > > > it prints all the instruction set

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-06 Thread Dalon L Westergreen
On Thu, 2018-09-06 at 15:41 +0200, Marek Vasut wrote: > On 09/06/2018 03:39 PM, Dalon L Westergreen wrote: > > On Thu, 2018-09-06 at 12:09 +0200, Marek Vasut wrote: > > On 09/06/2018 05:02 AM, Dalon Westergreen wrote: > Stratix10 requires a hex image of the spl for boot. The hex > image is added

Re: [U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support

2018-09-06 Thread Tuomas Tynkkynen
Hi Bin, On 09/04/2018 12:31 PM, Bin Meng wrote: Hi Lukas, On Tue, Sep 4, 2018 at 5:39 AM Auer, Lukas wrote: On Thu, 2018-08-30 at 00:54 -0700, Bin Meng wrote: This adds QEMU RISC-V 'virt' board target support, with the hope of helping people easily test U-Boot on RISC-V. The QEMU virt mach

[U-Boot] [PATCH v2 1/1] test/py: typo occured

2018-09-06 Thread Heinrich Schuchardt
%s/occured/occurred/ Signed-off-by: Heinrich Schuchardt --- v2: remove an obsolete correction --- test/py/tests/test_efi_selftest.py | 2 +- 1 file changed, 1 insertions(+), 1 deletions(-) diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py index de3272

[U-Boot] [PATCH 1/1] test/py: typo occured

2018-09-06 Thread Heinrich Schuchardt
%s/occured/occurred/ Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_efi_selftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py index de3272402e..994d2e2241 100644 --- a/test/py/tests/

[U-Boot] [PATCH 1/1] test/py: test EFI_SIMPLE_TEXT_INPUT_PROTOCOL

2018-09-06 Thread Heinrich Schuchardt
Execute the EFI selftest for the EFI_SIMPLE_TEXT_INPUT_PROTOCOL. Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_efi_selftest.py | 58 ++ 1 file changed, 58 insertions(+) diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-06 Thread Marek Vasut
On 09/06/2018 07:40 PM, Dalon L Westergreen wrote: > On Thu, 2018-09-06 at 15:41 +0200, Marek Vasut wrote: >> On 09/06/2018 03:39 PM, Dalon L Westergreen wrote: >> On Thu, 2018-09-06 at 12:09 +0200, Marek Vasut wrote: >> On 09/06/2018 05:02 AM, Dalon Westergreen wrote: >> Stratix10 requires a hex i

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-06 Thread Dalon L Westergreen
On Thu, 2018-09-06 at 15:41 +0200, Marek Vasut wrote: > On 09/06/2018 03:39 PM, Dalon L Westergreen wrote: > On Thu, 2018-09-06 at 12:09 +0200, Marek Vasut wrote: > On 09/06/2018 05:02 AM, Dalon Westergreen wrote:Stratix10 requires a hex image > of the spl for boot. The heximage is added to the FP

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-06 Thread Peter Robinson
> > I tested current master successfully on Hummingboard2 with i.MX6 Solo > > (SOM rev 1.5): > > Thanks for testing. > > It seems we need more information from Peter about the regression he reported. > > It would be helpful if Peter could run a bisect so that we could > understand where the regress

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-06 Thread Fabio Estevam
Hi Baruch, On Thu, Sep 6, 2018 at 12:42 PM, Baruch Siach wrote: > I tested current master successfully on Hummingboard2 with i.MX6 Solo > (SOM rev 1.5): Thanks for testing. It seems we need more information from Peter about the regression he reported. It would be helpful if Peter could run a

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-06 Thread Baruch Siach
Hi Fabio, Fabio Estevam writes: > Hi Peter, > > [Adding Jon and Baruch] > > On Thu, Sep 6, 2018 at 9:37 AM, Peter Robinson wrote: > >> It seems like the Wandboard Quad revB I have also works fine so It >> might just be a regression in the mx6cuboxi target. > > I don't have access to a hummingboar

Re: [U-Boot] [PATCH] mtd: spi: Add DM support to SH QSPI driver

2018-09-06 Thread Jagan Teki
On Mon, Sep 3, 2018 at 12:46 AM, Marek Vasut wrote: > On 09/02/2018 08:41 PM, Jagan Teki wrote: >> On Sun, Sep 2, 2018 at 11:56 PM, Marek Vasut wrote: >>> On 09/02/2018 08:00 PM, Jagan Teki wrote: On Sun, Aug 26, 2018 at 4:07 PM, Marek Vasut wrote: > On 08/26/2018 08:45 AM, Jagan Teki w

Re: [U-Boot] [PATCH 2/2] watchdog: Add sunxi watchdog driver

2018-09-06 Thread Jagan Teki
On Tue, Sep 4, 2018 at 6:36 AM, Chris Blake wrote: > Based on the linux mainline driver, this adds support for the hardware > watchdog timer found on some sunxi boards. This has to do it via UCLASS_WDT and there is enough sunxi code using watchdog so update the same accordingly. _

Re: [U-Boot] [PATCH] spi: designware_spi: Add reset ctrl to driver

2018-09-06 Thread Jagan Teki
On Thu, Sep 6, 2018 at 7:52 PM, Ley Foon Tan wrote: > Add code to reset all reset signals as in SPI DT node. A reset property > is an optional feature, so only print out a warning and do not fail if a > reset property is not present. > > If a reset property is discovered, then use it to deassert,

Re: [U-Boot] [PATCH v2] usb: dwc3: convert to livetree

2018-09-06 Thread Michal Simek
On 6.9.2018 12:39, Siva Durga Prasad Paladugu wrote: > From: Vipul Kumar > > Update the DWC3 USB driver to support a live tree. > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-off-by: Vipul Kumar > Tested-by: Michal Simek > --- > Changes in v2: > - Fixed travis build issues with some p

Re: [U-Boot] [PATCH v3 1/1] ARM: opos6ul: make the board boot again

2018-09-06 Thread Stefano Babic
On 06/09/2018 09:51, Sébastien Szymanski wrote: > Commit 9faa43c4b5e5 ("ARM: dts: i.MX6UL: U-Boot specific dts for u-boot, > dm-spl") removes the u-boot,dm-spl properties from the imx6ul.dtsi file > and breaks the OPOS6UL board. > Add the u-boot,dm-spl properties into *-u-boot.dts files to make the

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-06 Thread Dalon L Westergreen
On Thu, 2018-09-06 at 07:51 +0200, Simon Goldschmidt wrote: > On Thu, Sep 6, 2018 at 5:04 AM Dalon Westergreen wrote: > > Stratix10 requires a hex image of the spl for boot. The heximage is added to > the FPGA configuration image and loaded tothe processor memory by the > configuration engine. >

Re: [U-Boot] travis: Use kernel.org pre-built toolchain for riscv

2018-09-06 Thread Tom Rini
On Thu, Aug 30, 2018 at 06:17:06AM -0700, Bin Meng wrote: > This updates travis configuration to use kernel.org pre-built > toolchain for riscv. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-06 Thread Marek Vasut
On 09/06/2018 03:39 PM, Dalon L Westergreen wrote: > On Thu, 2018-09-06 at 12:09 +0200, Marek Vasut wrote: >> On 09/06/2018 05:02 AM, Dalon Westergreen wrote: >> Stratix10 requires a hex image of the spl for boot. The hex >> image is added to the FPGA configuration image and loaded to >> the proce

Re: [U-Boot] [U-Boot,v2,06/13] pico-imx7d: Update the README file

2018-09-06 Thread Tom Rini
On Tue, Sep 04, 2018 at 10:23:12AM -0300, Otavio Salvador wrote: > From: Fabio Estevam > > Update the README file to take into accound the switch to SPL. > > Signed-off-by: Fabio Estevam > Signed-off-by: Fabio Berton > Signed-off-by: Otavio Salvador Applied to u-boot/master, thanks! -- To

Re: [U-Boot] [PATCH] ARM: Specify aligned address for secure section instead of using attributes

2018-09-06 Thread Tom Rini
On Thu, Sep 06, 2018 at 11:56:28AM +0800, Chen-Yu Tsai wrote: > In commit a1274cc94a20 ("ARM: Page align secure section only when it is > executed in situ"), we used output section attributes (the "ALIGN" > keyword after the colon) to specify the alignment requirements. Using > the constant "COMMO

Re: [U-Boot] [PATCH v3 1/1] ARM: opos6ul: make the board boot again

2018-09-06 Thread Tom Rini
On Thu, Sep 06, 2018 at 09:51:53AM +0200, Sébastien Szymanski wrote: > Commit 9faa43c4b5e5 ("ARM: dts: i.MX6UL: U-Boot specific dts for u-boot, > dm-spl") removes the u-boot,dm-spl properties from the imx6ul.dtsi file > and breaks the OPOS6UL board. > Add the u-boot,dm-spl properties into *-u-boot

Re: [U-Boot] ARM: qemu-arm: Fix qemu_arm64_defconfig for QEMU 3.0

2018-09-06 Thread Tom Rini
On Tue, Sep 04, 2018 at 06:16:52PM +0300, Tuomas Tynkkynen wrote: > QEMU 3.0 introduced additional memory-mapped regions for PCI-E ECAM and > MMIO. Thus we need to add them to our MMU map or U-Boot will crash with > a Synchronous Abort during PCI-E probing when it tries to access the > unmapped EC

Re: [U-Boot] qemu-arm: Enable DHCP distro target

2018-09-06 Thread Tom Rini
On Tue, Sep 04, 2018 at 01:49:29PM +0200, Alexander Graf wrote: > When booting the QEMU virt machine with -net nic,model=e1000 we can already > support network boot just fine today. > > So let's enable the default bootcmd to also evaluate DHCP responses properly. > That way we can enable network

Re: [U-Boot] amlogic: board p212: Fix Ethernet PHY init

2018-09-06 Thread Tom Rini
On Mon, Sep 03, 2018 at 10:14:53PM +0200, Jasper kcoding wrote: > Without this patch the Ethernet PHY on the p212 board does not get > fully configured. > When this happens Ethernet does not function. > > The similar libretech-cc and khadas-vim boards have this code already. > That's why the Ethe

Re: [U-Boot] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Fix MMC Card Detect

2018-09-06 Thread Tom Rini
On Mon, Sep 03, 2018 at 09:08:04AM -0500, Adam Ford wrote: > When re-syncing the DTS files from the kernel, something caused > the MMC driver to no longer detect the MMC card. Undoing the > CD-invert appears to fix the issue. > > Fixes: e6ea2390cde3 ("ARM: DTS: Resync LogicPD-Torpedo-37xx-devkit

Re: [U-Boot] [U-Boot,1/1] lib/slre: remove superfluous assignment

2018-09-06 Thread Tom Rini
On Mon, Sep 03, 2018 at 05:17:20AM +0200, Heinrich Schuchardt wrote: > It makes no sense to assign a value to 'res' if the next use of the > variable is an assignment. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-06 Thread Dalon L Westergreen
On Thu, 2018-09-06 at 12:09 +0200, Marek Vasut wrote: > On 09/06/2018 05:02 AM, Dalon Westergreen wrote: > Stratix10 requires a hex image of the spl for boot. The heximage is added to > the FPGA configuration image and loaded tothe processor memory by the > configuration engine. > v2: -> add CONF

Re: [U-Boot] [PATCH V5 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-09-06 Thread Fabio Estevam
Hi Peng, On Fri, Aug 31, 2018 at 3:27 AM, Jon Nettleton wrote: > Peng, > > Will you be releasing the script you are using to convert that code > generated by the ddr training tool into this format? I would like to > test your patchset on our new SOMs and that would be very useful. Any comments

Re: [U-Boot] [PATCH v2 1/2] spl: socfpga: only gen5 devices and arria10 require sfp image

2018-09-06 Thread Dalon L Westergreen
On Thu, 2018-09-06 at 12:08 +0200, Marek Vasut wrote: > On 09/06/2018 05:02 AM, Dalon Westergreen wrote: > > Only the Cyclone5/Arria5 and Arria10 devices require the sfp > formated image for booting. This path ensures that the file is > only generated for those devices. > > Signed-off-by: Dalon W

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-06 Thread Fabio Estevam
Hi Peter, [Adding Jon and Baruch] On Thu, Sep 6, 2018 at 9:37 AM, Peter Robinson wrote: > It seems like the Wandboard Quad revB I have also works fine so It > might just be a regression in the mx6cuboxi target. I don't have access to a hummingboard2 to investigate it. Does this issue also hap

Re: [U-Boot] [PATCH v2 06/13] pico-imx7d: Update the README file

2018-09-06 Thread Stefano Babic
On 06/09/2018 14:17, Otavio Salvador wrote: > > > On Thu, Sep 6, 2018 at 6:54 AM Stefano Babic > wrote: > > On 05/09/2018 21:13, Otavio Salvador wrote: > > Hello Tom and Stefano, > > > > This should be applied for release as it puts the README aligned with

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-06 Thread Peter Robinson
Hi Stefano, > >> a new PR. I dropped the patches causing breakages on PowerPC boards, as > >> well as the issue on GE boards. It ran on travis successfully. > >> > >> > >> The following changes since commit > >> 11ed312896c5f5814064c5d45dcb2f53dc121437: > >> > >> configs: am57xx: change default

Re: [U-Boot] [PATCH v2 06/13] pico-imx7d: Update the README file

2018-09-06 Thread Otavio Salvador
On Thu, Sep 6, 2018 at 6:54 AM Stefano Babic wrote: > On 05/09/2018 21:13, Otavio Salvador wrote: > > Hello Tom and Stefano, > > > > This should be applied for release as it puts the README aligned with > > current use. Please consider it. > > > > You patches look good and I can confirm they are

Re: [U-Boot] [PATCH v2] usb: dwc3: convert to livetree

2018-09-06 Thread Marek Vasut
On 09/06/2018 01:19 PM, Siva Durga Prasad Paladugu wrote: > Hi, > >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Thursday, September 06, 2018 4:28 PM >> To: Siva Durga Prasad Paladugu ; u- >> b...@lists.denx.de >> Cc: Michal Simek ; bmeng...@gmail.com; >> s...@c

Re: [U-Boot] [PATCH v2] usb: dwc3: convert to livetree

2018-09-06 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, September 06, 2018 4:28 PM > To: Siva Durga Prasad Paladugu ; u- > b...@lists.denx.de > Cc: Michal Simek ; bmeng...@gmail.com; > s...@chromium.org; yamada.masah...@socionext.com; Vipul Kumar > > Subject:

Re: [U-Boot] [PATCH v2 1/2] spl: socfpga: only gen5 devices and arria10 require sfp image

2018-09-06 Thread Marek Vasut
On 09/06/2018 05:02 AM, Dalon Westergreen wrote: > Only the Cyclone5/Arria5 and Arria10 devices require the sfp > formated image for booting. This path ensures that the file is > only generated for those devices. > > Signed-off-by: Dalon Westergreen > --- > scripts/Makefile.spl | 3 ++- > 1 file

Re: [U-Boot] [PATCH] gpio: dwapb_gpio: Change to use devm_kcalloc()

2018-09-06 Thread Marek Vasut
On 09/06/2018 04:48 PM, Ley Foon Tan wrote: > Change to use managed resource function devm_kcalloc(), > so it will auto free memory when driver is removed. > > Signed-off-by: Ley Foon Tan > --- > drivers/gpio/dwapb_gpio.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git

Re: [U-Boot] [PATCH] spi: designware_spi: Add reset ctrl to driver

2018-09-06 Thread Marek Vasut
On 09/06/2018 04:22 PM, Ley Foon Tan wrote: > Add code to reset all reset signals as in SPI DT node. A reset property > is an optional feature, so only print out a warning and do not fail if a > reset property is not present. > > If a reset property is discovered, then use it to deassert, thus > b

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-06 Thread Marek Vasut
On 09/06/2018 05:02 AM, Dalon Westergreen wrote: > Stratix10 requires a hex image of the spl for boot. The hex > image is added to the FPGA configuration image and loaded to > the processor memory by the configuration engine. > > v2: > -> add CONFIG_OF_EMBED to include dtb in elf > -> generat

Re: [U-Boot] [PATCH] mtd: nand: denali_dt: Add reset support

2018-09-06 Thread Marek Vasut
On 09/06/2018 03:46 AM, Masahiro Yamada wrote: > 2018-09-05 17:31 GMT+09:00 Marek Vasut : >> On 08/24/2018 03:10 PM, Marek Vasut wrote: >>> On 08/24/2018 03:05 PM, Masahiro Yamada wrote: Hi Marek, >>> >>> Hi, >>> 2018-08-21 22:57 GMT+09:00 Marek Vasut : > Add optional reset support in

Re: [U-Boot] [PATCH v2] usb: dwc3: convert to livetree

2018-09-06 Thread Marek Vasut
On 09/06/2018 12:39 PM, Siva Durga Prasad Paladugu wrote: > From: Vipul Kumar > > Update the DWC3 USB driver to support a live tree. > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-off-by: Vipul Kumar > Tested-by: Michal Simek > --- > Changes in v2: > - Fixed travis build issues with s

Re: [U-Boot] [PATCH 1/2] config_fallback: update CONFIG_SYS_BAUDRATE_TABLE

2018-09-06 Thread Christian Gmeiner
Am Do., 6. Sep. 2018 um 09:58 Uhr schrieb Bin Meng : > > Hi Christian, > > On Thu, Sep 6, 2018 at 3:41 PM Christian Gmeiner > wrote: > > > > Take the values from x86-common.h as inspiration. > > > > Signed-off-by: Christian Gmeiner > > --- > > include/config_fallbacks.h | 3 ++- > > 1 file chang

[U-Boot] [PATCH v2] usb: dwc3: convert to livetree

2018-09-06 Thread Siva Durga Prasad Paladugu
From: Vipul Kumar Update the DWC3 USB driver to support a live tree. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Vipul Kumar Tested-by: Michal Simek --- Changes in v2: - Fixed travis build issues with some platforms. --- drivers/usb/common/common.c | 11 +-- drivers

[U-Boot] [PATCH 4/11] Add board specific reset support to ppc4xx CPU

2018-09-06 Thread ashley
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

Re: [U-Boot] [EDK2] Implementing EFI_SIMPLE_TEXT_INPUT_PROTOCOL

2018-09-06 Thread Ni, Ruiyu
On 9/6/2018 11:27 AM, Heinrich Schuchardt wrote: Hello Ruiyu, currently I am struggling a bit with interpreting the UEFI spec concerning the EFI_SIMPLE_TEXT_INPUT_PROTOCOL. In UEFI spec 2.7. chapter 12.1.2 ConsoleIn Definition there is this sentence: "Only the control characters defined in Tab

Re: [U-Boot] [PATCH v7 12/12] cmd: mtdparts: describe as legacy

2018-09-06 Thread Boris Brezillon
On Thu, 6 Sep 2018 09:08:54 +0200 Miquel Raynal wrote: > The 'mtdparts' command is not needed anymore. While the environment > variable is still valid (and useful, along with the 'mtdids' one), the > command has been replaced by 'mtd' which is much more close to the MTD > stack and do not add it

Re: [U-Boot] [PATCH v2 06/13] pico-imx7d: Update the README file

2018-09-06 Thread Stefano Babic
Hi Otavio, On 05/09/2018 21:13, Otavio Salvador wrote: > Hello Tom and Stefano, > > This should be applied for release as it puts the README aligned with > current use. Please consider it. > You patches look good and I can confirm they are just related to the pico board. I have no comments at a

Re: [U-Boot] [PATCH v7 11/12] cmd: ubi: clean the partition handling

2018-09-06 Thread Boris Brezillon
Hi Miquel, On Thu, 6 Sep 2018 09:08:53 +0200 Miquel Raynal wrote: > int ubi_part(char *part_name, const char *vid_header_offset) > { > + struct mtd_info *mtd; > int err = 0; > - char mtd_dev[16]; > - struct mtd_device *dev; > - struct part_info *part; > - u8 pnum; >

Re: [U-Boot] [PATCH v7 10/12] cmd: mtdparts: try to probe the MTD devices as a fallback

2018-09-06 Thread Boris Brezillon
On Thu, 6 Sep 2018 09:08:52 +0200 Miquel Raynal wrote: > Current implementation of mtdparts command errors out if the desired MTD > device is not found. Fallback to the new probe function in this case > before erroring out. > > This will the save the user the need to call something like 'mtd li

Re: [U-Boot] [PATCH v7 09/12] cmd: mtd: add 'mtd' command

2018-09-06 Thread Boris Brezillon
On Thu, 6 Sep 2018 09:08:51 +0200 Miquel Raynal wrote: > + > +int mtd_probe_devices(void) > +{ > + const char *mtdparts = env_get("mtdparts"); > + const char *mtdids = env_get("mtdids"); > + bool remaining_partitions = true; > + struct mtd_info *mtd; > + int i; > + > + mt

[U-Boot] [PATCH] phy: marvell: add SATA comphy RX/TX polarity invert support

2018-09-06 Thread Baruch Siach
From: Rabeeh Khoury This patch adds support to Armada 7k/8k comphy RX/TX lane swap. The 'phy-invert' DT property defines the inverted signals. Signed-off-by: Rabeeh Khoury Signed-off-by: Baruch Siach --- drivers/phy/marvell/comphy_cp110.c | 19 +-- drivers/phy/marvell/comphy_h

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-06 Thread Stefano Babic
Hi Peter, On 06/09/2018 11:23, Peter Robinson wrote: > Hi Stefano, > >> a new PR. I dropped the patches causing breakages on PowerPC boards, as >> well as the issue on GE boards. It ran on travis successfully. >> >> >> The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437: >

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-06 Thread Peter Robinson
Hi Stefano, > a new PR. I dropped the patches causing breakages on PowerPC boards, as > well as the issue on GE boards. It ran on travis successfully. > > > The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437: > > configs: am57xx: change default board name to beagle_x15 (

Re: [U-Boot] [PATCH 1/1] x86: qemu-x86 requires CONFIG_SYS_HZ=2000

2018-09-06 Thread Bin Meng
Hi Heinrich, On Thu, Sep 6, 2018 at 3:30 PM Heinrich Schuchardt wrote: > > > > On 09/06/2018 08:55 AM, Bin Meng wrote: > > On Thu, Sep 6, 2018 at 2:49 PM Bin Meng wrote: > >> > >> Hi Heinrich, > >> > >> On Thu, Sep 6, 2018 at 2:06 PM Heinrich Schuchardt > >> wrote: > >>> > >>> The sleep comman

Re: [U-Boot] [PATCH 2/4] serial: protect access to serial rx buffer

2018-09-06 Thread Patrick DELAUNAY
Hi Stefan, > From: Stefan > Sent: mardi 4 septembre 2018 14:08 > > Hi Patrick, > > On 04.09.2018 09:56, Patrick DELAUNAY wrote: > > Hi Stefan > > > >> From: Stefan > >> Sent: lundi 3 septembre 2018 16:03 > >> > >> Hi Patrick, > >> > >> On 03.09.2018 15:35, Patrick DELAUNAY wrote: > >>> Hi Simo

Re: [U-Boot] [RESENT PATCH] rockchip: make_fit_atf: fix warning unit_address_vs_reg

2018-09-06 Thread Peter Robinson
On Thu, Aug 23, 2018 at 4:01 AM Kever Yang wrote: > > Patch fix warning: > /builddir/BUILD/u-boot-2018.05-rc2/"arch/arm/mach-rockchip/make_fit_atf.py" \ > arch/arm/dts/rk3399-firefly.dtb > u-boot.its > ./tools/mkimage -f u-boot.its -E u-boot.itb >/dev/null && cat > /dev/null > u-boot.itb.tmp:

Re: [U-Boot] [PATCH 2/2] x86_common: drop custom CONFIG_SYS_BAUDRATE_TABLE

2018-09-06 Thread Bin Meng
On Thu, Sep 6, 2018 at 3:41 PM Christian Gmeiner wrote: > I would use "x86" instead of "x86_common" in the commit title. > Signed-off-by: Christian Gmeiner > --- > include/configs/x86-common.h | 2 -- > 1 file changed, 2 deletions(-) > Regards, Bin

Re: [U-Boot] [PATCH 1/2] config_fallback: update CONFIG_SYS_BAUDRATE_TABLE

2018-09-06 Thread Bin Meng
Hi Christian, On Thu, Sep 6, 2018 at 3:41 PM Christian Gmeiner wrote: > > Take the values from x86-common.h as inspiration. > > Signed-off-by: Christian Gmeiner > --- > include/config_fallbacks.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/config_fallbacks

Re: [U-Boot] [PATCH] x86: extend baudrate table with 57600

2018-09-06 Thread Christian Gmeiner
Am Mi., 5. Sep. 2018 um 17:10 Uhr schrieb Tom Rini : > > On Wed, Sep 05, 2018 at 12:57:39PM +0800, Bin Meng wrote: > > Hi Christian, > > > > On Tue, Sep 4, 2018 at 6:07 PM Christian Gmeiner > > wrote: > > > > > > Hi all, > > > > > > I totally forgot to answer that mail - but as I need this change

[U-Boot] [PATCH 2/2] x86_common: drop custom CONFIG_SYS_BAUDRATE_TABLE

2018-09-06 Thread Christian Gmeiner
Signed-off-by: Christian Gmeiner --- include/configs/x86-common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index f0b027e69c..78c382de0c 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -47,8 +47

[U-Boot] [PATCH 1/2] config_fallback: update CONFIG_SYS_BAUDRATE_TABLE

2018-09-06 Thread Christian Gmeiner
Take the values from x86-common.h as inspiration. Signed-off-by: Christian Gmeiner --- include/config_fallbacks.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index c18f19a550..4c1bdf5ee5 100644 --- a/include/config

[U-Boot] [PATCH v3 1/1] ARM: opos6ul: make the board boot again

2018-09-06 Thread Sébastien Szymanski
Commit 9faa43c4b5e5 ("ARM: dts: i.MX6UL: U-Boot specific dts for u-boot, dm-spl") removes the u-boot,dm-spl properties from the imx6ul.dtsi file and breaks the OPOS6UL board. Add the u-boot,dm-spl properties into *-u-boot.dts files to make the board boot again. Fixes: commit 9faa43c4b5e5 ("ARM: dt

Re: [U-Boot] [PATCH 1/1] x86: qemu-x86 requires CONFIG_SYS_HZ=2000

2018-09-06 Thread Heinrich Schuchardt
On 09/06/2018 08:55 AM, Bin Meng wrote: > On Thu, Sep 6, 2018 at 2:49 PM Bin Meng wrote: >> >> Hi Heinrich, >> >> On Thu, Sep 6, 2018 at 2:06 PM Heinrich Schuchardt >> wrote: >>> >>> The sleep command only provides correct timings for >>> CONFIG_SYS_HZ=2000 on qemu-x86_defconfig. >>> >>> This

Re: [U-Boot] Two CRC32 implementation in U-Boot, why?

2018-09-06 Thread Bin Meng
Hi Kyungmin, On Thu, Aug 9, 2018 at 4:02 PM Bin Meng wrote: > > Hi Kyungmin, > > On Mon, Aug 6, 2018 at 1:56 PM, Bin Meng wrote: > > On Wed, Aug 1, 2018 at 9:50 PM, Heinrich Schuchardt > > wrote: > >> > >> > >> On 08/01/2018 02:13 PM, Bin Meng wrote: > >>> Hi, > >>> > >>> Currently it seems th

Re: [U-Boot] [PATCH v7 00/12] SPI-NAND support

2018-09-06 Thread Miquel Raynal
Hello, I failed the numbering, this is actually the v8. The below changelog is still right though. I don't plan to resend unless I am explicitly told to do so. Sorry for the mistake. Thanks, Miquèl Miquel Raynal wrote on Thu, 6 Sep 2018 09:08:42 +0200: > During the last months, Boris Brezil

[U-Boot] [PATCH v7 11/12] cmd: ubi: clean the partition handling

2018-09-06 Thread Miquel Raynal
UBI should not mess with MTD partitions, now that the partitions are handled in a clean way, clean the ubi command and avoid using this uneeded extra-glue to reference the devices. Signed-off-by: Miquel Raynal Reviewed-by: Stefan Roese --- cmd/Kconfig | 2 ++ cmd/ubi.c | 100 +++

[U-Boot] [PATCH v7 07/12] mtd: uclass: search for an equivalent MTD name with the mtdids

2018-09-06 Thread Miquel Raynal
Using an MTD device (resp. partition) name in mtdparts is simple and straightforward. However, for a long time already, another name was given in mtdparts to indicate a device (resp. partition) so the "mtdids" environment variable was created to do the match. Let's create a function that, from an

[U-Boot] [PATCH v7 09/12] cmd: mtd: add 'mtd' command

2018-09-06 Thread Miquel Raynal
There should not be a 'nand' command, a 'sf' command and certainly not a new 'spi-nand' command. Write a 'mtd' command instead to manage all MTD devices/partitions at once. This should be the preferred way to access any MTD device. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki Reviewed-by: S

[U-Boot] [PATCH v7 12/12] cmd: mtdparts: describe as legacy

2018-09-06 Thread Miquel Raynal
The 'mtdparts' command is not needed anymore. While the environment variable is still valid (and useful, along with the 'mtdids' one), the command has been replaced by 'mtd' which is much more close to the MTD stack and do not add its own specific glue. Signed-off-by: Miquel Raynal Reviewed-by: S

[U-Boot] [PATCH v7 06/12] mtd: uclass: add a generic 'mtdparts' parser

2018-09-06 Thread Miquel Raynal
The current parser is very specific to U-Boot mtdparts implementation. It does not use MTD structures like mtd_info and mtd_partition. Copy and adapt the current parser in drivers/mtd/mtd-uclass.c (to not break the current use of mtdparts.c itself) and write some kind of a wrapper around the curren

[U-Boot] [PATCH v7 04/12] cmd: mtdparts: remove mandatory 'mtdparts=' prefix

2018-09-06 Thread Miquel Raynal
All U-Boot users must define the mtdparts environment variable with: setenv mtdparts mtdparts=... While this may ease the partition declaration job to be passed to Linux, this is a pure software limitation and forcing this prefix is a complete non-sense. Let the user to declare manually the mtdpar

[U-Boot] [PATCH v7 10/12] cmd: mtdparts: try to probe the MTD devices as a fallback

2018-09-06 Thread Miquel Raynal
Current implementation of mtdparts command errors out if the desired MTD device is not found. Fallback to the new probe function in this case before erroring out. This will the save the user the need to call something like 'mtd list' before mtdparts. Signed-off-by: Miquel Raynal Acked-by: Jagan

[U-Boot] [PATCH v7 05/12] mtd: uclass: add probe function

2018-09-06 Thread Miquel Raynal
The user might want to trigger the probe of any MTD device, export these functions so they can be called from a command source file. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki Reviewed-by: Stefan Roese --- drivers/mtd/mtd-uclass.c | 16 include/mtd.h| 2 ++

[U-Boot] [PATCH v7 08/12] mtd: mtdpart: implement proper partition handling

2018-09-06 Thread Miquel Raynal
Instead of collecting partitions in a flat list, create a hierarchy within the mtd_info structure: use a partitions list to keep track of the partitions of an MTD device (which might be itself a partition of another MTD device), a pointer to the parent device (NULL when the MTD device is the root o

[U-Boot] [PATCH v7 03/12] cmd: mtdparts: accept spi-nand devices

2018-09-06 Thread Miquel Raynal
Let spi-nand devices be recognized by mtdparts. This is superfluous but a full mtdparts rework would be very time-consuming. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki Reviewed-by: Boris Brezillon Reviewed-by: Stefan Roese --- cmd/mtdparts.c | 13 - include/jff

[U-Boot] [PATCH v7 02/12] lib: strto: fix metric suffix parsing in strtoul[l]

2018-09-06 Thread Miquel Raynal
While 1kB or 1kiB will be parsed correctly, 1k will return the right amount, but the metric suffix will not be escaped once the char pointer updated. Fix this situation by simplifying the move of the endp pointer. Signed-off-by: Miquel Raynal Reviewed-by: Stefan Roese --- lib/strto.c | 22 +

[U-Boot] [PATCH v7 00/12] SPI-NAND support

2018-09-06 Thread Miquel Raynal
During the last months, Boris Brezillon shared his work to support serial flashes within Linux. First, he delivered (and merged) a new layer called spi-mem. He also initiated in Linux MTD subsystem the move of all 'raw' NAND related code to a raw/ subdirectory, adding at the same time a NAND core t

[U-Boot] [PATCH v7 01/12] lib: strto: parse all lowercase metric prefixes in ustrtoul[l]

2018-09-06 Thread Miquel Raynal
Both ustrtoul and ustrtoull interpret 1k but not 1m or 1g. Even if the SI symbols for Mega and Giga are 'M' and 'G', certain entries of eg. mtdparts also use (wrongly) the metric prefix 'm' and 'g'. I do not see how parsing lowercase prefixes could break anything, so parse them like their uppercas