Re: [U-Boot] [PATCH 4/5] toradex: configblock: fix apalis imx8 target

2019-07-09 Thread Marcel Ziswiler
Hi Igor On Tue, 2019-07-09 at 10:27 +, Igor Opaniuk wrote: > HI Marcel, > > On Tue, Jul 9, 2019 at 12:43 PM Marcel Ziswiler > wrote: > > From: Marcel Ziswiler > > > > The Apalis iMX8 was missing the interactive part should a customer > > have > > bricked his module and want to re-create th

Re: [U-Boot] [PATCH] rockchip: derive ethaddr from cpuid

2019-07-09 Thread Kever Yang
Hi Rohan,     The code change looks good to me, but could you help to separate the rock pi config update into another patch? Thanks, - Kever On 2019/7/9 下午6:37, Rohan Garg wrote: Generate a MAC address based on the cpuid available in the efuse block: Use the first 6 byte of the cpuid's SHA2

Re: [U-Boot] [PATCH V2 41/51] spl: pass args to board_return_to_bootrom

2019-07-09 Thread Kever Yang
Hi Peng, On 2019/7/8 上午9:40, Peng Fan wrote: Pass spl_image and bootdev to board_return_bootrom. i.MX8MN needs the args to let ROM to load images Cc: Simon Glass Cc: Philipp Tomsich Cc: Kever Yang Signed-off-by: Peng Fan Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/mach-r

Re: [U-Boot] [PATCH v3 1/4] mmc: mvebu: Remove unused MMC_CAP.. macros

2019-07-09 Thread Peng Fan
> Subject: [PATCH v3 1/4] mmc: mvebu: Remove unused MMC_CAP.. macros > > From: T Karthik Reddy > > Removed MMC_CAP_NONREMOVABLE, MMC_CAP_NEEDS_POLL macros > from mvebu_mmc.h to avoid redefining of these macros when compiled with > mvebu based configs. > > Signed-off-by: T Karthik Reddy > Signe

Re: [U-Boot] [PATCH] mmc: rpmb: fix response type of CMD25

2019-07-09 Thread Peng Fan
> Subject: [PATCH] mmc: rpmb: fix response type of CMD25 > > From: Akio Hirayama > > The response type of CMD25 is R1 instead of R1b. > > Signed-off-by: Akio Hirayama > [masahiro: add log ] > Signed-off-by: Masahiro Yamada > --- > > drivers/mmc/rpmb.c | 4 ++-- > 1 file changed, 2 insertion

Re: [U-Boot] [PATCH] board/fsl/lx2160ardb: enable flexcan

2019-07-09 Thread Bin Meng
On Wed, Jul 10, 2019 at 1:50 PM Pankaj Bansal wrote: > > Flexcan in LX2160ARDB is controlled by FPGA register boardcfg4 > bit 5. enable this bit so that flexcan is enabled in LX2160ARDB. > > Signed-off-by: Pankaj Bansal > --- > board/freescale/lx2160a/lx2160a.c | 14 ++ > 1 file chan

Re: [U-Boot] [PATCH v2 07/11] mmc: use the generic timeout for cmd6 (SWITCH) provided in the ext_csd

2019-07-09 Thread Peng Fan
Hi Jean, > -Original Message- > From: Jean-Jacques Hiblot [mailto:jjhib...@ti.com] > Sent: 2019年7月2日 16:54 > To: marek.va...@gmail.com > Cc: Jean-Jacques Hiblot ; Jon Nettleton > ; Peng Fan ; Marek Vasut > ; u-boot@lists.denx.de; Baruch Siach > ; Jens Wiklander ; Rajesh > Bhagat > Subjec

[U-Boot] [PATCH] board/fsl/lx2160ardb: enable flexcan

2019-07-09 Thread Pankaj Bansal
Flexcan in LX2160ARDB is controlled by FPGA register boardcfg4 bit 5. enable this bit so that flexcan is enabled in LX2160ARDB. Signed-off-by: Pankaj Bansal --- board/freescale/lx2160a/lx2160a.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/board/freescale/lx2160a/lx2160a.c

Re: [U-Boot] [EXT] Re: [PATCH 5/5] net: fec_mxc: Update driver to use full clks for iMX8

2019-07-09 Thread Ye Li
在 2019/7/7 7:10, Lukasz Majewski 写道: > Hi Ye, > >> Add support for more clocks used by iMX8 from DTB: >> ref_clock, tx_2x_clock, ahb_clock >> And update get clock rate interface to support multiple fec ports. >> >> Signed-off-by: Ye Li >> --- >> drivers/net/fec_mxc.c | 47 >>

[U-Boot] Please pull from u-boot-i2c

2019-07-09 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master The following changes since commit e5aee22e4be75e75a854ab64503fc80598bc2004: Prepare v2019.07 (2019-07-08 15:23:28 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-i2c.git master for you to fetch

[U-Boot] Pull request: u-boot-ubi/master

2019-07-09 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi-git master The following changes since commit e5aee22e4be75e75a854ab64503fc80598bc2004: Prepare v2019.07 (2019-07-08 15:23:28 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-ubi.git master for you to fetch

Re: [U-Boot] [PATCH] riscv : serial: use rx watermark to indicate rx data is present

2019-07-09 Thread Sagar Kadam
Hi Anup, On Wed, Jul 10, 2019 at 10:03 AM Anup Patel wrote: > > On Tue, Jul 9, 2019 at 5:55 PM Sagar Shrikant Kadam > wrote: > > > > In y-modem transfer mode, tstc/getc fail to check if there is any > > data available / received in RX FIFO, and so y-modem transfer never > > succeeds. Using recei

Re: [U-Boot] [PATCH] riscv : serial: use rx watermark to indicate rx data is present

2019-07-09 Thread Anup Patel
On Tue, Jul 9, 2019 at 5:55 PM Sagar Shrikant Kadam wrote: > > In y-modem transfer mode, tstc/getc fail to check if there is any > data available / received in RX FIFO, and so y-modem transfer never > succeeds. Using receive watermark bit within ip register fixes the > issue. > > This patch is bas

Re: [U-Boot] Boot Linux using EFI environment from u-boot

2019-07-09 Thread Bin Meng
On Wed, Jul 10, 2019 at 12:09 PM Poonam Aggrwal wrote: > > Corrected the email address of Alex. > > > -Original Message- > > From: U-Boot On Behalf Of Poonam > > Aggrwal > > Sent: Wednesday, July 10, 2019 9:37 AM > > To: Alexander Graf > > Cc: u-boot@lists.denx.de > > Subject: [U-Boot] B

Re: [U-Boot] Boot Linux using EFI environment from u-boot

2019-07-09 Thread Poonam Aggrwal
Corrected the email address of Alex. > -Original Message- > From: U-Boot On Behalf Of Poonam > Aggrwal > Sent: Wednesday, July 10, 2019 9:37 AM > To: Alexander Graf > Cc: u-boot@lists.denx.de > Subject: [U-Boot] Boot Linux using EFI environment from u-boot > > Hello Alex > > I am not s

Re: [U-Boot] [PATCH v6 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-07-09 Thread Keerthy
On 09/07/19 6:29 PM, Alex Kiernan wrote: On Tue, Jul 9, 2019 at 6:01 AM Keerthy wrote: Use phys_addr_t for mdio_base address to avoid build warnings on arm64 and dra7. Cast it to uintprt_t before assigning to regs. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom R

[U-Boot] Boot Linux using EFI environment from u-boot

2019-07-09 Thread Poonam Aggrwal
Hello Alex I am not sure, but it seems it is possible to boot Linux from u-boot using EFI environment. So what I intend to do is that without using UEFI , if I can boot Linux and make EFI variables available for Linux. Can you please help me on how I can use this configuration. Many Thanks Poo

[U-Boot] [PATCH 6/6] MAINTAINERS: change spi driver entry

2019-07-09 Thread Weijie Gao
Change mtk_qspi.c to mtk_snfi_spi.c Signed-off-by: Weijie Gao --- Changes since v1: rename mtk_spimem.c to spi_snfi_spi.c Changes since v2: none --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index bea3122f2b6..170395c0079 100644 ---

[U-Boot] [PATCH v4 5/6] configs: mt7629_rfb: change MTK_QSPI to MTK_SNFI_SPI

2019-07-09 Thread Weijie Gao
This patch replaces MTK_QSPI with MTK_SNFI_SPI to ensure mtk_snfi_spi driver is built by default. Signed-off-by: Weijie Gao --- Changes since v1: none --- configs/mt7629_rfb_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mt7629_rfb_defconfig b/configs/mt762

[U-Boot] [PATCH v4 2/6] spi: remove obsolete mtk_qspi driver

2019-07-09 Thread Weijie Gao
Since u-boot has added the spi-mem framework and replaced the spi-nor framework, the mtk_qspi is no longer compatible with the new spi-nor driver. Remove this driver, and a new driver will be added later. Cc: Jagan Teki Signed-off-by: Weijie Gao --- Changes since v1: none --- drivers/spi/Kconf

[U-Boot] [PATCH v4 0/6] Add spi-mem driver for MediaTek MT7629 SoC

2019-07-09 Thread Weijie Gao
Since u-boot has added the spi-mem framework and replaced the spi-nor framework, the mtk_qspi is no longer compatible with the new spi-nor driver. This patch series add a new spi-mem driver to replace the mtk_qspi driver, with one patch to fix watchdog not feeding during spi operation. Weijie Gao

[U-Boot] [PATCH v4 3/6] spi: add spi-mem driver for MediaTek MT7629 SoC

2019-07-09 Thread Weijie Gao
This patch adds spi-mem driver for MediaTek MT7629 SoC to access SPI-NOR and SPI-NAND flashes. Cc: Jagan Teki Signed-off-by: Weijie Gao --- Changes since v1: rename mtk_spimem to spi_snfi_spi. change pinctrl name. Changes since v2: remove udevice in mtk_snfi_priv. Changes since v3: remove check

[U-Boot] [PATCH v4 4/6] arm: dts: change MT7629 to use spi-mem rather than qspi

2019-07-09 Thread Weijie Gao
The original mtk_qspi driver has been removed. We change MT7629 to use newly added mtk-spimem driver. Signed-off-by: Weijie Gao --- Changes since v1: rename node spimem to snfi. change pinctrl name and order. Changes since v2: none --- arch/arm/dts/mt7629-rfb.dts | 18 +- arch/ar

[U-Boot] [PATCH v4 1/6] mtd: spi-nor: add watchdog reset to flash operation loops

2019-07-09 Thread Weijie Gao
This patch adds WATCHDOG_RESET() to loops for read/write/erase to avoid watchdog not being feeded in a long period. Cc: Vignesh Raghavendra Signed-off-by: Weijie Gao --- drivers/mtd/spi/spi-nor-core.c | 13 + drivers/mtd/spi/spi-nor-tiny.c | 3 +++ 2 files changed, 16 insertions(+)

Re: [U-Boot] [PATCH V2 18/51] imx8m: add clk support for i.MX8MM

2019-07-09 Thread Peng Fan
Hi Stefano, > Subject: Re: [U-Boot] [PATCH V2 18/51] imx8m: add clk support for i.MX8MM > > Hi Peng, > > > Introduce clk implementation for i.MX8MM, including pll configuration, > > ccm configuration. Export get_root_clk for CLK UCLASS driver usage. > > [...] > > + > > + clock_enable(CCGR_I2C1

Re: [U-Boot] [PATCH 3/4 v3] test: dm_mdio: add a 2nd register to the emulated PHY

2019-07-09 Thread Joe Hershberger
On Tue, Jun 18, 2019 at 10:01 AM Alexandru Marginean wrote: > > This 2nd register is used by the follow-up MDIO MUX test. > > Signed-off-by: Alex Marginean Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/li

Re: [U-Boot] [PATCH 1/4 v3] net: add MDIO_MUX DM class

2019-07-09 Thread Joe Hershberger
On Tue, Jun 18, 2019 at 10:01 AM Alexandru Marginean wrote: > > Adds a class for MDIO MUXes, which control access to a series of > downstream child MDIOs. > MDIO MUX drivers are required to implement a select function used to switch > between child buses. > MUX children are registered as MDIO buse

Re: [U-Boot] [PATCH v2 4/4] net: NC-SI setup and handling

2019-07-09 Thread Joe Hershberger
On Mon, Jun 17, 2019 at 8:43 PM Samuel Mendoza-Jonas wrote: > > Add the handling of NC-SI ethernet frames, and add a check at the start > of net_loop() to configure NC-SI before starting other network commands. > This also adds an "ncsi" command to manually start NC-SI configuration. > > Signed-of

Re: [U-Boot] [PATCH v2 3/4] net/ftgmac100: Add NC-SI mode support

2019-07-09 Thread Joe Hershberger
On Mon, Jun 17, 2019 at 8:43 PM Samuel Mendoza-Jonas wrote: > > Update the ftgmac100 driver to support NC-SI instead of an mdio phy > where available. This is a common setup for Aspeed AST2x00 platforms. > > NC-SI mode is determined from the device-tree if either phy-mode sets it > or the use-ncsi

Re: [U-Boot] [PATCH v2 2/4] phy: Include NC-SI in phy setup

2019-07-09 Thread Joe Hershberger
On Mon, Jun 17, 2019 at 8:42 PM Samuel Mendoza-Jonas wrote: > > Add NC-SI to the usual phy handling. This makes two notable changes: > - Somewhat similar to a fixed phy, phy_connect() will create an NC-SI > phy if CONFIG_PHY_NCSI is defined. > - An early return is added to phy_read() and phy_write

[U-Boot] [PATCH v2 4/6] net: phy: mv88E61xx: add config option for mv88E6071 support

2019-07-09 Thread Anatolij Gustschin
MV88E61XX_88E6020_FAMILY option enables support for switch devices 6250/6220/6020/6070/6071. Signed-off-by: Anatolij Gustschin --- drivers/net/phy/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 2a3da068c9..097b499ba3 100

[U-Boot] [PATCH v2 5/6] net: phy: mv88e61xx: register phy_driver struct for 88E6071

2019-07-09 Thread Anatolij Gustschin
Support probing and init for 88E6071 switch. Signed-off-by: Anatolij Gustschin --- drivers/net/phy/mv88e61xx.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/net/phy/mv88e61xx.c index 165bc261e4..d827ecc1bc 100644 --- a/drivers/net/phy/mv8

[U-Boot] [PATCH v2 3/6] net: phy: mv88E61xx: fix ENERGY_DET init for mv88E6071

2019-07-09 Thread Anatolij Gustschin
On mv88E6071 the 'EDet' field offset, width and sense control bits are different, adjust the driver to init the PHY control register as needed. This fixes not working link detection and tftp transfers. Signed-off-by: Anatolij Gustschin --- drivers/net/phy/mv88e61xx.c | 20 +--- 1

[U-Boot] [PATCH v2 2/6] net: phy: mv88e61xx: add CPU port parameter init for 88E6071

2019-07-09 Thread Anatolij Gustschin
On 88E6071 chip the port status register bit field offsets for duplex and link bits differ. Extend the driver to use 88E6071 specific offset values. The width of bit fields for speed status differ, too. Adapt for proper port speed detection on 88E6071. Signed-off-by: Anatolij Gustschin --- drive

[U-Boot] [PATCH v2 6/6] net: phy: fix switch vendor name

2019-07-09 Thread Anatolij Gustschin
Fix vendor name in MV88E61xx option description. Signed-off-by: Anatolij Gustschin --- drivers/net/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 097b499ba3..94386b74ba 100644 --- a/drivers/net/phy/Kconfig +

[U-Boot] [PATCH v2 1/6] net: phy: mv88e61xx: rework to enable detection of 88E6071 devices

2019-07-09 Thread Anatolij Gustschin
Extend the driver to init switch register offsets from variables instead of compile time macros and enable 88E6071 detection. Ethernet transfer (e.g. tftp) does not work yet, so enable the registration of the 'indirect mii' bus for easier PHY register access by 'mii' command. Signed-off-by: Anatol

[U-Boot] [PATCH v2 0/6] Extend mv88e61xx driver to support 88E6071

2019-07-09 Thread Anatolij Gustschin
This series adds support for 88E6071 switches in the mv88e61xx driver. Changes in v2: - fix port init for 6096/6097 devices in patch 1/6 - update commit description in patch 4/6 Anatolij Gustschin (6): net: phy: mv88e61xx: rework to enable detection of 88E6071 devices net: phy: mv88e61xx: a

Re: [U-Boot] [PATCH v2 1/4] phy: Add support for the NC-SI protocol

2019-07-09 Thread Joe Hershberger
On Mon, Jun 17, 2019 at 8:39 PM Samuel Mendoza-Jonas wrote: > > This introduces support for the NC-SI protocol, modelled as a phy driver > for other ethernet drivers to consume. > > NC-SI (Network Controller Sideband Interface) is a protocol to manage a > sideband connection to a proper network in

Re: [U-Boot] Want a Das U-Boot project logo

2019-07-09 Thread Eric S. Raymond
Peter Robinson : > > Interested? > > It already has this one > https://gitlab.denx.de/u-boot/u-boot/blob/master/tools/logos/u-boot_logo.svg Hm. Doesn't show up on the home page. I did check. Very well then, good luck and good hunting. -- http://www.catb.org/~esr/";>Eric S. Ray

Re: [U-Boot] Want a Das U-Boot project logo

2019-07-09 Thread Peter Robinson
On Tue, Jul 9, 2019 at 10:31 PM Eric S. Raymond wrote: > > A few days ago I became aware of the existence of Das U-Boot. It appers > you're doing good technical work, and the bilingual pun appeals to > my sense of humor. This makes me want to do the project a good turn. > And, it turns out, I thi

[U-Boot] Want a Das U-Boot project logo

2019-07-09 Thread Eric S. Raymond
A few days ago I became aware of the existence of Das U-Boot. It appers you're doing good technical work, and the bilingual pun appeals to my sense of humor. This makes me want to do the project a good turn. And, it turns out, I think I can. I recently launched an effort called Loadsharers. You

Re: [U-Boot] [RESEND PATCH v2 04/15] arm: socfpga: agilex: Add reset manager support

2019-07-09 Thread Marek Vasut
On 7/9/19 10:43 PM, Simon Goldschmidt wrote: > Am 09.07.2019 um 22:33 schrieb Marek Vasut: >> On 7/9/19 10:01 PM, Simon Goldschmidt wrote: >>> Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add reset manager support for Agilex. Signed-off-by: Ley Foon Tan ---    .../mach-soc

Re: [U-Boot] [RESEND PATCH v2 04/15] arm: socfpga: agilex: Add reset manager support

2019-07-09 Thread Simon Goldschmidt
Am 09.07.2019 um 22:33 schrieb Marek Vasut: On 7/9/19 10:01 PM, Simon Goldschmidt wrote: Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add reset manager support for Agilex. Signed-off-by: Ley Foon Tan ---   .../mach-socfpga/include/mach/reset_manager.h |  5 ++-   .../include/mach/reset_manag

Re: [U-Boot] [RESEND PATCH v2 15/15] arm: socfpga: agilex: Enable Agilex SoC build

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add build support for Agilex SoC. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v2: - Remove IC_CLK define, use clock DM method to get i2c clock - Change CONFIG_ENV_SIZE to 4KB since CONFIG_SPI_FLASH_USE_4K_SECTORS is enabled.

Re: [U-Boot] [RESEND PATCH v2 14/15] arm: dts: agilex: Add base dtsi and devkit dts

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add device tree files for Agilex SoC platform. Based on Linux Commit ID4b36daf9ada30. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt Tiny nit about NOR-flash see below. --- v2: - Add clock property to device node. - Change

Re: [U-Boot] [RESEND PATCH v2 13/15] arm: socfpga: agilex: Add SPL for Agilex SoC

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add SPL support for Agilex SoC. Signed-off-by: Ley Foon Tan From all I can tell right now, seems good to me: Reviewed-by: Simon Goldschmidt --- v2: - Change clock driver probing to DM. - Remove unused OSC1TIMER0 reset - Remove debug_uart_init(

Re: [U-Boot] [RESEND PATCH v2 12/15] board: intel: agilex: Add socdk board support for Intel Agilex SoC

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add socdk board support for Intel Agilex SoC Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- board/intel/agilex-socdk/MAINTAINERS | 7 +++ board/intel/agilex-socdk/Makefile| 7 +++ board/intel/agilex-socdk/socfpga.

Re: [U-Boot] [RESEND PATCH v2 11/15] ddr: altera: agilex: Add SDRAM driver for Agilex

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add SDRAM driver for Agilex SoC. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- drivers/ddr/altera/Kconfig| 6 +- drivers/ddr/altera/Makefile | 1 + drivers/ddr/altera/sdram_agilex.c | 158 +++

Re: [U-Boot] [RESEND PATCH v2 10/15] ddr: altera: Restructure Stratix 10 SDRAM driver

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Restructure Stratix 10 SDRAM driver. Move common code to separate file, in preparation to support SDRAM driver for Agilex. Signed-off-by: Ley Foon Tan --- drivers/ddr/altera/Makefile | 2 +- drivers/ddr/altera/sdram_common.c

Re: [U-Boot] [u-boot 2/2] drivers/fsl-mc: Support DPSPARSER object and apply spb command

2019-07-09 Thread Joe Hershberger
On Wed, May 15, 2019 at 4:10 AM Florinel Iordache wrote: > > Add support for DPSPARSER object (create/destroy, open/close, apply spb) > required to configure Soft Parser by using MC. Also add uboot command to > apply a Soft Parser Blob by using a command like: fsl_mc apply spb > > > Signed-off-by

Re: [U-Boot] [RESEND PATCH v2 04/15] arm: socfpga: agilex: Add reset manager support

2019-07-09 Thread Marek Vasut
On 7/9/19 10:01 PM, Simon Goldschmidt wrote: > Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: >> Add reset manager support for Agilex. >> >> Signed-off-by: Ley Foon Tan >> --- >>   .../mach-socfpga/include/mach/reset_manager.h |  5 ++- >>   .../include/mach/reset_manager_agilex.h   | 38

Re: [U-Boot] [PATCH] pinctrl: renesas: Synchronize Gen2/Gen3 tables with Linux 5.2-rc5

2019-07-09 Thread Eugeniu Rosca
Superseded by https://patchwork.ozlabs.org/cover/1129905/. -- Best Regards, Eugeniu. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [RESEND PATCH v2 09/15] arm: socfpga: agilex: Add CCU support for Agilex

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add Cache Coherency Unit (CCU) support for Agilex. CCU is to ensures consistency of shared data between multi masters in the system. Software need to initialize CCU's directories and coherency agent interfaces in CCU IP. Signed-off-by: Ley Foon Tan

Re: [U-Boot] [RESEND PATCH v2 08/15] arm: socfpga: agilex: Add clock manager support

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add clock manager support for Agilex. Signed-off-by: Ley Foon Tan --- v2: - Get clocks from clock DM. Wait, can you explain this a bit more? If you get clocks from DM, why is this arch-specific driver needed at all? Can't you just convert the ca

Re: [U-Boot] [RESEND PATCH v2 07/15] clk: agilex: Add clock driver for Agilex.

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add clock manager driver for Agilex. Provides clock initialization and get_rate functions. Thanks for adding this to the patchset. This is quite a big change, I don't have the time currently to review it. Just a question to the message above: does

Re: [U-Boot] [RESEND PATCH v2 06/15] arm: socfpga: agilex: Add system manager support

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add system manager support for Agilex. Signed-off-by: Ley Foon Tan --- v2: - Include system_manager_s10_agilex_common.h in system_manager_agilex.h --- .../include/mach/system_manager.h | 2 + .../include/mach/system_manager_agilex.h

Re: [U-Boot] [RESEND PATCH v2 05/15] arm: socfpga: Move Stratix10 and Agilex system manager common code

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Move Stratix10 and Agilex system manager common code new header file. Signed-off-by: Ley Foon Tan --- v2: - Move common defines for Stratix 10 and Agilex to system_manager_s10_agilex_common.h Looks good, but is there really no internal codename f

Re: [U-Boot] [RESEND PATCH v2 04/15] arm: socfpga: agilex: Add reset manager support

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Add reset manager support for Agilex. Signed-off-by: Ley Foon Tan --- .../mach-socfpga/include/mach/reset_manager.h | 5 ++- .../include/mach/reset_manager_agilex.h | 38 +++ arch/arm/mach-socfpga/reset_manager.c |

Re: [U-Boot] [RESEND PATCH v2 03/15] arm: socfpga: Move Stratix10 and Agilex reset manager common code

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:56 schrieb Ley Foon Tan: Move Stratix10 and Agilex reset manager common code to reset_manager.h. Hmm, I'd feel better if this was in a file common to these two architectures, not in such a generic file. Do you have some kind of internal code name that would describe "Strat

Re: [U-Boot] [PATCH v7 0/2] add command env erase

2019-07-09 Thread Simon Goldschmidt
Am 09.07.2019 um 21:48 schrieb Frank Wunderlich: Hi Simon Am 9. Juli 2019 21:23:45 MESZ schrieb Simon Goldschmidt : I remember having answered to v5, then you sent v6 and without further responses sent v7. I fail to read from the patches what actually changed between the versions. You have wri

Re: [U-Boot] [PATCH v7 0/2] add command env erase

2019-07-09 Thread Frank Wunderlich
Hi Simon Am 9. Juli 2019 21:23:45 MESZ schrieb Simon Goldschmidt : >I remember having answered to v5, then you sent v6 and without further >responses sent v7. I fail to read from the patches what actually >changed >between the versions. You have written a changelog in the cover letter, > >pleas

Re: [U-Boot] [RESEND PATCH v2 02/15] arm: socfpga: Move firewall code to firewall file

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:55 schrieb Ley Foon Tan: Move firewall related code to new firewall.c, to share code in Stratix 10 and Agilex. No functional change. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- arch/arm/mach-socfpga/Makefile| 1 + arch/arm/mach-so

Re: [U-Boot] [RESEND PATCH v2 01/15] arm: socfpga: agilex: Add base address for Intel Agilex SoC

2019-07-09 Thread Simon Goldschmidt
Am 04.07.2019 um 10:55 schrieb Ley Foon Tan: Add base address for Intel Agilex SoC. Reuse base_addr_s10.h for Agilex, only one base address is different from S10. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v2: - Reuse base_addr_s10.h and add #ifdef Agilex for SOCFPGA_

Re: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-07-09 Thread Eugeniu Rosca
Hi All, On Wed, Apr 24, 2019 at 05:19:53PM +0530, Keerthy wrote: > Add ofnode_get_addr_size_index function to fetch the address > and size of the reg space based on index. > > Signed-off-by: Keerthy > Reviewed-by: Simon Glass > --- > > Previous discussion can be found here: > > * https://p

Re: [U-Boot] [RESEND PATCH v2 00/15] Add Intel Agilex SoC support

2019-07-09 Thread Simon Goldschmidt
Tom, Marek, I'd like to assign these patches to me in patchwork but failed to do so. Does anyone need to add me there as co-custodian for socfpga? Thanks, Simon Am 04.07.2019 um 10:55 schrieb Ley Foon Tan: This is 2nd version of patchset (RESEND) to add Intel Agilex SoC[1] support. This patc

Re: [U-Boot] [PATCH v7 2/2] env: mmc: add erase-function

2019-07-09 Thread Simon Goldschmidt
Am 29.06.2019 um 11:36 schrieb Frank Wunderlich: this adds erase environment for mmc storage squashed fixes: - add CONFIG_CMD_ERASEENV - env: erase redundant offset if defined - changes mentioned by Simon - fix whitespaces around errmsg Suggested-by: Simon Goldschmidt Signed-off-by: Fr

Re: [U-Boot] [PATCH v7 1/2] env: register erase command

2019-07-09 Thread Simon Goldschmidt
Am 29.06.2019 um 11:36 schrieb Frank Wunderlich: this patch adds basic changes for adding a erase-subcommand to env with this command the environment stored on non-volatile storage written by saveenv can be cleared. Signed-off-by: Frank Wunderlich squashed fixes - start message with "Erasin

Re: [U-Boot] [PATCH v7 0/2] add command env erase

2019-07-09 Thread Simon Goldschmidt
Am 07.07.2019 um 20:40 schrieb Frank Wunderlich: any new opinions about last version? can it be merged to next u-boot version? I remember having answered to v5, then you sent v6 and without further responses sent v7. I fail to read from the patches what actually changed between the versions.

[U-Boot] [PATCH v3 8/8] x86: Skip setting up MTRRs in slimbootloader

2019-07-09 Thread Park, Aiden
The setting up MTRRs have already been done in previous Slim Bootloader stages. Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- arch/x86/lib/init_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/init_helpers.c b/arch/x86/lib/init_helpers.c index 0

[U-Boot] [PATCH v3 6/8] x86: slimbootloader: Add a slimbootloader device tree

2019-07-09 Thread Park, Aiden
Add a new device tree which has very minimum nodes - x86 reset - x86 tsc_timer - x86 pci - Slim Bootloader serial Signed-off-by: Aiden Park --- Changes in v3: * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb arch/x86/dts/Makefile | 1 + arch/x86/dts/slimbootloader

[U-Boot] [PATCH v3 7/8] board: intel: Add new slimbootloader board

2019-07-09 Thread Park, Aiden
Add slimbootloader board to run U-boot as a Slim Bootloader payload - Add new board/intel/slimbootloader directory with minimum codes - Add slimbootloader configuration files - Add README in board/intel/slimbootloader Signed-off-by: Aiden Park --- Changes in v3: * Remove VENDOR_SLIMBOOTLOADER

[U-Boot] [PATCH v3 5/8] x86: slimbootloader: Set TSC information for timer driver

2019-07-09 Thread Park, Aiden
Slim Bootloader provides TSC clock information in its performance info hob. For now, TSC clock information is only used for timer driver from the performance info hob. - Get TSC frequency from performance info hob - Set tsc_base and clock_rate for timer driver Signed-off-by: Aiden Park --- Chang

[U-Boot] [PATCH v3 3/8] x86: slimbootloader: Add memory configuration

2019-07-09 Thread Park, Aiden
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well. - Get memory size from the memory map info hob - Set ram top for U-Boot relocation lower than 4GB - Provide e820 entries from the memo

[U-Boot] [PATCH v3 4/8] x86: slimbootloader: Add serial driver

2019-07-09 Thread Park, Aiden
Slim Bootloader provides serial port info thru its HOB list pointer. All these HOBs are eligible for Slim Bootloader based board only. - Get serial port information from the serial port info hob - Leverage ns16550 driver with slimbootloader specific platform data Signed-off-by: Aiden Park --- Ch

[U-Boot] [PATCH v3 2/8] x86: Add a common hob library

2019-07-09 Thread Park, Aiden
FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER) consume HOB data from the each HOB list pointer. Add a common hob library/header in lib/hob.c and include/asm/hob.h. Signed-off-by: Aiden Park --- Changes in v3: * Create a common HOB libary from fsp_hob and fsp_support arch

[U-Boot] [PATCH v3 1/8] x86: Add new slimbootloader CPU type

2019-07-09 Thread Park, Aiden
This slimbootloader cpu type is to enable u-boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader). The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS booting, and supports qemu, Apollolake, Whiskeylake and Coff

[U-Boot] [PATCH v3 0/8] x86: Add basic Slim Bootloader payload support

2019-07-09 Thread Park, Aiden
This patch is to enable u-boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader/slimbootloader) boot firmware for x86 platforms. The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS hand-off, and supports qemu

Re: [U-Boot] [PULL] u-boot-atmel-2019.10-a

2019-07-09 Thread Tom Rini
On Tue, Jul 09, 2019 at 12:14:45PM +, eugen.hris...@microchip.com wrote: > Hello Tom, > > Please pull tag u-boot-atmel-2019.10-a , the first set of new features > and fixes for u-boot-atmel for 2019.10 release. > > This includes the Atmel QSPI driver and support for the at91 boards. > This

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

2019-07-09 Thread Simon Glass
Hi Tom, Build is here: https://travis-ci.org/sglass68/u-boot/builds/556001438 (looks like there is a unicode issue I need to look at) The following changes since commit e5aee22e4be75e75a854ab64503fc80598bc2004: Prepare v2019.07 (2019-07-08 15:23:28 -0400) are available in the Git repository

[U-Boot] U-Boot FT81x Graphics Driver

2019-07-09 Thread harsha kiran
Hello u-boot community, I am working on a custom board with a LCD from FTDI ( FT81x graphics controller). I have a lot of examples from applicaition layer and its working from linux. However, i want to display a logo upon startup and i want to do it in the bootloader. I am using the 2018.05 ve

[U-Boot] [PATCH 3/3] ARM: dts: rmobile: Synchronize Gen3 DTs with Linux 5.2

2019-07-09 Thread Eugeniu Rosca
Backport and squash below Linux 5.2 commits for R-Car Gen3: Commit id * Summary line 6fffb98645e67b5 arm64: dts: renesas: r8a77990: ebisu: Add GPIO expander b068ed6efe6244d arm64: dts: renesas: r8a77990: Fix SPDX license identifier style 96c25882252704d ! arm64: dts: renesas: r8a7796: r

[U-Boot] [PATCH 2/3] dt-bindings: Synchronize R-Car Gen3 headers with Linux 5.2

2019-07-09 Thread Eugeniu Rosca
Backport and squash below Linux v5.2 commits: Commit id * Summary line da3e1c57caf93e [1] soc: renesas: r8a77970-sysc: Remove non-existent CR7 power domain b5eb730e031aca [1] soc: renesas: r8a77970-sysc: Correct names of A2DP/A2CN power domains 3961d355dfb512 dt-bindings: power: r8a77

[U-Boot] [PATCH 0/3] Align R-Car Gen3 DTS/bindings/PFC with Linux 5.2

2019-07-09 Thread Eugeniu Rosca
Refresh/resume the Linux 5.2 backporting/alignment started in [1]. Add DT bindings and DTS (Gen3-only) updates to the pile. Changes in drivers/clk/renesas/ remain subject of future work. Boot-tested on: - H3-ES2.0 Salvator-X (r8a7795_salvator-x_defconfig) - M3-ES1.1 Salvator-XS (r8a7796_salvator

Re: [U-Boot] [PATCH] drivers: net: phy: Ignore PHY ID 0 during PHY probing

2019-07-09 Thread Joe Hershberger
On Tue, Jul 9, 2019 at 10:17 AM Alex Marginean wrote: > > On 7/9/2019 4:25 PM, Joe Hershberger wrote: > > On Tue, Jul 9, 2019 at 7:53 AM Alex Marginean > > wrote: > >> > >> Hi Joe, > >> > >> On 7/8/2019 8:08 PM, Joe Hershberger wrote: > >>> On Wed, Jul 3, 2019 at 4:01 AM Alex Marginean > >>> w

Re: [U-Boot] [PATCH v2] serial: mxc: Add compatibles to NXP's serial driver (for imx21 and imx53)

2019-07-09 Thread Marek Vasut
On 7/9/19 5:00 PM, Lukasz Majewski wrote: > This patch fixes not enabled uart2 (and hence serial console) on i.MX53 > devices. After following commit 1d255904c306 ("ARM: dts: imx: imx53: > Synchronize iMX53 DT with Linux") from the uart2 compatible the > 'fsl,imx7d-uart' has been removed (which was

Re: [U-Boot] [PATCH] FIX: ARM: IMX: Add compatible 'fsl, imx53-uart' to NXP's serial driver

2019-07-09 Thread Marek Vasut
On 7/9/19 5:06 PM, Lukasz Majewski wrote: > Hi Marek, > >> On 7/9/19 4:04 PM, Lukasz Majewski wrote: >>> This patch fixes not enabled uart2 (and hence serial console) on >>> i.MX53 devices. After following commit 1d255904c306 ("ARM: dts: >>> imx: imx53: Synchronize iMX53 DT with Linux") from the u

Re: [U-Boot] [PATCH] drivers: net: phy: Ignore PHY ID 0 during PHY probing

2019-07-09 Thread Alex Marginean
On 7/9/2019 4:25 PM, Joe Hershberger wrote: On Tue, Jul 9, 2019 at 7:53 AM Alex Marginean wrote: Hi Joe, On 7/8/2019 8:08 PM, Joe Hershberger wrote: On Wed, Jul 3, 2019 at 4:01 AM Alex Marginean wrote: Hi Bin, On 7/3/2019 10:39 AM, Bin Meng wrote: Hi Alex, On Wed, Jul 3, 2019 at 3:09 A

Re: [U-Boot] [PATCH] FIX: ARM: IMX: Add compatible 'fsl, imx53-uart' to NXP's serial driver

2019-07-09 Thread Lukasz Majewski
Hi Marek, > On 7/9/19 4:04 PM, Lukasz Majewski wrote: > > This patch fixes not enabled uart2 (and hence serial console) on > > i.MX53 devices. After following commit 1d255904c306 ("ARM: dts: > > imx: imx53: Synchronize iMX53 DT with Linux") from the uart2 > > compatible the 'fsl,imx7d-uart' has be

[U-Boot] [PATCH v2] serial: mxc: Add compatibles to NXP's serial driver (for imx21 and imx53)

2019-07-09 Thread Lukasz Majewski
This patch fixes not enabled uart2 (and hence serial console) on i.MX53 devices. After following commit 1d255904c306 ("ARM: dts: imx: imx53: Synchronize iMX53 DT with Linux") from the uart2 compatible the 'fsl,imx7d-uart' has been removed (which was correct). However, the root cause of the problem

Re: [U-Boot] [PATCH] env: ti: boot: Use ttyS2 instead of ttyO2

2019-07-09 Thread Sam Protsenko
+ Dan Rue On Tue, Jul 9, 2019 at 5:49 PM Sam Protsenko wrote: > > ttyO2 console enables legacy CONFIG_SERIAL_OMAP driver in kernel. > Nowadays it's preferred to use the generic CONFIG_SERIAL_8250_OMAP > driver, which being enabled via ttyS2 console. Both drivers are enabled > in multi_v7_defconfi

[U-Boot] [PATCH] env: ti: boot: Use ttyS2 instead of ttyO2

2019-07-09 Thread Sam Protsenko
ttyO2 console enables legacy CONFIG_SERIAL_OMAP driver in kernel. Nowadays it's preferred to use the generic CONFIG_SERIAL_8250_OMAP driver, which being enabled via ttyS2 console. Both drivers are enabled in multi_v7_defconfig and in omap2plus_defconfig, for compatibility reasons. Let's switch to t

Re: [U-Boot] [PATCH v6 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-09 Thread Joe Hershberger
On Tue, Jul 9, 2019 at 12:01 AM Keerthy wrote: > > Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW > NUSS). It has two ports and provides Ethernet packet communication for the > device and can be configured as an Ethernet switch. CPSW NUSS features: the > Reduced Gigabi

Re: [U-Boot] [PATCH 13/14] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-09 Thread Adam Ford
On Tue, Jul 9, 2019 at 9:41 AM Bartosz Golaszewski wrote: > > wt., 9 lip 2019 o 15:34 Adam Ford napisał(a): > > > > On Tue, Jul 9, 2019 at 2:55 AM Bartosz Golaszewski wrote: > > > > > > From: Bartosz Golaszewski > > > > > > Enable CONFIG_SPL_DM and enable the driver model for serial by defining

[U-Boot] [PATCH] env: ti: boot: Handle reboot reason from BCB

2019-07-09 Thread Sam Protsenko
In case of Android boot, reboot reason can be written into BCB (usually it's an area in 'misc' partition). U-Boot then can obtain that reboot reason from BCB and handle it accordingly to achieve correct Android boot flow, like it was suggested in [1]: - if it's empty: perform normal Android boot

Re: [U-Boot] [PATCH 13/14] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-09 Thread Bartosz Golaszewski
wt., 9 lip 2019 o 15:34 Adam Ford napisał(a): > > On Tue, Jul 9, 2019 at 2:55 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Enable CONFIG_SPL_DM and enable the driver model for serial by defining > > an appropriate device in the board file for da850-lcdk. > > > > Signed

Re: [U-Boot] UUID returning 00000000 in 2019.07

2019-07-09 Thread Adam Ford
On Tue, Jul 9, 2019 at 7:50 AM Adam Ford wrote: > > I have two different MMC devices and both return 0's for their UUID's > > i.MX6 Logic # part list mmc 1 > > Partition Map for MMC device 1 -- Partition Type: DOS > > Part Start Sector Num Sectors UUID Type > 1 2048 32768 -0

[U-Boot] [PATCH] rockchip: rock960-rk3399: fix mail format in MAINTAINER file

2019-07-09 Thread Kever Yang
The mail format should have '<>', or else the patman won't recognize it correctley. Signed-off-by: Kever Yang --- board/vamrs/rock960_rk3399/MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/vamrs/rock960_rk3399/MAINTAINERS b/board/vamrs/rock960_rk3399/M

Re: [U-Boot] [PATCH] FIX: ARM: IMX: Add compatible 'fsl, imx53-uart' to NXP's serial driver

2019-07-09 Thread Marek Vasut
On 7/9/19 4:04 PM, Lukasz Majewski wrote: > This patch fixes not enabled uart2 (and hence serial console) on i.MX53 > devices. After following commit 1d255904c306 ("ARM: dts: imx: imx53: > Synchronize iMX53 DT with Linux") from the uart2 compatible the > 'fsl,imx7d-uart' has been removed (which was

[U-Boot] [PATCH 10/15] rockchip: rk3328: use defaule value for SYS_MALLOC_F_LEN

2019-07-09 Thread Kever Yang
There is no difference in rk3328 board use for SYS_MALLOC_F_LEN, so we can use default value. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3328/Kconfig | 2 +- configs/rock64-rk3328_defconfig | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-rock

Re: [U-Boot] [PATCH 5/5] toradex: configblock: fix long line

2019-07-09 Thread Oleksandr Suvorov
On Tue, 9 Jul 2019 at 12:43, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Fix long line issue as reported by checkpatch.pl. > > Signed-off-by: Marcel Ziswiler > > --- > > board/toradex/common/tdx-cfg-block.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/boar

  1   2   3   >