Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-16 Thread Suniel Mahesh
Hi all, On 14/09/19 12:55, Sam Protsenko wrote: > Hi Grygorii, > > On Fri, Sep 13, 2019 at 8:58 PM Grygorii Strashko > wrote: >> >> >> >> On 12/09/2019 19:33, Sam Protsenko wrote: >>> Hi Stefan, >>> >>> On Thu, Sep 12, 2019 at 5:38 PM Stefan Roese wrote: Hi Sam, On 12.09.19

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-09-16 Thread Stefan Roese
On 14.09.19 00:44, Schrempf Frieder wrote: From: Frieder Schrempf Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in SPL. They often rely on hacks in the board header files to include this option conditionally. To be able to fix this, we previously introduced a separate optio

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-09-16 Thread Simon Goldschmidt
On Mon, Sep 16, 2019 at 9:36 AM Stefan Roese wrote: > > On 14.09.19 00:44, Schrempf Frieder wrote: > > From: Frieder Schrempf > > > > Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in > > SPL. They often rely on hacks in the board header files to include > > this option condit

[U-Boot] imx6dl_mamoj broken

2019-09-16 Thread Stefano Babic
Hi Raffaele, hi Simone, your imx6dl_mamoj is broken on u-boot-imx. Reason is that SPL overrruns and it is bigger as the OCRAM on the DL SOC. arm: + imx6dl_mamoj +spl/u-boot-spl.bin exceeds file size limit: + limit: 53248 bytes + actual: 58597 bytes + excess: 5349 bytes +make[1]: ***

Re: [U-Boot] imx6dl_mamoj broken

2019-09-16 Thread Jagan Teki
Hi Stefano, On Mon, Sep 16, 2019 at 1:23 PM Stefano Babic wrote: > > Hi Raffaele, hi Simone, > > your imx6dl_mamoj is broken on u-boot-imx. Reason is that SPL overrruns > and it is bigger as the OCRAM on the DL SOC. > > arm: + imx6dl_mamoj > +spl/u-boot-spl.bin exceeds file size limit: >

[U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Stefano Babic
t-rockchip (2019-09-11 23:08:34 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-20190916 for you to fetch changes up to a49022353fb9a1a9705b0d6b9a31e13b20824ef6: imx: fix missing MAINTAINERS pico boards (2019-09-16 09:3

Re: [U-Boot] [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets

2019-09-16 Thread Stefano Babic
Hi Breno, On 12/09/19 03:07, Peng Fan wrote: > Hi Breno, > >> Subject: [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets > > I saw this patch in imx/master, not in Tom's tree. But this patch breaks > build for other archs, such as arc and etc. > Any news on this ? I dropped it

[U-Boot] [PATCH] watchdog: omap_wdt: Fix WDT target reset when booted from emmc

2019-09-16 Thread sunil . m
From: Suniel Mahesh AM335X based beaglebone black target gets reset by DM converted watchdog if booted from emmc around 60sec. Fixed this by moving driver's private struct variable initialization at different places in the driver to driver's probe. Tested on Beaglebone Black. Cc: Grygorii Strash

Re: [U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-16 Thread Marek Vasut
On 9/16/19 8:53 AM, Bin Meng wrote: > On Mon, Sep 16, 2019 at 6:24 AM Marek Vasut wrote: >> >> Due to constant influx of more and more weird and broken USB sticks, >> do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85 >> >> usb: storage: scsiglue: further describe our 240 secto

[U-Boot] armv7: ls102xa: Fix endianness of SCFG_SPARECR8

2019-09-16 Thread Biwen Li
The patch fixes endianness of SCFG_SPARECR8 register Signed-off-by: Biwen Li --- arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c b/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c index bb169aaaf4..

Re: [U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-16 Thread Bin Meng
On Mon, Sep 16, 2019 at 4:10 PM Marek Vasut wrote: > > On 9/16/19 8:53 AM, Bin Meng wrote: > > On Mon, Sep 16, 2019 at 6:24 AM Marek Vasut wrote: > >> > >> Due to constant influx of more and more weird and broken USB sticks, > >> do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Joris OFFOUGA
ttps://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20190916 > > for you to fetch changes up to a49022353fb9a1a9705b0d6b9a31e13b20824ef6: > > imx: fix missing MAINTAINERS pico boards (2019-09-16 09:39:57 +0200) > > -----

[U-Boot] [PATCH 1/5] arm: omap: emif-common: Fix ecc address calculation

2019-09-16 Thread Lokesh Vutla
ecc_address_range registers contains the start address and end address of the DDR address space. But the ddr driver is assuming the register contains the start address and size of the DDR address space. Because of this the ecc enabling is failing for the 2nd range of ecc addresses. Fix this calcula

[U-Boot] [PATCH 0/5] arm: omap: dra7: Fix ECC test and memory priming

2019-09-16 Thread Lokesh Vutla
This series fixes ecc address calculation and updates the ddr ecc enabling sequence . Krunal Bhargav (3): arm: omap: emif-common: Disable interleaving arm: omap: emif-common: Fix memory priming for ECC cmd: ti: ddr3: Move the print statement after test Lokesh Vutla (2): arm: omap: emif-co

[U-Boot] [PATCH 2/5] cmd: ti: ddr3: Fix ecc address calculation

2019-09-16 Thread Lokesh Vutla
ecc_address_range registers contains the start address and end address of the DDR address space. But the ddr cmd driver is assuming the register contains the start address and size of the DDR address space. Because of this some valid ecc addresses are errored out as invalid address. Fix this calcul

[U-Boot] [PATCH 4/5] arm: omap: emif-common: Fix memory priming for ECC

2019-09-16 Thread Lokesh Vutla
From: Krunal Bhargav Before the priming begins, we need to disable RMW (Read Modify Write) and disable ECC verification for read accesses. By default, the EMIF tool enables RMW and read accesses in the EMIF_ECC_CTRL_REG. Signed-off-by: Krunal Bhargav Signed-off-by: Lokesh Vutla --- arch/arm/m

[U-Boot] [PATCH 3/5] arm: omap: emif-common: Disable interleaving

2019-09-16 Thread Lokesh Vutla
From: Krunal Bhargav If ECC is enabled, we need to ensure interleaving is disabled for higher address space. Signed-off-by: Krunal Bhargav Signed-off-by: Lokesh Vutla --- arch/arm/mach-omap2/emif-common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/emif-common.c

[U-Boot] [PATCH 5/5] cmd: ti: ddr3: Move the print statement after test

2019-09-16 Thread Lokesh Vutla
From: Krunal Bhargav If the ECC is enabled over the entire memory region, we need to ensure the printf/put calls do not modify the stack after ECC is disabled. Moved the printf/put statements after ECC is enabled. Signed-off-by: Krunal Bhargav Signed-off-by: Lokesh Vutla --- cmd/ti/ddr3.c | 9

Re: [U-Boot] Tinker-rk3288 SPL broken with MMC timeout

2019-09-16 Thread Kever Yang
Hi Jagan, On 2019/9/12 上午11:25, Jagan Teki wrote: I have seen this even on v2019.07 release, and the only release that it got working with on v2019.01 (SPL, BROM_RETURN) Any idea? here is the log dump. U-Boot TPL 2019.10-rc3-00297-g5ba8b12543 (Sep 12 2019 - 08:50:36) Trying to boot from BOOTRO

Re: [U-Boot] Tinker-rk3288 SPL broken with MMC timeout

2019-09-16 Thread Jagan Teki
On Mon, Sep 16, 2019 at 1:54 PM Kever Yang wrote: > > Hi Jagan, > > On 2019/9/12 上午11:25, Jagan Teki wrote: > > I have seen this even on v2019.07 release, and the only release that > > it got working with on v2019.01 (SPL, BROM_RETURN) > > > > Any idea? here is the log dump. > > > > U-Boot TPL 201

Re: [U-Boot] [PATCH v2 1/2] Revert "configs: Remove am335x_boneblack_defconfig"

2019-09-16 Thread Lokesh Vutla
On 12/09/19 11:20 PM, Sam Protsenko wrote: > Commit 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig") > removes defconfig for BeagleBone Black board, and it's advised to use > am335x_evm_defconfig for all AM335x boards. But it's impossible to store > environment in eMMC with am335x_evm_

Re: [U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-16 Thread Marek Vasut
On 9/16/19 10:15 AM, Bin Meng wrote: > On Mon, Sep 16, 2019 at 4:10 PM Marek Vasut wrote: >> >> On 9/16/19 8:53 AM, Bin Meng wrote: >>> On Mon, Sep 16, 2019 at 6:24 AM Marek Vasut wrote: Due to constant influx of more and more weird and broken USB sticks, do as Linux does in commit 7

Re: [U-Boot] imx6dl_mamoj broken

2019-09-16 Thread Stefano Babic
On 16/09/19 10:06, Jagan Teki wrote: > Hi Stefano, > > On Mon, Sep 16, 2019 at 1:23 PM Stefano Babic wrote: >> >> Hi Raffaele, hi Simone, >> >> your imx6dl_mamoj is broken on u-boot-imx. Reason is that SPL overrruns >> and it is bigger as the OCRAM on the DL SOC. >> >> arm: + imx6dl_mamo

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Stefano Babic
8bdb7e89e69dd: > >   Merge tag 'u-boot-rockchip-20190912' of > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-09-11 > 23:08:34 -0400) > > are available in the Git repository at: > >   https://gitlab.denx.de/u-bo

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-09-16 Thread Igor Opaniuk
Hi Breno, On Mon, Sep 16, 2019 at 5:54 AM Breno Matheus Lima wrote: > > Hi Igor, > > Em qui, 12 de set de 2019 às 10:55, Igor Opaniuk > escreveu: > > > > Hy Bryan, Breno, > > > > On Tue, Jul 30, 2019 at 5:33 PM Bryan O'Donoghue > > wrote: > > > > > > > > > > > > On 30/07/2019 15:26, Igor Opani

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-16 Thread Grygorii Strashko
On 16/09/2019 10:05, Suniel Mahesh wrote: Hi all, On 14/09/19 12:55, Sam Protsenko wrote: Hi Grygorii, On Fri, Sep 13, 2019 at 8:58 PM Grygorii Strashko wrote: On 12/09/2019 19:33, Sam Protsenko wrote: Hi Stefan, On Thu, Sep 12, 2019 at 5:38 PM Stefan Roese wrote: Hi Sam, On 12.09

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Joris OFFOUGA
0912' of > > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-09-11 > > 23:08:34 -0400) > > > > are available in the Git repository at: > > > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git &g

Re: [U-Boot] [PATCH] watchdog: omap_wdt: Fix WDT target reset when booted from emmc

2019-09-16 Thread Grygorii Strashko
On 16/09/2019 11:09, suni...@techveda.org wrote: From: Suniel Mahesh AM335X based beaglebone black target gets reset by DM converted watchdog if booted from emmc around 60sec. Fixed this by moving driver's private struct variable initialization at different places in the driver to driver's pr

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Stefano Babic
- it will be > fixed later. > > > >     The following changes since commit > >     5ba8b1254311d00e2bdd9e227b78bdb7e89e69dd: > > > >       Merge tag 'u-boot-rockchip-20190912' of > >     https://gitlab.denx.de/u-boot/custodians/u-boot-r

[U-Boot] [PATCH] configs: stm32f746-disco: Fix ramdisk_addr_r

2019-09-16 Thread Patrice Chotard
Set ramdisk_addr_r to 0xC060. Reported-by: Christophe Priouzeau Signed-off-by: Patrice Chotard --- include/configs/stm32f746-disco.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h index a24127d1a7..

Re: [U-Boot] [PATCH 3/6] net: ti: cpsw: add support for standard eth "max-speed" dt property

2019-09-16 Thread Grygorii Strashko
On 09/09/2019 18:00, Grygorii Strashko wrote: This patch adds support for standard Ethernet "max-speed" DT property to allow PHY link speed limitation. This patch by itself will break network boot (see below). But with whole series issue will not be reproducible, because it's implicitly fixed

Re: [U-Boot] [PATCH v2] doc: README.xilinx: Add dt bindings

2019-09-16 Thread Bin Meng
On Wed, Sep 11, 2019 at 10:10 PM Michal Simek wrote: > > From: T Karthik Reddy > > Devicetree bindings are already specified in Linux kernel documentation. > Instead of maintaining same dt bindings in U-Boot doc specify path to dt > bindings in Linux kernel & documenting specific changes that are

[U-Boot] [PATCH v1 0/5] imx: nandbcb: support for i.MX7 and bcb only updates

2019-09-16 Thread Igor Opaniuk
This introduces support for writing BCB(FCB/FDDT) for i.MX7 NAND-based platforms and additional subcommand for writing BCB only (without firmware). Igor Opaniuk (5): imx: gpmi: add defines for hw randominizer nand: mxs_nand: add API for switching different BCH layouts imx: nandbcb: add suppo

[U-Boot] [PATCH v1 1/5] imx: gpmi: add defines for hw randominizer

2019-09-16 Thread Igor Opaniuk
From: Igor Opaniuk Extend GPMI Integrated ECC Control Register Description, include additional defines for enabling randomizer function and providing proper randomizer type. For additional details check i.MX7 APR, section 9.6.6.3 GPMI Integrated ECC Control Register Description (GPMI_ECCCTRLn)

[U-Boot] [PATCH v1 2/5] nand: mxs_nand: add API for switching different BCH layouts

2019-09-16 Thread Igor Opaniuk
From: Igor Opaniuk On i.MX7 in a sake of reducing the disturbances caused by a neighboring cells in the FCB page in the NAND chip, a randomizer is enabled when reading the FCB page by ROM bootloader. Add API for setting BCH to specific layout (and restoring it back) used by ROM bootloader to be

[U-Boot] [PATCH v1 3/5] imx: nandbcb: add support for i.MX7

2019-09-16 Thread Igor Opaniuk
From: Igor Opaniuk Add support for updating FCB/DBBT on i.MX7: - additional new fields in FCB structure - Leverage hardware BCH/randomizer for writing FCB Signed-off-by: Igor Opaniuk --- arch/arm/include/asm/mach-imx/imx-nandbcb.h | 12 ++ arch/arm/mach-imx/Kconfig | 2 +-

[U-Boot] [PATCH v1 4/5] imx: nandbcb: refactor update function

2019-09-16 Thread Igor Opaniuk
From: Igor Opaniuk Move code for writing FCB/DBBT pages to a separate function Signed-off-by: Igor Opaniuk --- arch/arm/mach-imx/cmd_nandbcb.c | 221 ++-- 1 file changed, 122 insertions(+), 99 deletions(-) diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/ma

[U-Boot] [PATCH v1 5/5] imx: nandbcb: add support for writing BCB only

2019-09-16 Thread Igor Opaniuk
From: Igor Opaniuk Add subcommand for add writing BCB only, where we provide appropriate offsets for firmware1 and firmware2 and size. Example of usage: > nandbcb bcbonly 0x0018 0x0008 0x0020 Writing 1024 bytes to 0x0: randomizing OK Writing 1024 bytes to 0x2: randomizing OK Sig

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Joris Offouga
1254311d00e2bdd9e227b78bdb7e89e69dd: > >       Merge tag 'u-boot-rockchip-20190912' of >     https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-09-11 >     23:08:34 -0400) > >     are available in the Git repository at: > &

[U-Boot] Odroid n1- booting hangs if we add memtest=4 to kernel command line.

2019-09-16 Thread Anand Moon
Hi Jagan / Kever, I have with me Odroid - N1 per-released development board, It's almost same form factor to "Firefly-RK3399 Board" with rk3399-sdram-ddr3-1600.dtsi ram configuration. I have configure Odroid - N1 board to boot using TPL / SPL configuration using latest kernel and latest u-boot, b

Re: [U-Boot] [PATCH] imx: fix missing MAINTAINERS pico boards

2019-09-16 Thread Fabio Estevam
Hi Stefano, On Mon, Sep 16, 2019 at 3:41 AM Stefano Babic wrote: > > Add missing files pico-nymph-imx7d_defconfig and > c>onfigs/pico-dwarf-imx7d_defconfig Small typo here: c>onfigs --> configs Other than that: Reviewed-by: Fabio Estevam ___ U-Boot

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Stefano Babic
;>> > >>> >     There is still a broken board (imx6dl_mamoj) - it will be >>> fixed later. >>> > >>> >     The following changes since commit >>> >     5ba8b1254311d

Re: [U-Boot] Tinker-rk3288 SPL broken with MMC timeout

2019-09-16 Thread Michael Nazzareno Trimarchi
Hi Kever On Mon, Sep 16, 2019 at 10:45 AM Jagan Teki wrote: > > On Mon, Sep 16, 2019 at 1:54 PM Kever Yang wrote: > > > > Hi Jagan, > > > > On 2019/9/12 上午11:25, Jagan Teki wrote: > > > I have seen this even on v2019.07 release, and the only release that > > > it got working with on v2019.01 (SP

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-16 Thread Sam Protsenko
Hi Suniel, Grygorii, Tested eMMC boot on BBB with this patch (suggested by Grygorii): [1] https://pastebin.ubuntu.com/p/pKhX6Jsjr9/ I can confirm that it works fine now, with patch applied, no reset occurs. Guys, please send out the patch, you can use [1] as a boilerplate. Thanks! On Mon,

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

2019-09-16 Thread Tom Rini
On Sat, Sep 14, 2019 at 02:27:05PM +0200, Marek Vasut wrote: > The following changes since commit 001c8ea94ae710d8340829237a7d788b25ce2ae7: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2019-09-10 > 08:52:00 -0400) > > are available in the Git repository at: > > git://git.d

Re: [U-Boot] [PULL] u-boot-sh/master

2019-09-16 Thread Tom Rini
On Sun, Sep 15, 2019 at 10:41:01PM +0200, Marek Vasut wrote: > The following changes since commit 87d5b225585f341ea8e926a2c26fb72585fc9d0c: > > MAINTAINERS: Change fsl-qoriq, mpc86xx, mpc85xx maintainers > (2019-09-13 10:14:45 -0400) > > are available in the Git repository at: > > git://git

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Otavio Salvador
On Mon, Sep 16, 2019 at 8:01 AM Joris Offouga wrote: > > I build with success dwarf board and nymph board and i update my patch > with your master branch : > https://github.com/jorisoffouga/u-boot/commits/pico-imx7/dmvideo > > also I noticed that dwarf cards and nymph cards do not have dm_usb, thi

Re: [U-Boot] [PATCH v2 1/2] Revert "configs: Remove am335x_boneblack_defconfig"

2019-09-16 Thread Sam Protsenko
Hi Lokesh, On Mon, Sep 16, 2019 at 11:34 AM Lokesh Vutla wrote: > > > > On 12/09/19 11:20 PM, Sam Protsenko wrote: > > Commit 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig") > > removes defconfig for BeagleBone Black board, and it's advised to use > > am335x_evm_defconfig for all AM33

Re: [U-Boot] [PATCH] watchdog: omap_wdt: Fix WDT target reset when booted from emmc

2019-09-16 Thread Sam Protsenko
On Mon, Sep 16, 2019 at 11:09 AM wrote: > > From: Suniel Mahesh > > AM335X based beaglebone black target gets reset by DM converted watchdog > if booted from emmc around 60sec. Fixed this by moving driver's private struct > variable initialization at different places in the driver to driver's pro

Re: [U-Boot] [PATCH] watchdog: omap_wdt: Fix WDT target reset when booted from emmc

2019-09-16 Thread Sam Protsenko
Hi Tom, On Mon, Sep 16, 2019 at 11:09 AM wrote: > > From: Suniel Mahesh > > AM335X based beaglebone black target gets reset by DM converted watchdog > if booted from emmc around 60sec. Fixed this by moving driver's private struct > variable initialization at different places in the driver to dri

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-09-16 Thread Lukasz Majewski
Hi Frieder, > From: Frieder Schrempf > > Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in > SPL. They often rely on hacks in the board header files to include > this option conditionally. To be able to fix this, we previously > introduced a separate option SPL_SPI_FLASH_MTD.

Re: [U-Boot] [PATCH 1/3] mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig

2019-09-16 Thread Lukasz Majewski
Hi Frieder, > From: Frieder Schrempf > > To allow SPI_FLASH_MTD being enabled separately in SPL we add a new > option. The only user currently is the stm32mp15_basic board. Thanks for preparing the patch. > > Signed-off-by: Frieder Schrempf > --- > drivers/mtd/spi/Kconfig | 8 > 1

Re: [U-Boot] [PATCH 2/3] stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD

2019-09-16 Thread Lukasz Majewski
On Fri, 13 Sep 2019 22:43:43 + Schrempf Frieder wrote: > From: Frieder Schrempf > > As SPI_FLASH_MTD is used in SPL and U-Boot proper, we enable both, > now that a separate option for SPL was introduced. > > Signed-off-by: Frieder Schrempf > --- > configs/stm32mp15_basic_defconfig | 3 ++

[U-Boot] [PATCH 1/3] fat: write: fix broken write to fragmented files

2019-09-16 Thread Marek Szyprowski
The code for handing file overwrite incorrectly assumed that the file on disk is always contiguous. This resulted in corrupting disk structure every time when write to existing fragmented file happened. Fix this by adding proper check for cluster discontinuity and adjust chunk size on each partial

[U-Boot] [PATCH 3/3] config: enable DFU over USB on Raspberry Pi4 boards

2019-09-16 Thread Marek Szyprowski
Enable support for DFU over USB. This requires to enable USB gadget, DWC2 UDC OTG driver and DFU command. DFU entities are defined for the following firmware objects: u-boot.bin, uboot.env and zImage. Signed-off-by: Marek Szyprowski --- configs/rpi_4_32b_defconfig | 11 +++ include/confi

[U-Boot] [PATCH 0/3] Raspberry Pi4: add support for DFU over USB

2019-09-16 Thread Marek Szyprowski
Hi All This patchset enables support for DFU over USB protocol on Raspberry Pi4 board. The board has DWC2 UDC controller connected to the USB-C power connector. Enabling DFU on it, make the u-boot development much more convenient, as one no longer needs to swap SD-card between RPi4 board and host

[U-Boot] [PATCH 2/3] usb: dwc2_udc_otg: add bcm2835 SoC (Raspberry Pi4) support

2019-09-16 Thread Marek Szyprowski
Broadcom 2835 SoC requires special conversion of physical memory addresses for DMA purpose, so add needed wrappers to dwc2_udc_otg driver. Also extend the list of compatible devices with 'brcm,bcm2835-usb' entry. This allows to use USB gadget drivers (i.e. DFU) on Raspberry Pi4 boards. Signed-off-

Re: [U-Boot] [PATCH 3/3] config: enable DFU over USB on Raspberry Pi4 boards

2019-09-16 Thread Matthias Brugger
On 16/09/2019 14:24, Marek Szyprowski wrote: > Enable support for DFU over USB. This requires to enable USB gadget, > DWC2 UDC OTG driver and DFU command. DFU entities are defined for the > following firmware objects: u-boot.bin, uboot.env and zImage. > > Signed-off-by: Marek Szyprowski > --- >

Re: [U-Boot] [PATCH 3/3] config: enable DFU over USB on Raspberry Pi4 boards

2019-09-16 Thread Marek Szyprowski
Hi Matthias, On 16.09.2019 14:45, Matthias Brugger wrote: > On 16/09/2019 14:24, Marek Szyprowski wrote: >> Enable support for DFU over USB. This requires to enable USB gadget, >> DWC2 UDC OTG driver and DFU command. DFU entities are defined for the >> following firmware objects: u-boot.bin, uboot

Re: [U-Boot] [PATCH 1/3] fat: write: fix broken write to fragmented files

2019-09-16 Thread Oleksandr Suvorov
On Mon, Sep 16, 2019 at 3:25 PM Marek Szyprowski wrote: > > The code for handing file overwrite incorrectly assumed that the file on > disk is always contiguous. This resulted in corrupting disk structure > every time when write to existing fragmented file happened. Fix this > by adding proper che

[U-Boot] U-Boot on ppc405gp, slow ethernet

2019-09-16 Thread Carlo Pisani
hi I am trying to use the board "dht-walnut", and I get this on the attempt to tftpboot PHY speed read failed, assuming 10bT PHY duplex read failed, assuming half-duplex Using ppc_4xx_eth0 device The ppc405GP board is connected to a router whose ethernet port is rated 100bT/full-duplex, but on th

[U-Boot] pull request u-boot-fsl-qoriq

2019-09-16 Thread Priyanka Jain
Dear Tom, Please find my pull-request for u-boot-fsl-qoriq/master https://travis-ci.org/p-priyanka-jain/u-boot/builds/584428184 Summary Add emmc hs200 support Few bug fixes related to serdes, I2C, ethernet, etc priyankajain - The following changes since commit 001c8

Re: [U-Boot] [PATCH] lx2160: Correct serdes frequency print.

2019-09-16 Thread Priyanka Jain
>-Original Message- >From: Meenakshi Aggarwal >Sent: Wednesday, September 4, 2019 4:40 PM >To: u-boot@lists.denx.de; Prabhakar Kushwaha > >Cc: Meenakshi Aggarwal >Subject: [PATCH] lx2160: Correct serdes frequency print. > >Signed-off-by: Meenakshi Aggarwal > >--- >changed for v2: >

Re: [U-Boot] [PATCH] board: fsl: lx2160aqds: add support for SerDes protocol 14

2019-09-16 Thread Priyanka Jain
>From: U-Boot On Behalf Of Florin Chiculita >Sent: Monday, August 26, 2019 1:18 PM >To: u-boot@lists.denx.de >Subject: [U-Boot] [PATCH] board: fsl: lx2160aqds: add support for SerDes >protocol 14 > >Add SerDes1 protocol 14 in the list of supported protocols. >This configuration enables one high-s

Re: [U-Boot] [PATCH] board: fsl: lx2160aqds: fix 'compatible' property

2019-09-16 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Florin Chiculita >Sent: Monday, August 19, 2019 9:27 PM >To: u-boot@lists.denx.de >Subject: [U-Boot] [PATCH] board: fsl: lx2160aqds: fix 'compatible' property > >The code that generates the compatible property concatenates the ethernet phy >id

Re: [U-Boot] [PATCH] arm: dts: ls1028a-qds: define the MDIO MUX

2019-09-16 Thread Priyanka Jain
>-Original Message- >From: Alex Marginean >Sent: Wednesday, August 7, 2019 10:00 PM >To: u-boot@lists.denx.de >Cc: Joe Hershberger ; Prabhakar Kushwaha > >Subject: [PATCH] arm: dts: ls1028a-qds: define the MDIO MUX > >QDS board has an on-board RGMII PHY and 4 slots for extension cards. >Al

Re: [U-Boot] [PATCHv3] armv8: fsl-layerscape: Fix a typo of Layerscape PCIe config entry

2019-09-16 Thread Priyanka Jain
>-Original Message- >From: Z.q. Hou >Sent: Tuesday, August 27, 2019 9:00 AM >To: u-boot@lists.denx.de; Prabhakar Kushwaha >; alexm.ossl...@gmail.com; >bmeng...@gmail.com >Cc: Z.q. Hou >Subject: [PATCHv3] armv8: fsl-layerscape: Fix a typo of Layerscape PCIe config >entry > >From: Hou Zhiqia

Re: [U-Boot] [PATCH v2 1/8] mmc: fsl_esdhc: Add peripheral clock support

2019-09-16 Thread Priyanka Jain
>From: Yinbo Zhu >Sent: Thursday, September 12, 2019 1:05 PM >To: Albert Aribaud ; Priyanka Jain >; Prabhakar Kushwaha >; Rajesh Bhagat ; >Sumit Garg ; Sudhanshu Gupta >; Harninder Rai ; Andy >Tang ; Jaehoon Chung ; Y.b. >Lu ; Peng Fan ; u-boot@lists.denx.de >Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei >P

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: Correct I2C clock divider for some of the plarforms

2019-09-16 Thread Priyanka Jain
>-Original Message- >From: Chuanhua Han >Sent: Thursday, August 8, 2019 2:35 PM >To: albert.u.b...@aribaud.ne; Prabhakar Kushwaha > >Cc: u-boot@lists.denx.de; Chuanhua Han >Subject: [PATCH v2] armv8: fsl-layerscape: Correct I2C clock divider for some >of >the plarforms > >By default, i2c

Re: [U-Boot] [PATCH] armv8: ls1028a: Updated lane C configuration to PCIe2 for 0x13BB

2019-09-16 Thread Priyanka Jain
>From: Z.q. Hou >Sent: Wednesday, September 4, 2019 9:03 AM >To: u-boot@lists.denx.de; Prabhakar Kushwaha >; Xiaowei Bao >Cc: Z.q. Hou >Subject: [PATCH] armv8: ls1028a: Updated lane C configuration to PCIe2 for >0x13BB > >From: Hou Zhiqiang > >In SerDes protocol 0x13BB, lane C was erroneously as

Re: [U-Boot] [PATCH v3] board: fsl: lx2160a: implement board_fix_fdt

2019-09-16 Thread Priyanka Jain
>From: Pankaj Bansal >Sent: Saturday, August 17, 2019 6:38 AM >To: Prabhakar Kushwaha ; Meenakshi >Aggarwal >Cc: Varun Sethi ; u-boot@lists.denx.de >Subject: [PATCH v3] board: fsl: lx2160a: implement board_fix_fdt > >In lx2160a rev2 the pcie controller has been changed. >Therefore, we need to chan

Re: [U-Boot] [U-Boot-Custodians] [PATCH 1/1] dm: MIGRATION: Add migration plan for CONFIG_DM

2019-09-16 Thread Tom Rini
On Sat, Sep 14, 2019 at 01:44:28PM +0530, Jagan Teki wrote: > On Sat, Sep 14, 2019 at 1:38 PM Marek Vasut wrote: > > > > On 9/14/19 9:58 AM, Heinrich Schuchardt wrote: > > > For many sub-systems we already require the driver model to be used. Yet > > > there is still a handful of boards that do no

Re: [U-Boot] [PATCH v6] board/fsl/lx2160a: Fix MC firmware loading during SD boot

2019-09-16 Thread Priyanka Jain
>From: Pankaj Bansal >Sent: Wednesday, July 17, 2019 4:04 PM >To: Prabhakar Kushwaha ; Meenakshi >Aggarwal >Cc: Varun Sethi ; u-boot@lists.denx.de >Subject: [PATCH v6] board/fsl/lx2160a: Fix MC firmware loading during SD boot > >during SD boot, following error comes: > MMC read: dev # 0, block #

Re: [U-Boot] [PATCH v2 1/4] arm: dts: socfpga: Add u-boot, dm-pre-reloc for sysmgr and clkmgr nodes

2019-09-16 Thread Dinh Nguyen
On 9/10/19 3:38 AM, Ley Foon Tan wrote: > Add u-boot,dm-pre-reloc for sysmgr and clkmgr nodes to use it in SPL. > In preparation to get base address from DT. > > Signed-off-by: Ley Foon Tan > --- > arch/arm/dts/socfpga-common-u-boot.dtsi | 8 > arch/arm/dts/socfpga.dtsi

Re: [U-Boot] U-Boot on ppc405gp, slow ethernet

2019-09-16 Thread Stefan Roese
Hi Carlo, On 16.09.19 02:06, Carlo Pisani wrote: hi I am trying to use the board "dht-walnut", and I get this on the attempt to tftpboot PHY speed read failed, assuming 10bT PHY duplex read failed, assuming half-duplex Using ppc_4xx_eth0 device The ppc405GP board is connected to a router whose

[U-Boot] [PATCH] mips: bmips: switch to board defines for dtb

2019-09-16 Thread Álvaro Fernández Rojas
Fixes commit 344db3f, which added missing bmips dtbs depending on their SoCs. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile index e2de1da147..c9d75596f2 1006

[U-Boot] [PATCH] configs: move CONFIG_SPL_TEXT_BASE to Kconfig

2019-09-16 Thread Parthiban Nallathambi
CONFIG_SPL_TEXT_BASE is moved to common/spl/Kconfig, update pcl063_ull defconfig. Signed-off-by: Parthiban Nallathambi --- configs/phycore_pcl063_ull_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/phycore_pcl063_ull_defconfig b/configs/phycore_pcl063_ull_defconfig index 4

Re: [U-Boot] [PATCH 3/3] config: enable DFU over USB on Raspberry Pi4 boards

2019-09-16 Thread Jonathan Gray
On Mon, Sep 16, 2019 at 02:53:30PM +0200, Marek Szyprowski wrote: > Hi Matthias, > > On 16.09.2019 14:45, Matthias Brugger wrote: > > On 16/09/2019 14:24, Marek Szyprowski wrote: > >> Enable support for DFU over USB. This requires to enable USB gadget, > >> DWC2 UDC OTG driver and DFU command. DFU

[U-Boot] [PATCH v2 1/1] dm: MIGRATION: Add migration plan for CONFIG_DM

2019-09-16 Thread Heinrich Schuchardt
For many sub-systems we already require the driver model to be used. Yet there is still a handful of boards that do not have CONFIG_DM enabled. We should make CONFIG_DM compulsory with release v2020.01 Conversion dates for CONFIG_DM_SPL and CONFIG_DM_TPL are yet to be defined. Signed-off-by: Hei

Re: [U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-16 Thread Simon Glass
Hi Ondřej, On Fri, 13 Sep 2019 at 14:11, Ondřej Jirman wrote: > > On Fri, Sep 13, 2019 at 08:00:50PM +, Joe Hershberger wrote: > > On Fri, Sep 13, 2019 at 2:53 PM Ondřej Jirman wrote: > > > > It sounds like your board / build config is not in the mainline tree, > > > > so there is no way Sim

Re: [U-Boot] [PATCH v2 1/2] efi_loader: variable: support APPEND_WRITE

2019-09-16 Thread Heinrich Schuchardt
On 9/6/19 8:09 AM, AKASHI Takahiro wrote: > If EFI_VARIABLE_APPEND_WRITE is specified in attributes at > efi_set_variable(), specified data will be appended to the variable's > original value. Attributes other than APPEND_WRITE should not be > modified. > > With this patch, APPEND_WRITE test in 'va

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Tom Rini
; > Merge tag 'u-boot-rockchip-20190912' of > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-09-11 > 23:08:34 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > ta

Re: [U-Boot] [PATCH] core: device: support multiple power domains for one device

2019-09-16 Thread Simon Glass
Hi Peng, On Mon, 2 Sep 2019 at 04:19, Peng Fan wrote: > > When device has multiple power domains, power_domain_get could > not able to support that. So let's iterate each power domain > and enable it. > > Signed-off-by: Peng Fan > --- > drivers/core/device.c | 14 +++--- > 1 file change

Re: [U-Boot] [PATCH v2 1/1] dm: MIGRATION: Add migration plan for CONFIG_DM

2019-09-16 Thread Simon Glass
On Mon, 16 Sep 2019 at 10:41, Heinrich Schuchardt wrote: > > For many sub-systems we already require the driver model to be used. Yet > there is still a handful of boards that do not have CONFIG_DM enabled. > > We should make CONFIG_DM compulsory with release v2020.01 > > Conversion dates for CONF

Re: [U-Boot] [PATCH] rsa: Return immediately if required-key verification fails

2019-09-16 Thread Simon Glass
Hi Daniele, On Sat, 14 Sep 2019 at 04:37, Daniele Alessandrelli wrote: > > Currently, if image verification with a required key fails, rsa_verify() > code tries to find another key to verify the FIT image. This however, is > not the intended behavior as the documentation says that required keys >

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Stefano Babic
ository at: >> >> https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git >> tags/u-boot-imx-20190916 >> >> for you to fetch changes up to a49022353fb9a1a9705b0d6b9a31e13b20824ef6: >> >> imx: fix missing MAINTAINERS pico boards (2019-09-16 09:39:57 +0200)

Re: [U-Boot] [PATCH v2] patman: Use the Change-Id, version, and prefix in the Message-Id

2019-09-16 Thread Doug Anderson
Johannes, On Thu, Sep 5, 2019 at 12:48 PM Johannes Berg wrote: > > On Tue, 2019-09-03 at 13:15 -0700, Douglas Anderson wrote: > > > > Let's give that a try. > > > > In theory (if there is enough adoption) this could help a tool more > > reliably find various versions of a commit. > > It's not qui

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Tom Rini
>> https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-09-11 > >> 23:08:34 -0400) > >> > >> are available in the Git repository at: > >> > >> https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > >> tags/u-boot-imx-20190

Re: [U-Boot] [PATCH 09/17] mx6sabresd: convert to DM_VIDEO

2019-09-16 Thread Fabio Estevam
Hi Anatolij, On Mon, Mar 18, 2019 at 7:36 PM Anatolij Gustschin wrote: > > Enable DM_VIDEO in defconfig. > > Signed-off-by: Anatolij Gustschin > --- > configs/mx6sabresd_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configs/mx6sabresd_defconfig b/configs/mx6

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20190916

2019-09-16 Thread Stefano Babic
e89e69dd: >>>> >>>> Merge tag 'u-boot-rockchip-20190912' of >>>> https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-09-11 >>>> 23:08:34 -0400) >>>> >>>> are available in the Git repository at: >>&

Re: [U-Boot] [PATCH v2 0/4] env: fix build error for envtools

2019-09-16 Thread Pierre-Jean Texier
Hello Tom, Le 26/08/2019 à 13:06, Pierre-Jean Texier a écrit : Here is a set of patches that fixes envtools breakage introduced after v2019.10-rc2. This serie also adds envtools to travis CI and gitlab-ci. This was tested on WaRP7. Before this serie: - https://travis-ci.com/texierp/u-boot/j

Re: [U-Boot] [PATCH 09/17] mx6sabresd: convert to DM_VIDEO

2019-09-16 Thread Anatolij Gustschin
Hi Fabio, On Mon, 16 Sep 2019 15:18:34 -0300 Fabio Estevam feste...@gmail.com wrote: ... > > -CONFIG_VIDEO=y > > +CONFIG_DM_VIDEO=y > > I am running the latest tree from Stefano and I do not have LVDS > output after this patch. > > If I revert it, then LVDS output is normal again. > > Any ide

Re: [U-Boot] [PATCH 09/17] mx6sabresd: convert to DM_VIDEO

2019-09-16 Thread Anatolij Gustschin
Hi Fabio, On Mon, 16 Sep 2019 21:21:38 +0200 Anatolij Gustschin ag...@denx.de wrote: >Hi Fabio, > >On Mon, 16 Sep 2019 15:18:34 -0300 >Fabio Estevam feste...@gmail.com wrote: >... >> > -CONFIG_VIDEO=y >> > +CONFIG_DM_VIDEO=y >> >> I am running the latest tree from Stefano and I do not have L

Re: [U-Boot] imx6dl_mamoj broken

2019-09-16 Thread Anatolij Gustschin
Hi Jagan, On Mon, 16 Sep 2019 13:36:03 +0530 Jagan Teki ja...@amarulasolutions.com wrote: ... > > arm: + imx6dl_mamoj > > +spl/u-boot-spl.bin exceeds file size limit: > > + limit: 53248 bytes > > + actual: 58597 bytes > > + excess: 5349 bytes > > > > +make[1]: *** [spl/u-boot-spl.bin]

Re: [U-Boot] imx6dl_mamoj broken

2019-09-16 Thread Stefano Babic
Hi Anatolji, On 16/09/19 22:20, Anatolij Gustschin wrote: > Hi Jagan, > > On Mon, 16 Sep 2019 13:36:03 +0530 > Jagan Teki ja...@amarulasolutions.com wrote: > ... >>> arm: + imx6dl_mamoj >>> +spl/u-boot-spl.bin exceeds file size limit: >>> + limit: 53248 bytes >>> + actual: 58597 bytes

Re: [U-Boot] imx6dl_mamoj broken

2019-09-16 Thread Fabio Estevam
Hi Anatolij/Stefano/Jagan, On Mon, Sep 16, 2019 at 5:20 PM Anatolij Gustschin wrote: > This check fails since the recent changes in SPL size limit check, > see commit 25d38f9b34be (imx6: spl: Reduce SPL limit size in case > CONFIG_SECURE_BOOT is enabled). If you agree I can send a patch doing:

Re: [U-Boot] [PATCH 1/3] fat: write: fix broken write to fragmented files

2019-09-16 Thread Lukasz Majewski
Hi Marek, > The code for handing file overwrite incorrectly assumed that the file > on disk is always contiguous. This resulted in corrupting disk > structure every time when write to existing fragmented file happened. > Fix this by adding proper check for cluster discontinuity and adjust > chunk

[U-Boot] Workaround for SPL modifying the DTB before use

2019-09-16 Thread Bartlomiej
Hello, We're implementing secure boot using HAB for an i.MX8M based board using U-Boot, specifically the fork from the `u-boot-imx6` repository from Boundary Devices. The reason i'm posting this here, is because the problematic behaviour we encountered seems to come from the mainline. We hav

Re: [U-Boot] [PATCH v2] patman: Use the Change-Id, version, and prefix in the Message-Id

2019-09-16 Thread Johannes Berg
Hi Doug, > > Actually, the important part for me is to be to be able to have change- > > ids locally (e.g. for working with gerrit), and not have that leak out > > to the community (that doesn't like them). > > > > As a maintainer in the community, I'll also need to change the > > .git/hooks/comm

[U-Boot] fpga spi on uboot driver

2019-09-16 Thread jérémy alcim
hi, I search how to make a multiplexing for my unstandar spi on my fpga. why ? because my spi register are 1 slot more. this slot is a sublayer for non standard connection data bus selector. I have 1 card connected at 4 card by my spi implementation. i want to use my spi chip on the fpga with the

  1   2   >