Re: [U-Boot] [PATCH v8 17/19] arm: dts: agilex: Add base dtsi and devkit dts

2019-11-27 Thread Simon Goldschmidt
On Thu, Nov 28, 2019 at 8:31 AM Ley Foon Tan wrote: > > On Thu, Nov 28, 2019 at 3:21 PM Ley Foon Tan wrote: > > > > On Wed, Nov 27, 2019 at 6:24 PM Simon Goldschmidt > > wrote: > > > > > > On Wed, Nov 27, 2019 at 8:56 AM Ley Foon Tan > > > wrote: > > > > > > > > Add device tree files for

Re: [U-Boot] [PATCH v8 17/19] arm: dts: agilex: Add base dtsi and devkit dts

2019-11-27 Thread Ley Foon Tan
On Thu, Nov 28, 2019 at 3:28 PM Simon Goldschmidt wrote: > > On Thu, Nov 28, 2019 at 8:22 AM Ley Foon Tan wrote: > > > > On Wed, Nov 27, 2019 at 6:24 PM Simon Goldschmidt > > wrote: > > > > > > On Wed, Nov 27, 2019 at 8:56 AM Ley Foon Tan > > > wrote: > > > > > > > > Add device tree files for

Re: [U-Boot] [PATCH v8 17/19] arm: dts: agilex: Add base dtsi and devkit dts

2019-11-27 Thread Ley Foon Tan
On Thu, Nov 28, 2019 at 3:21 PM Ley Foon Tan wrote: > > On Wed, Nov 27, 2019 at 6:24 PM Simon Goldschmidt > wrote: > > > > On Wed, Nov 27, 2019 at 8:56 AM Ley Foon Tan wrote: > > > > > > Add device tree files for Agilex SoC platform. > > > > > > socfpga_agilex-u-boot.dtsi and

Re: [U-Boot] [PATCH v8 17/19] arm: dts: agilex: Add base dtsi and devkit dts

2019-11-27 Thread Simon Goldschmidt
On Thu, Nov 28, 2019 at 8:22 AM Ley Foon Tan wrote: > > On Wed, Nov 27, 2019 at 6:24 PM Simon Goldschmidt > wrote: > > > > On Wed, Nov 27, 2019 at 8:56 AM Ley Foon Tan wrote: > > > > > > Add device tree files for Agilex SoC platform. > > > > > > socfpga_agilex-u-boot.dtsi and

Re: [U-Boot] [PATCH v8 17/19] arm: dts: agilex: Add base dtsi and devkit dts

2019-11-27 Thread Ley Foon Tan
On Wed, Nov 27, 2019 at 6:24 PM Simon Goldschmidt wrote: > > On Wed, Nov 27, 2019 at 8:56 AM Ley Foon Tan wrote: > > > > Add device tree files for Agilex SoC platform. > > > > socfpga_agilex-u-boot.dtsi and socfpga_agilex_socdk-u-boot.dts contains > > Uboot specific DT properties. > > > >

Re: [U-Boot] [PATCH 0/2] Add support for booting EFI FIT images

2019-11-27 Thread Heinrich Schuchardt
On 11/27/19 8:45 PM, Cristian Ciocaltea wrote: On Tue, Nov 26, 2019 at 07:31:39PM +0100, Heinrich Schuchardt wrote: On 11/24/19 9:11 PM, Cristian Ciocaltea wrote: Currently the only way to run an EFI binary like GRUB2 is via the 'bootefi' command, which cannot be used in a verified boot

Re: [U-Boot] [U-Boot-Custodians] [U-Boot-Board-Maintainers] [RFC] Eliminate boards not using CONFIG_DM=y

2019-11-27 Thread Heinrich Schuchardt
On 11/26/19 6:07 PM, Marek Vasut wrote: On 11/26/19 5:52 PM, Tom Rini wrote: On Tue, Nov 26, 2019 at 05:47:48PM +0100, Marek Vasut wrote: On 11/26/19 5:26 PM, Tom Rini wrote: On Tue, Nov 26, 2019 at 09:11:51AM +0100, Marek Vasut wrote: On 11/26/19 12:16 AM, Heinrich Schuchardt wrote: Dear

[U-Boot] [PATCH 2/2] rockchip: rk3399: rockpro64: enable force power on reset workaround

2019-11-27 Thread Vasily Khoruzhick
Rockpro64 doesn't boot reliably after soft reset, so let's force power on reset by asserting sysreset pin if we detected soft reset. Signed-off-by: Vasily Khoruzhick --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 8 configs/rockpro64-rk3399_defconfig| 1 + 2 files changed, 9

[U-Boot] [PATCH 1/2] rockchip: rk3399: fix force power on reset

2019-11-27 Thread Vasily Khoruzhick
Currently code doesn't even compile since it uses wrong define for ifdef. Fix that and also add missing include Fixes: 07586ee4322a ("rockchip: rk3399: Support common spl_board_init") Signed-off-by: Vasily Khoruzhick --- arch/arm/mach-rockchip/rk3399/rk3399.c | 5 +++-- 1 file changed, 3

Re: [U-Boot] GPT overlap on i.MX6

2019-11-27 Thread Jagan Teki
Hi Lukasz, On Wed, Nov 27, 2019 at 9:47 PM Lukasz Majewski wrote: > > Hi Jagan, > > > Hi Lukasz, > > > > On Wed, Nov 27, 2019 at 4:15 PM Lukasz Majewski wrote: > > > > > > Hi Jagan, > > > > > > > Hi, > > > > > > > > I have created GPT table start from 8MB for kernel, roots etc. > > > >

Re: [U-Boot] [PATCH v2 2/8] rockchip: rk3399: Support common spl_board_init

2019-11-27 Thread Vasily Khoruzhick
On Thu, Jun 20, 2019 at 11:57 AM Jagan Teki wrote: > > Support common spl_board_init by moving code from puma > board file into, common rk3399-board-spl.c. > > Part of the code has sysreset-gpio, regulators_enable_boot_on > but right now only puma board is using this with relevant > config

[U-Boot] [PATCH v1] configs: ls1028ardb: enable ugreen usb network card AX88179 and AX8817X drvier

2019-11-27 Thread Yinbo Zhu
enable ls1028ardb ugreen usb network card AX88179 and AX8817X driver Signed-off-by: Yinbo Zhu --- configs/ls1028ardb_tfa_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/ls1028ardb_tfa_defconfig b/configs/ls1028ardb_tfa_defconfig index 0664014..fc6d2ec 100644 ---

Re: [U-Boot] [PATCH v5 073/101] spi: ich: Support hardware sequencing

2019-11-27 Thread Bin Meng
Hi Simon, On Thu, Nov 28, 2019 at 11:19 AM Simon Glass wrote: > > Hi Bin, > > On Wed, 27 Nov 2019 at 20:08, Bin Meng wrote: > > > > Hi Simon, > > > > On Thu, Nov 28, 2019 at 10:23 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Wed, 27 Nov 2019 at 00:16, Bin Meng wrote: > > > > > > >

Re: [U-Boot] [PATCH v5 073/101] spi: ich: Support hardware sequencing

2019-11-27 Thread Simon Glass
Hi Bin, On Wed, 27 Nov 2019 at 20:08, Bin Meng wrote: > > Hi Simon, > > On Thu, Nov 28, 2019 at 10:23 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Wed, 27 Nov 2019 at 00:16, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Mon, Nov 25, 2019 at 12:12 PM Simon Glass wrote: > > > > > > >

Re: [U-Boot] [PATCH v4 2/2] part: always enable part_get_info_ptr() for driver

2019-11-27 Thread Kever Yang
Hi Tom, Simon, Is there anything I need to update for this patch? Thanks, - Kever Kever Yang 于2019年8月15日周四 下午4:32写道: > The partition driver has its Kconfig option, and the part_get_info_prt() > interface are mendatory interface for partition drivers, always enable the > macro to make

Re: [U-Boot] [PATCH v5 073/101] spi: ich: Support hardware sequencing

2019-11-27 Thread Bin Meng
Hi Simon, On Thu, Nov 28, 2019 at 10:23 AM Simon Glass wrote: > > Hi Bin, > > On Wed, 27 Nov 2019 at 00:16, Bin Meng wrote: > > > > Hi Simon, > > > > On Mon, Nov 25, 2019 at 12:12 PM Simon Glass wrote: > > > > > > Apollo Lake (APL) only supports hardware sequencing. Add support for this > > >

Re: [U-Boot] [PATCH v4 1/2] disk: update to use SPL_PARTITIONS for SPL

2019-11-27 Thread Kever Yang
Hi Tom, Simon ping... Is it OK to merge this patch? Thanks - Kever Kever Yang 于2019年8月15日周四 下午4:32写道: > The SPL disk driver can not depends on SPL_FRAMEWORK & PARTITIONS, which > will enable the disk driver when we actually not need it. Use a separate > Kconfig to control the partition

Re: [U-Boot] [PATCH v5 045/101] x86: fsp: Add FSP2 base support

2019-11-27 Thread Bin Meng
Hi Simon, On Thu, Nov 28, 2019 at 10:22 AM Simon Glass wrote: > > HI Bin, > > On Tue, 26 Nov 2019 at 23:11, Bin Meng wrote: > > > > Hi Simon, > > > > On Wed, Nov 27, 2019 at 1:08 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Tue, 26 Nov 2019 at 01:36, Bin Meng wrote: > > > > > > >

Re: [U-Boot] [EXT] Re: [PATCH 2/5] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-11-27 Thread Peng Ma
>-Original Message- >From: Stefan Roese >Sent: 2019年11月27日 18:31 >To: Peng Ma ; Priyanka Jain ; >w...@denx.de; Ruchika Gupta ; Shengzhou Liu > >Cc: Yinbo Zhu ; Z.q. Hou ; >s...@chromium.org; ja...@openedev.com; andre.przyw...@arm.com; >sm...@web.de; Andy Tang ; u-boot@lists.denx.de

Re: [U-Boot] [EXT] Re: [PATCH 1/5] Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board."

2019-11-27 Thread Peng Ma
>-Original Message- >From: Wolfgang Denk >Sent: 2019年11月28日 0:08 >To: Peng Ma >Cc: Priyanka Jain ; Ruchika Gupta >; Shengzhou Liu ; Yinbo >Zhu ; Z.q. Hou ; >s...@chromium.org; ja...@openedev.com; andre.przyw...@arm.com; >s...@denx.de; sm...@web.de; Andy Tang ; >u-boot@lists.denx.de

Re: [U-Boot] [EXT] Re: [PATCH 2/5] Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"

2019-11-27 Thread Peng Ma
>-Original Message- >From: Stefan Roese >Sent: 2019年11月27日 18:31 >To: Peng Ma ; Priyanka Jain ; >w...@denx.de; Ruchika Gupta ; Shengzhou Liu > >Cc: Yinbo Zhu ; Z.q. Hou ; >s...@chromium.org; ja...@openedev.com; andre.przyw...@arm.com; >sm...@web.de; Andy Tang ; u-boot@lists.denx.de

Re: [U-Boot] [PATCH v5 075/101] spi: ich: Add TPL support

2019-11-27 Thread Simon Glass
Hi Bin, On Wed, 27 Nov 2019 at 00:16, Bin Meng wrote: > > Hi Simon, > > On Mon, Nov 25, 2019 at 12:12 PM Simon Glass wrote: > > > > In TPL we want to reduce code size and support running with CONFIG_PCI > > disabled. Add special code to handle this using a fixed BAR programmed > > into the SPI

Re: [U-Boot] [PATCH v5 078/101] x86: Enable pinctrl in SPL and TPL

2019-11-27 Thread Simon Glass
Hi Bin, On Wed, 27 Nov 2019 at 02:08, Bin Meng wrote: > > Hi Simon, > > On Mon, Nov 25, 2019 at 12:12 PM Simon Glass wrote: > > > > If these phases are used we typically want to enable pinctrl in then, so > > that pad setup and GPIO access are possible. > > > > Signed-off-by: Simon Glass > >

Re: [U-Boot] [PATCH v5 071/101] spi: ich: Correct max-size bug in ich_spi_adjust_size()

2019-11-27 Thread Simon Glass
Hi Bin, On Wed, 27 Nov 2019 at 00:16, Bin Meng wrote: > > Hi Simon, > > On Mon, Nov 25, 2019 at 12:12 PM Simon Glass wrote: > > > > This incorrectly shortens read operations if there is a maximum write size > > but no maximum read size. Fix it. > > > > Signed-off-by: Simon Glass > > --- > > >

Re: [U-Boot] [PATCH v5 073/101] spi: ich: Support hardware sequencing

2019-11-27 Thread Simon Glass
Hi Bin, On Wed, 27 Nov 2019 at 00:16, Bin Meng wrote: > > Hi Simon, > > On Mon, Nov 25, 2019 at 12:12 PM Simon Glass wrote: > > > > Apollo Lake (APL) only supports hardware sequencing. Add support for this > > into the SPI driver, as an option. > > > > Signed-off-by: Simon Glass > > > > --- >

Re: [U-Boot] [PATCH v5 045/101] x86: fsp: Add FSP2 base support

2019-11-27 Thread Simon Glass
HI Bin, On Tue, 26 Nov 2019 at 23:11, Bin Meng wrote: > > Hi Simon, > > On Wed, Nov 27, 2019 at 1:08 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Tue, 26 Nov 2019 at 01:36, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Mon, Nov 25, 2019 at 12:11 PM Simon Glass wrote: > > > > > > >

[U-Boot] Please pull mmc-11-27-2019

2019-11-27 Thread Peng Fan
Hi Tom, Please pull mmc-11-27-2019 CI: https://travis-ci.org/MrVan/u-boot/builds/617615361 -- fsl_esdhc update and some cleanup in ls1021a/mpc83xx code mmc tmio sdhi update for hs400 -- Thanks, Peng. The following changes since commit

Re: [U-Boot] [PATCH] spl: Allow cache drivers to be used in SPL

2019-11-27 Thread Ley Foon Tan
On Thu, Nov 28, 2019 at 4:33 AM Simon Goldschmidt wrote: > > Ley, Tom, > > Am 26.11.2019 um 10:26 schrieb Ley Foon Tan: > > On Fri, Nov 8, 2019 at 10:53 AM Ley Foon Tan wrote: > >> > >> Add an option for building cache drivers in SPL. > > Ley: > > What's the actual problem here? Can you further

Re: [U-Boot] [PATCH v2 2/2] rockchip: px30: enable spl-fifo-mode for both emmc and sdmmc on evb

2019-11-27 Thread Patrick Wildt
On Tue, Nov 19, 2019 at 12:04:02PM +0100, Heiko Stuebner wrote: > From: Heiko Stuebner > > As part of loading trustedfirmware, the SPL is required to place portions > of code into the socs sram but the mmc controllers can only do dma > transfers into the regular memory, not sram. > > The

Re: [U-Boot] [PATCH] spl: Allow cache drivers to be used in SPL

2019-11-27 Thread Tom Rini
On Wed, Nov 27, 2019 at 09:33:19PM +0100, Simon Goldschmidt wrote: > Ley, Tom, > > Am 26.11.2019 um 10:26 schrieb Ley Foon Tan: > > On Fri, Nov 8, 2019 at 10:53 AM Ley Foon Tan wrote: > > > > > > Add an option for building cache drivers in SPL. > > Ley: > > What's the actual problem here? Can

Re: [U-Boot] [PATCH v2] ls1028a: Configure stream IDs for integrated PCI and fix up Linux DT

2019-11-27 Thread Michael Walle
Am 2019-11-27 16:19, schrieb Alex Marginean: Hardware comes out of reset with implicit values, but these are outside the accepted range for Layerscape gen 3 chassis spec used on LS1028A. Allocate different IDs and fix up Linux DT to use them. Signed-off-by: Alex Marginean Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH] spl: Allow cache drivers to be used in SPL

2019-11-27 Thread Simon Goldschmidt
Ley, Tom, Am 26.11.2019 um 10:26 schrieb Ley Foon Tan: On Fri, Nov 8, 2019 at 10:53 AM Ley Foon Tan wrote: Add an option for building cache drivers in SPL. Ley: What's the actual problem here? Can you further describe your change? Why do you need to change drivers/cache/Makefile? That

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: LS1044A/1048A: enable Only 1x 10GE port

2019-11-27 Thread Alexandru Marginean
Hi Pramod, On 11/25/2019 11:42 AM, Pramod Kumar wrote: LS1044A, LS1048A are LS1088A personalities, which support only one 1x 10GE port. There's probably a mix-up, and unfortunately we have an issue in the LS1088A reference manual available on the website too. - LS1088A is documented as 2x

Re: [U-Boot] Using sspi for hardware detection?

2019-11-27 Thread Simon Goldschmidt
On Wed, Nov 27, 2019 at 1:58 PM Romain Naour wrote: > > Hello, > > I'm working on a modular socfpga based system with several optional boards. > Each optional board contain a board ID that can be read through a SPI bus. > > Since we want just read the board ID, we used manually the sspi command,

Re: [U-Boot] [PATCH 0/2] Add support for booting EFI FIT images

2019-11-27 Thread Cristian Ciocaltea
On Tue, Nov 26, 2019 at 07:31:39PM +0100, Heinrich Schuchardt wrote: > On 11/24/19 9:11 PM, Cristian Ciocaltea wrote: > > Currently the only way to run an EFI binary like GRUB2 is via the > > 'bootefi' command, which cannot be used in a verified boot scenario. > > > > The obvious solution to this

Re: [U-Boot] [PATCH] warp7: Fix U-Boot corruption after saving the environment

2019-11-27 Thread Stefano Babic
On 26/11/19 23:38, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Oct 21, 2019 at 11:23 AM Fabio Estevam wrote: >> >> U-Boot binary has grown in such a way that it goes beyond the reserved >> area for the environment variables. >> >> Running "saveenv" followed by a "reset" causes U-Boot to

Re: [U-Boot] [PATCH v8 18/19] configs: socfpga: Move Stratix10 and Agilex common CONFIGs

2019-11-27 Thread Simon Goldschmidt
On Wed, Nov 27, 2019 at 8:56 AM Ley Foon Tan wrote: > > Move Stratix10 and Agilex common CONFIGs to socfpga_soc64_common.h. > > Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt > --- > ...ratix10_socdk.h => socfpga_soc64_common.h} | 8 +- >

Re: [U-Boot] [PATCH v2 3/8] cmd: bootimg: Add bootimg command

2019-11-27 Thread Eugeniu Rosca
Hi Sam, On Wed, Oct 23, 2019 at 05:34:22PM +0300, Sam Protsenko wrote: > +static int do_bootimg_get_dtb_file(cmd_tbl_t *cmdtp, int flag, int argc, > +char * const argv[]) > +{ > + char *endp; > + char buf[65]; > + u32 index; > + ulong addr; > +

Re: [U-Boot] Reboot is broken on RockPro64 with mainline u-boot and ATF

2019-11-27 Thread Vasily Khoruzhick
On Wed, Nov 27, 2019 at 9:53 AM Jagan Teki wrote: > > Hi, > > On Mon, Nov 25, 2019 at 10:56 PM Vasily Khoruzhick wrote: > > > > Hey guys, > > > > Looks like reboot is broken on RockPro64 (RK3399-based) with mainline > > u-boot and ATF (ATF already has a fix [1]). > > > > When I type 'reboot' in

[U-Boot] [PATCH] mpc85xx: ddr: Always start DDR RAM in Self Refresh mode

2019-11-27 Thread Joakim Tjernlund
Some of our t1042 boards fails DDR init with an Automatic calibration error every now and then. Investigations revealed that true Warm boots newer failed. Warm boots has some extra steps performed, one being to start DDRC in Self Refresh and then clearing SR right after. Applying this SR method

Re: [U-Boot] Reboot is broken on RockPro64 with mainline u-boot and ATF

2019-11-27 Thread Jagan Teki
Hi, On Mon, Nov 25, 2019 at 10:56 PM Vasily Khoruzhick wrote: > > Hey guys, > > Looks like reboot is broken on RockPro64 (RK3399-based) with mainline > u-boot and ATF (ATF already has a fix [1]). > > When I type 'reboot' in linux I get back to u-boot, but subsequent > linux boot hangs in most

Re: [U-Boot] Reboot is broken on RockPro64 with mainline u-boot and ATF

2019-11-27 Thread Vasily Khoruzhick
On Mon, Nov 25, 2019 at 9:25 AM Vasily Khoruzhick wrote: > > Hey guys, > > Looks like reboot is broken on RockPro64 (RK3399-based) with mainline > u-boot and ATF (ATF already has a fix [1]). Added Philipp and Simon to CC. Can anyone please help me with this issue? > When I type 'reboot' in

Re: [U-Boot] [PATCH v1 4/4] x86: edison: Enable DFU timeout

2019-11-27 Thread Lukasz Majewski
On Wed, 27 Nov 2019 18:45:43 +0200 Andy Shevchenko wrote: > On Wed, Nov 27, 2019 at 05:10:22PM +0100, Lukasz Majewski wrote: > > > On Wed, Nov 27, 2019 at 11:57:53AM +0100, Lukasz Majewski wrote: > > > > I base my patches on official releases / release candidates. It > > > applies very well

Re: [U-Boot] [PATCH v1 4/4] x86: edison: Enable DFU timeout

2019-11-27 Thread Andy Shevchenko
On Wed, Nov 27, 2019 at 05:10:22PM +0100, Lukasz Majewski wrote: > > On Wed, Nov 27, 2019 at 11:57:53AM +0100, Lukasz Majewski wrote: > > I base my patches on official releases / release candidates. It > > applies very well on top of 2020.01-rc3 as of today. Does DFU has a > > separate repository

[U-Boot] [PATCH v1] MAINTAINERS: Add info for bcm283x

2019-11-27 Thread matthias . bgg
From: Matthias Brugger The bcm283x has grown in files, which was not reflected in the MAINTAINERS file. Fix this by adding the missing entries. Signed-off-by: Matthias Brugger --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [U-Boot] GPT overlap on i.MX6

2019-11-27 Thread Lukasz Majewski
Hi Jagan, > Hi Lukasz, > > On Wed, Nov 27, 2019 at 4:15 PM Lukasz Majewski wrote: > > > > Hi Jagan, > > > > > Hi, > > > > > > I have created GPT table start from 8MB for kernel, roots etc. > > > something like > > > > > > PartStart LBA End LBA Name > > > Attributes >

[U-Boot] [PATCH v2 4/4] x86: edison: Enable DFU timeout

2019-11-27 Thread Andy Shevchenko
The stock U-Boot on Intel Edison has timeout parameter for DFU command. Enable it here to be compatible with the original U-Boot configuration. Signed-off-by: Andy Shevchenko --- v2: - rebase on top of origin/master as of today (Lukasz) configs/edison_defconfig | 1 + 1 file changed, 1

[U-Boot] [PATCH v2 1/4] dfu: Drop unused prototype of dfu_trigger_reset()

2019-11-27 Thread Andy Shevchenko
After the commit 1cc03c5c53c0 ("dfu: Provide means to find difference between dfu-util -e and -R") the dangling ptototype appeared. Remove it here. Fixes: 1cc03c5c53c0 ("dfu: Provide means to find difference between dfu-util -e and -R") Cc: Lukasz Majewski Cc: Stephen Warren Signed-off-by:

[U-Boot] [PATCH v2 3/4] dfu: Add optional timeout parameter

2019-11-27 Thread Andy Shevchenko
When the `dfu` command is called from the U-Boot environment, it now accepts an optional parameter that specifies a timeout (in seconds). If a DFU connection is not made within that time the `dfu` command exits (as it would if Ctrl+C was pressed). If the timeout is left empty or being zero the

[U-Boot] [PATCH v2 2/4] dfu: Refactor do_dfu() to handle optional argument

2019-11-27 Thread Andy Shevchenko
In the future we may utilize optional argument in 'dfu' command line. As a preparation for this, refactor do_dfu(). Signed-off-by: Andy Shevchenko Acked-by: Lukasz Majewski --- cmd/dfu.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/cmd/dfu.c

Re: [U-Boot] [PATCH v1 4/4] x86: edison: Enable DFU timeout

2019-11-27 Thread Lukasz Majewski
Hi Andy, > On Wed, Nov 27, 2019 at 11:57:53AM +0100, Lukasz Majewski wrote: > > Hi Andy, > > > > > The stock U-Boot on Intel Edison has timeout parameter for DFU > > > command. Enable it here to be compatible with the original U-Boot > > > configuration. > > > > > > Signed-off-by: Andy

Re: [U-Boot] [PATCH 1/5] Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board."

2019-11-27 Thread Wolfgang Denk
Dear Peng Ma, In message <20191127100145.44346-1-peng...@nxp.com> you wrote: > This reverts commit 856b9cdb53f0e6c8d98f81cf71ef363c16b0aa0e. > > Signed-off-by: Peng Ma Why? A commit message should always explain why such an action is taking place. Best regards, Wolfgang Denk -- DENX

Re: [U-Boot] [RFC PATCH] ARM: reset: Move SYSRESET condition from Makefile into source file

2019-11-27 Thread Marek Vasut
On 11/27/19 4:40 PM, Claudius Heine wrote: > On 27/11/2019 16.21, Marek Vasut wrote: >> On 11/27/19 4:17 PM, Claudius Heine wrote: >>> On 27/11/2019 16.12, Marek Vasut wrote: On 11/27/19 4:09 PM, Claudius Heine wrote: > Hi Marek, > > On 27/11/2019 15.47, Marek Vasut wrote: >>

Re: [U-Boot] GPT overlap on i.MX6

2019-11-27 Thread Jagan Teki
Hi Lukasz, On Wed, Nov 27, 2019 at 4:15 PM Lukasz Majewski wrote: > > Hi Jagan, > > > Hi, > > > > I have created GPT table start from 8MB for kernel, roots etc. > > something like > > > > PartStart LBA End LBA Name > > Attributes > > Type GUID > >

Re: [U-Boot] [RFC PATCH] ARM: reset: Move SYSRESET condition from Makefile into source file

2019-11-27 Thread Claudius Heine
On 27/11/2019 16.21, Marek Vasut wrote: > On 11/27/19 4:17 PM, Claudius Heine wrote: >> On 27/11/2019 16.12, Marek Vasut wrote: >>> On 11/27/19 4:09 PM, Claudius Heine wrote: Hi Marek, On 27/11/2019 15.47, Marek Vasut wrote: > On 11/27/19 3:20 PM, Claudius Heine wrote: >> In

Re: [U-Boot] [PATCH v1 4/4] x86: edison: Enable DFU timeout

2019-11-27 Thread Andy Shevchenko
On Wed, Nov 27, 2019 at 05:21:32PM +0200, Andy Shevchenko wrote: > On Wed, Nov 27, 2019 at 11:57:53AM +0100, Lukasz Majewski wrote: > > Hi Andy, > > > > > The stock U-Boot on Intel Edison has timeout parameter for DFU > > > command. Enable it here to be compatible with the original U-Boot > > >

Re: [U-Boot] [RFC PATCH] ARM: reset: Move SYSRESET condition from Makefile into source file

2019-11-27 Thread Marek Vasut
On 11/27/19 4:17 PM, Claudius Heine wrote: > On 27/11/2019 16.12, Marek Vasut wrote: >> On 11/27/19 4:09 PM, Claudius Heine wrote: >>> Hi Marek, >>> >>> On 27/11/2019 15.47, Marek Vasut wrote: On 11/27/19 3:20 PM, Claudius Heine wrote: > In case CONFIG_SYSRESET is set, do_reset from

Re: [U-Boot] [PATCH v1 4/4] x86: edison: Enable DFU timeout

2019-11-27 Thread Andy Shevchenko
On Wed, Nov 27, 2019 at 11:57:53AM +0100, Lukasz Majewski wrote: > Hi Andy, > > > The stock U-Boot on Intel Edison has timeout parameter for DFU > > command. Enable it here to be compatible with the original U-Boot > > configuration. > > > > Signed-off-by: Andy Shevchenko > > --- > >

[U-Boot] [PATCH v2] ls1028a: Configure stream IDs for integrated PCI and fix up Linux DT

2019-11-27 Thread Alex Marginean
Hardware comes out of reset with implicit values, but these are outside the accepted range for Layerscape gen 3 chassis spec used on LS1028A. Allocate different IDs and fix up Linux DT to use them. Signed-off-by: Alex Marginean Reviewed-by: Bin Meng --- Changes in v2: - moved code under

Re: [U-Boot] [RFC PATCH] ARM: reset: Move SYSRESET condition from Makefile into source file

2019-11-27 Thread Claudius Heine
On 27/11/2019 16.12, Marek Vasut wrote: > On 11/27/19 4:09 PM, Claudius Heine wrote: >> Hi Marek, >> >> On 27/11/2019 15.47, Marek Vasut wrote: >>> On 11/27/19 3:20 PM, Claudius Heine wrote: In case CONFIG_SYSRESET is set, do_reset from reset.c will not be available anywere, even if

Re: [U-Boot] [RFC PATCH] ARM: reset: Move SYSRESET condition from Makefile into source file

2019-11-27 Thread Marek Vasut
On 11/27/19 4:09 PM, Claudius Heine wrote: > Hi Marek, > > On 27/11/2019 15.47, Marek Vasut wrote: >> On 11/27/19 3:20 PM, Claudius Heine wrote: >>> In case CONFIG_SYSRESET is set, do_reset from reset.c will not be available >>> anywere, even if SYSRESET is disabled for SPL in the board specific

Re: [U-Boot] [RFC PATCH] ARM: reset: Move SYSRESET condition from Makefile into source file

2019-11-27 Thread Claudius Heine
Hi Marek, On 27/11/2019 15.47, Marek Vasut wrote: > On 11/27/19 3:20 PM, Claudius Heine wrote: >> In case CONFIG_SYSRESET is set, do_reset from reset.c will not be available >> anywere, even if SYSRESET is disabled for SPL in the board specific header >> file like this: >> >> #if

Re: [U-Boot] [PATCH v1 3/4] dfu: Add optional timeout parameter

2019-11-27 Thread Lukasz Majewski
Hi Andy, > On Wed, Nov 27, 2019 at 11:56:15AM +0100, Lukasz Majewski wrote: > > > Thank you for your work on enhancing DFU. The patch series is > > generally Ok. > > > > Please find some minor comments/requests below. > > Thank you for review, my answers below. > > > > +#ifdef

Re: [U-Boot] [RFC PATCH] ARM: reset: Move SYSRESET condition from Makefile into source file

2019-11-27 Thread Marek Vasut
On 11/27/19 3:20 PM, Claudius Heine wrote: > In case CONFIG_SYSRESET is set, do_reset from reset.c will not be available > anywere, even if SYSRESET is disabled for SPL in the board specific header > file like this: > > #if defined(CONFIG_SPL_BUILD) > #undef CONFIG_WDT > #undef

Re: [U-Boot] [PATCH] ls1028a: Configure stream IDs for integrated PCI and fix up Linux DT

2019-11-27 Thread Alexandru Marginean
Hi Michael, On 11/27/2019 3:33 PM, Michael Walle wrote: Hi Alex, Am 2019-11-27 14:57, schrieb Alex Marginean: Hardware comes out of reset with implicit values, but these are outside the accepted range for Layerscape gen 3 chassis spec used on LS1028A. Allocate different IDs and fix up Linux

Re: [U-Boot] [PATCH 4/4] board: amlogic: Add missing config option

2019-11-27 Thread Anand Moon
Hi Neil, On Wed, 27 Nov 2019 at 18:25, Neil Armstrong wrote: > > Hi, > > On 26/11/2019 22:12, Anand Moon wrote: > > Add missing config option CONFIG_MESON_GXBB and CONFIG_SYS_BOARD, > > for odroid-c2 and nanopi k2 board > > > > Signed-off-by: Anand Moon > > --- > > configs/nanopi-k2_defconfig

Re: [U-Boot] [PATCH 1/4] mmc: meson-gx: Fix tx phase in the tuning process

2019-11-27 Thread Anand Moon
Hi Neil, On Wed, 27 Nov 2019 at 18:30, Neil Armstrong wrote: > > Hi, > > On 26/11/2019 22:12, Anand Moon wrote: > > odroid n2 eMMC module would failed to boot up, > > because of TX phase clk failure, fix the typo in > > TX phase macro to help tune correct clk freqency. > > > > Before these

Re: [U-Boot] SPDX header might be wrong in 4 files from Android Open Source Project

2019-11-27 Thread Alex Deymo
Le lun. 25 nov. 2019 à 17:20, Igor Opaniuk a écrit : > + Alex Deymo > > Hi Zdenek > > On Mon, Nov 25, 2019 at 6:05 PM zdenek.bou...@siemens.com > wrote: > > > > Hello, > > > > SPDX-License-Identifier: BSD-3-Clause might be wrong in the following 4 > files from Android Open Source Project

Re: [U-Boot] [PATCH v1 3/4] dfu: Add optional timeout parameter

2019-11-27 Thread Andy Shevchenko
On Wed, Nov 27, 2019 at 11:56:15AM +0100, Lukasz Majewski wrote: > Thank you for your work on enhancing DFU. The patch series is generally > Ok. > > Please find some minor comments/requests below. Thank you for review, my answers below. > > +#ifdef CONFIG_DFU_TIMEOUT > > +

Re: [U-Boot] [PATCH] ls1028a: Configure stream IDs for integrated PCI and fix up Linux DT

2019-11-27 Thread Michael Walle
Hi Alex, Am 2019-11-27 14:57, schrieb Alex Marginean: Hardware comes out of reset with implicit values, but these are outside the accepted range for Layerscape gen 3 chassis spec used on LS1028A. Allocate different IDs and fix up Linux DT to use them. Signed-off-by: Alex Marginean ---

Re: [U-Boot] [PATCH] tbs2910: Disable VxWorks image booting support

2019-11-27 Thread Soeren Moch
On 27.11.19 15:23, Tom Rini wrote: > There are currently no known users of this functionality on this > platform, disable it to prepare for additional VxWorks functionality > that would cause this platform to fail to link. > > Cc: Soeren Moch > Signed-off-by: Tom Rini Acked-by: Soeren Moch

[U-Boot] [PATCH] tbs2910: Disable VxWorks image booting support

2019-11-27 Thread Tom Rini
There are currently no known users of this functionality on this platform, disable it to prepare for additional VxWorks functionality that would cause this platform to fail to link. Cc: Soeren Moch Signed-off-by: Tom Rini --- configs/tbs2910_defconfig | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [RFC PATCH] ARM: reset: Move SYSRESET condition from Makefile into source file

2019-11-27 Thread Claudius Heine
In case CONFIG_SYSRESET is set, do_reset from reset.c will not be available anywere, even if SYSRESET is disabled for SPL in the board specific header file like this: #if defined(CONFIG_SPL_BUILD) #undef CONFIG_WDT #undef CONFIG_WATCHDOG #undef CONFIG_SYSRESET #define

Re: [U-Boot] [PATCH] bootm: vxworks: Support Linux compatible standard DTB for ARM and PPC

2019-11-27 Thread Tom Rini
On Wed, Nov 27, 2019 at 02:34:14PM +0100, Soeren Moch wrote: > On 27.11.19 13:55, Tom Rini wrote: > > On Wed, Nov 27, 2019 at 02:03:03PM +0800, Bin Meng wrote: > >> Hi Tom, > >> > >> On Wed, Nov 20, 2019 at 10:22 PM Tom Rini wrote: > >>> On Wed, Nov 20, 2019 at 10:11:00AM +0800, Bin Meng wrote: >

Re: [U-Boot] [PATCH] ls1028a: Configure stream IDs for integrated PCI and fix up Linux DT

2019-11-27 Thread Bin Meng
On Wed, Nov 27, 2019 at 9:58 PM Alex Marginean wrote: > > Hardware comes out of reset with implicit values, but these are outside > the accepted range for Layerscape gen 3 chassis spec used on LS1028A. > Allocate different IDs and fix up Linux DT to use them. > > Signed-off-by: Alex Marginean >

[U-Boot] [PATCH] ls1028a: Configure stream IDs for integrated PCI and fix up Linux DT

2019-11-27 Thread Alex Marginean
Hardware comes out of reset with implicit values, but these are outside the accepted range for Layerscape gen 3 chassis spec used on LS1028A. Allocate different IDs and fix up Linux DT to use them. Signed-off-by: Alex Marginean --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 9 ++

[U-Boot] [PULL] Pull request: u-boot-stm32 u-boot-stm32-20191126

2019-11-27 Thread Patrick DELAUNAY
Hi Tom Please pull the STM32 related patches for u-boot-stm32-20191126 With the following changes: - Solve warning for stih410-b2260 - Device tree alignment on v5.4-rc4 for all stm32 boards - Correct the eMMC pin configuration on stm32mp157c-ev1 - Add DFU and SPI-NAND support for stm32mp1 board

Re: [U-Boot] [PATCH v3 15/15] stm32mp1: add support for virtual partition read

2019-11-27 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: lundi 14 octobre 2019 09:28 > > Add read for OTP and PMIC NVM with alternates on virtual DFU device. > > Serie-cc: Boris Brezillon > Signed-off-by: Patrick Delaunay > --- Applied to u-boot-stm32/master, thanks! -- Patrick

Re: [U-Boot] [PATCH v3 14/15] stm32mp1: board: add spi nand support

2019-11-27 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: lundi 14 octobre 2019 09:28 > > This patch adds the support of the spi nand device in mtdparts command and in > dfu_alt_info. > > Signed-off-by: Patrick Delaunay > --- Applied to u-boot-stm32/master, thanks! -- Patrick

Re: [U-Boot] [PATCH v3 13/15] stm32mp1: configs: activate CONFIG_MTD_SPI_NAND

2019-11-27 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: lundi 14 octobre 2019 09:28 > > Activate the support of SPI NAND in stm32mp1 U-Boot. > > Signed-off-by: Patrick Delaunay > --- Applied to u-boot-stm32/master, thanks! -- Patrick ___ U-Boot mailing list

Re: [U-Boot] [PATCH v3 12/15] stm32mp1: activate SET_DFU_ALT_INFO

2019-11-27 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: lundi 14 octobre 2019 09:28 > > Generate automatically dfu_alt_info for the supported device. > The simple command "dfu 0" allows to start the dfu stack on usb 0 for the > supported devices: > - dfu mtd for nand0 > - dfu mtd for nor0 > - dfu mmc for SDCard >

Re: [U-Boot] [PATCH v3 11/15] stm32mp1: activate DFU support and command MTD

2019-11-27 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: lundi 14 octobre 2019 09:28 > > Add support of DFU for MMC, MTD, RAM and MTD command. > > Signed-off-by: Patrick Delaunay > --- Applied to u-boot-stm32/master, thanks! -- Patrick ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/3] ARM: dts: stm32: update eMMC configuration for stm32mp157c-ev1

2019-11-27 Thread Patrick DELAUNAY
Hi > From: Patrick DELAUNAY > Sent: mercredi 6 novembre 2019 16:17 > > Update the sdmmc2 node for eMMC support on eval board stm32mp157c-ev1. > - update slew-rate for pin configuration > - update "vqmmc-supply" > - remove "st,sig-dir" > - add mandatory "pinctrl-names" > - add "mmc-ddr-3_3v" >

Re: [U-Boot] [PATCH 2/3] ARM: dts: stm32: DT alignment with kernel v5.4-rc4

2019-11-27 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: mercredi 6 novembre 2019 16:17 > > Device tree and binding alignment with kernel v5.4-rc4 > > Signed-off-by: Patrick Delaunay > --- Applied to u-boot-stm32/master, thanks! -- Patrick ___ U-Boot mailing list

Re: [U-Boot] [PATCH 1/3] ARM: dts: stm32: DT alignment with kernel v5.3

2019-11-27 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: mercredi 6 novembre 2019 16:17 > > Device tree and binding alignment with kernel v5.3 and converted to SPDX. > > Signed-off-by: Patrick Delaunay > --- Applied to u-boot-stm32/master, thanks! -- Patrick ___

Re: [U-Boot] [PATCH] configs: stih410-b2260: Enable DM_ETH flag

2019-11-27 Thread Patrick DELAUNAY
Hi > From: Patrice CHOTARD > Sent: vendredi 15 novembre 2019 11:57 > > This patch allows to fix the following compilation warning: > > = WARNING == This board > does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please > update the board to

Re: [U-Boot] [PATCH v3 2/6] fat: write: fix broken write at non-zero file offset

2019-11-27 Thread Marek Szyprowski
Hi On 27.11.2019 04:13, AKASHI Takahiro wrote: > # I still need to understand the issues reported here. > > On Tue, Nov 26, 2019 at 11:57:34AM -0500, Tom Rini wrote: >> On Tue, Nov 26, 2019 at 09:15:08AM +0100, Marek Szyprowski wrote: >> >>> Handling of the start file offset was broken in the

Re: [U-Boot] [PATCH] bootm: vxworks: Support Linux compatible standard DTB for ARM and PPC

2019-11-27 Thread Soeren Moch
On 27.11.19 13:55, Tom Rini wrote: > On Wed, Nov 27, 2019 at 02:03:03PM +0800, Bin Meng wrote: >> Hi Tom, >> >> On Wed, Nov 20, 2019 at 10:22 PM Tom Rini wrote: >>> On Wed, Nov 20, 2019 at 10:11:00AM +0800, Bin Meng wrote: Hi Tom, On Fri, Nov 15, 2019 at 4:21 PM Bin Meng wrote:

Re: [U-Boot] [PATCH 1/4] mmc: meson-gx: Fix tx phase in the tuning process

2019-11-27 Thread Neil Armstrong
Hi, On 26/11/2019 22:12, Anand Moon wrote: > odroid n2 eMMC module would failed to boot up, > because of TX phase clk failure, fix the typo in > TX phase macro to help tune correct clk freqency. > > Before these changes. > clock is enabled (380953Hz) > clock is enabled (2500Hz) > after

[U-Boot] Using sspi for hardware detection?

2019-11-27 Thread Romain Naour
Hello, I'm working on a modular socfpga based system with several optional boards. Each optional board contain a board ID that can be read through a SPI bus. Since we want just read the board ID, we used manually the sspi command, something like: => sspi 1:1.0 8 0 42 But it seems that the sspi

Re: [U-Boot] [PATCH 2/4] configs: meson64: enable GIC support for G12A/G12B

2019-11-27 Thread Neil Armstrong
On 26/11/2019 22:12, Anand Moon wrote: > Enable GIC support for G12A/G12B platform. > > Signed-off-by: Anand Moon > --- > include/configs/meson64.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/meson64.h b/include/configs/meson64.h > index

Re: [U-Boot] [PATCH 3/4] board: amlogic: select PWRSEQ for all amlogic platform

2019-11-27 Thread Neil Armstrong
On 26/11/2019 22:12, Anand Moon wrote: > commit a10388dc6982 ("mmc: meson-gx: add support for mmc-pwrseq-emmc") > introduce CONFIG_PWESEQ for power sequence for eMMC module on > amlogic platform, so enable this to all amlogic boards. > > Signed-off-by: Anand Moon > --- >

Re: [U-Boot] [PATCH] bootm: vxworks: Support Linux compatible standard DTB for ARM and PPC

2019-11-27 Thread Tom Rini
On Wed, Nov 27, 2019 at 02:03:03PM +0800, Bin Meng wrote: > Hi Tom, > > On Wed, Nov 20, 2019 at 10:22 PM Tom Rini wrote: > > > > On Wed, Nov 20, 2019 at 10:11:00AM +0800, Bin Meng wrote: > > > Hi Tom, > > > > > > On Fri, Nov 15, 2019 at 4:21 PM Bin Meng wrote: > > > > > > > > From: Lihua Zhao

Re: [U-Boot] [PATCH 4/4] board: amlogic: Add missing config option

2019-11-27 Thread Neil Armstrong
Hi, On 26/11/2019 22:12, Anand Moon wrote: > Add missing config option CONFIG_MESON_GXBB and CONFIG_SYS_BOARD, > for odroid-c2 and nanopi k2 board > > Signed-off-by: Anand Moon > --- > configs/nanopi-k2_defconfig | 2 ++ > configs/odroid-c2_defconfig | 2 ++ > 2 files changed, 4 insertions(+)

[U-Boot] [RFC PATCH] ARM: at91: Print CPU serial number in cpuinfo

2019-11-27 Thread Alexander Dahl
The SAMA5D2 and SAMA5D4 series SoCs have a 64-bit Serial Number (unique ID) burned in, which is displayed with 'print_cpuinfo()' now (in the same format the SAM-BA applet prints it). Example output: CPU: SAMA5D27 1G bits DDR2 SDRAM Serial number 0: 0x4630394b 1: 0x190d2750 Crystal

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

2019-11-27 Thread Marek Szyprowski
Hi, On 27.11.2019 03:26, AKASHI Takahiro wrote: > Thank you for the heads-up. > > On Tue, Nov 26, 2019 at 11:57:29AM -0500, Tom Rini wrote: >> On Tue, Nov 26, 2019 at 09:15:07AM +0100, Marek Szyprowski wrote: >> >>> The code for handing file overwrite incorrectly assumed that the file on >>> disk

Re: [U-Boot] [PATCH v1 4/4] x86: edison: Enable DFU timeout

2019-11-27 Thread Lukasz Majewski
Hi Andy, > The stock U-Boot on Intel Edison has timeout parameter for DFU > command. Enable it here to be compatible with the original U-Boot > configuration. > > Signed-off-by: Andy Shevchenko > --- > configs/edison_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [U-Boot] [PATCH v1 3/4] dfu: Add optional timeout parameter

2019-11-27 Thread Lukasz Majewski
Hi Andy, Thank you for your work on enhancing DFU. The patch series is generally Ok. Please find some minor comments/requests below. > When the `dfu` command is called from the U-Boot environment, > it now accepts an optional parameter that specifies a timeout (in > seconds). If a DFU

Re: [U-Boot] [PATCH v1 1/4] dfu: Drop unused prototype of dfu_trigger_reset()

2019-11-27 Thread Lukasz Majewski
On Wed, 13 Nov 2019 19:43:41 +0200 Andy Shevchenko wrote: > After the commit 1cc03c5c53c0 ("dfu: Provide means to find difference > between dfu-util -e and -R") the dangling ptototype appeared. Remove > it here. > > Fixes: 1cc03c5c53c0 ("dfu: Provide means to find difference between > dfu-util

Re: [U-Boot] [PATCH v1 2/4] dfu: Refactor do_dfu() to handle optional argument

2019-11-27 Thread Lukasz Majewski
On Wed, 13 Nov 2019 19:43:42 +0200 Andy Shevchenko wrote: > In the future we may utilize optional argument in 'dfu' command line. > As a preparation for this, refactor do_dfu(). > > Signed-off-by: Andy Shevchenko > --- > cmd/dfu.c | 17 ++--- > 1 file changed, 10 insertions(+), 7

  1   2   >