Re: [U-Boot] [PATCH v3 060/108] x86: fsp: Allow remembering the location of FSP-S

2019-11-18 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > FSP-S is used by the notify call after it has been used for silicon init. > To avoid having to load it again, add a field to store the location. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > >

Re: [U-Boot] [PATCH v3 058/108] x86: fsp: Set up an MTRR for the graphics frame buffer

2019-11-18 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > The FSP-S may do this but at least for coral it does not. Set this up so This is confusing. Is this bug of the FSP-S on ApolloLake, or the FSP v2 spec does not say anything about it? Guess we need some clarification :) > that

Re: [U-Boot] [PATCH v3 059/108] x86: fsp: Add a new arch_fsp_init_r() hook

2019-11-18 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > With FSP2 we need to run silicon init early after relocation. Add a new > hook for this. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > common/board_r.c | 3 +++ > include/init.h | 11 +++

Re: [U-Boot] [PATCH v3 057/108] x86: fsp: Add FSP2 base support

2019-11-18 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Add support for some important configuration options and FSP memory init. > The memory init uses swizzle tables from the device tree. > > Support for the FSP_S binary is also included. > > Bootstage timing is used for both FSP_M

Re: [U-Boot] [PATCH v3 056/108] x86: fsp: Correct wrong header inlude in fsp_support.c

2019-11-18 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > This generic FSP file should include the generic FSP support header, not > the FSP1 version. Fix it. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/lib/fsp/fsp_support.c | 2 +- > 1 file

Re: [U-Boot] [RFC PATCH] rockchip: tinker: Add automatic board discovery

2019-11-18 Thread Michael Nazzareno Trimarchi
Hi Kever On Tue, Nov 19, 2019 at 1:40 AM Kever Yang wrote: > > > On 2019/11/17 下午6:17, Michael Trimarchi wrote: > > Add a way to detect board id and pcb id. > > > Is there a document for this from vendor? Are they also use these two ids? > > If we can detect tinker vs tinker-s, then we don't

Re: [U-Boot] [v4] armv8: ls1028a: disable multimedia feature when not supported

2019-11-18 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Wen He >Sent: Tuesday, November 19, 2019 8:07 AM >To: u-boot@lists.denx.de >Cc: Andy Tang >Subject: [U-Boot] [v4] armv8: ls1028a: disable multimedia feature when not >supported > >From: Yuantian Tang > >Ls1028a has 4 personalities:

Re: [U-Boot] [PATCH 4/4] mpc83xx: remove unused clock.h

2019-11-18 Thread Priyanka Jain
>-Original Message- >From: Yangbo Lu >Sent: Tuesday, November 12, 2019 4:59 PM >To: u-boot@lists.denx.de >Cc: Peng Fan ; Feng Li ; Alison Wang >; Sumit Garg ; Priyanka Jain >; Mario Six ; Y.b. Lu > >Subject: [PATCH 4/4] mpc83xx: remove unused clock.h > >The clock.h was to define

Re: [U-Boot] [V3 1/2] ata: fsl_sata: Add DM support for Freescale PowerPC SATA driver

2019-11-18 Thread Peng Ma
>-Original Message- >From: Peng Ma >Sent: 2019年11月19日 14:18 >To: Prabhakar X ; w...@denx.de >Cc: ja...@openedev.com; s...@chromium.org; andre.przyw...@arm.com; >s...@denx.de; sm...@web.de; u-boot@lists.denx.de; Peng Ma > >Subject: [V3 1/2] ata: fsl_sata: Add DM support for Freescale

Re: [U-Boot] [V3 2/2] ata: sata_sil: Add DM support for Silicon sata driver

2019-11-18 Thread Peng Ma
>-Original Message- >From: Peng Ma >Sent: 2019年11月19日 14:18 >To: Prabhakar X ; w...@denx.de >Cc: ja...@openedev.com; s...@chromium.org; andre.przyw...@arm.com; >s...@denx.de; sm...@web.de; u-boot@lists.denx.de; Peng Ma > >Subject: [V3 2/2] ata: sata_sil: Add DM support for Silicon sata

[U-Boot] [V3 2/2] ata: sata_sil: Add DM support for Silicon sata driver

2019-11-18 Thread Peng Ma
Add DM support for Silicon(SIL3131 / SIL3132 / SIL3124) sata driver as few of the PowerPC platforms such as P series based boards need to use SATA_SIL with DM, Also fix below warning while PowerPC P series boards compilation, = WARNING ==" This board does

[U-Boot] [V3 1/2] ata: fsl_sata: Add DM support for Freescale PowerPC SATA driver

2019-11-18 Thread Peng Ma
Add DM support for Freescale PowerPC sata driver used for PowerPC T series SoCs, CONFIG_BLK needs to be enabled on these platforms. It adds the SATA controller as AHCI device, which is strictly speaking not correct, as the controller is not AHCI compatible, But the U-Boot AHCI uclass interface

Re: [U-Boot] [PATCHv2 1/5] smart-gateway-mt7688: Rework build time check for overwriting factory data

2019-11-18 Thread Stefan Roese
On 19.11.19 02:02, Tom Rini wrote: The board file has a build time check to ensure that we do not have the redundant environment overwriting the factory data. However, using the symbol CONFIG_ENV_SIZE_REDUND isn't strictly needed as that is always the same as CONFIG_ENV_SIZE. Use

Re: [U-Boot] [PATCH 3/4] arm: drop eSDHC clock getting in mxc_get_clock() for layerscape

2019-11-18 Thread Priyanka Jain
>-Original Message- >From: Yangbo Lu >Sent: Tuesday, November 12, 2019 4:59 PM >To: u-boot@lists.denx.de >Cc: Peng Fan ; Feng Li ; Alison >Wang ; Sumit Garg ; Priyanka >Jain ; Mario Six ; Y.b. Lu > >Subject: [PATCH 3/4] arm: drop eSDHC clock getting in mxc_get_clock() for >layerscape >

Re: [U-Boot] [PATCH 2/4] arm: ls1021a: drop redundant board_mmc_init()

2019-11-18 Thread Priyanka Jain
>-Original Message- >From: Yangbo Lu >Sent: Tuesday, November 12, 2019 4:59 PM >To: u-boot@lists.denx.de >Cc: Peng Fan ; Feng Li ; Alison Wang >; Sumit Garg ; Priyanka Jain >; Mario Six ; Y.b. Lu > >Subject: [PATCH 2/4] arm: ls1021a: drop redundant board_mmc_init() > >The

Re: [U-Boot] [PATCH 1/4] mmc: fsl_esdhc: get clock directly from global data

2019-11-18 Thread Priyanka Jain
>-Original Message- >From: Yangbo Lu >Sent: Tuesday, November 12, 2019 4:59 PM >To: u-boot@lists.denx.de >Cc: Peng Fan ; Feng Li ; Alison Wang >; Sumit Garg ; Priyanka Jain >; Mario Six ; Y.b. Lu > >Subject: [PATCH 1/4] mmc: fsl_esdhc: get clock directly from global data > >This patch

Re: [U-Boot] [PATCHv2 4/5] T1042RDB_PI_NAND_SECURE_BOOT: Guard t104xrdb SPL env code

2019-11-18 Thread Priyanka Jain
>-Original Message- >From: Tom Rini >Sent: Tuesday, November 19, 2019 6:32 AM >To: u-boot@lists.denx.de >Cc: Priyanka Jain >Subject: [PATCHv2 4/5] T1042RDB_PI_NAND_SECURE_BOOT: Guard t104xrdb >SPL env code > >We can only configure and set the environment in SPL when we have a

Re: [U-Boot] [PATCH 1/4] usb: cdns3: Fix include file path

2019-11-18 Thread Vignesh Raghavendra
Hi Marek, On 18/11/19 7:42 PM, Marek Vasut wrote: > On 11/18/19 2:46 PM, Vignesh Raghavendra wrote: >> xhci.h has now been moved to include/usb/ folder. Therefore, update the > > s/folder/directory/ ; I can update it while applying. Agree, Thanks! > >> path in the Cadence USB drivers. > >

Re: [U-Boot] [PATCH 05/16] efi_loader: add signature verification functions

2019-11-18 Thread AKASHI Takahiro
On Mon, Nov 18, 2019 at 05:31:52PM +0900, AKASHI Takahiro wrote: > > >+static const unsigned char WinIndirectSha256[] = { > > > > We don't use camel case. > > Okay, this one is a local variable. Fix it. > > > >+ 0x30, 0x33, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0x37, 0x02, > > >+

Re: [U-Boot] [PATCH 02/11] dma: ti: k3-udma: Query DMA channels allocated from Resource Manager

2019-11-18 Thread Vignesh Raghavendra
On 19/11/19 12:57 AM, Grygorii Strashko wrote: > > > On 14/11/2019 11:14, Vignesh Raghavendra wrote: >> On K3 SoCs, DMA channels are shared across multiple entities, therefore >> U-Boot DMA driver needs to query resource range from centralised >> resource management controller i.e

[U-Boot] [PATCH 1/2] arm: arm11: allow unaligned memory access

2019-11-18 Thread Heinrich Schuchardt
The UEFI spec mandates that unaligned memory access should be enabled if supported by the CPU architecture. This patch implements the function unaligned_access() to set the enable unaligned data support flag and to clear the aligned flag in the system control register (SCTLR). It is called when

[U-Boot] [PATCH 2/2] efi_loader: enable EFI_LOADER on arm1136 and arm1176

2019-11-18 Thread Heinrich Schuchardt
With an implementation for allow_unaligned() available for arm1136 and arm1176 UEFI can be supported on these architectures. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/Kconfig | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/Kconfig

[U-Boot] [PATCH 0/2] efi_loader: enable unaligned access on arm11

2019-11-18 Thread Heinrich Schuchardt
The UEFI specification mandates that unaligned access must be enabled on systems supporting it. Function unaligned access is implemented for arm1136 and arm1176. EFI_LOADER is enabled for these architectures. Heinrich Schuchardt (2): arm: arm11: allow unaligned memory access efi_loader:

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

2019-11-18 Thread Ley Foon Tan
On Thu, Nov 14, 2019 at 3:46 AM Simon Goldschmidt wrote: > > Am 08.11.2019 um 05:11 schrieb Ley Foon Tan: > > Add device tree files for Agilex SoC platform. > > > > Based on Linux Commit ID 4b36daf9ada30. > > Based on? Why is this not a copy of the Linux devicetree files? The > single

Re: [U-Boot] [EXT] Re: [PATCHv2 1/2] PCI: layerscape: Add Support for ls2088 PCIe EP mode

2019-11-18 Thread Xiaowei Bao
> -Original Message- > From: Xiaowei Bao > Sent: 2019年5月22日 18:19 > To: Bin Meng ; Ramon Fried > ; Simon Glass > Cc: M.h. Lian ; Z.q. Hou ; > Mingkai Hu ; Hongbo Wang > ; York Sun ; > u-boot@lists.denx.de; Jiafei Pan > Subject: RE: [EXT] Re: [U-Boot] [PATCHv2 1/2] PCI: layerscape: Add

Re: [U-Boot] [PATCHv2 2/5] env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check

2019-11-18 Thread Joe Hershberger
On Mon, Nov 18, 2019 at 7:10 PM Tom Rini wrote: > > We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it. We have one > board where we can simply multiple CONFIG_ENV_SIZE by two for the same > result. The other place where we could but were not previously using > this is for where

[U-Boot] [v4] armv8: ls1028a: disable multimedia feature when not supported

2019-11-18 Thread Wen He
From: Yuantian Tang Ls1028a has 4 personalities: Ls1028a, Ls1027a, Ls1017a and Ls1018a. Both Ls1027a and Ls1017a personalities are lower functionality version which doesn't support the multimedia subsystems, like LCD, GPU. To disable multimedia feature on non-multimedia version, set the status

[U-Boot] [ANN] U-Boot v2020.01-rc3 released

2019-11-18 Thread Tom Rini
Hey all, It's release day and here is v2020.01-rc3. I've continued to try and fix all of the issues that pop up as I get the MTD clean-up series ready to go. Still not done, but closer now. I think I've posted all of the patches for issues that series exposes and am working through the

Re: [U-Boot] [PATCH v3 055/108] x86: fsp: Make graphics support common to FSP1/2

2019-11-18 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Both versions of FSP can use the same graphics support, so move it into > the common directory. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/lib/fsp/Makefile | 3 +++ >

Re: [U-Boot] [PATCH v3 052/108] x86: Don't imply libfdt or SPI flash in TPL

2019-11-18 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > We don't want to pull in libfdt if of-platdata is being used, since it > reduces the available code-size saves. Also, SPI flash is seldom needed > in TPL. > > Drop these options. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > -

Re: [U-Boot] [PATCH v3 051/108] x86: Set up the MTRR for SDRAM

2019-11-18 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Set up MTRRs for the FST SDRAM regions to improve performance. typo: FST -> FSP > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Move mtrr_add_request() call into this patch > > Changes in v2: None > >

Re: [U-Boot] [PATCH 0/4] Drop redundant code for eSDHC clock getting

2019-11-18 Thread Y.b. Lu
Any comments? Thanks. > -Original Message- > From: Yangbo Lu > Sent: Tuesday, November 12, 2019 7:29 PM > To: u-boot@lists.denx.de > Cc: Peng Fan ; Feng Li ; Alison > Wang ; Sumit Garg ; Priyanka > Jain ; Mario Six ; Y.b. Lu > > Subject: [PATCH 0/4] Drop redundant code for eSDHC clock

Re: [U-Boot] [PATCH v6 19/19] arm: socfpga: agilex: Enable Agilex SoC build

2019-11-18 Thread Ley Foon Tan
On Thu, Nov 14, 2019 at 3:49 AM Simon Goldschmidt wrote: > > Am 08.11.2019 um 05:11 schrieb Ley Foon Tan: > > Add build support for Agilex SoC. > > > > Signed-off-by: Ley Foon Tan > > Reviewed-by: Simon Goldschmidt > > > > --- > > v6: > > - Include socfpga_soc64_common.h. > > > > v5: > > -

Re: [U-Boot] test: Coverage error tools/binman/etype/cbfs.py 97% on i686

2019-11-18 Thread Simon Glass
Hi Heinrich, On Thu, 7 Nov 2019 at 23:27, Heinrich Schuchardt wrote: > > Hello Simon, > > make tests produces an error on i686 > > NameStmts Miss Cover > > tools/binman/etype/cbfs.py 90 3

Re: [U-Boot] [PATCHv2 2/5] env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check

2019-11-18 Thread Simon Glass
On Mon, 18 Nov 2019 at 17:07, Tom Rini wrote: > > We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it. We have one > board where we can simply multiple CONFIG_ENV_SIZE by two for the same > result. The other place where we could but were not previously using > this is for where

Re: [U-Boot] flashing and testing u-boot on chromebook_bob

2019-11-18 Thread Simon Glass
Hi Sahaj, On Mon, 18 Nov 2019 at 00:09, Sahaj Sarup wrote: > > see in-line... > > On Mon, 18 Nov 2019 at 11:16, Simon Glass wrote: > > > > Hi Sahaj, > > > > On Sun, 17 Nov 2019 at 21:33, Sahaj Sarup wrote: > > > > > > Hi All, > > > > > > I was wondering if you could answer a few questions

Re: [U-Boot] [PATCH v1 1/1] cmd: adding malloc, math, and strcmp commands to u-boot

2019-11-18 Thread Simon Glass
Hi Vladimir, On Mon, 18 Nov 2019 at 16:27, Vladimir Olovyannikov wrote: > > cmd: adding malloc, math, and strcmp u-boot commands. U-Boot > - malloc supports allocation of heap memory and free allocated memory > via u-boot command line. U-Boot (please fix globally) > - math

Re: [U-Boot] [PATCH v1 1/1] cmd: pxe: Fix bootm argument count

2019-11-18 Thread Simon Glass
On Mon, 18 Nov 2019 at 16:42, Vladimir Olovyannikov wrote: > > From: Abhishek Shah > > pxe command parses the init ramfs address(through initrd lable in > pxe config file), but is not passing it to bootm command as argument > as bootm_argc count is not increased. > > Signed-off-by: Abhishek Shah

Re: [U-Boot] Best way to use UCLASS_GPIO board id

2019-11-18 Thread Simon Glass
On Mon, 18 Nov 2019 at 13:11, Michael Nazzareno Trimarchi wrote: > > Hi > > draft very quick from another one, draft below > Yes that looks more like it. Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [RFC PATCH] spl: nand: use nand pagesize to fix loading FIT images

2019-11-18 Thread Tim Harvey
The nand read functions are page-aligned to the writesize of the NAND device. This fixes loading non-page-aligned elements. I ran into this issue while trying to convert the IMX6 Gateworks Ventana board support to DM which requires NAND based FIT images to handle multiple DTB's. I'm not sure how

[U-Boot] [PATCH 2/2] common: Add DDR error logging (ELOG) support for Broadcom boards

2019-11-18 Thread Vladimir Olovyannikov
From: Sheetal Tigadoli Allow ELOG to use DDR for logging. Signed-off-by: Sheetal Tigadoli Signed-off-by: Vladimir Olovyannikov --- common/Kconfig | 8 common/Makefile| 1 + common/bcm_elog.c | 49 ++ common/console.c | 22

[U-Boot] [PATCH 1/2] cmd: bcm: logsetup: Add Broadcom error log setup command

2019-11-18 Thread Vladimir Olovyannikov
Some Broadcom platforms have ability to record event logs by SCP. Add a logsetup command which is used to perform initial configuration of this log and move the command to bcm/ directory to be used for Broadcom-specific U-boot commands. Signed-off-by: Vladimir Olovyannikov --- cmd/Kconfig

[U-Boot] [PATCH INTERNAL v1 0/2] Add error logging support for Broadcom boards

2019-11-18 Thread Vladimir Olovyannikov
Some Broadcom platforms have ability to record event/error logs (ELOGs) by SCP. This patch series adds such support: 1. logsetup command which is used to perform initial setup of ELOG. 2. Add support to use DDR as a runtime ELOG storage Sheetal Tigadoli (1): common: Add DDR error logging (ELOG)

[U-Boot] [PATCH v1 1/1] cmd: pxe: Fix bootm argument count

2019-11-18 Thread Vladimir Olovyannikov
From: Abhishek Shah pxe command parses the init ramfs address(through initrd lable in pxe config file), but is not passing it to bootm command as argument as bootm_argc count is not increased. Signed-off-by: Abhishek Shah Signed-off-by: Vladimir Olovyannikov --- cmd/pxe.c | 1 + 1 file

[U-Boot] [PATCH v1 1/1] cmd: adding malloc, math, and strcmp commands to u-boot

2019-11-18 Thread Vladimir Olovyannikov
cmd: adding malloc, math, and strcmp u-boot commands. - malloc supports allocation of heap memory and free allocated memory via u-boot command line. - mathprovides math commands such as "add", "sub", "mul", "div", "shift", ability to convert dec->hex. - strcmp provides

[U-Boot] [PATCHv2 4/5] T1042RDB_PI_NAND_SECURE_BOOT: Guard t104xrdb SPL env code

2019-11-18 Thread Tom Rini
We can only configure and set the environment in SPL when we have a particular environment location set that is not "nowhere" like it is in SECURE_BOOT designs. Update the code to reflect that. Cc: Priyanka Jain Signed-off-by: Tom Rini --- Changes in v2: - Rework the guard to be if env is

[U-Boot] [PATCHv2 3/5] fsl: layerscape: guard *env_sf_get_env_addr() on CONFIG_ENV_IS_IN_SPI_FLASH

2019-11-18 Thread Tom Rini
These functions can only be built and used when we have ENV_IS_IN_SPI_FLASH, use that as a guard. Reviewed-by: Priyanka Jain Signed-off-by: Tom Rini --- Changes in v2: - Update commit message, add reviewed-by --- board/freescale/ls1043aqds/ls1043aqds.c | 2 +-

[U-Boot] [PATCHv2 2/5] env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check

2019-11-18 Thread Tom Rini
We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it. We have one board where we can simply multiple CONFIG_ENV_SIZE by two for the same result. The other place where we could but were not previously using this is for where env_internal.h checks for if we should set ENV_IS_EMBEDDED. This

[U-Boot] [PATCHv2 1/5] smart-gateway-mt7688: Rework build time check for overwriting factory data

2019-11-18 Thread Tom Rini
The board file has a build time check to ensure that we do not have the redundant environment overwriting the factory data. However, using the symbol CONFIG_ENV_SIZE_REDUND isn't strictly needed as that is always the same as CONFIG_ENV_SIZE. Use CONFIG_ENV_SIZE instead so that we can later drop

Re: [U-Boot] [PATCH 1/4] asm: dma-mapping.h: Fix dma mapping functions

2019-11-18 Thread Rick Chen
> From: Vignesh Raghavendra [mailto:vigne...@ti.com] > Sent: Friday, November 15, 2019 7:55 PM > To: Rick Jian-Zhi Chen(陳建志); Simon Glass; Bin Meng; Peng Fan; Joe Hershberger > Cc: Vignesh Raghavendra; Ye Li; Anup Patel; Alexander Graf; Lukas Auer; > Masahiro Yamada; u-boot@lists.denx.de; Lokesh

Re: [U-Boot] [RFC PATCH] rockchip: tinker: Add automatic board discovery

2019-11-18 Thread Kever Yang
On 2019/11/17 下午6:17, Michael Trimarchi wrote: Add a way to detect board id and pcb id. Is there a document for this from vendor? Are they also use these two ids? If we can detect tinker vs tinker-s, then we don't need two board config/dts, right? Signed-off-by: Michael Trimarchi ---

Re: [U-Boot] [PATCH v4 4/5] doc: bindings: add mdio-handle property to ethernet nodes

2019-11-18 Thread Alexandru Marginean
On 11/18/2019 8:11 PM, Grygorii Strashko wrote: On 14/11/2019 17:04, Alex Marginean wrote: Adds an optional mdio-handle property which identifies a MDIO bus which can be scanned to find the relevant PHY.  The property is ignored if phy-handle is also present. Signed-off-by: Alex Marginean

Re: [U-Boot] [RFC PATCH] rockchip: tinker: Add automatic board discovery

2019-11-18 Thread Michael Trimarchi
Hi On Mon, Nov 18, 2019 at 04:55:02PM +0530, Jagan Teki wrote: > On Sun, Nov 17, 2019 at 3:47 PM Michael Trimarchi > wrote: > > > > Add a way to detect board id and pcb id. > > > > Signed-off-by: Michael Trimarchi > > --- > > arch/arm/dts/rk3288-tinker.dtsi | 33 > >

Re: [U-Boot] [PATCH v4 13/42] common: Move env_get_ip() to net.h

2019-11-18 Thread Joe Hershberger
On Thu, Nov 14, 2019 at 2:05 PM Simon Glass wrote: > > This function relates to networking, so move it out of the common.h > header file. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Nit below, but... Acked-by: Joe Hershberger > --- > > Changes in v4: None > Changes in v3: None >

Re: [U-Boot] [PATCH v4 2/2] cmd: Add dtimg command

2019-11-18 Thread Eugeniu Rosca
Hello Igor, hello Sam, We still have high hopes getting your response to https://patchwork.ozlabs.org/patch/958594/#2302310 If not given, we will proceed with implementing the proposal from https://patchwork.ozlabs.org/patch/958594/#2303657 -- Best Regards, Eugeniu

Re: [U-Boot] U-Boot for the Socfpga Arria10 board

2019-11-18 Thread Simon Goldschmidt
Am 18.11.2019 um 19:08 schrieb Wolfgang Grandegger: Hello, I'm trying to understand what is necessary to get mainline U-Boot booting from the eMMC of an Arria10 board, which is significantly different to the Cyclone 5. Unfortunately, my playground here is limited to Cyclone 5, but from the

Re: [U-Boot] Best way to use UCLASS_GPIO board id

2019-11-18 Thread Michael Nazzareno Trimarchi
Hi draft very quick from another one, draft below On Mon, Nov 18, 2019 at 5:39 PM Simon Glass wrote: > > Hi Michael, > > On Sun, 10 Nov 2019 at 02:08, Michael Nazzareno Trimarchi > wrote: > > > > Hi Simon > > > > + project_id: project-id { > > + pid0: bid0 { > > +

[U-Boot] [PATCH 8/8] arm: dts: k3-am654-base-board-u-boot: change cpsw2g interface mode to rgmii-rxid

2019-11-18 Thread Grygorii Strashko
The AM654 SoC doesn't allow to disabling RGMII TX internal delay in CPSW2G MAC. Hence, change CPSW2G interface mode to "rgmii-rxid" - RGMII with internal RX delay provided by the PHY, the MAC will add an TX delay in this case. Signed-off-by: Grygorii Strashko ---

[U-Boot] [PATCH 7/8] net: phy: dp83867: refactor rgmii configuration

2019-11-18 Thread Grygorii Strashko
Refactor SGMII configuration to group all settings together and reduce number of MDIO transactions. Signed-off-by: Grygorii Strashko --- drivers/net/phy/dp83867.c | 75 +++ 1 file changed, 36 insertions(+), 39 deletions(-) diff --git

[U-Boot] [PATCH 6/8] net: phy: dp83867: io impedance is not dependent on RGMII delay

2019-11-18 Thread Grygorii Strashko
Based on commit 27708eb5481b ("net: phy: dp83867: IO impedance is not dependent on RGMII delay") of mainline linux kernel. The driver would only set the IO impedance value when RGMII internal delays were enabled. There is no reason for this. Move the IO impedance block out of the RGMII delay

[U-Boot] [PATCH 5/8] net: phy: dp83867: rework delay rgmii delay handling

2019-11-18 Thread Grygorii Strashko
Based on commit c11669a2757e ("net: phy: dp83867: Rework delay rgmii delay handling") of mainline linux kernel. The current code is assuming the reset default of the delay control register was to have delay disabled. This is what the datasheet shows as the register's initial value. However,

[U-Boot] [PATCH 4/8] net: phy: dp83867: Add ability to disable output clock

2019-11-18 Thread Grygorii Strashko
Based on commit 13c83cf8af0d ("net: phy: dp83867: Add ability to disable output clock") of mainline linux kernel. Generally, the output clock pin is only used for testing and only serves as a source of RF noise after this. It could be used to daisy-chain PHYs, but this is uncommon. Since the

[U-Boot] [PATCH 3/8] dt-bindings: phy: dp83867: Add documentation for disabling clock output

2019-11-18 Thread Grygorii Strashko
Based on commit 980066e6d964 ("dt-bindings: phy: dp83867: Add documentation for disabling clock output") of mainline linux kernel. The clock output is generally only used for testing and development and not used to daisy-chain PHYs. It's just a source of RF noise afterward. Add a mux value for

[U-Boot] [PATCH 1/8] net: phy: ti: rename ti.c to dp83867.c

2019-11-18 Thread Grygorii Strashko
The driver ti.c is actually driver for TI DP83867x PHYs, so rename it accordingly. Signed-off-by: Grygorii Strashko --- drivers/net/phy/Makefile| 2 +- drivers/net/phy/{ti.c => dp83867.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/net/phy/{ti.c => dp83867.c}

[U-Boot] [PATCH 2/8] net: phy: dp83867: move static initialization to .probe()

2019-11-18 Thread Grygorii Strashko
Move static, one-time initialization to .probe() callback. Signed-off-by: Grygorii Strashko --- drivers/net/phy/dp83867.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index

[U-Boot] [PATCH 0/8] net: phy: dp83867: ti: sync with linux kernel and

2019-11-18 Thread Grygorii Strashko
hi The intention of this series is to sync TI DP83867 driver with mainline Linux kernel and ensure that proper PHY configuration in "rgmii-rxid" mode, which is done in the Patch 8. It also some code refactoring and optimization: patches 2,7. Grygorii Strashko (8): net: phy: ti: rename ti.c to

Re: [U-Boot] Please pull u-boot-video

2019-11-18 Thread Tom Rini
On Mon, Nov 18, 2019 at 11:39:39AM +0100, Anatolij Gustschin wrote: > Hi Tom, > > Please pull video fixes for v2020.01. > > gitlab CI: > https://gitlab.denx.de/u-boot/custodians/u-boot-video/pipelines/1338 > Travis-CI: https://travis-ci.org/vdsao/u-boot-video/builds/613381403 > > Thanks, >

Re: [U-Boot] [PATCH 02/11] dma: ti: k3-udma: Query DMA channels allocated from Resource Manager

2019-11-18 Thread Grygorii Strashko
On 14/11/2019 11:14, Vignesh Raghavendra wrote: On K3 SoCs, DMA channels are shared across multiple entities, therefore U-Boot DMA driver needs to query resource range from centralised resource management controller i.e SystemFirmware and use DMA channels allocated for A72 host. Add support

Re: [U-Boot] [PATCH v4 4/5] doc: bindings: add mdio-handle property to ethernet nodes

2019-11-18 Thread Grygorii Strashko
On 14/11/2019 17:04, Alex Marginean wrote: Adds an optional mdio-handle property which identifies a MDIO bus which can be scanned to find the relevant PHY. The property is ignored if phy-handle is also present. Signed-off-by: Alex Marginean --- doc/device-tree-bindings/net/ethernet.txt |

Re: [U-Boot] [PATCH v1] arm: socfpga: Enable Stratix10 SMMU access

2019-11-18 Thread Marek Vasut
On 11/18/19 7:14 PM, Thor Thayer wrote: > On 11/18/19 1:27 AM, Marek Vasut wrote: >> On 11/18/19 3:46 AM, Tan, Ley Foon wrote: >> [...] >> On 11/15/19 6:20 PM, Thor Thayer wrote: > > Enable TCU access through the Stratix10 CCU so that the SMMU can > access the SDRAM. >

Re: [U-Boot] [PATCH v1] arm: socfpga: Enable Stratix10 SMMU access

2019-11-18 Thread Thor Thayer
On 11/18/19 1:27 AM, Marek Vasut wrote: On 11/18/19 3:46 AM, Tan, Ley Foon wrote: [...] On 11/15/19 6:20 PM, Thor Thayer wrote: Enable TCU access through the Stratix10 CCU so that the SMMU can access the SDRAM. [...] Looks good to me. Ley, can you take a look? Thanks! Looks good to me

[U-Boot] U-Boot for the Socfpga Arria10 board

2019-11-18 Thread Wolfgang Grandegger
Hello, I'm trying to understand what is necessary to get mainline U-Boot booting from the eMMC of an Arria10 board, which is significantly different to the Cyclone 5. I'm playing with U-Boot v2019.10! I find some related documentation at [1]. Section "Arria 10 SoC - Boot from SD Card " seems to

[U-Boot] uboot environment in ubi on qspi flash

2019-11-18 Thread Alexander Kerner
Hello! I want to store the uboot environment in the ubi partition in the qspi flash on xilinx zynqmp. There is an error message during the start: Loading Environment from UBI... Could not find a valid device for spi0.0 Partition ubi not found! ** Cannot find mtd partition "ubi"

[U-Boot] [PATCH] ppc/km: enable DM driver support in all defconfigs

2019-11-18 Thread Holger Brunck
This is the first step to use DM support for the KM powerpc boards. Signed-off-by: Holger Brunck CC: Mario Six CC: Wolfgang Denk CC: Valentin Longchamp --- Changes for v2: - fix typo in e-mail address configs/kmcoge4_defconfig | 2 ++ configs/kmcoge5ne_defconfig | 2 ++

[U-Boot] [PATCH] ppc/km: enable DM driver support in all defconfigs

2019-11-18 Thread Holger Brunck
This is the first step to use DM support for the KM powerpc boards. Signed-off-by: Holger Brunck CC: Mario Six CC: Wolfgang Denk CC: Valentin Longchamp --- configs/kmcoge4_defconfig | 2 ++ configs/kmcoge5ne_defconfig | 2 ++ configs/kmeter1_defconfig | 2 ++ configs/kmopti2_defconfig

Re: [U-Boot] rockchip: rk3399: TPL: rockpro64: Wrong memory size detected【请注意,邮件由lists.intric...@gmail.com代发】

2019-11-18 Thread Kurt Miller
Hi Kever, On Mon, 2019-11-18 at 11:05 +0800, Kever Yang wrote: > Hi Kurt, > > On 2019/11/14 上午2:44, Kurt Miller wrote: > > > > On Tue, 2019-09-17 at 12:02 -0400, Kurt Miller wrote: > > > > > > On Tue, 2019-09-17 at 10:57 +0800, Kever Yang wrote: > > > > > > > > Hi Kurt, > > > > > > > >  

Re: [U-Boot] [PATCH v2 1/2] rockchip: make_fit_atf.py: allow inclusion of a tee binary

2019-11-18 Thread Simon Glass
Hi Heiko, On Mon, 4 Nov 2019 at 04:23, Heiko Stübner wrote: > > Hi Simon, > > Am Mittwoch, 30. Oktober 2019, 02:49:46 CET schrieb Simon Glass: > > On Tue, 22 Oct 2019 at 03:45, Kever Yang wrote: > > > On 2019/10/22 上午7:46, Simon Glass wrote: > > > > On Mon, 14 Oct 2019 at 03:07, Kever Yang >

Re: [U-Boot] Best way to use UCLASS_GPIO board id

2019-11-18 Thread Simon Glass
Hi Michael, On Sun, 10 Nov 2019 at 02:08, Michael Nazzareno Trimarchi wrote: > > Hi Simon > > + project_id: project-id { > + pid0: bid0 { > + rockchip,pins = <2 RK_PA1 RK_FUNC_GPIO _pull_up>; > + }; > + > + pid1: pid1 { > +

Re: [U-Boot] [PATCH] dm: serial: Handle "stdout-path" with ":options" correctly

2019-11-18 Thread Simon Glass
Hi Bin, On Mon, 18 Nov 2019 at 09:12, Bin Meng wrote: > > With commit f0921f5098d8 ("fdt: Sync up to the latest libfdt"), > SiFive Unleashed board does not boot any more. This was due to > the U-Boot local changes commit 77d7fff8cec2 ("fdt: Fix handling > of paths with options in them") to

[U-Boot] [PATCH] dm: serial: Handle "stdout-path" with ":options" correctly

2019-11-18 Thread Bin Meng
With commit f0921f5098d8 ("fdt: Sync up to the latest libfdt"), SiFive Unleashed board does not boot any more. This was due to the U-Boot local changes commit 77d7fff8cec2 ("fdt: Fix handling of paths with options in them") to libfdt/fdt_ro.c was dropped during the libfdt upgrade. From the

Re: [U-Boot] Pull request: u-boot-rockchip-20191026

2019-11-18 Thread Tom Rini
gt; Thanks, > - Kever > > The following changes since commit 3ff1ff3ff76c15efe0451309af084ee6c096c583: > > Merge branch '2019-11-12-migrate-SYS_REDUNDAND_ENVIRONMENT' (2019-11-12 > 13:40:58 -0500) > > are available in the Git repository at: > > https://gitlab.

Re: [U-Boot] Please pull u-boot-dm

2019-11-18 Thread Tom Rini
On Thu, Nov 14, 2019 at 08:08:09PM -0700, Simon Glass wrote: > Hi Tom, > > Passing run here: > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1306 > > > The following changes since commit 3ff1ff3ff76c15efe0451309af084ee6c096c583: > > Merge branch

Re: [U-Boot] [PATCH 1/4] usb: cdns3: Fix include file path

2019-11-18 Thread Marek Vasut
On 11/18/19 2:46 PM, Vignesh Raghavendra wrote: > xhci.h has now been moved to include/usb/ folder. Therefore, update the s/folder/directory/ ; I can update it while applying. > path in the Cadence USB drivers. [...] ___ U-Boot mailing list

[U-Boot] [PATCH 4/4] configs: j721e_evm_a72_defconfig: Enable USB related configs

2019-11-18 Thread Vignesh Raghavendra
Enable USB host and device related configs. Signed-off-by: Vignesh Raghavendra --- configs/j721e_evm_a72_defconfig | 28 1 file changed, 28 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 748179e82317..0abbfc02e614

[U-Boot] [PATCH 2/4] environment: ti: Add DFU environment variables k3_dfu.h

2019-11-18 Thread Vignesh Raghavendra
Setup env variables for updating firmwares on eMMC/OSPI/MMC via DFU Signed-off-by: Vignesh Raghavendra --- include/configs/j721e_evm.h | 10 +++ include/environment/ti/k3_dfu.h | 46 + 2 files changed, 56 insertions(+) create mode 100644

[U-Boot] [PATCH 3/4] arm: dts: k3-j721e: Add DT nodes for USB

2019-11-18 Thread Vignesh Raghavendra
J721e has two instances of Cadence USB3 controller. Add DT nodes for the same. USB0 is configured to device mode and USB1 is configured to host mode. For now only high speed mode is supported. Signed-off-by: Vignesh Raghavendra --- .../k3-j721e-common-proc-board-u-boot.dtsi| 14

[U-Boot] [PATCH 1/4] usb: cdns3: Fix include file path

2019-11-18 Thread Vignesh Raghavendra
xhci.h has now been moved to include/usb/ folder. Therefore, update the path in the Cadence USB drivers. Signed-off-by: Vignesh Raghavendra --- drivers/usb/cdns3/core.c | 2 +- drivers/usb/cdns3/host.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 0/4] J721e: Add USB support

2019-11-18 Thread Vignesh Raghavendra
Add USB support for J721e SoC. First patch fixes a compile issue with Cadence USB driver. Rest of the patches add env, DT and configs related to USB. Vignesh Raghavendra (4): usb: cdns3: Fix include file path environment: ti: Add DFU environment variables k3_dfu.h arm: dts: k3-j721e: Add DT

Re: [U-Boot] [PATCH 7/9] gadget: rockchip: Add rk3399 USB_GADGET_PRODUCT_NUM

2019-11-18 Thread Jagan Teki
On Tue, Oct 29, 2019 at 3:10 PM wrote: > > Jagan Teki writes: > > > Add 0x330a for rk3399 gadget product number. > > > > Signed-off-by: Jagan Teki > > --- > > drivers/usb/gadget/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/usb/gadget/Kconfig

Re: [U-Boot] [PATCH] drivers: optee: rpmb: fix returning CID to TEE

2019-11-18 Thread Jorge Ramirez-Ortiz
On 11/18/19 1:42 PM, Jens Wiklander wrote: > [+ Igor and Sam] > > On Mon, Nov 18, 2019 at 12:18:27PM +0100, Jorge Ramirez-Ortiz wrote: >> On 11/18/19 10:36 AM, Jens Wiklander wrote: >>> Hi Jorge, >> >> >> hey! >> >>> >>> On Fri, Nov 15, 2019 at 10:37 PM Jorge Ramirez-Ortiz >>> wrote: The

Re: [U-Boot] [PATCH] drivers: optee: rpmb: fix returning CID to TEE

2019-11-18 Thread Jens Wiklander
[+ Igor and Sam] On Mon, Nov 18, 2019 at 12:18:27PM +0100, Jorge Ramirez-Ortiz wrote: > On 11/18/19 10:36 AM, Jens Wiklander wrote: > > Hi Jorge, > > > hey! > > > > > On Fri, Nov 15, 2019 at 10:37 PM Jorge Ramirez-Ortiz > > wrote: > >> The MMC CID value is one of the input parameters to

Re: [U-Boot] [PATCH v4 2/2] sifive: fu540: Enable OF_SEPARATE

2019-11-18 Thread Anup Patel
> -Original Message- > From: U-Boot On Behalf Of Bin Meng > Sent: Monday, November 18, 2019 5:52 PM > To: Jagan Teki > Cc: U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH v4 2/2] sifive: fu540: Enable OF_SEPARATE > > On Mon, Nov 18, 2019 at 7:30 PM Jagan Teki > wrote: > > > > Use

Re: [U-Boot] [PATCH v4 1/2] riscv: dts: Add hifive-unleashed-a00 dts from Linux

2019-11-18 Thread Anup Patel
> -Original Message- > From: U-Boot On Behalf Of Bin Meng > Sent: Monday, November 18, 2019 5:52 PM > To: Jagan Teki > Cc: U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH v4 1/2] riscv: dts: Add hifive-unleashed-a00 dts > from Linux > > On Mon, Nov 18, 2019 at 7:30 PM Jagan Teki

Re: [U-Boot] [PATCH 12/16] cmd: env: use appropriate guid for authenticated UEFI variable

2019-11-18 Thread Patrick Wildt
On Mon, Nov 18, 2019 at 03:34:46PM +0900, AKASHI Takahiro wrote: > Heinrich, > > On Sat, Nov 16, 2019 at 09:10:35PM +0100, Heinrich Schuchardt wrote: > > On 11/13/19 1:53 AM, AKASHI Takahiro wrote: > > >A signature database variable is associated with a specific guid. > > >For convenience, if

Re: [U-Boot] [PATCH] drivers: optee: rpmb: fix returning CID to TEE

2019-11-18 Thread Jorge Ramirez-Ortiz
On 11/18/19 10:36 AM, Jens Wiklander wrote: > Hi Jorge, hey! > > On Fri, Nov 15, 2019 at 10:37 PM Jorge Ramirez-Ortiz > wrote: >> The MMC CID value is one of the input parameters to unequivocally >> provision the the RPMB key. >> >> Before this patch, the value returned by the mmc driver in

[U-Boot] flashing and testing u-boot on chromebook_bob

2019-11-18 Thread Sahaj Sarup
Hi All, I was wondering if you could answer a few questions regarding u-boot on Asus CP101 gru/bob ? - To test the u-boot image following README.chromium-chainload, should I expect output on the display or do I need CDD/SuzyQable Cable for serial? - The CONFIG_SYS_TEXT_BASE is currently

[U-Boot] How to convert imximage.cfg so it can be used in mkimage?

2019-11-18 Thread Winston Gao
Hi all, I am trying to create a bootstrap image for iMX6 and the command mkimage fails like below: $ mkimage -n imximage.cfg -T imximage -e 0x1700 -d overlay_img bootstrap_img.bin Error: imximage.cfg[1] - Invalid command(/*) Further investigation shows that the error is caused by

[U-Boot] [PATCH] cmd: Add command to display or save Linux PStore dumps

2019-11-18 Thread Frédéric Danis
This patch adds a new pstore command allowing to display or save ramoops logs (oops, panic, console, ftrace and user) generated by a previous kernel crash. PStore parameters can be set in U-Boot configuration file, or at run-time using "pstore set" command. Records size should be the same as the

Re: [U-Boot] Issues when saving environment in RK399 RockPI 4

2019-11-18 Thread Ezequiel Garcia
Hi Matthias, Fabio: Thanks for the reply. On Fri, 8 Nov 2019 at 13:45, Matthias Brugger wrote: > > Hi Ezequiel, > > On 07/11/2019 20:27, Fabio Estevam wrote: > > Hi Ezequiel, > > > > On Thu, Nov 7, 2019 at 3:45 PM Ezequiel Garcia > > wrote: > >> > >> I decided to test latest U-Boot, following

Re: [U-Boot] [PATCH v4 2/2] sifive: fu540: Enable OF_SEPARATE

2019-11-18 Thread Bin Meng
On Mon, Nov 18, 2019 at 7:30 PM Jagan Teki wrote: > > Use dts support from U-Boot via OF_SEPARATE instead of depending from > opensbi. > > This would help to make the necessary changes in drivers and device trees > in U-Boot tree itself. This feature would also be helpful to not pass > dtb during

  1   2   >