Re: [U-Boot] [PATCH 4/5] rockchip: dts: rk3328: add rk3328-rock64.dts

2019-05-15 Thread Kever Yang
Hi Matwey, On 05/08/2019 02:34 PM, Matwey V. Kornilov wrote: > rk3328-rock64.dts has been taken from Linux kernel with minor > modifications. Could you detail about which commit of kernel do you take this dts from? > > Signed-off-by: Matwey V. Kornilov > --- > arch/arm/dts/Makefile

[U-Boot] [PATCH 3/3] arm: mediatek: remove arch_misc_init

2019-05-15 Thread Weijie Gao
The watchdog of mediatek chips is enabled by bootrom before u-boot is running. Previously we choose to enable the wdt driver only to disable the watchdog hardware. Now wdt service is enabled by default. The function arch_misc_init which is only used to disable wdt is no longer needed. Reviewed-by

[U-Boot] [PATCH 1/3] board_r: move initr_serial to be called before initr_watchdog

2019-05-15 Thread Weijie Gao
The initr_watchdog is currently placed before initr_serial. The initr_watchdog calls printf and printf finally calls ops->putc of a serial driver. However, gd->cur_serial_dev points to a udevice allocated in board_f. The gd->cur_serial_dev->driver->ops->putc points the the code region before reloc

[U-Boot] [PATCH 2/3] watchdog: mtk_wdt: fix timeout calculation

2019-05-15 Thread Weijie Gao
U-Boot passes timeout in milliseconds for ops->start. However the driver treats this value as seconds. This will cause an overflow on writing wdt register. This patch divides the timeout by 1000 before writing to wdt register. Reviewed-by: Ryder Lee Signed-off-by: Weijie Gao --- drivers/watchd

[U-Boot] [v2] board: ls1028a: Add an empty video hw init function

2019-05-15 Thread Wen He
The video driver causes a link failure when config VIDEO built-in, drivers/video/cfb_console.c:2022: undefined reference to `video_hw_init' Adding an empty video hw init to slove the build issue, now the board does not support display anything on U-boot. Signed-off-by: Wen He --- board/freesca

[U-Boot] [PATCH 1/1] efi_loader: merge adjacent sprintf()

2019-05-15 Thread Heinrich Schuchardt
In the implementation of the device path to text protocol join adjacent sprintf() statements. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path_to_text.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_device_path_to_text.c b/lib/e

[U-Boot] [v1] ls1028a: video: Add a empty video hw init for LS1028A

2019-05-15 Thread Wen He
The video driver causes a link failure when config VIDEO built-in, drivers/video/cfb_console.c:2022: undefined reference to `video_hw_init' Adding a empty video hw init to slove the build issue, now the board does not support display anything on U-boot. Signed-off-by: Wen He --- board/freescal

[U-Boot] [PATCH 12/15] i.MX7ULP: Workaround APLL PFD2 to 345.6Mhz

2019-05-15 Thread Peng Fan
From: Ye Li The GPU uses APLL PFD2 as its clock parent (483.84Mhz) with divider set to 1. This frequecy is out of ULP A0 spec. The MAX rate for GPU is 350Mhz. So we simply configure the APLL PFD2 to 345.6Mhz (FRAC=28) to workaround the problem. The correct fix should let GPU handle the clock rate

[U-Boot] [PATCH 14/15] i.MX7ULP: Set A7 core frequency to 500Mhz for B0 chip

2019-05-15 Thread Peng Fan
From: Ye Li The normal target frequency for ULP A7 core is 500Mhz, but now ROM set the core frequency to 413Mhz. So change it to 500Mhz in u-boot. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx7ulp/scg.h | 1 + arch/arm/mach-imx/mx7ulp/clock.c | 2 ++ ar

[U-Boot] [PATCH 13/15] i.MX7ULP: Add CPU revision check for B0

2019-05-15 Thread Peng Fan
Since there is no register for CPU revision, we use ROM version to check the A0 or B0 chip. Signed-off-by: Peng Fan --- arch/arm/mach-imx/mx7ulp/soc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/mx7ulp/soc.c b/arch/arm/mach-imx/mx7ulp/soc.c index

[U-Boot] [PATCH 15/15] i.MX7ULP: Change clock rate calculation for NIC1 BUS and EXT

2019-05-15 Thread Peng Fan
From: Ye Li On i.MX7ULP B0, there is change in NIC clock dividers architecture. On A0, the NIC1 BUS and EXT dividers were in a chain with NIC1 DIV, but on B0 they are parallel with NIC1 DIV. So now the dividers are independent. This patch modifies the scg_nic_get_rate function according to this c

[U-Boot] [PATCH 08/15] i.MX7ULP: Fix wrong i2c configuration name

2019-05-15 Thread Peng Fan
From: Ye Li Wrong I2c driver configuration name is used in codes, so I2c driver is not built. Correct it. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx7ulp/clock.h | 2 +- arch/arm/mach-imx/mx7ulp/clock.c | 2 +- configs/mx7ulp_evk_defconfig

[U-Boot] [PATCH 09/15] misc: Kconfig: make i.MX7ULP could use MXC_OCOTP

2019-05-15 Thread Peng Fan
Signed-off-by: Peng Fan --- drivers/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 0e645f58be..911777137d 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -128,7 +128,7 @@ config JZ4780_EFUSE con

[U-Boot] [PATCH 05/15] i.MX7ULP: Correct the clock index

2019-05-15 Thread Peng Fan
From: Bai Ping On i.MX7ULP, value zero is reserved in SCG1 RCCR register, so the val should be decreased by 1 to get the correct clock source index. Signed-off-by: Bai Ping Signed-off-by: Peng Fan --- arch/arm/mach-imx/mx7ulp/scg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[U-Boot] [PATCH 10/15] i.MX7ULP: evk: Enable fuse comamnd

2019-05-15 Thread Peng Fan
Enable fuse command Signed-off-by: Peng Fan --- configs/mx7ulp_evk_defconfig| 1 + configs/mx7ulp_evk_plugin_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/mx7ulp_evk_defconfig b/configs/mx7ulp_evk_defconfig index 62a1ed6393..520bdd4722 100644 --- a/configs/mx7ul

[U-Boot] [PATCH 04/15] i.MX7ULP: Fix system reset after a7 rtc alarm expired.

2019-05-15 Thread Peng Fan
From: Bai Ping The board will reboot if A7 core enter mem mode by rtc, then M4 core enter VLLS mode after the RTC alarm expired. Enable the dumb PMIC mode to fix this issue. Since i.MX7ULP B0 moves the SNVS LP into M4 domain, A core can't access it. So check the CPU rev and not apply the settings

[U-Boot] [PATCH 11/15] i.MX7ULP: Fix SPLL/APLL clock rate calculation issue

2019-05-15 Thread Peng Fan
From: Ye Li The num/denom is a float value, but in the calculation it is convert to integer 0, and cause the result wrong. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/mach-imx/mx7ulp/scg.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/ma

[U-Boot] [PATCH 07/15] i.MX7ULP: Add CONFIG_MX7ULP to kconfig

2019-05-15 Thread Peng Fan
From: Ye Li Since many drivers need this CONFIG_MX7ULP to distiguish the settings for i.MX7ULP only. Add this entry to cpu's kconfig. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/mach-imx/mx7ulp/Kconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch

[U-Boot] [PATCH 06/15] i.MX7ULP: Fix PCC register bits mask and offset issue

2019-05-15 Thread Peng Fan
From: Ye Li The offset for FRAC and the mask for PCD are not correct. If we set FRAC, we can't get the right frequency. Fix them to correct value. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx7ulp/pcc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH 03/15] i.MX7ULP: evk: Modify FDT file to disable SD3.0 for usb boot

2019-05-15 Thread Peng Fan
Since the SD3.0 kernel driver needs M4 image support, this causes problem for usb boot booting into kernel. To decouple the relationship, we modify the FDT file in u-boot to disable SD3.0. So the kernel won't depend on M4 image. Signed-off-by: Peng Fan --- board/freescale/mx7ulp_evk/mx7ulp_evk.

[U-Boot] [PATCH 02/15] imx: i.MX7ULP: add get_boot_device

2019-05-15 Thread Peng Fan
Add get_boot_device for i.MX7ULP Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx7ulp/imx-regs.h | 13 + arch/arm/include/asm/arch-mx7ulp/sys_proto.h | 1 + arch/arm/mach-imx/mx7ulp/soc.c | 27 +++ 3 files changed, 41 insertions(+) dif

[U-Boot] [PATCH 01/15] mx7ulp: Add common plugin codes for mx7ulp

2019-05-15 Thread Peng Fan
From: Ye Li Add common plugin codes to call ROM's hwcnfg_setup and generate IVT2 header. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx7ulp/mx7ulp_plugin.S | 93 arch/arm/mach-imx/Kconfig| 2 +- 2 files changed,

[U-Boot] [PATCH 2/2] pci: layerscape: Add the workaround for errata A-009460

2019-05-15 Thread Xiaowei Bao
From: Xiaowei Bao The VF_BARn_REG register's Prefetchable and Type bit fields are overwritten by a write to VF's BAR Mask register. workaround: Before writing to the VF_BARn_MASK_REG register, write 0b to the PCIE_MISC_CONTROL_1_OFF register. Signed-off-by: Xiaowei Bao --- drivers/pci/pcie_lay

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

2019-05-15 Thread Xiaowei Bao
From: Xiaowei Bao Signed-off-by: hongbo.wang Signed-off-by: Minghuan Lian Signed-off-by: Xiaowei Bao --- drivers/pci/pcie_layerscape.c | 117 +++- drivers/pci/pcie_layerscape.h | 17 +-- 2 files changed, 92 insertions(+), 42 deletions(-) diff --git

Re: [U-Boot] [linux-sunxi] [PATCH 2/6] sunxi: gpio: Enable support for H6 pin controller

2019-05-15 Thread Icenowy Zheng
于 2019年5月16日 GMT+08:00 上午9:26:29, Andre Przywara 写到: >The Allwinner H6 pin controller is not really special, at least not >when >it comes to normal GPIO operation. > >Add the H6 compatible strings to the list of recognised strings, to >make >GPIOs work for H6 boards. > >Signed-off-by: Andre Przy

[U-Boot] [PATCH 5/6] sunxi: H6: Enable USB for existing boards

2019-05-15 Thread Andre Przywara
So far USB was not enabled for the Allwinner H6 boards, as the PHY driver was not ready and the clock gates were missing. Since this is now fixed, let's add the PHY and the OHCI/EHCI drivers to the build, for all existing H6 boards. Signed-off-by: Andre Przywara --- arch/arm/mach-sunxi/Kconfig

[U-Boot] [PATCH 6/6] sunxi: Pine64: DTS: enable USB PHY 0 for HCI0

2019-05-15 Thread Andre Przywara
The first USB controller on the H6 SoC shares a PHY with the OTG controller. Reportedly to avoid problems with the VBUS regulator under Linux, we don't link OHCI0/EHCI0 to the USB PHY in the H6 .dtsi file. However on boards which can't use peripheral mode (because they have an always-on VBUS suppl

[U-Boot] [PATCH 4/6] sunxi: phy: Add USB PHY support for Allwinner H6

2019-05-15 Thread Andre Przywara
The USB PHY used in the Allwinner H6 SoC has some pecularities (as usual), which require a small addition to the USB PHY driver: In this case the second PHY is PHY3, not PHY1, so we need to skip number 1 and 2 in the code. Just use the respective code from Linux for that. Signed-off-by: Andre Przy

[U-Boot] [PATCH 2/6] sunxi: gpio: Enable support for H6 pin controller

2019-05-15 Thread Andre Przywara
The Allwinner H6 pin controller is not really special, at least not when it comes to normal GPIO operation. Add the H6 compatible strings to the list of recognised strings, to make GPIOs work for H6 boards. Signed-off-by: Andre Przywara --- drivers/gpio/sunxi_gpio.c | 2 ++ 1 file changed, 2 in

[U-Boot] [PATCH 3/6] sunxi: clocks: Add H6 USB clock gates and resets

2019-05-15 Thread Andre Przywara
To enable USB support in U-Boot, add the required clock and reset gates to the H6 clock driver. Once enabled, the generic EHCI/OCHI drivers will pick them up from there automatically. Signed-off-by: Andre Przywara --- drivers/clk/sunxi/clk_h6.c | 29 + 1 file changed,

[U-Boot] [PATCH 1/6] sunxi: move SUNXI_GPIO to Kconfig

2019-05-15 Thread Andre Przywara
Probably for no particular reason SUNXI_GPIO was still defined the "old way", in header files only. Introduce SUNXI_GPIO to the Kconfig file in drivers/gpio to remove another line from our dreadful config_whitelist.txt. Signed-off-by: Andre Przywara --- arch/arm/Kconfig | 1 + dri

[U-Boot] [PATCH 0/6] sunxi: H6: Enable USB (2.0) support

2019-05-15 Thread Andre Przywara
Hi, this series enables USB support on the H6 boards. This is mostly just adding some missing pieces here and there, the actual controller and PHY are very similar to the previous ones, if not identical. This is for the 2.0 ports only at the moment, USB 3.0 will be done later (started porting Icen

[U-Boot] [PATCH 2/2] sunxi: Pine64: DTS: enable USB PHY 0 for HCI0

2019-05-15 Thread Andre Przywara
The first USB controller on the A64 SoC shares a PHY with the OTG controller. Reportedly to avoid problems with the VBUS regulator under Linux, we don't link OHCI0/EHCI0 to the USB PHY in the A64 .dtsi file. However on boards which can't use peripheral mode (because they have an always-on VBUS sup

[U-Boot] [PATCH 1/2] sunxi: USB PHY: Support shared PHY 0

2019-05-15 Thread Andre Przywara
The Allwinner H3, H5, H6 and A64 SoCs share USB PHY 0 between the first HCI controller (OHCI0/EHCI0) and the MUSB OTG controller. Bit 0 in PHY register 0x20 selects with of the controllers is connected to the PHY. So far we were hardwiring this bit to 0, so that the OTG controller controls the pins

[U-Boot] [PATCH 0/2] sunxi: A64: enable first USB port on Pine64 boards

2019-05-15 Thread Andre Przywara
Since the beginning the upper USB port on Pine64 boards (Pine64+, SoPine baseboard, Pine64-LTS, Pinebook) was not working under U-Boot. This is due to the PHY for those pins being shared with the OTG controller, which we didn't even enable for those boards. Also the PHY code was always connecting t

[U-Boot] [PULL] u-boot-socfpga/master

2019-05-15 Thread Marek Vasut
SoCFPGA DT and reset cleanup, AE MCVEVK board support. The following changes since commit 90176e3be63802bc8630bab651d169993f0f0763: Merge tag 'efi-2019-07-rc3' of git://git.denx.de/u-boot-efi (2019-05-13 07:13:28 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpg

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

2019-05-15 Thread Marek Vasut
Align env position on GR-Peach with downstream U-Boot. The following changes since commit 90176e3be63802bc8630bab651d169993f0f0763: Merge tag 'efi-2019-07-rc3' of git://git.denx.de/u-boot-efi (2019-05-13 07:13:28 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git

[U-Boot] [PATCH v4 2/2] fit: Support compat string property in configuration node

2019-05-15 Thread Julius Werner
This patch adds support for an optional optimization to compatible string matching where the compatible string property from the root node of the kernel FDT can be copied into the configuration node of the FIT image. This is most useful when using compressed FDTs or when using FDT overlays, where t

[U-Boot] [PATCH v4 0/2] fit: Image node compression

2019-05-15 Thread Julius Werner
This patch series adds compression support for non-kernel FIT image nodes (e.g. FDTs). The first patch adds the compression support itself, the second adds a new feature to compatible string matching that allows it to be useful with compressed FDTs. Sandbox-tested with FIT images with and without

[U-Boot] [PATCH v4 1/2] fit: Support compression for non-kernel components (e.g. FDT)

2019-05-15 Thread Julius Werner
This patch adds support for compressing non-kernel image nodes in a FIT image (kernel nodes could already be compressed previously). This can reduce the size of FIT images and therefore improve boot times (especially when an image bundles many different kernel FDTs). The images will automatically b

Re: [U-Boot] [PATCH v3 1/2] fit: Support compression for non-kernel components (e.g. FDT)

2019-05-15 Thread Julius Werner
Like Simon (Goldschmidt) said, the current documentation for the "compression" property in image nodes already matches this, so I don't think I need to add anything there. I'll update the other patch to add documentation for compatible strings in config nodes, and then upload an .its example for co

Re: [U-Boot] [PATCH 04/13] arm: K3: Introduce System Firmware loader framework

2019-05-15 Thread Tom Rini
On Wed, May 15, 2019 at 04:39:22PM -0500, Andreas Dannenberg wrote: > Hi Tom, > > On Wed, May 15, 2019 at 11:17:22AM -0400, Tom Rini wrote: > > On Tue, May 07, 2019 at 12:25:33PM -0500, Andreas Dannenberg wrote: > > > > > Introduce a framework that allows loading the System Firmware (SYSFW) > > >

Re: [U-Boot] [PATCH 04/13] arm: K3: Introduce System Firmware loader framework

2019-05-15 Thread Andreas Dannenberg
Hi Tom, On Wed, May 15, 2019 at 11:17:22AM -0400, Tom Rini wrote: > On Tue, May 07, 2019 at 12:25:33PM -0500, Andreas Dannenberg wrote: > > > Introduce a framework that allows loading the System Firmware (SYSFW) > > binary as well as the associated configuration data from an image tree > > blob n

[U-Boot] [PATCH 1/1] efi_loader: parameter checks simple network protocol

2019-05-15 Thread Heinrich Schuchardt
Check buffer pointers are not NULL as required by the UEFI 2.7 spec. Return EFI_UNSUPPORTED instead of EFI_INVALID_PARAMETER when trying to transmit with non-zero header_size. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion

Re: [U-Boot] [PATCH 00/13] System Firmware Loader for TI K3 family SoCs

2019-05-15 Thread dannenb...@ti.com
Hi TF, On Mon, May 13, 2019 at 01:37:22PM +, Chee, Tien Fong wrote: > On Wed, 2019-05-08 at 13:43 -0500, dannenb...@ti.com wrote: > > Hi TF, > > thanks for chiming in. Comments inlined... > > > > On Wed, May 08, 2019 at 04:31:35AM +, Chee, Tien Fong wrote: > > > > > > On Tue, 2019-05-07

Re: [U-Boot] [PATCH] ARM: imx6logic: Stop overwriting fdt_file if manually set

2019-05-15 Thread Adam Ford
On Wed, Mar 13, 2019 at 10:49 AM Adam Ford wrote: > The board file uses the processor type to determine what dtb file > is set. Unfortunately, if the user wants to manually set this, > it get gets overwritten upon boot. This patch adds a check to > see if the value is already set and only chang

[U-Boot] [PATCH] ARM: da850evm: Enable block cache during SPL

2019-05-15 Thread Adam Ford
There appears to be enough RAM to support cache in SPL. This pach enables block cache in SPL. Signed-off-by: Adam Ford diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig index 09c6147e2d..8c16d5c4f5 100644 --- a/configs/da850evm_defconfig +++ b/configs/da850evm_defconfig @@ -47

Re: [U-Boot] [PATCH v2] Kconfig: fix FIT offset prompt text

2019-05-15 Thread Marek Vasut
On 5/15/19 11:10 PM, Ibai Erkiaga wrote: > The current prompt text for FIT external offset is identical to > SYS_TEXT_BASE which might confuse the users. Provided more accurate > description for the prompt text. > > Signed-off-by: Ibai Erkiaga Reviewed-by: Marek Vasut -- Best regards, Marek V

Re: [U-Boot] [PATCH] Kconfig: fix FIT offset prompt text

2019-05-15 Thread Marek Vasut
On 5/15/19 11:15 PM, Marek Vasut wrote: > On 5/15/19 3:57 PM, Ibai Erkiaga wrote: >> The current prompt text for FIT external offset is identical to >> SYS_TEXT_BASE which might confuse the users. Provided more accurate >> description for the prompt text. >> >> Signed-off-by: Ibai Erkiaga >> --- >

Re: [U-Boot] [PATCH] Kconfig: fix FIT offset prompt text

2019-05-15 Thread Marek Vasut
On 5/15/19 3:57 PM, Ibai Erkiaga wrote: > The current prompt text for FIT external offset is identical to > SYS_TEXT_BASE which might confuse the users. Provided more accurate > description for the prompt text. > > Signed-off-by: Ibai Erkiaga > --- > > Kconfig | 2 +- > 1 file changed, 1 insert

Re: [U-Boot] [PATCH] Kconfig: fix FIT offset prompt text

2019-05-15 Thread Ibai Erkiaga Elorza
> -Original Message- > From: Marek Vasut > Sent: 15 May 2019 15:09 > To: Ibai Erkiaga Elorza ; u-boot@lists.denx.de > Cc: Michal Simek ; Simon Glass ; > Masahiro Yamada ; Peng Fan > ; Chris Packham ; Jagan Teki > ; Stefan Roese > Subject: Re: [U-Boot][PATCH] Kconfig: fix FIT offset promp

[U-Boot] [PATCH v2] Kconfig: fix FIT offset prompt text

2019-05-15 Thread Ibai Erkiaga
The current prompt text for FIT external offset is identical to SYS_TEXT_BASE which might confuse the users. Provided more accurate description for the prompt text. Signed-off-by: Ibai Erkiaga --- Changes in v2: -More detailed text Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 1/1] efi_loader: GetVariable set attributes for EFI_BUFFER_TOO_SMALL

2019-05-15 Thread Heinrich Schuchardt
UEFI spec 2.7 erratum A leaves it undefined if Attributes should be set if GetVariable() returns EFI_BUFFER_TOO_SMALL. UEFI spec 2.8 defines that Attributes should be set if the return value is either EFI_SUCCESS or EFI_BUFFER_TOO_SMALL. Set Attributes if the return value is EFI_BUFFER_TOO_SMALL.

Re: [U-Boot] [PATCH 00/13] System Firmware Loader for TI K3 family SoCs

2019-05-15 Thread Andreas Dannenberg
Hi Tom, On Wed, May 15, 2019 at 11:16:43AM -0400, Tom Rini wrote: > On Tue, May 07, 2019 at 12:25:29PM -0500, Andreas Dannenberg wrote: > > > TI K3 SoCs like the AM654x devices are fundamentally dependent on a > > firmware called SYSFW (System Firmware) being loaded into the dedicated > > DMSC (D

Re: [U-Boot] [PATCH] Import include/android_bootloader_message.h from AOSP

2019-05-15 Thread Sam Protsenko
Reviewed-by: Sam Protsenko On Tue, May 14, 2019 at 10:46 PM Alex Deymo wrote: > > This takes the latest changes from AOSP from the file > bootloader_message/include/bootloader_message/bootloader_message.h > in the repository > https://android.googlesource.com/platform/bootable/recovery > and re-

Re: [U-Boot] [PATCH 13/18] arm: K3: am654: Map common EEPROM data into SRAM scratch space

2019-05-15 Thread Andreas Dannenberg
Tom et al., On Thu, May 09, 2019 at 11:27:25AM -0500, Andreas Dannenberg wrote: > > > Won't HS devices fail while accessing this region? We should drop it > > > altogether. > > > > > > > HS devices cannot read this before SYSFW is loaded as by default it is > > left firewalled by ROM. This rea

[U-Boot] [ANN] U-Boot v2019.07-rc2 released

2019-05-15 Thread Tom Rini
Hey all, It's 2 days past release day, oops, and here is v2019.07-rc2. I think we're largely in good shape, but there's some big things to address still. Things that we need to address are what to do about the code that has gone past the DM migration. What I've said elsewhere is that I want to

Re: [U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-15 Thread Simon Goldschmidt
Am 15.05.2019 um 18:19 schrieb Patrick DELAUNAY: Hi Simon This adds separate kconfig options for drivers/sysreset and drivers/firmware. Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL build but also added drivers/firmware and drivers/sysreset at the same time. Since that

Re: [U-Boot] [PATCH 3/7] warp7: include: configs: Differentiate bootscript address from loadaddr

2019-05-15 Thread Pierre-Jean Texier
Le 15/05/2019 à 10:23, Bryan O'Donoghue a écrit : On 14/05/2019 21:27, Pierre-Jean Texier wrote: should this apply in isolation ? Not necessarily, on my side everything working well on-top of master, for example: Hit any key to stop autoboot:  0 => run bootcmd_mmc0 switch to partitions #0

Re: [U-Boot] AM3517 SPL fails with CONFIG_DM enabled

2019-05-15 Thread Alex Kiernan
On Wed, May 15, 2019 at 7:43 PM Adam Ford wrote: > > On Wed, May 15, 2019 at 1:25 PM Simon Goldschmidt > wrote: > > > > Am 15.05.2019 um 20:12 schrieb Adam Ford: > > > I am trying to add DM support in SPL along with device tree support > > > similar to how it's being done for the omap3_logic boar

Re: [U-Boot] AM3517 SPL fails with CONFIG_DM enabled

2019-05-15 Thread Simon Goldschmidt
Am 15.05.2019 um 20:43 schrieb Adam Ford: On Wed, May 15, 2019 at 1:25 PM Simon Goldschmidt wrote: Am 15.05.2019 um 20:12 schrieb Adam Ford: I am trying to add DM support in SPL along with device tree support similar to how it's being done for the omap3_logic boards. Unfortunately, I think so

Re: [U-Boot] [PATCH] efi_loader: variable: attributes may not be changed if a variable exists

2019-05-15 Thread Heinrich Schuchardt
On 5/15/19 8:09 AM, AKASHI Takahiro wrote: > On Tue, May 14, 2019 at 08:08:49PM +0200, Heinrich Schuchardt wrote: >> On 5/14/19 8:35 AM, Heinrich Schuchardt wrote: >>> On 5/14/19 6:57 AM, AKASHI Takahiro wrote: If a variable already exists, efi_set_variable() should not change the variabl

Re: [U-Boot] AM3517 SPL fails with CONFIG_DM enabled

2019-05-15 Thread Adam Ford
On Wed, May 15, 2019 at 1:25 PM Simon Goldschmidt wrote: > > Am 15.05.2019 um 20:12 schrieb Adam Ford: > > I am trying to add DM support in SPL along with device tree support > > similar to how it's being done for the omap3_logic boards. > > Unfortunately, I think something is going wrong in the i

Re: [U-Boot] [PATCH v3 2/2] net: eth-uclass: Support device tree MAC addresses

2019-05-15 Thread Joe Hershberger
On Thu, Apr 25, 2019 at 10:50 AM Thierry Reding wrote: > > From: Thierry Reding > > Add the standard Ethernet device tree bindings (imported from v5.0 of > the Linux kernel) and implement support for reading the MAC address for > Ethernet devices in the Ethernet uclass. If the "mac-address" prope

Re: [U-Boot] AM3517 SPL fails with CONFIG_DM enabled

2019-05-15 Thread Simon Goldschmidt
Am 15.05.2019 um 20:12 schrieb Adam Ford: I am trying to add DM support in SPL along with device tree support similar to how it's being done for the omap3_logic boards. Unfortunately, I think something is going wrong in the initialization with CONFIG_DM enabled for SPL because I get no text data,

[U-Boot] AM3517 SPL fails with CONFIG_DM enabled

2019-05-15 Thread Adam Ford
I am trying to add DM support in SPL along with device tree support similar to how it's being done for the omap3_logic boards. Unfortunately, I think something is going wrong in the initialization with CONFIG_DM enabled for SPL because I get no text data, and it doesn't appear to boot. I tried ena

Re: [U-Boot] Pull request: u-boot-net.git master

2019-05-15 Thread Tom Rini
On Tue, May 14, 2019 at 02:57:40PM -0500, Joe Hershberger wrote: > Hi Tom, > > Tested on Travis... https://travis-ci.org/jhershbe/u-boot/builds/531963238 > > The following changes since commit 90176e3be63802bc8630bab651d169993f0f0763: > > Merge tag 'efi-2019-07-rc3' of git://git.denx.de/u-boo

Re: [U-Boot] [PULL] u-boot-stm32 for v2019.07​ (round 3)​

2019-05-15 Thread Tom Rini
On Tue, May 14, 2019 at 02:59:07PM +, Patrice CHOTARD wrote: > Hi Tom > > Please find the pull request for STM32 round 3 > > The following changes since commit a69120a0d7c8d4044cdaceea9eb03913ba4e49c7: > > Prepare v2019.07-rc1 (2019-04-29 21:54:04 -0400) > > are available in the git repo

Re: [U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-15 Thread Patrick DELAUNAY
Hi Simon > > This adds separate kconfig options for drivers/sysreset and > drivers/firmware. > > Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL > build but also added drivers/firmware and drivers/sysreset at the same > time. > > Since that is confusing, this patch adds CON

[U-Boot] [PATCH] Kconfig: fix FIT offset prompt text

2019-05-15 Thread Ibai Erkiaga
The current prompt text for FIT external offset is identical to SYS_TEXT_BASE which might confuse the users. Provided more accurate description for the prompt text. Signed-off-by: Ibai Erkiaga --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig inde

Re: [U-Boot] [PATCH v2 3/3] arm: mach-stm32mp: Add newline to the MAC error message

2019-05-15 Thread Patrick DELAUNAY
Hi Manivannan, > > Without newline, the error message appears for non prgrammed OTP boards > looks messsy. Hence add it to look more clean. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Patrick Delaunay Thanks > --- > arch/arm/mach-stm32mp/cpu.c | 2 +- > 1 file changed, 1 insert

Re: [U-Boot] [PATCH v2 2/3] board: stm32mp1: Add Avenger96 board support

2019-05-15 Thread Patrick DELAUNAY
Hi Manivannan, > > Add support for Avenger96 board from Arrow Electronics based on STM32MP157 > MPU. This board is one of the Consumer Edition (CE) boards of the 96Boards > family and has the following features: > > SoC: STM32MP157AAC > PMIC: STPMIC1A > RAM: 1024 Mbyte @ 533MHz > Storage: eMMC v

Re: [U-Boot] [PATCH v2 1/3] arm: dts: stm32mp157: Add missing pinctrl definitions

2019-05-15 Thread Patrick DELAUNAY
Hi Manivannan, > > Add missing pinctrl definitions for STM32MP157. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Patrick Delaunay Thanks > --- > arch/arm/dts/stm32mp157-pinctrl.dtsi | 63 > 1 file changed, 63 insertions(+) > > diff --git a/arch/arm/dts

Re: [U-Boot] [PATCH v3] riscv: Add Microchip MPFS Icicle board support

2019-05-15 Thread Bin Meng
On Mon, May 13, 2019 at 6:52 PM Padmarao Begari wrote: > > This patch adds Microchip MPFS Icicle board support. > For now, NS16550 serial driver is only enabled. > The Microchip MPFS Icicle defconfig by default builds > U-Boot for M-Mode with SMP support. > > Signed-off-by: Padmarao Begari > ---

[U-Boot] [PATCH] x86: qemu-x86_64: Enable NVMe

2019-05-15 Thread Bin Meng
NVMe was turned on in qemu-x86 but somehow we missed it for 64-bit. Signed-off-by: Bin Meng --- configs/qemu-x86_64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qemu-x86_64_defconfig b/configs/qemu-x86_64_defconfig index 3ffcb4a..d8792d6 100644 --- a/configs/qemu-x86_64

[U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

2019-05-15 Thread Bin Meng
QEMU 4.0.0 'virt' target integrates a generic ECAM PCI host. Enable the driver for it. Signed-off-by: Bin Meng --- board/emulation/qemu-riscv/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig index 20ea6dc..2

[U-Boot] [PATCH 2/2] riscv: qemu: Enable e1000 and nvme support

2019-05-15 Thread Bin Meng
Since we have added the PCI support to the 'virt' target, enable e1000 and NVME as alternate network and storage devices for these virtio based devices. Signed-off-by: Bin Meng --- board/emulation/qemu-riscv/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/emulation/qemu-risc

[U-Boot] [PATCH] nvme: Fix warning of cast from pointer to integer of different size

2019-05-15 Thread Bin Meng
When dma_addr_t is u32 in 64-bit, there are some warnings when building NVME driver. Fix it by doing an additional (long) cast. Signed-off-by: Bin Meng --- drivers/nvme/nvme.c | 4 ++-- drivers/nvme/nvme_show.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/driver

Re: [U-Boot] [PATCH 04/13] arm: K3: Introduce System Firmware loader framework

2019-05-15 Thread Tom Rini
On Tue, May 07, 2019 at 12:25:33PM -0500, Andreas Dannenberg wrote: > Introduce a framework that allows loading the System Firmware (SYSFW) > binary as well as the associated configuration data from an image tree > blob named "sysfw.itb" from an FS-based MMC boot media or from an MMC > RAW mode pa

Re: [U-Boot] [PATCH 02/13] spl: Allow skipping clearing BSS during relocation

2019-05-15 Thread Tom Rini
On Tue, May 07, 2019 at 12:25:31PM -0500, Andreas Dannenberg wrote: > On some platform we have sufficient memory available early on to allow > setting up and using a basic BSS prior to relocation. In order to be > able to preserve data written to BSS during early startup add a Kconfig > option all

Re: [U-Boot] [PATCH 03/13] spl: Make image loader infrastructure more universal

2019-05-15 Thread Tom Rini
On Tue, May 07, 2019 at 12:25:32PM -0500, Andreas Dannenberg wrote: > The current U-Boot SPL image loader infrastructure is very powerful, > able to initialize and load from a variety of boot media however it > is strongly geared towards loading specific types of images in a very > specific way. T

Re: [U-Boot] [PATCH 00/13] System Firmware Loader for TI K3 family SoCs

2019-05-15 Thread Tom Rini
On Tue, May 07, 2019 at 12:25:29PM -0500, Andreas Dannenberg wrote: > TI K3 SoCs like the AM654x devices are fundamentally dependent on a > firmware called SYSFW (System Firmware) being loaded into the dedicated > DMSC (Device Management and Security Controller) processor to provide > various serv

Re: [U-Boot] [PATCH 01/13] mmc: k3_arasan: Allow driver to probe without PDs specified

2019-05-15 Thread Tom Rini
On Tue, May 07, 2019 at 12:25:30PM -0500, Andreas Dannenberg wrote: > We would like to use the driver even without power domains being > specified for cases such as during early boot when the required power > domains have already gotten enabled by the SoC's boot ROM and such > explicit initializat

Re: [U-Boot] Pull request: u-boot-net.git master

2019-05-15 Thread Tom Rini
On Fri, May 10, 2019 at 09:50:45PM +, Joe Hershberger wrote: > Hi Vladimir and Tom, > > On Thu, May 9, 2019 at 7:51 AM Vladimir Oltean > wrote: > > > > On 09.05.2019 02:05, Vladimir Oltean wrote: > > > On 5/9/19 1:55 AM, Tom Rini wrote: > > >> On Wed, May 08, 2019 at 10:52:28PM +, Vladim

Re: [U-Boot] [PATCH v6] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-15 Thread Tom Rini
On Wed, May 08, 2019 at 01:22:44PM +0200, Niel Fourie wrote: > Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec > phyBOARD-Wega AM335x. > > CPU : AM335X-GP rev 2.1 > Model: Phytec AM335x phyBOARD-WEGA > DRAM: 256 MiB > NAND: 256 MiB > MMC: OMAP SD/MMC: 0 > eth0: ethernet@4a10

[U-Boot] [PATCH 3/7] pcie: ti: add driver for AM65x PCIe RC

2019-05-15 Thread Sekhar Nori
Add driver supporting PCIe root-complex available on TI's AM65x SoC. Signed-off-by: Sekhar Nori --- drivers/pci/Kconfig | 6 + drivers/pci/Makefile | 1 + drivers/pci/pcie_dw_ti.c | 725 +++ 3 files changed, 732 insertions(+) create mode

[U-Boot] [PATCH 5/7] configs: am65x_evm_a53: enable PCIe support

2019-05-15 Thread Sekhar Nori
Enable support for PCIe and related configurations on AM654 EVM platform. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 41cf0100fa3a..7745e2038790 10

[U-Boot] [PATCH 7/7] configs: am65x_evm_a53: enable support for PCIe ethernet cards

2019-05-15 Thread Sekhar Nori
Enable support for Intel E1000 based PCIe ethernet cards that can be used to test PCIe RC functionality on AM65x EVM. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defc

[U-Boot] [PATCH 2/7] dm: core: add support for getting register address and size

2019-05-15 Thread Sekhar Nori
Current dev_read_*() API lacks support to get address and size of a "reg" property by name or index. Add support for the same. Livetree support has been added but not tested. Signed-off-by: Sekhar Nori --- drivers/core/fdtaddr.c | 17 + drivers/core/read.c| 20 ++

[U-Boot] [PATCH 6/7] arm: dts: k3-am65: add support for PCIe and SERDES

2019-05-15 Thread Sekhar Nori
Add needed device-tree nodes to support PCIe 0 and SERDES on AM65x SoC. The nodes are kept disabled by default. Signed-off-by: Sekhar Nori --- arch/arm/dts/k3-am65-main.dtsi | 108 + arch/arm/dts/k3-am65.dtsi | 1 + include/dt-bindings/p

[U-Boot] [PATCH 4/7] phy: add support for AM654x SERDES

2019-05-15 Thread Sekhar Nori
Add a new SERDES driver for TI's AM654x SoC which configures the SERDES only for PCIe. Support fo USB3 can be added later. SERDES in am654x has three input clocks (left input, external reference clock and right input) and two output clocks (left output and right output) in addition to a PLL mux cl

[U-Boot] [PATCH 1/7] clk: add support for clk_is_match()

2019-05-15 Thread Sekhar Nori
Add support for clk_is_match() which is required to know if two clock pointers point to the same exact physical clock. Signed-off-by: Sekhar Nori --- drivers/clk/clk-uclass.c | 13 + include/clk.h| 13 + 2 files changed, 26 insertions(+) diff --git a/drivers/

[U-Boot] [PATCH 0/7] Add PCIe root complex support for AM654x SoC

2019-05-15 Thread Sekhar Nori
Hi, This patch series adds PCIe root complex support for AM654x SoC. The device-tree files are based on bindings accepted in linux. See files Documentation/devicetree/bindings/phy/ti,phy-am654-serdes.txt and Documentation/devicetree/bindings/pci/pci-keystone.txt in latest mainline master. I have

Re: [U-Boot] [PATCH] Kconfig: fix FIT offset prompt text

2019-05-15 Thread Marek Vasut
On 5/15/19 3:57 PM, Ibai Erkiaga wrote: > The current prompt text for FIT external offset is identical to > SYS_TEXT_BASE which might confuse the users. Provided more accurate > description for the prompt text. > > Signed-off-by: Ibai Erkiaga > --- > > Kconfig | 2 +- > 1 file changed, 1 insert

[U-Boot] [PATCH] ARM: omap3_logic/omap35_logic: Enable GPIO in SPL

2019-05-15 Thread Adam Ford
The MMC controller enabled card detect, so this patch enables the GPIO driver in SPL to support it. Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig index ea27731da3..3a529e8836 100644 --- a/configs/omap35_logic_defconfig +++ b/configs/omap35_

[U-Boot] [PATCH v2 8/9] ubispl: add support for loading volumes by name

2019-05-15 Thread Markus Klotzbuecher
From: Hamish Guthrie The motivation is to use the UBI atomic volume rename functionality to allow double copy software updates on UBI. To that end the SPL is configured to always load the same volume name (e.g. "u-boot"), whereas a software updater always installs into the secondary volume "u-boo

[U-Boot] [PATCH v2 9/9] ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSG

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher This allows to silence ubi and ubispl individually. Signed-off-by: Markus Klotzbuecher Reviewed-by: Heiko Schocher Cc: Kyungmin Park --- Changes for v2: None common/spl/Kconfig | 6 ++ drivers/mtd/ubispl/ubispl.h | 2 +- 2 files changed, 7 insertions(+

[U-Boot] [PATCH v2 7/9] configs: migrate ubispl boards to KConfig

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Migrate the ubispl configuration for the omap3_igep00x0 and am335x_igep003x boards to KConfig. Both boards were built with SOURCE_DATE_EPOCH=0 and found to be equal before and after. Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park Cc: Javier M

[U-Boot] [PATCH v2 4/9] env: ubi: support configurable VID offset

2019-05-15 Thread Markus Klotzbuecher
From: Hamish Guthrie Introduce KConfig CONFIG_ENV_UBI_VID_OFFSET to allow providing custom VID header offsets for the environment on UBI. Signed-off-by: Hamish Guthrie Signed-off-by: Markus Klotzbuecher Reviewed-by: Heiko Schocher Cc: Kyungmin Park --- Changes for v2: - default to no custom

[U-Boot] [PATCH v2 6/9] ubispl: migrate configuration to Kconfig

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Move the ubispl configuration to KConfig and drop them from the whitelist. Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park Cc: Javier Martínez Canillas Cc: Enric Balletbo i Serra --- Changes for v2: None common/spl/Kconfig | 79 +

  1   2   >