Re: [U-Boot] [PATCH v7 2/9] x86: lib: fsp: Use EFI_GUID and efi_guid_t

2019-07-31 Thread Bin Meng
On Mon, Jul 29, 2019 at 12:35 PM Park, Aiden wrote: > > Use existing EFI_GUID and efi_guid_t instead of struct efi_guid. > This is pre-work before making a common HOB library. > - Change 'struct efi_guid' to efi_guit_t > - Remove 'struct efi_guid' > - Define GUIDs with EFI_GUID() macro > - Use

Re: [U-Boot] [PATCH v7 0/9] x86: Add basic Slim Bootloader payload support

2019-07-31 Thread Bin Meng
Hi Aiden, On Mon, Jul 29, 2019 at 12:35 PM Park, Aiden wrote: > > 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

Re: [U-Boot] [PATCH v7 8/9] board: intel: Add new slimbootloader board

2019-07-31 Thread Bin Meng
Hi Aiden, On Mon, Jul 29, 2019 at 12:36 PM Park, Aiden wrote: > > 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 doc/board/intel/slimbootloader.rst > >

[U-Boot] [PATCH v5] board/BuR/brsmarc1: initial commit

2019-07-31 Thread Hannes Schmelzer
This commit adds support for the B brsmarc1 SoM. The SoM is based on TI's AM335x SoC. Mainly vxWorks 6.9.4.x is running on the board, doing some PLC stuff on various carrier boards. Signed-off-by: Hannes Schmelzer --- Changes in v5: - rebase to current master - convert CONFIG_ENV* from header

Re: [U-Boot] [PATCH 1/2] configs: am335x_boneblack_vboot_defconfig: Fix regression by enabling BLK and DM support, disable in SPL

2019-07-31 Thread Tom Rini
On Tue, Jul 30, 2019 at 01:25:20PM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > This patch adds BLK and DM support for verified boot on TI AM335x > chipsets. The following compile warnings are removed: > > = WARNING == > This board does

Re: [U-Boot] [PATCH] ARM: dts: da850-evm: Fix MDIO pinmux

2019-07-31 Thread Tom Rini
On Tue, Jul 30, 2019 at 08:32:37AM -0500, Adam Ford wrote: > In attempts to speed up SPL and reduce size, the MDIO pin muxing > was inadvertently affected. Since the ethernet driver will setup > the pin muxing when ethernet is loaded, this patch will also > pinmux the MDIO pins at the same time.

Re: [U-Boot] [PATCH 1/2] configs: am65x_evm_a53: Disable K3_SYSTEM_CONTROLLER

2019-07-31 Thread Tom Rini
On Mon, Jul 29, 2019 at 11:48:02AM -0500, Suman Anna wrote: > The K3 System Controller driver is used for loading and starting > the System Firmware, and is used only on R5 SPL. It need not be > enabled and built for the A53 U-Boot and SPL, so disable it from > both the GP and HS AM65x A53

Re: [U-Boot] [PATCH 2/2] configs: j721e_evm_a72: Disable K3_SYSTEM_CONTROLLER

2019-07-31 Thread Tom Rini
On Mon, Jul 29, 2019 at 11:48:03AM -0500, Suman Anna wrote: > The K3 System Controller driver is used for loading and starting > the System Firmware, and is used only on R5 SPL. It need not be > enabled and built for the A72 U-Boot and SPL, so disable it from > the j721e_evm_a72 defconfig. > >

Re: [U-Boot] [PATCH] ARM: da850-evm: Remove references to CONFIG_DA850_AM18X_EVM

2019-07-31 Thread Tom Rini
On Tue, Jul 30, 2019 at 08:58:58AM -0500, Adam Ford wrote: > With the removal of da850_am18xxevm, there is at least one > whitelisted CONFIG option that can be deleted. This patch > removes CONFIG_DA850_AM18X_EVM since it's not required any more > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] [PATCH 1/1] nand: davinci: avoid out of bounds array access

2019-07-31 Thread Tom Rini
On Tue, Jul 30, 2019 at 11:29:21PM +0200, Heinrich Schuchardt wrote: > The array bounds have to be checked before accessing the array element. > > Identified by cppcheck. > > Fixes: 67ac6ffaeefb ("mtd: nand: davinci: add opportunity to write keystone > U-boot image") > Signed-off-by: Heinrich

Re: [U-Boot] [PATCH] arm: dts: k3-am654-base-board: Fix cpsw_nuss power-domains property

2019-07-31 Thread Tom Rini
On Mon, Jul 29, 2019 at 11:13:41AM -0500, Suman Anna wrote: > The commit 355be915ed08 ("arm: dts: k3-am654: Update power-domains > property for each node") has updated the power-domain cells value > and updated power-domains property in various existing dts nodes but > missed updating the

Re: [U-Boot] [PATCH 2/2] configs: am335x_boneblack_vboot_defconfig: Add DM for SPI and Flash devices

2019-07-31 Thread Tom Rini
On Tue, Jul 30, 2019 at 01:25:21PM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > This patch adds SPI and SPI_FLASH DM support for verified boot on > TI AM335 chipsets. The following compile warning is removed: > > = WARNING == > This board

Re: [U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190731

2019-07-31 Thread Tom Rini
400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-20190731 > > for you to fetch changes up to 0c0cdc86103a1f579cb9f86a3c7c076abb383542: > > clk: meson: remove duplicate logic (2

Re: [U-Boot] [PATCH] Revert "ARM: davinci: da850: Manual pinmux only when PINCTRL not available"

2019-07-31 Thread Tom Rini
On Wed, Jul 31, 2019 at 09:17:31AM -0500, Adam Ford wrote: > This reverts commit 877ab2423bc257045a06bc23d4b9440b82bda6fb. > > The above patch was designed to shrink code by only pin-muxing items > needed for SPL in SPL and relying on driver model or SPL to mux other > items. Unfortunately,

Re: [U-Boot] [PATCH v2 1/2] configs: am57xx_evm_defconfig: Enable 'bcb' command

2019-07-31 Thread Tom Rini
On Thu, Jul 25, 2019 at 08:20:18PM +0300, Sam Protsenko wrote: > It is essential to have an access to BCB area of 'misc' partition on > Android devices [1]. For BeagleBoard X15 the 'bcb' command will be > further used for reboot reason implementation and booting to recovery. > It can be also used

Re: [U-Boot] [PATCH] ARM: da850evm: Split MTDPARTS into SPL and u-boot

2019-07-31 Thread Tom Rini
On Fri, Jul 26, 2019 at 05:53:45PM -0500, Adam Ford wrote: > The MTDPARTS currently lists just u-boot.ais as 512k in size. > This works when loading the ais file via serial port, but if one > wanted to update just the u-boot portion, it's not really possible. > This patch splits the MTDPARTS into

Re: [U-Boot] [PATCH] ARM: da850-evm: Replace CMD_SF with CMD_MTD

2019-07-31 Thread Tom Rini
On Fri, Jul 26, 2019 at 06:31:13PM -0500, Adam Ford wrote: > This patch enables MTD and CMD_MTD and it works with SPI NOR, > so the older CMD_SF can be removed. > > Signed-off-by: Adam Ford > > diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig > index 234bc2c8cb..81dce349aa

Re: [U-Boot] [PATCH v2 2/2] configs: am57xx_evm_defconfig: Enable 'dtimg' command

2019-07-31 Thread Tom Rini
On Thu, Jul 25, 2019 at 08:20:19PM +0300, Sam Protsenko wrote: > We are going to implement DTBO partition for BeagleBoard X15 further. To > support this, 'dtimg' command must be enabled. > > Signed-off-by: Sam Protsenko Applied to u-boot/master, thanks! -- Tom signature.asc Description:

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

2019-07-31 Thread Tom Rini
On Thu, Jul 25, 2019 at 04:20:41PM +0300, Sam Protsenko wrote: > 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

Re: [U-Boot] [PATCH v2] omap: Correct the fastboot product var

2019-07-31 Thread Tom Rini
On Thu, Jul 25, 2019 at 08:11:53PM +0300, Sam Protsenko wrote: > "fastboot flashall" expects "fastboot getvar product" value to be one of > values provided in android-info.txt file (in AOSP), from "require > board=" list. Before this patch, "am57xx" is returned for all AM57xx > based boards, as

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

2019-07-31 Thread Tom Rini
On Wed, Jul 31, 2019 at 12:16:56PM +, Peng Fan wrote: > Hi Tom, > > Please pull u-boot-mmc > > CI build: https://travis-ci.org/MrVan/u-boot/builds/565839867 Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v2 00/11] SPL support for RISC-V

2019-07-31 Thread Rick Chen
Hi Lukas > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > Sent: Sunday, July 28, 2019 11:57 PM > > To: u-boot@lists.denx.de > > Cc: Atish Patra; Rick Jian-Zhi Chen(陳建志); Bin Meng; Sagar Kadam; Alistair > > Francis; Anup Patel; Troy Benjegerdes; Lukas Auer; Abel Vesa; Alex Kiernan;

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

2019-07-31 Thread Rick Chen
> > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Anup Patel > > Sent: Friday, July 26, 2019 6:43 PM > > To: Rick Chen > > Cc: Alan Quey-Liang Kao(高魁良); Alexander Graf; U-Boot Mailing List; K.C. > > Kuen-Chern Lin(林坤成) > > Subject: Re: [U-Boot] [PATCH] riscv : serial: use rx

[U-Boot] 答复: [PATCH 0/4] Make some changes to SDP

2019-07-31 Thread Sherry Sun
Hi Angus > > Hi Sherry, > > On 2019-07-17 18:40, sherry sun wrote: > > From: Sherry Sun > > > > This patchset adds: > > 1. Add usb_gadget_initialize() and usb_gadget_release() to initialize > > and release UDC during sdp download. > > 2. Add high speed endpoint descriptor for sdp. > > 3. Add a

Re: [U-Boot] [PATCH 7/7] doc: rockchip: Adapt Pine64 Rock64 board instructions

2019-07-31 Thread Kever Yang
On 2019/8/1 上午12:01, Matwey V. Kornilov wrote: Now we have our own TPL implementation. Remove obsolete notes. Signed-off-by: Matwey V. Kornilov Reviewed-by: Kever Yang Thanks, - Kever --- doc/README.rockchip | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff

Re: [U-Boot] [PATCH 6/7] configs: rk3328: enable TPL for rock64-rk3328_defconfig

2019-07-31 Thread Kever Yang
On 2019/8/1 上午12:01, Matwey V. Kornilov wrote: Signed-off-by: Matwey V. Kornilov The commit message is not allowed to be empty, please say something here. Thanks, - Kever --- configs/rock64-rk3328_defconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git

Re: [U-Boot] [PATCH 1/2] riscv: Sync csr.h with Linux kernel v5.2

2019-07-31 Thread Rick Chen
> > From: Bin Meng [mailto:bmeng...@gmail.com] > > Sent: Thursday, July 11, 2019 2:43 PM > > To: Rick Jian-Zhi Chen(陳建志); Anup Patel; Lukas Auer; U-Boot Mailing List > > Subject: [PATCH 1/2] riscv: Sync csr.h with Linux kernel v5.2 > > > > This syncs csr.h with Linux kernel 5.2, and imports asm.h

Re: [U-Boot] [PATCH 4/7] rockchip: Kconfig: enable TPL support for rk3328

2019-07-31 Thread Kever Yang
On 2019/8/1 上午12:01, Matwey V. Kornilov wrote: From: Kever Yang Enable TPL support and some related option in Kconfig. Signed-off-by: Kever Yang [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/430b01462bf3f24aaf7920ae2587a6943c39ab5d with minor modifications]

Re: [U-Boot] [PATCH 2/2] riscv: Access CSRs using CSR numbers

2019-07-31 Thread Rick Chen
Rick Chen 於 2019年7月18日 週四 上午11:25寫道: > > > > From: Bin Meng [mailto:bmeng...@gmail.com] > > > Sent: Thursday, July 11, 2019 2:43 PM > > > To: Rick Jian-Zhi Chen(陳建志); Anup Patel; Lukas Auer; U-Boot Mailing List > > > Subject: [PATCH 2/2] riscv: Access CSRs using CSR numbers > > > > > > We should

Re: [U-Boot] [PATCH 3/7] rockchip: dts: rk3328: enable the drivers need by TPL/SPL

2019-07-31 Thread Kever Yang
Matwey, On 2019/8/1 上午12:01, Matwey V. Kornilov wrote: From: Kever Yang Enable the drivers need by TPL/SPL with 'u-boot,dm-pre-reloc'. Signed-off-by: Kever Yang [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/664225d1610d77ef64ed9a4f42d36474362592cc]

Re: [U-Boot] [PATCH 2/7] rockchip: dts: rk3328: update dmc node for driver

2019-07-31 Thread Kever Yang
Hi Matwey, On 2019/8/1 上午12:01, Matwey V. Kornilov wrote: From: Kever Yang Update dmc node for full feature driver. Signed-off-by: Kever Yang [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/1e1495636574c78ea9d3af3e0aae95d5204612d6 with minor modifications]

Re: [U-Boot] [PATCH 0/7] Add TPL support for Pine64 Rock64 board.

2019-07-31 Thread Kever Yang
Hi Matwey,     I was plan to send TPL support for RK3328 some time later, I'm so glad you help to make it done. Thanks, - Kever On 2019/8/1 上午12:01, Matwey V. Kornilov wrote: This series adds initial TPL support for Pine64 Rock64 board. The ROCK64 is a credit card size SBC based on

Re: [U-Boot] [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board

2019-07-31 Thread Peng Fan
> Subject: [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board > > Hello, > > I am running Zynq Z-turn board and I face the following issue with MMC > initialization in SPL. > With u-boot master, I see the message similar to the following: > > U-Boot SPL 2019.07-00352-gb5f3eb3393

Re: [U-Boot] [PATCH 32/39] env: Rename the redundancy flags

2019-07-31 Thread Joe Hershberger
Hi Tom, On Wed, Jul 31, 2019 at 7:53 PM Tom Rini wrote: > > On Wed, Jul 31, 2019 at 09:20:58PM +, Joe Hershberger wrote: > > On Wed, Jul 31, 2019 at 4:00 PM Simon Glass wrote: > > > > > > Hi Joe, > > > > > > On Tue, 30 Jul 2019 at 15:42, Joe Hershberger > > > wrote: > > > > > > > > On

Re: [U-Boot] [PATCH 32/39] env: Rename the redundancy flags

2019-07-31 Thread Tom Rini
On Wed, Jul 31, 2019 at 09:20:58PM +, Joe Hershberger wrote: > On Wed, Jul 31, 2019 at 4:00 PM Simon Glass wrote: > > > > Hi Joe, > > > > On Tue, 30 Jul 2019 at 15:42, Joe Hershberger > > wrote: > > > > > > On Sun, Jul 28, 2019 at 9:27 AM Simon Glass wrote: > > > > > > > > Add an ENV

Re: [U-Boot] [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-07-31 Thread Suneel Garapati
Hi Matthias, Hard deadline is Aug 15th, so you should see first series before that. Regards, Suneel On Wed, Jul 24, 2019 at 3:30 AM Matthias Brugger wrote: > > Hi Suneel, > Hi Chandrakala, > > On 16/05/2019 19:07, Suneel Garapati wrote: > > Hi Tim, > > > > Missed aggressive timeline, first RFC

Re: [U-Boot] Hi, I am new to U-Boot, how do I get started?

2019-07-31 Thread slahss ss
Thanks Ramon. A simple question in the first place. To port u-boot to a new SoC/board, do we have to have SRAM inside SoC to set up stack for c runtime, or only NORflash + SDRAM is OK too? //slahs From: Ramon Fried Sent: Sunday, July 28, 2019 9:58 PM To:

Re: [U-Boot] [PATCH v1 0/9] apalis-tk1: fixes/updates for v2019.10

2019-07-31 Thread Tom Warren
The 'switch to zImage' patch fails to apply using git am, either in the complete (9-patch) bundle, or as part of the 5-patch Igor Opaniuk bundle, or even as a stand-alone patch. This is using the current TOT u-boot-tegra/master. Please ensure the entire bundle of Apalis-TK1 patches can be

Re: [U-Boot] [PATCH 31/39] env: Drop _ENTRY

2019-07-31 Thread Joe Hershberger
On Wed, Jul 31, 2019 at 4:56 PM Simon Glass wrote: > > Hi, > > On Wed, 31 Jul 2019 at 15:07, Joe Hershberger wrote: > > > > On Wed, Jul 31, 2019 at 3:57 PM Simon Glass wrote: > > > > > > Hi Joe, > > > > > > On Tue, 30 Jul 2019 at 15:35, Joe Hershberger > > > wrote: > > > > > > > > On Sun, Jul

Re: [U-Boot] [PATCH 31/39] env: Drop _ENTRY

2019-07-31 Thread Simon Glass
Hi, On Wed, 31 Jul 2019 at 15:07, Joe Hershberger wrote: > > On Wed, Jul 31, 2019 at 3:57 PM Simon Glass wrote: > > > > Hi Joe, > > > > On Tue, 30 Jul 2019 at 15:35, Joe Hershberger > > wrote: > > > > > > On Sun, Jul 28, 2019 at 9:28 AM Simon Glass wrote: > > > > > > > > This typedef does

[U-Boot] [PATCH v3] dm: core: device: switch off power domain after device removal

2019-07-31 Thread Anatolij Gustschin
The power domain associated with a device is enabled when probing, but currently the domain remains enabled when the device is removed. Some boards started to disable power domains for selected devices via custom board_quiesce_devices(), but it doesn't work in many cases, i. e. because devices

Re: [U-Boot] [PATCH 32/39] env: Rename the redundancy flags

2019-07-31 Thread Joe Hershberger
On Wed, Jul 31, 2019 at 4:00 PM Simon Glass wrote: > > Hi Joe, > > On Tue, 30 Jul 2019 at 15:42, Joe Hershberger wrote: > > > > On Sun, Jul 28, 2019 at 9:27 AM Simon Glass wrote: > > > > > > Add an ENV prefix to these two flags so that it is clear what they relate > > > to. Also move them to

Re: [U-Boot] [PATCH 31/39] env: Drop _ENTRY

2019-07-31 Thread Joe Hershberger
On Wed, Jul 31, 2019 at 3:57 PM Simon Glass wrote: > > Hi Joe, > > On Tue, 30 Jul 2019 at 15:35, Joe Hershberger wrote: > > > > On Sun, Jul 28, 2019 at 9:28 AM Simon Glass wrote: > > > > > > This typedef does not need to be defined in the search.h header since it > > > is only used in one file

Re: [U-Boot] [PATCH 32/39] env: Rename the redundancy flags

2019-07-31 Thread Simon Glass
Hi Joe, On Tue, 30 Jul 2019 at 15:42, Joe Hershberger wrote: > > On Sun, Jul 28, 2019 at 9:27 AM Simon Glass wrote: > > > > Add an ENV prefix to these two flags so that it is clear what they relate > > to. Also move them to env.h since they are part of the public API. Use an > > enum rather

[U-Boot] ARM: imx6: Add support for SD/MMC Manufacture Mode

2019-07-31 Thread Jay Carlson
Newer i.MX6 devices support booting from uSDHC1 if the boot fuses haven't been configured. Since we already check for serial download mode, this change won't break unfused i.MX6 devices that don't support this feature and would have ended up in Serial Download mode. The caveat is that we can't

Re: [U-Boot] [PATCH 31/39] env: Drop _ENTRY

2019-07-31 Thread Simon Glass
Hi Joe, On Tue, 30 Jul 2019 at 15:35, Joe Hershberger wrote: > > On Sun, Jul 28, 2019 at 9:28 AM Simon Glass wrote: > > > > This typedef does not need to be defined in the search.h header since it > > is only used in one file (hashtable.c). Remove it from the header and > > change it to a

[U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190731

2019-07-31 Thread Neil Armstrong
-amlogic/pipelines/376 Thanks, Neil The following changes since commit d0d07ba86afc8074d79e436b1ba4478fa0f0c1b5: Prepare v2019.10-rc1 (2019-07-29 21:16:16 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20190731

[U-Boot] [PATCH] ARM: omap3: overo: Fix MMC init for SPL

2019-07-31 Thread anselm . busse
From: Anselm Busse The SPL for the Overo board does not initialise the MMC. Hence, it cannot load the main boot loader from the SD card susequently. This Patch moves the initialisation code for the MMC so it gets included in the SPL. --- board/overo/common.c | 25 +

Re: [U-Boot] (Offlist) Re: U-Boot/EBBR plugfest at ELC-EU?

2019-07-31 Thread Daniel Kiper
On Tue, Jul 30, 2019 at 03:33:27PM +, Grant Likely wrote: > >> On 24 Jul 2019, at 14:39, Daniel Kiper wrote: > >>> On Mon, Jul 08, 2019 at 01:27:11PM +, Steve McIntyre wrote: > >>> On Mon, Jul 08, 2019 at 11:18:56AM +0100, Leif Lindholm wrote: > >>> On Mon, Jul 08, 2019 at 12:13:07PM

Re: [U-Boot] [PATCH v4] board/BuR/brsmarc1: initial commit

2019-07-31 Thread Tom Rini
On Wed, Jul 31, 2019 at 06:31:39AM +0200, Hannes Schmelzer wrote: > This commit adds support for the B brsmarc1 SoM. > > The SoM is based on TI's AM335x SoC. > Mainly vxWorks 6.9.4.x is running on the board, > doing some PLC stuff on various carrier boards. > > Signed-off-by: Hannes Schmelzer

[U-Boot] [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board

2019-07-31 Thread Matwey V. Kornilov
Hello, I am running Zynq Z-turn board and I face the following issue with MMC initialization in SPL. With u-boot master, I see the message similar to the following: U-Boot SPL 2019.07-00352-gb5f3eb3393 (Jul 31 2019 - 20:03:42 +0300) mmc boot Trying to boot from MMC1 Then, the u-boot waits

Re: [U-Boot] [RFC] drivers: dma: ti-edma3: Enable edma3-tpcc

2019-07-31 Thread Tom Rini
On Sun, Jun 09, 2019 at 08:34:46AM -0500, Adam Ford wrote: > Enable edma3-tpcc controllers for future use with some > Davinci devices. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/mach-davinci/cpu.c b/arch/arm/mach-davinci/cpu.c > index f97ad3fc74..e26365cdb1 100644 > ---

Re: [U-Boot] [PATCH v2 1/2] dm: core: device: switch off power domain after device removal

2019-07-31 Thread Anatolij Gustschin
Hi Simon, On Wed, 31 Jul 2019 10:29:50 -0600 Simon Glass s...@chromium.org wrote: ... >> But I'm not sure if this it the correct approach. What do you think? > > That doesn't look right to me. Power supplies should be removed before > being unbound, just like any other device. OK, I tried to

[U-Boot] [PATCH 2/2] cmd: avb: Fix compiler warnings

2019-07-31 Thread Sam Protsenko
When building U-Boot with AVB enabled, compiler shows next warnings: cmd/avb.c: In function 'do_avb_read_pvalue': cmd/avb.c:371:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'}

[U-Boot] [PATCH 1/2] avb: Fix build when CONFIG_OPTEE_TA_AVB is disabled

2019-07-31 Thread Sam Protsenko
When having only these AVB related configs enabled: CONFIG_AVB_VERIFY=y CONFIG_CMD_AVB=y CONFIG_LIBAVB=y build fails with next errors: common/avb_verify.c: In function 'read_persistent_value': common/avb_verify.c:867:6: warning: implicit declaration of function

Re: [U-Boot] [PATCH] board_r: re-order the board_early_init_r()

2019-07-31 Thread Simon Glass
Hi Kever, On Wed, 24 Jul 2019 at 04:01, Kever Yang wrote: > > The board_early_init_r() suppose to be called before board_init(), > then the board callback functions in board_r will be: > - board_early_init_r() > - board_init() > - board_late_init() board_early_init_r() was introduced for

Re: [U-Boot] [PATCH v2 1/2] dm: core: device: switch off power domain after device removal

2019-07-31 Thread Simon Glass
Hi Anatolij, On Wed, 31 Jul 2019 at 10:01, Anatolij Gustschin wrote: > > Hi Simon, > > On Thu, 18 Jul 2019 09:22:20 -0600 > Simon Glass s...@chromium.org wrote: > ... > > > > drivers/core/device-remove.c | 9 + > > > > include/dm/device.h | 6 ++ > > > > 2 files changed, 15

[U-Boot] [PATCH v2 2/2] watchdog: omap_wdt: Disable DM watchdog support in SPL

2019-07-31 Thread sunil . m
From: Suniel Mahesh This patch disables DM watchdog support for SPL builds and uses the legacy omap watchdog driver on TI AM335x chipsets. The following build error is reported if DM watchdog support was enabled in SPL: CC spl/drivers/usb/gadget/rndis.o LD

[U-Boot] [PATCH v2 1/2] watchdog: omap_wdt: Convert watchdog driver to use DT and DM

2019-07-31 Thread sunil . m
From: Suniel Mahesh This patch adds device tree and driver model watchdog support, converts the legacy omap watchdog driver to driver model for TI AM335x chipsets. The following compile warning is removed: = WARNING == This board does not use CONFIG_WDT

[U-Boot] [PATCH 4/7] rockchip: Kconfig: enable TPL support for rk3328

2019-07-31 Thread Matwey V. Kornilov
From: Kever Yang Enable TPL support and some related option in Kconfig. Signed-off-by: Kever Yang [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/430b01462bf3f24aaf7920ae2587a6943c39ab5d with minor modifications] Signed-off-by: Matwey V. Kornilov ---

[U-Boot] [PATCH 7/7] doc: rockchip: Adapt Pine64 Rock64 board instructions

2019-07-31 Thread Matwey V. Kornilov
Now we have our own TPL implementation. Remove obsolete notes. Signed-off-by: Matwey V. Kornilov --- doc/README.rockchip | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 8ccbb87264..7d4dc1b33b 100644 ---

[U-Boot] [PATCH 6/7] configs: rk3328: enable TPL for rock64-rk3328_defconfig

2019-07-31 Thread Matwey V. Kornilov
Signed-off-by: Matwey V. Kornilov --- configs/rock64-rk3328_defconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index ef453e72c1..6484845fb6 100644 --- a/configs/rock64-rk3328_defconfig +++

[U-Boot] [PATCH 1/7] rockchip: ram: add full feature rk3328 DRAM driver

2019-07-31 Thread Matwey V. Kornilov
From: Kever Yang This driver supports DDR3/LPDDR3/DDR4 SDRAM initialization. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/9fb0777ec3cc6a89af9d2e0969c3bfe58306a88d with minor modifications] Signed-off-by:

[U-Boot] [PATCH 2/7] rockchip: dts: rk3328: update dmc node for driver

2019-07-31 Thread Matwey V. Kornilov
From: Kever Yang Update dmc node for full feature driver. Signed-off-by: Kever Yang [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/1e1495636574c78ea9d3af3e0aae95d5204612d6 with minor modifications] Signed-off-by: Matwey V. Kornilov ---

[U-Boot] [PATCH 3/7] rockchip: dts: rk3328: enable the drivers need by TPL/SPL

2019-07-31 Thread Matwey V. Kornilov
From: Kever Yang Enable the drivers need by TPL/SPL with 'u-boot,dm-pre-reloc'. Signed-off-by: Kever Yang [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/664225d1610d77ef64ed9a4f42d36474362592cc] Signed-off-by: Matwey V. Kornilov --- arch/arm/dts/rk3328-evb.dts |

[U-Boot] [PATCH 5/7] rockchip: evb-rk3328: enable defconfig options for TPL/SPL

2019-07-31 Thread Matwey V. Kornilov
From: Kever Yang Enable driver options for TPL/SPL in evb-rk3328_defconfig. Signed-off-by: Kever Yang [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/df4f40acb449815384e397dcaf5b618bbc6cd855 with minor modifications] Signed-off-by: Matwey V. Kornilov ---

[U-Boot] [PATCH 0/7] Add TPL support for Pine64 Rock64 board.

2019-07-31 Thread Matwey V. Kornilov
This series adds initial TPL support for Pine64 Rock64 board. The ROCK64 is a credit card size SBC based on Rockchip RK3328 Quad-Core ARM Cortex A53. The series has been tested with ATF v2.1. Some patches in the series are taken from https://github.com/rockchip-linux/u-boot Credits are given

Re: [U-Boot] [PATCH 3/4] pci: mediatek: Add pci-driver for mt2701

2019-07-31 Thread Frank Wunderlich
Hi Ryder, you know that we cannot write a full, multi-device driver here :) > Gesendet: Mittwoch, 31. Juli 2019 um 17:23 Uhr > Von: "Ryder Lee" > > imho we can use single driver for different IP generation and that is > > what we did in linux now. > > > > MT7623/MT2701 - mtk_pcie_soc_v1 > >

Re: [U-Boot] [PATCH v2 1/2] dm: core: device: switch off power domain after device removal

2019-07-31 Thread Anatolij Gustschin
Hi Simon, On Thu, 18 Jul 2019 09:22:20 -0600 Simon Glass s...@chromium.org wrote: ... > > > drivers/core/device-remove.c | 9 + > > > include/dm/device.h | 6 ++ > > > 2 files changed, 15 insertions(+) > > Unfortunately this causes a test failure (make qcheck). Can you

[U-Boot] [PATCH 4/7] clk: renesas: Add R8A77980 V3H clock tables

2019-07-31 Thread Marek Vasut
Import R8A77980 V3H clock tables from Linux 5.1.21 , commit 4a9b1eb8bc3b. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig | 6 + drivers/clk/renesas/Makefile| 1 + drivers/clk/renesas/r8a77980-cpg-mssr.c | 255

[U-Boot] [PATCH 7/7] ARM: renesas: Add R8A77980 V3H Condor board code

2019-07-31 Thread Marek Vasut
Add board code for the R8A77980 V3H Condor board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/Makefile | 1 + arch/arm/dts/r8a77980-condor-u-boot.dts | 34 +++ arch/arm/dts/r8a77980-condor.dts| 292

[U-Boot] [PATCH 6/7] ARM: renesas: Add R8A77980 V3H platform code

2019-07-31 Thread Marek Vasut
Add a few bits of platform code to support R8A77980 V3H SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.64 | 5 + arch/arm/mach-rmobile/cpu_info.c | 1 + arch/arm/mach-rmobile/include/mach/rmobile.h | 1 + 3 files changed, 7

[U-Boot] [PATCH 5/7] ARM: dts: renesas: Add R8A77980 V3H DTs and headers

2019-07-31 Thread Marek Vasut
Import R8A77980 V3H DTs and headers from Linux 5.1.21 , commit 4a9b1eb8bc3b. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77980-u-boot.dtsi | 24 + arch/arm/dts/r8a77980.dtsi| 1589 +

[U-Boot] [PATCH 3/7] pinctrl: renesas: Add R8A77980 V3H PFC tables

2019-07-31 Thread Marek Vasut
Import R8A77980 V3H PFC tables from Linux 5.1.21 , commit 4a9b1eb8bc3b. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/renesas/Kconfig| 10 + drivers/pinctrl/renesas/Makefile |1 + drivers/pinctrl/renesas/pfc-r8a77980.c | 2895

[U-Boot] [PATCH 2/7] net: sh_eth: Fix 64bit build warnings

2019-07-31 Thread Marek Vasut
Fix various type warnings when building this driver for 64bit machine. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu --- drivers/net/sh_eth.c | 24 drivers/net/sh_eth.h | 8 2 files changed, 16 insertions(+), 16 deletions(-) diff

[U-Boot] [PATCH 1/7] net: sh_eth: Add R8A77980 V3H gether support

2019-07-31 Thread Marek Vasut
The R8A77980 V3H gether needs a few minor adjustments to the sh_eth driver, add them to support ethernet on R8A77980. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu --- drivers/net/sh_eth.c | 15 +++ drivers/net/sh_eth.h | 6 +- 2 files changed, 16

Re: [U-Boot] [PATCH 3/4] pci: mediatek: Add pci-driver for mt2701

2019-07-31 Thread Ryder Lee
On Wed, 2019-07-31 at 22:35 +0800, Ryder Lee wrote: > On Wed, 2019-07-31 at 17:13 +0300, Aleksandr Rybalko wrote: > > Hello Ryder. > > > > > > ср, 31 лип. 2019 о 15:45 Ryder Lee пише: > > > > + GSS_MTK_Uboot_upstream > > > > On Wed, 2019-07-31 at 13:51 +0200, Frank

Re: [U-Boot] [PATCH 3/4] pci: mediatek: Add pci-driver for mt2701

2019-07-31 Thread Ryder Lee
On Wed, 2019-07-31 at 17:13 +0300, Aleksandr Rybalko wrote: > Hello Ryder. > > > ср, 31 лип. 2019 о 15:45 Ryder Lee пише: > > + GSS_MTK_Uboot_upstream > > On Wed, 2019-07-31 at 13:51 +0200, Frank Wunderlich wrote: > > From: Oleksandr Rybalko > > >

[U-Boot] question about spi flash driver for large ST micro

2019-07-31 Thread Valero, Miguel
Hi there. I was wondering whether you have plans to add support for the BP3 and Top/Bottom bits of the Status Register, making it possible to lock flash regions with full flexibility, within the device constrains of course. That would be the current stm_lock() and friends. Further, do you have

Re: [U-Boot] [PATCH 3/4] pci: mediatek: Add pci-driver for mt2701

2019-07-31 Thread Aleksandr Rybalko
Hello Ryder. ср, 31 лип. 2019 о 15:45 Ryder Lee пише: > + GSS_MTK_Uboot_upstream > > On Wed, 2019-07-31 at 13:51 +0200, Frank Wunderlich wrote: > > From: Oleksandr Rybalko > > > > this chip is used in MT7623 and some other Mediatek SoCs for pcie > > > > Tested-by: Frank Wunderlich > >

[U-Boot] [PATCH] Revert "ARM: davinci: da850: Manual pinmux only when PINCTRL not available"

2019-07-31 Thread Adam Ford
This reverts commit 877ab2423bc257045a06bc23d4b9440b82bda6fb. The above patch was designed to shrink code by only pin-muxing items needed for SPL in SPL and relying on driver model or SPL to mux other items. Unfortunately, da850evm_direct_nor doesn't use SPL so items that were only muxed during

Re: [U-Boot] imx7d: CPU core issue in secure mode

2019-07-31 Thread Fabio Estevam
[Adding Bryan and Breno] Hi Bryan, I think you worked on allowing the CAAM driver in Linux to work on i.MX7D running in non-secure when you created: commit 22191ac35344 ("drivers/crypto/fsl: assign job-rings to non-TrustZone") It was reverted later by Breno as it broke secure boot. If I

[U-Boot] [PATCH 1/1] sunxi: Fix pll1 clock calculation

2019-07-31 Thread Stefan Mavrodiev
clock_sun6i.c is used for sun6i, sun8i and sun50i SoC families. PLL1 clock sets the default system clock, defined as: sun6i: 100800 sun8i: 100800 sun50i: 81600 With the current calculation, m = 2 and k = 3. Solving for n, this results 28. Solving back: (24MHz * 28 * 3) / 2 =

Re: [U-Boot] [PATCH v2 1/2] dm: core: device: switch off power domain after device removal

2019-07-31 Thread Anatolij Gustschin
Hi Lokesh, On Tue, 23 Jul 2019 19:35:43 +0530 Lokesh Vutla lokeshvu...@ti.com wrote: ... > > + if (CONFIG_IS_ENABLED(POWER_DOMAIN) && dev->parent && > > + device_get_uclass_id(dev) != UCLASS_POWER_DOMAIN && > > + !(dev->flags & DM_FLAG_REMOVE_WITH_PD_ON)) { > > This is going to

Re: [U-Boot] [PATCH v1 9/9] apalis-tk1: remove non-esential power rails on boot

2019-07-31 Thread Oleksandr Suvorov
On Wed, Jul 31, 2019 at 3:07 PM Igor Opaniuk wrote: > > From: Dominik Sliwa > > When mainline kernels reboot TK1 they use SW_RESET, > that reset mode does not reset PMIC. Some rails > need to be off for RAM Re-repair to work correctly. > > Signed-off-by: Dominik Sliwa > Signed-off-by: Igor

Re: [U-Boot] [PATCH v2 2/2] serial: lpuart: request dm device removal when booting OS

2019-07-31 Thread Anatolij Gustschin
Hi Peng, On Mon, 15 Jul 2019 03:02:46 + Peng Fan peng@nxp.com wrote: ... > > +static int lpuart_serial_remove(struct udevice *dev) { > > + if (dev == gd->cur_serial_dev) > > + dev->flags |= DM_FLAG_REMOVE_WITH_PD_ON; > > How about introduce a device tree property for DM?

Re: [U-Boot] [PATCH v1 8/9] apalis-tk1: remove default vesa vga mode from vidargs

2019-07-31 Thread Oleksandr Suvorov
On Wed, Jul 31, 2019 at 3:08 PM Igor Opaniuk wrote: > > From: Marcel Ziswiler > > Remove video=tegrafb0:640x480-16@60 aka VESA VGA mode from vidargs in > order for the panel specification in the device tree to be used. This > causes the default to be the 10.1" LVDS display which will be

Re: [U-Boot] [PATCH v1 6/9] apalis-tk1: switch to zImage

2019-07-31 Thread Oleksandr Suvorov
On Wed, Jul 31, 2019 at 3:09 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Switch to the generic compressed Kernel image type (zImage) instead of > the U-Boot specific uImage format. > > Signed-off-by: Bhuvanchandra DV > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- >

Re: [U-Boot] [PATCH v1 5/9] apalis-tk1: add pcie_aspm=off to defargs

2019-07-31 Thread Oleksandr Suvorov
On Wed, Jul 31, 2019 at 3:09 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Disabling ASPM fixes incompatibilities with some PCIe cards > > Signed-off-by: Dominik Sliwa > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > include/configs/apalis-tk1.h | 2 +- > 1 file

Re: [U-Boot] [PATCH v1 3/9] apalis-tk1: provide proper USB vendor id

2019-07-31 Thread Oleksandr Suvorov
On Wed, Jul 31, 2019 at 3:09 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Use unified values for USB Product/Vendor numbers > when the config block is missing > > Signed-off-by: Max Krummenacher > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > >

Re: [U-Boot] [PATCH v1 2/9] apalis-tk1: set apalis gpio 8 aka fan_en

2019-07-31 Thread Oleksandr Suvorov
On Wed, Jul 31, 2019 at 3:07 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Make sure the Apalis GPIO 8 aka FAN_EN is on when using Apalis TK1 > modules. > > Signed-off-by: Igor Opaniuk > Signed-off-by: Dominik Sliwa Reviewed-by: Oleksandr Suvorov > --- > >

Re: [U-Boot] [PATCH v1 1/9] apalis-tk1: do not explicitly release reset_moci#

2019-07-31 Thread Oleksandr Suvorov
On Wed, Jul 31, 2019 at 3:05 PM Igor Opaniuk wrote: > > From: Marcel Ziswiler > > By keeping RESET_MOCI_CTRL low we avoid explicitly releasing > RESET_MOCI#. > > Please note that module hardware versions up to V1.1A will already > release RESET_MOCI# in hardware coming out of reset. > > Please

Re: [U-Boot] [PATCH 3/4] pci: mediatek: Add pci-driver for mt2701

2019-07-31 Thread Ryder Lee
+ GSS_MTK_Uboot_upstream On Wed, 2019-07-31 at 13:51 +0200, Frank Wunderlich wrote: > From: Oleksandr Rybalko > > this chip is used in MT7623 and some other Mediatek SoCs for pcie > > Tested-by: Frank Wunderlich > Signed-off-by: Frank Wunderlich > Signed-off-by: Oleksandr Rybalko > --- >

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

2019-07-31 Thread Tom Rini
On Tue, Jul 30, 2019 at 08:07:54PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > here some more video patches I missed to include in the recent pull request. > Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/565440648 > > Thanks, > Anatolij > > The following changes since commit

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

2019-07-31 Thread Tom Rini
On Tue, Jul 30, 2019 at 02:07:23PM +0200, Marek Vasut wrote: > The following changes since commit 0de815356474912ef5bef9a69f0327a5a93bb2c2: > > Merge branch '2019-07-17-master-imports' (2019-07-18 11:31:37 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [GIT PULL] Xilinx/FPGA patches for v2019.10

2019-07-31 Thread Tom Rini
On Tue, Jul 30, 2019 at 05:23:20PM +0200, Michal Simek wrote: > Hi Tom, > > I just came from vacation and didn't catch rc1 merge window. Here are > patches I have collected in connection to Xilinx and FPGA. > > Thanks, > Michal > > > The following changes since commit

[U-Boot] [GIT] Pull request: u-boot-clk (31.07.2019)

2019-07-31 Thread Lukasz Majewski
Dear Tom, Please find a PR for u-boot-clk branch: Change log: - Port more CCF code to work with i.MX8 devices. The following changes since commit 75551c8bfc9545e31ec2ce238cac3857904007b8: Merge branch '2019-07-26-ti-imports' (2019-07-27 19:50:52 -0400) are available in the git

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

2019-07-31 Thread Peng Fan
Hi Tom, Please pull u-boot-mmc CI build: https://travis-ci.org/MrVan/u-boot/builds/565839867 --- A new mmc/sd block test case Bug fixes for sdhci and mv_sdhci

Re: [U-Boot] [PATCH] rpi: increase SYS_BOOTM_LEN to 64M

2019-07-31 Thread Bonnans, Laurent
On 7/31/19 9:12 AM, Matthias Brugger wrote: > Hi Laurent, > > On 07/06/2019 17:04, Bonnans, Laurent wrote: >> On AArch64, kernel images are not self-decompressing and easily exceed >> the 8MB limit. >> >> Signed-off-by: Laurent Bonnans >> --- >> include/configs/rpi.h | 1 + >> 1 file changed,

[U-Boot] [PATCH v2] rpi: increase SYS_BOOTM_LEN to 64M on ARM64

2019-07-31 Thread Bonnans, Laurent
On AArch64, kernel images are not self-decompressing and easily exceed the 8MB limit. Signed-off-by: Laurent Bonnans --- Changes for v2: - only override SYS_BOOTM_LEN in ARM64 case include/configs/rpi.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/rpi.h

  1   2   >