Re: [PATCH v2] arm: exynos: Read default MMC device from XOM[7:5] pins

2020-01-22 Thread Marek Szyprowski
Hi On 23.01.2020 08:33, Minkyu Kang wrote: > On 23/01/2020 16:20, Marek Szyprowski wrote: >> On 23.01.2020 08:09, Minkyu Kang wrote: >>> On 17/01/2020 22:02, Marek Szyprowski wrote: XOM pins provide information for iROM bootloader about the boot device. Those pins are mapped to lower

Re: [PATCH v2] arm: exynos: Read default MMC device from XOM[7:5] pins

2020-01-22 Thread Minkyu Kang
Hi! On 23/01/2020 16:20, Marek Szyprowski wrote: > Hi Minkyu, > > On 23.01.2020 08:09, Minkyu Kang wrote: >> On 17/01/2020 22:02, Marek Szyprowski wrote: >>> XOM pins provide information for iROM bootloader about the boot device. >>> Those pins are mapped to lower bits of OP_MODE register

Re: [PATCH v3 03/10] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-22 Thread Baruch Siach
Hi Joel, On Wed, Jan 22, 2020 at 07:28:51PM +, Joel Johnson wrote: > On January 22, 2020 10:32:58 AM UTC, Baruch Siach wrote: > >On Wed, Jan 22 2020, Joel Johnson wrote: > >> On 2020-01-21 10:49, Baruch Siach wrote: > >>> On Tue, Jan 21, 2020 at 10:32:17AM -0700, Joel Johnson wrote: >

Re: [PATCH v2] arm: exynos: Read default MMC device from XOM[7:5] pins

2020-01-22 Thread Marek Szyprowski
Hi Minkyu, On 23.01.2020 08:09, Minkyu Kang wrote: > On 17/01/2020 22:02, Marek Szyprowski wrote: >> XOM pins provide information for iROM bootloader about the boot device. >> Those pins are mapped to lower bits of OP_MODE register (0x1008), >> which is common for all Exynos SoC variants. Set

RE: [EXT] Re: [Patch v4] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-22 Thread Kuldeep Singh
Hi Joe, > -Original Message- > From: Schrempf Frieder > Sent: Monday, January 13, 2020 3:11 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Joe Hershberger ; Thomas Hebb > ; Patrick Delaunay ; > Priyanka Jain > Subject: [EXT] Re: [Patch v4] net: pfe_eth: Use spi_flash_read API to

Re: [PATCH v2] arm: exynos: Read default MMC device from XOM[7:5] pins

2020-01-22 Thread Minkyu Kang
Hi, On 17/01/2020 22:02, Marek Szyprowski wrote: > XOM pins provide information for iROM bootloader about the boot device. > Those pins are mapped to lower bits of OP_MODE register (0x1008), > which is common for all Exynos SoC variants. Set the default MMC device id > to reflect the boot

Re: [PATCH v3 05/10] arm: mvebu: clearfog: Add SATA mode flags

2020-01-22 Thread Baruch Siach
Hi Joel, On Tue, Jan 21, 2020 at 10:32:19AM -0700, Joel Johnson wrote: > The mPCIe slots on ClearFog Pro and ClearFog Base may be alternately > configured for SATA usage. > > Signed-off-by: Joel Johnson > > --- > > v2 changes: > - fixed help indentation > v3 changes: > - none > > --- >

[PATCH] mmc: remove unneeded forward declarations

2020-01-22 Thread Masahiro Yamada
These functions are defined before the callers. Signed-off-by: Masahiro Yamada --- drivers/mmc/mmc.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index b26e266c1c29..dd8e29460cef 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -24,10

Re: [PATCH v3 04/10] arm: mvebu: clearfog: Use Pro DT by default

2020-01-22 Thread Baruch Siach
Hi Joel, On Tue, Jan 21, 2020 at 10:32:18AM -0700, Joel Johnson wrote: > Switch to explicitly using the Pro variant DT, which has been > available since Linux 4.11. Also unify the location of DT selection > in board_late_init instead of split between detection and static > configuration paths. >

[PATCH v4] board: fsl: lx2160a: Add support to reset to eMMC

2020-01-22 Thread Meenakshi Aggarwal
Add support of "qixis_reset emmc" command for lx2160a based platforms Signed-off-by: Meenakshi Aggarwal --- Changes: v2: - update in commit message - using set_rcw_src() in place of QIXIS_WRITE() v3: - update in commit message v4: -incorporated review comments

RE: [PATCH v3] board: fsl: lx2160a: Add support to reset to eMMC

2020-01-22 Thread Meenakshi Aggarwal
> -Original Message- > From: Priyanka Jain (OSS) > Sent: Wednesday, January 22, 2020 4:34 PM > To: Meenakshi Aggarwal ; u- > b...@lists.denx.de > Subject: RE: [PATCH v3] board: fsl: lx2160a: Add support to reset to eMMC > > > > >-Original Message- > >From: U-Boot On Behalf

RE: [EXT] Issue with saveenv() and the QSPI NOR memory MICRON MT25QU01GBBB

2020-01-22 Thread Kuldeep Singh
Hi Florian, > -Original Message- > From: U-Boot On Behalf Of > florian.man...@siemens.com > Sent: Wednesday, January 22, 2020 7:13 PM > To: u-boot@lists.denx.de > Cc: daniel.schert...@siemens.com > Subject: [EXT] Issue with saveenv() and the QSPI NOR memory MICRON > MT25QU01GBBB > >

[PATCH] Kconfig/fpgad: Add dependencies

2020-01-22 Thread Olliver Schinagl
Until the fpgad command is converted to driver model; it will depend on some drivers to implement said features. cmd/built-in.o: In function `do_fpga_md': cmd/fpgad.c:73: undefined reference to `fpga_get_reg' cmd/fpgad.c:85: undefined reference to `fpga_ptr'

Re: [PATCH v3 03/10] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-22 Thread Stefan Roese
On 22.01.20 20:28, Joel Johnson wrote: It probably makes more sense to reverse the order of ORed conditions: if (IS_ENABLED(TARGET_CLEARFOG_BASE) || sr_product_is(_tlv_data, "Clearfog Base")) IS_ENABLED() is evaluated at build time. When it is true, the

Re: [PATCH] mmc: check the return value of mmc_select_mode_and_width()

2020-01-22 Thread Jaehoon Chung
On 1/23/20 2:31 PM, Masahiro Yamada wrote: > Since commit 01298da31d92 ("mmc: Change mode when switching to a boot > partition"), errors in mmc_select_mode_and_width() are ignored. > The return value should be checked. > > Fixes: 01298da31d92 ("mmc: Change mode when switching to a boot

Re: [RFC] Vocore2 MMC needs clock patches

2020-01-22 Thread Stefan Roese
Hi Maruo, On 22.01.20 21:16, Mauro Condarelli wrote: Hi Stefan, On 1/21/20 1:08 PM, Stefan Roese wrote: Hi Mauro, On 21.01.20 12:27, Mauro Condarelli wrote: Thanks Weijie, I made the changes You suggested. I have also seen You sent a new version of Your patches. Since mine are based on

Re: [PATCH v2 01/11] clk: Always use the supplied struct clk

2020-01-22 Thread Sean Anderson
> [1] https://patchwork.ozlabs.org/patch/1215327/ > [2] https://patchwork.ozlabs.org/patch/1215328/ err, these references should be [1] https://patchwork.ozlabs.org/patch/1215335/ [2] https://patchwork.ozlabs.org/patch/1215337/

[PATCH] mmc: check the return value of mmc_select_mode_and_width()

2020-01-22 Thread Masahiro Yamada
Since commit 01298da31d92 ("mmc: Change mode when switching to a boot partition"), errors in mmc_select_mode_and_width() are ignored. The return value should be checked. Fixes: 01298da31d92 ("mmc: Change mode when switching to a boot partition") Signed-off-by: Masahiro Yamada ---

Re: [Patchv4 1/3] mmc: meson-gx: Fix clk phase tuning for MMC

2020-01-22 Thread Anand Moon
Hi Jaehoon, On Thu, 23 Jan 2020 at 05:09, Jaehoon Chung wrote: > > Dear Anand, > > On 1/22/20 9:06 PM, Anand Moon wrote: > > As per mainline line kernel fix the clk tunig phase for > > mmc, set Core=180, Tx=180, Rx=0 clk phase for mmc initialization. > > As per S905X and S922X datasheet set the

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-22 Thread Keerthy
On 22/01/20 9:55 pm, Andrew F. Davis wrote: On 1/21/20 8:10 PM, keerthy wrote: On 1/21/2020 6:26 PM, Andrew F. Davis wrote: On 1/21/20 6:07 AM, Keerthy wrote: Add MAIN domain R5FSS0 remoteproc support from spl. This enables loading the elf firmware in SPL and starting the remotecore. In

Re: [PATCH v2 7/7] board: presidio-asic: Add basic G3 engr. development board support

2020-01-22 Thread Alex Nemirovsky
Hi Daniel, We have a question about one of your feedback points. > On Jan 22, 2020, at 1:24 PM, Daniel Schwierzeck > wrote: > > > > the defconfig file must not created manually, try this: > > make savedefconfig > cp defconfig configs/cortina_presidio-asic-base_defconfig We can

[PATCH] common: blk: fix comment about blkcache_read return value

2020-01-22 Thread Eric Nelson
The blkcache_read() routine returns 1 (true) to indicate that a block was found in the cache and returned, or 0 if not. Signed-off-by: Eric Nelson --- include/blk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/blk.h b/include/blk.h index 65db69f5d9..6f541bb2ba

[PATCH] Optionally: Set the serial# environment variable on the i.MX7.

2020-01-22 Thread Mark Grosberg
Enabline this new option allows the kernel to obtain the unique ID of the CPU when not using ATAGS. Signed-off-by: Mark G --- arch/arm/include/asm/bootm.h | 2 +- arch/arm/mach-imx/mx7/Kconfig | 7 +++ arch/arm/mach-imx/mx7/soc.c | 15 ++- 3 files changed, 22

[PATCH] common/board_f.c: Remove arch-specific checks for cpucheck

2020-01-22 Thread Ovidiu Panait
This removes the arch-specific checks for "checkcpu" function from the init sequence. Make "checkcpu" generic and provide a weak nop stub instead. Signed-off-by: Ovidiu Panait --- common/board_f.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/board_f.c

[PATCH] board: novtech: meerkat96: use correct mmc driver

2020-01-22 Thread Carl Gelfand
When the board was originally submitted, it was attempting to use the ESDHC driver. The board uses the USDHC driver. Signed-off-by: Carl Gelfand Cc: Shawn Guo (maintainer:MEERKAT96 BOARD) --- configs/meerkat96_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] common: add blkcache init

2020-01-22 Thread Eric Nelson
Thanks Angelo, On 1/21/20 2:37 AM, Angelo Dureghello wrote: From: Angelo Durgehello On m68k, block_cache list is relocated, but next and prev list pointers are not adjusted to the relocated struct list_head address, so the first iteration over the block_cache list hangs. This patch

Re: [Patchv4 1/3] mmc: meson-gx: Fix clk phase tuning for MMC

2020-01-22 Thread Jaehoon Chung
Dear Anand, On 1/22/20 9:06 PM, Anand Moon wrote: > As per mainline line kernel fix the clk tunig phase for > mmc, set Core=180, Tx=180, Rx=0 clk phase for mmc initialization. > As per S905X and S922X datasheet set the default values > for clk tuning. > > Signed-off-by: Anand Moon > --- >

Re: [U-Boot] [PATCH v2] spl: Move check for SPL_LIBCOMMON support to header

2020-01-22 Thread Tom Rini
On Tue, Jan 07, 2020 at 06:36:23PM -0500, Andrew F. Davis wrote: > Print statements in SPL depend on lib/common support, due to this many > such print statements are ifdef'd. Instead of checking at each call site > move the check to the common.h header and remove these inline checks. > >

Re: [PATCH v2 7/7] board: presidio-asic: Add basic G3 engr. development board support

2020-01-22 Thread Alex Nemirovsky
Hi Daniel, Thanks for your feedback and guidance. I grok all except the recommendation about migrating out the definition of GICD_BASE and GIDCC_BASE. your comment was: +/* Generic Interrupt Controller Definitions */ +#define GICD_BASE 0xf7011000 +#define GICC_BASE 0xf7012000 don't put register

[PATCH 1/3] mmc: sdhci: use phys2bus macro when dma address is accessed

2020-01-22 Thread Jaehoon Chung
Use phys2bus macro when dma address is accessed. Some targets need to use pyhs2bus macro. (e.g, RPI4) After applied it, SDMA mode can be used. Signed-off-by: Jaehoon Chung --- drivers/mmc/sdhci.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/sdhci.c

[PATCH 0/3] Support SDMA mode on RPI4 target - 32bit

2020-01-22 Thread Jaehoon Chung
RPI4's SDHCI controller is supported SDMA mode. (Checked on kernel side) But It doesn't use on u-boot side. Then it's too slow about read/write performance. This patchset is supported SDMA mode on RPI4 target(32bit). - I didn't test on RPI4 64bit. Read/write time about 8MB file Before - Read :

[PATCH 3/3] configs: rpi_4_32b_defconfig: enable SDHCI_SDMA config

2020-01-22 Thread Jaehoon Chung
Enable SDHCI_SDMA configuration. Signed-off-by: Jaehoon Chung --- configs/rpi_4_32b_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rpi_4_32b_defconfig b/configs/rpi_4_32b_defconfig index 00f80f71ad..8fbadc0bc8 100644 --- a/configs/rpi_4_32b_defconfig +++

[PATCH 2/3] mmc: sdhci: not return error when SDMA is not supported

2020-01-22 Thread Jaehoon Chung
If Host controller doesn't support SDMA, it doesn't need to return error. Because it can be worked with PIO mode. Signed-off-by: Jaehoon Chung --- drivers/mmc/sdhci.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index

Re: [PATCH v2 7/7] board: presidio-asic: Add basic G3 engr. development board support

2020-01-22 Thread Daniel Schwierzeck
Am 21.01.20 um 11:19 schrieb Alex Nemirovsky: > Add basic Presidio G3 engineering board support > > Signed-off-by: Alex Nemirovsky > --- > > Changes in v2: None > > arch/arm/Kconfig | 5 ++ > arch/arm/dts/Makefile| 2 + >

Re: [RFC] Vocore2 MMC needs clock patches

2020-01-22 Thread Mauro Condarelli
Hi, I'm clearly out of my depth: => icache flush No arch specific invalidate_icache_all available! => dcache flush No arch specific flush_dcache_all available! => icache off  => dcache off  Ooops: $ 0   : 87e806c8 $ 4   : ffd0 0014 87e80518 87fce61c $ 8   :

Re: [PATCH v2 6/7] serial: serial_cortina: add UART DM driver for CAxxxx SoCs

2020-01-22 Thread Daniel Schwierzeck
Am 21.01.20 um 11:19 schrieb Alex Nemirovsky: > From: Jason Li > > Add serial UART driver support for all Cortina Access > CA family of SoCs. > > Signed-off-by: Jason Li > Signed-off-by: Alex Nemirovsky > > > --- > > Changes in v2: > - Rename driver in DT namespace for consistency

Re: [PATCH v2 5/7] watchdog: cortina_wdt: add support for HW WDT on CAxxxx SoCs

2020-01-22 Thread Daniel Schwierzeck
Am 21.01.20 um 11:19 schrieb Alex Nemirovsky: > From: Jason Li > > Add support for hardware watchdog timer on all Cortina Access > CA family of SoCs. > > Reviewed-by: Stefan Roese > Signed-off-by: Jason Li > Signed-off-by: Alex Nemirovsky > > > --- > > Changes in v2: > - Rename

Re: [PATCH v2 4/7] gpio: cortina_gpio: add DM_GPIO driver for CAxxxx SoCs

2020-01-22 Thread Daniel Schwierzeck
Am 21.01.20 um 11:19 schrieb Alex Nemirovsky: > From: Jason Li > > DM_GPIO based GPIO controller driver for CA SoCs. > This driver support multiple CPU architectures and > Cortina Access SoC platforms. > > Signed-off-by: Jason Li > Signed-off-by: Alex Nemirovsky > > > --- > >

Re: [RFC] Vocore2 MMC needs clock patches

2020-01-22 Thread Mauro Condarelli
Hi Stefan, On 1/21/20 1:08 PM, Stefan Roese wrote: > Hi Mauro, > > On 21.01.20 12:27, Mauro Condarelli wrote: >> Thanks Weijie, >> I made the changes You suggested. >> I have also seen You sent a new version of Your patches. >> Since mine are based on yours I *think* I should suspend >> sending

Re: [PATCH v3 03/10] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-22 Thread Joel Johnson
On January 22, 2020 10:32:58 AM UTC, Baruch Siach wrote: >Hi Joel, > >On Wed, Jan 22 2020, Joel Johnson wrote: >> On 2020-01-21 10:49, Baruch Siach wrote: >>> On Tue, Jan 21, 2020 at 10:32:17AM -0700, Joel Johnson wrote: Add a unique entry for ClearFog Base variant, reflected in the

Re: [PATCH] env: another attempt at fixing SPL build failures

2020-01-22 Thread Tom Rini
On Sun, Jan 12, 2020 at 08:23:02PM +, Rasmus Villemoes wrote: > On 11/01/2020 23.44, Rasmus Villemoes wrote: > > On 10/01/2020 15.34, Tom Rini wrote: > >> On Fri, Jan 10, 2020 at 02:28:54PM +, Rasmus Villemoes wrote: > >>> On 15/12/2019 23.29, Rasmus Villemoes wrote: > I'm also seeing

Re: Please pull u-boot-marvell/master v2

2020-01-22 Thread Tom Rini
On Tue, Jan 21, 2020 at 04:00:01PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the 2nd batch of MVEBU related patches in this merge > window: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 0/3] Ethernet support for Raspberry Pi 4

2020-01-22 Thread Matthias Brugger
On 22/01/2020 18:34, Andre Przywara wrote: > On Wed, 22 Jan 2020 18:18:39 +0100 > Matthias Brugger wrote: > > Hi Matthias, > >> On 17/01/2020 02:20, Andre Przywara wrote: >>> This series adds Ethernet support for the Raspberry Pi 4. The SoC >>> includes a "Broadcom Genet v5 MAC" IP,

Re: [RFC PATCH 0/5] arm: Restore minimal support for ST-Ericsson U8500 SoC

2020-01-22 Thread Tom Rini
On Wed, Jan 22, 2020 at 05:47:07PM +0100, Stephan Gerhold wrote: > Hi Tom, > > On Sat, Jan 04, 2020 at 06:45:14PM +0100, Stephan Gerhold wrote: > > This patch series restores minimal U-Boot support for > > the ST-Ericsson NovaThor U8500 SoC. > > > > Previous support for U8500 was removed in > >

Re: [PATCH v2 1/3] net: Add support for Broadcom GENETv5 Ethernet controller

2020-01-22 Thread Andre Przywara
On Wed, 22 Jan 2020 18:22:47 +0100 Daniel Schwierzeck wrote: Hi, > Am 22.01.20 um 16:36 schrieb Andre Przywara: > > On Wed, 22 Jan 2020 16:02:22 +0100 > > Daniel Schwierzeck wrote: > > > > Hi Daniel, > > > >> Am 17.01.20 um 02:20 schrieb Andre Przywara: > >>> From: Amit Singh Tomar >

Re: [PATCH v3 0/9] am57xx: Implement Android 10 boot flow

2020-01-22 Thread Bajjuri, Praneeth
+ Sam Protsenko's current email address On 1/22/2020 11:51 AM, Bajjuri, Praneeth wrote: Tom, On 12/24/2019 1:54 PM, Sam Protsenko wrote: Android 10 brings a lot of new requirements for bootloaders: [1]. This patch series attempts to implement such a boot process on BeagleBoard X15 platform.

Re: [PATCH v3 0/9] am57xx: Implement Android 10 boot flow

2020-01-22 Thread Bajjuri, Praneeth
Tom, On 12/24/2019 1:54 PM, Sam Protsenko wrote: Android 10 brings a lot of new requirements for bootloaders: [1]. This patch series attempts to implement such a boot process on BeagleBoard X15 platform. Some common code is added too, which can be reused later for other platforms (see

Re: [PATCH] arm: Enable VIDEO_BPP32 on pinebook.

2020-01-22 Thread Maxime Ripard
On Sat, Jan 18, 2020 at 05:00:52PM -0500, Tom Rini wrote: > On Sat, Jan 18, 2020 at 12:03:02PM -0800, Vagrant Cascadian wrote: > > On 2020-01-18, Maxime Ripard wrote: > > > On Sat, Jan 18, 2020 at 03:15:15AM -0800, Vagrant Cascadian wrote: > > >> Video output on the pinebook LCD screen was broken

Re: [PATCH] imx: distinguish POR from POR+WDOG reset cause for first wd

2020-01-22 Thread Fabio Estevam
Hi Flavio, On Wed, Jan 22, 2020 at 11:18 AM Flavio Suligoi wrote: > > In some application the possibility to check if the reset > is caused by a watchdog is essential, even if it occurs > simultaneously with POR. > > Signed-off-by: Flavio Suligoi > --- > arch/arm/mach-imx/cpu.c | 7 ++- >

Re: [PATCH v2 0/3] Ethernet support for Raspberry Pi 4

2020-01-22 Thread Andre Przywara
On Wed, 22 Jan 2020 18:18:39 +0100 Matthias Brugger wrote: Hi Matthias, > On 17/01/2020 02:20, Andre Przywara wrote: > > This series adds Ethernet support for the Raspberry Pi 4. The SoC > > includes a "Broadcom Genet v5 MAC" IP, connected as a proper platform > > device (no USB anymore!).

Re: [PATCH v2 1/3] net: Add support for Broadcom GENETv5 Ethernet controller

2020-01-22 Thread Daniel Schwierzeck
Am 22.01.20 um 16:36 schrieb Andre Przywara: > On Wed, 22 Jan 2020 16:02:22 +0100 > Daniel Schwierzeck wrote: > > Hi Daniel, > >> Am 17.01.20 um 02:20 schrieb Andre Przywara: >>> From: Amit Singh Tomar >>> >>> The Broadcom GENET Ethernet MACs are used in several MIPS based SoCs >>> and in

Re: [PATCH v2 0/3] Ethernet support for Raspberry Pi 4

2020-01-22 Thread Matthias Brugger
Hi Andre, Hi All, On 17/01/2020 02:20, Andre Przywara wrote: > This series adds Ethernet support for the Raspberry Pi 4. The SoC > includes a "Broadcom Genet v5 MAC" IP, connected as a proper platform > device (no USB anymore!). Patch 1 provides a driver for that. There does > not seem to be

Re: [PATCH v2 4/4] board_f.c: Insure 16 alignment of start_addr_sp and reserved memory

2020-01-22 Thread Stephen Warren
On 1/22/20 6:52 AM, Patrick Delaunay wrote: Add a function reserve_sp() to reserved memory with 16 bits alignment after the stack pointer (gd->start_addr_sp) and use this new function in board_f.c to reserve all the memory area (malloc, board, gd, fdt, bootstage, stacks). This 16 byte alignment

Re: [PATCH v2 1/4] board_f.c: Insure gd->new_bootstage alignment

2020-01-22 Thread Stephen Warren
On 1/22/20 6:52 AM, Patrick Delaunay wrote: From: Patrice Chotard In reserve_bootstage(), in case size is odd, gd->new_bootstage is not aligned. In bootstage_relocate(), the platform hangs when getting access to data->record[i].name. To avoid this issue, make gd->new_bootstage 16 byte aligned.

Re: [RFC PATCH 0/5] arm: Restore minimal support for ST-Ericsson U8500 SoC

2020-01-22 Thread Stephan Gerhold
Hi Tom, On Sat, Jan 04, 2020 at 06:45:14PM +0100, Stephan Gerhold wrote: > This patch series restores minimal U-Boot support for > the ST-Ericsson NovaThor U8500 SoC. > > Previous support for U8500 was removed in > commit 68282f55b846 ("arm: Remove unused ST-Ericsson u8500 arch") > since none of

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-22 Thread Andrew F. Davis
On 1/21/20 8:10 PM, keerthy wrote: > > > On 1/21/2020 6:26 PM, Andrew F. Davis wrote: >> On 1/21/20 6:07 AM, Keerthy wrote: >>> Add MAIN domain R5FSS0 remoteproc support from spl. This enables >>> loading the elf firmware in SPL and starting the remotecore. >>> >>> In order to start the core,

Re: [Patchv4 3/3] arm: dts: Add cd-gpio for eMMC

2020-01-22 Thread Anand Moon
Hi Neil, On Wed, 22 Jan 2020 at 17:45, Neil Armstrong wrote: > > Hi, > > On 22/01/2020 13:06, Anand Moon wrote: > > Add cd-gpio property for eMMC node. > > > > Signed-off-by: Anand Moon > > --- > > New patch in this series > > --- > > arch/arm/dts/meson-g12b-odroid-n2.dts | 1 + > > 1 file

Re: [Patchv4 2/3] arm: dts: Add mmc alias to avoid warning

2020-01-22 Thread Anand Moon
Hi Neil, On Wed, 22 Jan 2020 at 17:44, Neil Armstrong wrote: > > > Hi, > > On 22/01/2020 13:06, Anand Moon wrote: > > Add missing mmc alias to dts nodes to avoid > > below debug warning. > > > > mmc_bind: alias ret=-2, devnum=-1 > > mmc_bind: alias ret=-2, devnum=-1 > > > > Signed-off-by: Anand

[BUG] binman: Add a library to access binman entries

2020-01-22 Thread Frank Wunderlich
Hi, this Patch seems to break init-chain at least on bpi-r64 if BINMAN_FDT not disabled (enabled by default). adding some code for debugging 38 int binman_init(void) 39 { 40 binman = malloc(sizeof(struct binman_info)); 41 printf("%s:%d",__FUNCTION__,__LINE__); 42 if

Re: [PATCH v2 1/3] net: Add support for Broadcom GENETv5 Ethernet controller

2020-01-22 Thread Andre Przywara
On Wed, 22 Jan 2020 16:02:22 +0100 Daniel Schwierzeck wrote: Hi Daniel, > Am 17.01.20 um 02:20 schrieb Andre Przywara: > > From: Amit Singh Tomar > > > > The Broadcom GENET Ethernet MACs are used in several MIPS based SoCs > > and in the Broadcom 2711/2838 SoC used on the Raspberry Pi 4. > >

[RFC PATCH 1/4] x86: apl: Add the term "Interrupt Timer Subsystem" to ITSS files

2020-01-22 Thread Wolfgang Wallner
ITSS stands for "Interrupt Timer Subsystem", so add that term to the description of the relevant files. Signed-off-by: Wolfgang Wallner --- ITSS stands for "Interrupt Timer Subsystem", at least according to coreboot [1]. [1] https://coreboot.org/status/kconfig-options.html

Re: [PATCH v2 1/3] net: Add support for Broadcom GENETv5 Ethernet controller

2020-01-22 Thread Daniel Schwierzeck
Am 17.01.20 um 02:20 schrieb Andre Przywara: > From: Amit Singh Tomar > > The Broadcom GENET Ethernet MACs are used in several MIPS based SoCs > and in the Broadcom 2711/2838 SoC used on the Raspberry Pi 4. > There is no publicly available documentation, so this driver is based > on the Linux

[RFC PATCH 4/4] x86: itss: Remove apl-prefix

2020-01-22 Thread Wolfgang Wallner
The Interrupt Timer Subsystem (ITSS) is not specific to Apollo Lake, so remove the apl-prefix of the implemented functions/structures/... Signed-off-by: Wolfgang Wallner --- arch/x86/cpu/intel_common/itss.c | 56 +++ arch/x86/dts/chromebook_coral.dts | 2 +- 2

[RFC PATCH 3/4] x86: Move itss.c from Apollo Lake to a more generic location

2020-01-22 Thread Wolfgang Wallner
The Interrupt Timer Subsystem (ITSS) is not specific to Apollo Lake, so move it to a common location within arch/x86. Signed-off-by: Wolfgang Wallner --- At the moment, this commit enables building of itss.o unconditionally. which is a bad idea I guess. What is the preferred way to handle this?

[RFC PATCH 0/4] x86: Move ITSS from Apollo Lake to a more generic location

2020-01-22 Thread Wolfgang Wallner
The Interrupt Timer Subsystem (ITSS) is not specific to Apollo Lake, so move it to a more generic location. Additionally, the series adds the term "Interrupt Timer Subsystem" for ITSS in the file descriptions. Moving the ITSS implementation out of the Apllo Lake-specific folders not only allows

[RFC PATCH 2/4] x86: Move itss.h from Apollo Lake to the generic x86 include directory

2020-01-22 Thread Wolfgang Wallner
The code in this file is not specific to Apollo Lake. According to coreboot sources (where this code comes from), it is common to at least: * Apollo Lake * Cannon Lake * Ice Lake * Skylake Signed-off-by: Wolfgang Wallner --- arch/x86/cpu/apollolake/itss.c| 2 +-

Antwort: Re: Re: Apollo Lake GPIO driver with Coreboot/U-Boot

2020-01-22 Thread Wolfgang Wallner
Hi Simon, > Hi Wolfgang, > > On Sat, 18 Jan 2020 at 00:56, Wolfgang Wallner > wrote: > > > > Hello Simon, > > > > > -"Simon Glass" schrieb: - > > > On Thu, 16 Jan 2020 at 02:55, Wolfgang Wallner > > > wrote: > > > > > > > > Hello Simon, Bin, all, > > > > > > > > I have an Apollo Lake

[PATCH] imx: distinguish POR from POR+WDOG reset cause for first wd

2020-01-22 Thread Flavio Suligoi
In some application the possibility to check if the reset is caused by a watchdog is essential, even if it occurs simultaneously with POR. Signed-off-by: Flavio Suligoi --- arch/arm/mach-imx/cpu.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/cpu.c

RE: [PATCH v3] board_f.c: Insure gd->new_bootstage alignment

2020-01-22 Thread Patrick DELAUNAY
Hi Tom, > From: Tom Rini > Sent: mercredi 22 janvier 2020 00:18 > > On Thu, Jan 09, 2020 at 05:23:51PM +, Patrick DELAUNAY wrote: > > Hi, > > > > > From: Patrick DELAUNAY > > > Sent: mardi 7 janvier 2020 13:07 > > > > > > Hi Patrice and Tom > > > > > > > Sent: mercredi 18 décembre 2019

[PATCH v2 0/4] Insure 16 alignment of reserved memory in board_f.c

2020-01-22 Thread Patrick Delaunay
Hi, It is a V2, rebased on master branch, for the untitled serie http://patchwork.ozlabs.org/project/uboot/list/?series=152226 This serie now include the previous patch: [U-Boot,v3] board_f.c: Insure gd->new_bootstage alignment http://patchwork.ozlabs.org/patch/1201452/ After this first

[PATCH v2 1/4] board_f.c: Insure gd->new_bootstage alignment

2020-01-22 Thread Patrick Delaunay
From: Patrice Chotard In reserve_bootstage(), in case size is odd, gd->new_bootstage is not aligned. In bootstage_relocate(), the platform hangs when getting access to data->record[i].name. To avoid this issue, make gd->new_bootstage 16 byte aligned. To insure that new_bootstage is 16 byte

[PATCH v2 3/4] arm: set the relocated gd with gd->new_gd

2020-01-22 Thread Patrick Delaunay
Simplify the arm relocation behavior and get gd directly form new_gd, as it is already done in crt0_64.S: ldr x18, [x18, #GD_NEW_GD] /* x18 <- gd->new_gd */ This patch avoid assumption on new GD location (new GD is below bd - with #GD_SIZE offset). Signed-off-by: Patrick

[PATCH v2 2/4] Revert "stm32mp1: remove the imply BOOTSTAGE"

2020-01-22 Thread Patrick Delaunay
This reverts the workaround introduced by the commit 16fec9b0bc1a ("stm32mp1: remove the imply BOOTSTAGE") As the bootstage alignment issue is now solved. Signed-off-by: Patrick Delaunay --- Changes in v2: None arch/arm/mach-stm32mp/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 4/4] board_f.c: Insure 16 alignment of start_addr_sp and reserved memory

2020-01-22 Thread Patrick Delaunay
Add a function reserve_sp() to reserved memory with 16 bits alignment after the stack pointer (gd->start_addr_sp) and use this new function in board_f.c to reserve all the memory area (malloc, board, gd, fdt, bootstage, stacks). This 16 byte alignment is needed for cast on struct pointer for the

Re: [PATCH 4/4] mx6sabreauto: Convert to DM_ETH

2020-01-22 Thread Fabio Estevam
On Mon, Jan 20, 2020 at 1:31 PM Alifer Moraes wrote: > > From: Pedro Jardim > > This fixes the following warning: > > = WARNING == > This board does not use CONFIG_DM_ETH (Driver Model > for Ethernet drivers). Please update the board to use > CONFIG_DM_ETH

Re: [PATCH 2/4] mx6sabresd: Convert PCI to driver model

2020-01-22 Thread Fabio Estevam
On Mon, Jan 20, 2020 at 1:31 PM Alifer Moraes wrote: > > Convert imx6sabresd PCI to driver model to fix the following warning: > > = WARNING == > This board does not use CONFIG_DM_PCI Please update > the board to use CONFIG_DM_PCI before the v2019.07

Re: [PATCH 3/4] mx6sabresd: Convert ethernet to driver model

2020-01-22 Thread Fabio Estevam
On Mon, Jan 20, 2020 at 1:23 PM Alifer Moraes wrote: > > Convert imx6sabresd ethernet to driver model to fix the following warning: > > = WARNING == > This board does not use CONFIG_DM_ETH (Driver Model > for Ethernet drivers). Please update the board to

Issue with saveenv() and the QSPI NOR memory MICRON MT25QU01GBBB

2020-01-22 Thread florian.man...@siemens.com
Hello U-Boot team, I am Florian, working at Siemens in Germany. I am in charge of bringing up a custom board based on the processor NXP QorIQ LS1043a. So far, I have been able to bring U-Boot on the board without too much troubles. However I can not get the command 'saveenv' to work. Our

[PATCH v2] genboardscfg.py: drop python version comment

2020-01-22 Thread Baruch Siach
genboardscfg.py requires python 3.x since commit 3bc14098d8fb ("genboardscfg.py: Convert to Python 3"). Cc: Masahiro Yamada Signed-off-by: Baruch Siach --- v2: Remove the comment entirely (Masahiro Yamada) --- tools/genboardscfg.py | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [PATCHv3] cmd/gpt: Address error cases during gpt rename more correctly

2020-01-22 Thread Jordy
Just caught up with all the patches and the final one indeed looks good to me too! Kind Regards, Jordy > On January 22, 2020 2:20 AM Simon Goldschmidt > wrote: > > > On Tue, Jan 21, 2020 at 5:53 PM Tom Rini wrote: > > > > New analysis by the tool has shown that we have some cases where we

Re: [Patchv4 3/3] arm: dts: Add cd-gpio for eMMC

2020-01-22 Thread Neil Armstrong
Hi, On 22/01/2020 13:06, Anand Moon wrote: > Add cd-gpio property for eMMC node. > > Signed-off-by: Anand Moon > --- > New patch in this series > --- > arch/arm/dts/meson-g12b-odroid-n2.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/dts/meson-g12b-odroid-n2.dts >

Re: [Patchv4 2/3] arm: dts: Add mmc alias to avoid warning

2020-01-22 Thread Neil Armstrong
Hi, On 22/01/2020 13:06, Anand Moon wrote: > Add missing mmc alias to dts nodes to avoid > below debug warning. > > mmc_bind: alias ret=-2, devnum=-1 > mmc_bind: alias ret=-2, devnum=-1 > > Signed-off-by: Anand Moon > --- > arch/arm/dts/meson-axg-s400.dts | 2 ++ >

Re: [PATCH] [FS] Print error message for unknown device type

2020-01-22 Thread Wolfgang Denk
Dear Heiko, In message <3546d28c-f638-5357-a20f-5d03db762...@denx.de> you wrote: > > > File system commands like "ls" etc. require a device type parameter. > > If an unknown type is specified, they return an error code but no > > visible feedback to the user: > > > > -> ls FOOBAR 1:1 / > >

Re: [PATCH v2 0/3] Ethernet support for Raspberry Pi 4

2020-01-22 Thread Matthias Brugger
Hi Corentin, On 22/01/2020 11:04, LABBE Corentin wrote: > On Fri, Jan 17, 2020 at 01:20:44AM +, Andre Przywara wrote: >> This series adds Ethernet support for the Raspberry Pi 4. The SoC >> includes a "Broadcom Genet v5 MAC" IP, connected as a proper platform >> device (no USB anymore!).

[Patchv4 3/3] arm: dts: Add cd-gpio for eMMC

2020-01-22 Thread Anand Moon
Add cd-gpio property for eMMC node. Signed-off-by: Anand Moon --- New patch in this series --- arch/arm/dts/meson-g12b-odroid-n2.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/meson-g12b-odroid-n2.dts b/arch/arm/dts/meson-g12b-odroid-n2.dts index 888429b1cc..23ec14abe7

Re: [PATCH] [FS] Print error message for unknown device type

2020-01-22 Thread Nikita Ermakov
On Wed, 22 Jan 2020 at 14:09, Wolfgang Denk wrote: > File system commands like "ls" etc. require a device type parameter. > If an unknown type is specified, they return an error code but no > visible feedback to the user: > > -> ls FOOBAR 1:1 / > -> > > Add an error message to make clear what

[Patchv4 2/3] arm: dts: Add mmc alias to avoid warning

2020-01-22 Thread Anand Moon
Add missing mmc alias to dts nodes to avoid below debug warning. mmc_bind: alias ret=-2, devnum=-1 mmc_bind: alias ret=-2, devnum=-1 Signed-off-by: Anand Moon --- arch/arm/dts/meson-axg-s400.dts | 2 ++ arch/arm/dts/meson-g12a-sei510.dts| 3 +++

[Patchv4 1/3] mmc: meson-gx: Fix clk phase tuning for MMC

2020-01-22 Thread Anand Moon
As per mainline line kernel fix the clk tunig phase for mmc, set Core=180, Tx=180, Rx=0 clk phase for mmc initialization. As per S905X and S922X datasheet set the default values for clk tuning. Signed-off-by: Anand Moon --- Changes from previous v3 Fix the initialization of core clk tunning

[Patchv4 0/3] Odroid n2 using eMMC would fail to boot up

2020-01-22 Thread Anand Moon
Here are some small changes to fix booting of Odroid N2 using eMMC. Fixed the clk tunnig during mmc initialization. Added two new patches to fix warning Build and tested on top of below patches [0] https://patchwork.ozlabs.org/patch/1213648/ [1] https://patchwork.ozlabs.org/patch/1213650/ Tested

Re: [PATCH] Output information about device look up failure.

2020-01-22 Thread Wolfgang Denk
Dear Nikita, In message <20200121221005.9303-1-coff...@gmail.com> you wrote: > In the case of error while device look up (e.g. wrong interface type > was specified) put a message about it even if debug was not enable. > > Signed-off-by: Nikita Ermakov > --- > disk/part.c | 3 +++ > 1 file

Re: [PATCH v2 0/3] Ethernet support for Raspberry Pi 4

2020-01-22 Thread LABBE Corentin
On Fri, Jan 17, 2020 at 01:20:44AM +, Andre Przywara wrote: > This series adds Ethernet support for the Raspberry Pi 4. The SoC > includes a "Broadcom Genet v5 MAC" IP, connected as a proper platform > device (no USB anymore!). Patch 1 provides a driver for that. There does > not seem to be

[PATCH] Output information about device look up failure.

2020-01-22 Thread Nikita Ermakov
In the case of error while device look up (e.g. wrong interface type was specified) put a message about it even if debug was not enable. Signed-off-by: Nikita Ermakov --- disk/part.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/disk/part.c b/disk/part.c index 8982ef3bae..280e3e4f42

Re: [PATCH] [FS] Print error message for unknown device type

2020-01-22 Thread Heiko Schocher
Hello Wolfgang, Am 22.01.2020 um 12:08 schrieb Wolfgang Denk: File system commands like "ls" etc. require a device type parameter. If an unknown type is specified, they return an error code but no visible feedback to the user: -> ls FOOBAR 1:1 / -> Add an error message to make clear what

[PATCH] [FS] Print error message for unknown device type

2020-01-22 Thread Wolfgang Denk
File system commands like "ls" etc. require a device type parameter. If an unknown type is specified, they return an error code but no visible feedback to the user: -> ls FOOBAR 1:1 / -> Add an error message to make clear what happens, and why. Signed-off-by: Wolfgang Denk --- disk/part.c |

RE: [PATCH v3] board: fsl: lx2160a: Add support to reset to eMMC

2020-01-22 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Meenakshi >Aggarwal >Sent: Thursday, January 16, 2020 9:13 PM >To: u-boot@lists.denx.de; Priyanka Jain >Subject: [PATCH v3] board: fsl: lx2160a: Add support to reset to eMMC > >Add support of "qixis_reset emmc" command for lx2160a based

[PATCH 2/2] armv8: ls2088a: Updates secure boot headers offset

2020-01-22 Thread Priyanka Singh
Updates the secure boot headers offsets of Kernel and other firmware images for SD and NOR boot sources used by esbc_validate command. Signed-off-by: Priyanka Singh --- include/configs/ls2080aqds.h | 12 - include/configs/ls2080ardb.h | 52 ++-- 2 files

Re: [PATCH v3 03/10] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-22 Thread Baruch Siach
Hi Joel, On Wed, Jan 22 2020, Joel Johnson wrote: > On 2020-01-21 10:49, Baruch Siach wrote: >> On Tue, Jan 21, 2020 at 10:32:17AM -0700, Joel Johnson wrote: >>> Add a unique entry for ClearFog Base variant, reflected in the board >>> name and adjusted SerDes topology. >>> >>> Signed-off-by: Joel

[PATCH 1/2] armv8: ls1088a: Updates secure boot headers offset

2020-01-22 Thread Priyanka Singh
Updates the secure boot headers offsets of Kernel and other firmware images for SD and QSPI boot sources used by esbc_validate command. Signed-off-by: Priyanka Singh --- include/configs/ls1088aqds.h | 6 ++-- include/configs/ls1088ardb.h | 60 ++-- 2 files

[PATCH 1/1] armv8: lx2160a: Updates secure boot headers offset

2020-01-22 Thread Priyanka Singh
Updates the secure boot headers offsets of Kernel and other firmware images for SD and XSPI boot sources used by esbc_validate command. Signed-off-by: Priyanka Singh --- include/configs/lx2160a_common.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

[PATCH 2/2] armv8: ls1012ardb: Updates secure boot headers offset

2020-01-22 Thread Priyanka Singh
Updates the secure boot headers offsets of Kernel and other firmware images used by esbc_validate command. Signed-off-by: Priyanka Singh --- include/configs/ls1012ardb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1012ardb.h

  1   2   >