Re: [U-Boot] FDT placement in OpenSBI + U-Boot + Linux kernel issue for RISC-V

2019-09-08 Thread Anup Patel
Hi, I think keeping FDT placement in-sync between U-Boot and OpenSBI across platforms is going to be painful. I suggest that for all platforms U-Boot explicitly load FDT from somewhere so: 1. U-Boot ${fdt_addr_r} default value will be recommended location of FDT 2. U-Boot ${fdtcontroladdr} will

Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-09-08 Thread Xiaowei Bao
> -Original Message- > From: Prabhakar Kushwaha > Sent: 2019年8月26日 23:12 > To: Xiaowei Bao ; w...@denx.de; Shengzhou Liu > ; Ruchika Gupta ; > ja...@amarulasolutions.com; s...@chromium.org; Chuanhua Han > ; Jagdish Gediya ; > bmeng...@gmail.com; u-boot@lists.denx.de > Cc: York Sun ;

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-08 Thread Bin Meng
Hi Marcus, On Sun, Sep 8, 2019 at 10:48 PM Marcus Comstedt wrote: > > > Hi Bin, > > Bin Meng writes: > > >> And which "Linux DTB" should that be? Since RISC-V seems to be going > > > > The one in arch/riscv/boot/dts/sifive. > > Yes, but in which Linux? This whole thing started because U-Boot

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

2019-09-08 Thread Samuel Mendoza-Jonas
On Tue, 2019-07-09 at 23:33 +, Joe Hershberger wrote: > 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

Re: [U-Boot] [PATCH 1/2] Convert CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE to Kconfig

2019-09-08 Thread Peng Fan
> Subject: [PATCH 1/2] Convert CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE to > Kconfig > > This converts the following to Kconfig: > > CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE > > Signed-off-by: Sébastien Szymanski > --- > configs/warp7_defconfig | 1 + > configs/warp_defconfig | 1 + >

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

2019-09-08 Thread Tom Rini
On Sat, Sep 07, 2019 at 07:31:18PM +0200, Marek Vasut wrote: > The following changes since commit d22c8be964a870f59d2fdab6c67cefa0c4799364: > > Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-09-01 > 13:33:12 -0400) > > are available in the Git repository at: > >

[U-Boot] [PULL] u-boot-mmc mmc-9-6-2019

2019-09-08 Thread Peng Fan
Hi Tom, Please pull u-boot-mmc tag mmc-9-6-2019. Bug fixes to mmc_spi Add Aspeed SD driver Fix dw_mmc timeout calculation Fix timeout values passed to mmc_wait_dat0 sdhci dt caps/mask update

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-08 Thread Marcus Comstedt
Hi Bin, Bin Meng writes: >> And which "Linux DTB" should that be? Since RISC-V seems to be going > > The one in arch/riscv/boot/dts/sifive. Yes, but in which Linux? This whole thing started because U-Boot will no longer accept the DTB used with Linux 4.14. If each Linux version is going to

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-08 Thread Bin Meng
Hi Marcus, On Sun, Sep 8, 2019 at 9:19 PM Marcus Comstedt wrote: > > > Bin Meng writes: > > > OpenSBI v0.4 works fine if you supply the the Linux DTB via > > FW_PAYLOAD_FDT_PATH when building OpenSBI. > > And which "Linux DTB" should that be? Since RISC-V seems to be going The one in

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-08 Thread Marcus Comstedt
Bin Meng writes: > OpenSBI v0.4 works fine if you supply the the Linux DTB via > FW_PAYLOAD_FDT_PATH when building OpenSBI. And which "Linux DTB" should that be? Since RISC-V seems to be going the same annoying way as ARM with a requirement that you switch DTB every time you switch kernel

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-08 Thread Bin Meng
Hi Marcus, On Sun, Sep 8, 2019 at 8:54 PM Marcus Comstedt wrote: > > > Hi Bin, > > Bin Meng writes: > > > I believe the officially supported booting workflow is to use the > > latest DT from Linux and compile it into OpenSBI, then boot to U-Boot. > > The original DT shipped by FSBL is not used

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-08 Thread Marcus Comstedt
Hi Bin, Bin Meng writes: > I believe the officially supported booting workflow is to use the > latest DT from Linux and compile it into OpenSBI, then boot to U-Boot. > The original DT shipped by FSBL is not used by OpenSBI or U-Boot. Ok, if U-Boot uses a DT compiled into OpenSBI then the

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-08 Thread Bin Meng
Hi Marcus, On Sun, Sep 8, 2019 at 5:36 PM Marcus Comstedt wrote: > > Commit ed0ef37 broke compatibility with HiFive Unleashed with SiFive > FSBL 2018-03-20. This caused ethernet to stop working. Restore > compatibility by adding back the needed compatible string, and > removing the special

Re: [U-Boot] [usb dwc3] xHCI driver -- a hint needed.

2019-09-08 Thread Bin Meng
Hi Neil, On Sun, Sep 8, 2019 at 8:33 PM Neil Armstrong wrote: > > Hi Bin, > > Le 07/09/2019 à 05:44, Bin Meng a écrit : > > Hi Neil, > > > > On Thu, Sep 5, 2019 at 11:48 PM Neil Armstrong > > wrote: > >> > >> Hi Bin, > >> > >> I've been having the same behavior on the Amlogic S905X SoC with a

Re: [U-Boot] [usb dwc3] xHCI driver -- a hint needed.

2019-09-08 Thread Neil Armstrong
Hi Bin, Le 07/09/2019 à 05:44, Bin Meng a écrit : > Hi Neil, > > On Thu, Sep 5, 2019 at 11:48 PM Neil Armstrong > wrote: >> >> Hi Bin, >> >> I've been having the same behavior on the Amlogic S905X SoC with a DWC3 XHCI >> controller >> connected to 2 HS-only PHYs and no SS PHY. >> >> When a

[U-Boot] FDT placement in OpenSBI + U-Boot + Linux kernel issue for RISC-V

2019-09-08 Thread Atish Patra
Hi All, I noticed following issues around U-Boot fdt location in Unleashed and Qemu virt machine. OpenSBI copies the FDT to following addresses for respective platforms Qemu: 0x8220 Unleashed: 0x8800 As CONFIG_PRIOR_STAGE is set for both platforms, fdt is first copied

[U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-08 Thread Marcus Comstedt
Commit ed0ef37 broke compatibility with HiFive Unleashed with SiFive FSBL 2018-03-20. This caused ethernet to stop working. Restore compatibility by adding back the needed compatible string, and removing the special handling of rtcclk which was dead code anyway since no __prci_clock actually

[U-Boot] [RFC] xz compression for U-Boot images

2019-09-08 Thread Heinrich Schuchardt
Hello Tom, in one of you recent mails you highlighted the worrisome growth of the U-Boot images. The UEFI sub-system is just one part of it. Are you aware off any prior efforts to prepend U-Boot with a self-extractor? With xz a U-Boot image can be compressed by a factor of more than 2.5. The