Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-07 Thread Rick Chen
Hi Atish > > Hi Atish > > > > > On Thu, 2019-11-07 at 19:41 +0800, Rick Chen wrote: > > > Hi Anup & Lukas > > > > > > Anup Patel 於 2019年11月7日 週四 下午6:44寫道: > > > > On Thu, Nov 7, 2019 at 3:11 PM Auer, Lukas > > > > wrote: > > > > > On Thu, 2019-11-07 at 11:48 +0530, Anup Patel wrote: > > > > > >

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

2019-11-07 Thread Heinrich Schuchardt
Hello Simon, make tests produces an error on i686 NameStmts Miss Cover tools/binman/etype/cbfs.py 90 397% TOTAL

Re: [U-Boot] [PATCH] xilinx: Do defconfig syncup

2019-11-07 Thread Michal Simek
On 07. 11. 19 20:20, Tom Rini wrote: > On Thu, Nov 07, 2019 at 02:37:21PM +0100, Michal Simek wrote: > >> Sync up defconfigs according to latest Kconfig dependencies. >> >> Signed-off-by: Michal Simek > > I'll take this as a reminder to moveconfig -s everyone, thanks! Wonderful. Your patch

Re: [U-Boot] [PATCH] cmd: move down CONFIG_CMD_BOOTEFI after CONFIG_BOOTM_VXWORKS

2019-11-07 Thread Heinrich Schuchardt
On 11/8/19 2:32 AM, AKASHI Takahiro wrote: Due to the commit 4b0bcfa7c4ec ("Kconfig: Migrate CONFIG_BOOTM_* options") BOOTEFI and BOOTEFI_HELLO_COMPILE (and other BOOTEFI configs) are displayed in a long distance. This will make it difficult for us to understand that those configurations are

Re: [U-Boot] USB doesn't work on Rockpro64 in u-boot

2019-11-07 Thread Jagan Teki
Hi Vasily, On Fri, Nov 8, 2019 at 9:18 AM Vasily Khoruzhick wrote: > > I checked voltage on regulator enable pin and it's 1.5v in u-boot (and it's > not enough to enable regulator!) and in linux it's 3v. That's why USB > ports have no power in u-boot. > > Looks like u-boot doesn't switch GPIO

Re: [U-Boot] [PATCH] armv8: layerscape: set HWCONFIG_BUFFER_SIZE

2019-11-07 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Michael Walle >Sent: Monday, October 21, 2019 11:04 PM >To: u-boot@lists.denx.de >Cc: Tom Rini >Subject: [U-Boot] [PATCH] armv8: layerscape: set HWCONFIG_BUFFER_SIZE > >Set the HWCONFIG_BUFFER_SIZE if it is not already set. Otherwise

Re: [U-Boot] [PATCH] mx6cuboxi: Add Baruch as maintainer

2019-11-07 Thread Baruch Siach
On Thu, Nov 07 2019, Fabio Estevam wrote: > Add Baruch Siach as a mx6cuboxi maintainer. > > Signed-off-by: Fabio Estevam Acked-by: Baruch Siach Thanks, baruch > --- > board/solidrun/mx6cuboxi/MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git

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

2019-11-07 Thread Ley Foon Tan
Add build support for Agilex SoC. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v6: - Include socfpga_soc64_common.h. v5: - Enable NCORE_CACHE v3: - Disable CONFIG_USE_TINY_PRINTF v2: - Remove IC_CLK define, use clock DM method to get i2c clock - Change CONFIG_ENV_SIZE to

[U-Boot] [PATCH v6 09/19] clk: agilex: Add clock driver for Agilex

2019-11-07 Thread Ley Foon Tan
Add clock manager driver for Agilex. Provides clock initialization and get_rate functions. agilex-clock.h is from Linux commit ID cd2e1ad12247. Signed-off-by: Chee Hong Ang Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v6: - Use agilex-clock.h from Linux instead of using

[U-Boot] [PATCH v6 08/19] arm: socfpga: Fix CLKMGR_INTOSC_HZ to 400MHz

2019-11-07 Thread Ley Foon Tan
CLKMGR_INTOSC_HZ should be 400MHz, instead of 460MHz. Removed also unused macros CLKMGR_EOSC1_HZ and CLKMGR_FPGA_CLK_HZ. Signed-off-by: Ley Foon Tan --- v6: - Remove unused macros CLKMGR_EOSC1_HZ and CLKMGR_FPGA_CLK_HZ. --- arch/arm/mach-socfpga/include/mach/clock_manager_soc64.h | 4 +--- 1

[U-Boot] [PATCH v6 12/19] arm: agilex: Add clock handoff offset for Agilex

2019-11-07 Thread Ley Foon Tan
Add clock handoff offset for Agilex. Remove S10 prefix to avoid confusion. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- arch/arm/mach-socfpga/include/mach/handoff_s10.h | 9 +++-- arch/arm/mach-socfpga/wrap_pll_config_s10.c | 5 +++-- 2 files changed, 10

[U-Boot] [PATCH v6 13/19] ddr: altera: Restructure Stratix 10 SDRAM driver

2019-11-07 Thread 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 --- v6: - Remove compatible "intel,sdr-ctl-agilex" from this patch. v3: - Change sdram_common.* to sdram_soc64.* ---

[U-Boot] [PATCH v6 18/19] configs: socfpga: Move Stratix10 and Agilex common CONFIGs

2019-11-07 Thread Ley Foon Tan
Move Stratix10 and Agilex common CONFIGs to socfpga_soc64_common.h. Signed-off-by: Ley Foon Tan --- ...ratix10_socdk.h => socfpga_soc64_common.h} | 8 +- include/configs/socfpga_stratix10_socdk.h | 202 +- 2 files changed, 7 insertions(+), 203 deletions(-) copy

[U-Boot] [PATCH v6 07/19] arm: socfpga: Move Stratix10 and Agilex clock manager common code

2019-11-07 Thread Ley Foon Tan
Move Stratix10 and Agilex clock manager common code to new header file. Signed-off-by: Ley Foon Tan --- v6: - Move #include to top of header file. v5: - Revert CLKMGR_INTOSC_HZ to 460MHz. --- .../include/mach/clock_manager_s10.h | 16 +++--

[U-Boot] [PATCH v6 15/19] board: intel: agilex: Add socdk board support for Intel Agilex SoC

2019-11-07 Thread 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.c | 7 +++ 3 files changed, 21 insertions(+)

[U-Boot] [PATCH v6 14/19] ddr: altera: agilex: Add SDRAM driver for Agilex

2019-11-07 Thread Ley Foon Tan
Add SDRAM driver for Agilex SoC. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v6: - Add compatible "intel,sdr-ctl-agilex". v4: - Fixed checkpatch warnings v3: - Use sdmmc_soc64.* - Change compatible string to use "intel"

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

2019-11-07 Thread Ley Foon Tan
Add device tree files for Agilex SoC platform. Based on Linux Commit ID4b36daf9ada30. Signed-off-by: Ley Foon Tan --- v6: - Use new macro names from agilex-clock.h. v5: - Add CCU DT node. v4: - Add u-boot,dm-pre-reloc to sysmgr node. v3: - Fixed bank 1 memory alias base address to

[U-Boot] [PATCH v6 05/19] arm: socfpga: Move Stratix10 and Agilex system manager common code

2019-11-07 Thread Ley Foon Tan
Move Stratix10 and Agilex system manager common code to system_manager_soc64.h. Changed macros to use SYSMGR_SOC64_*. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v5: - Remove system_manager_s10.h and use system_manager_soc64.h. v4: - Change prefix from SYSMGR_S10* to

[U-Boot] [PATCH v6 02/19] arm: socfpga: Move firewall code to firewall file

2019-11-07 Thread Ley Foon Tan
Move firewall related code to new firewall.c, to share code in Stratix 10 and Agilex. SDMMC will transfer data to OCRAM in SPL. So, enable privilege for SDMMC to allow DMA transfer to OCRAM. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v4: - Move SYSMGR_DMA* to firewall.c

[U-Boot] [PATCH v6 10/19] arm: socfpga: agilex: Add clock wrapper functions

2019-11-07 Thread Ley Foon Tan
Add clock wrapper functions call to clock DM functions to get clock frequency and used in cm_print_clock_quick_summary(). Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v6: - Use new macro names from agilex-clock.h. v4: - Change to use SYSMGR_SOC64* prefix. v3: - Improved

[U-Boot] [PATCH v6 11/19] cache: Add Arteris Ncore cache coherent unit driver

2019-11-07 Thread Ley Foon Tan
Add Cache Coherency Unit (CCU) driver. CCU is to ensures consistency of shared data between multi masters in the system. Driver initializes CCU's directories and coherency agent interfaces in CCU IP. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v5: - Move CCU driver to DM.

[U-Boot] [PATCH v6 16/19] arm: socfpga: agilex: Add SPL for Agilex SoC

2019-11-07 Thread Ley Foon Tan
Add SPL support for Agilex SoC. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v5: - Probe CCU driver with DM method. v4: - Move spl_early_init() to entry of board_init_f - Add socfpga_get_manager_addr(). - Remove SYSMGR_DMA and SYSMGR_DMA_PERIPH, already set in

[U-Boot] [PATCH v6 03/19] arm: socfpga: Move Stratix10 and Agilex reset manager common code

2019-11-07 Thread Ley Foon Tan
Move Stratix10 and Agilex reset manager common code to reset_manager_soc64.h. Changed macros to RSTMGR_SOC64_*. Remove unused RSTMGR_XXX defines. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v5: - Remove reset_manager_s10.h and use reset_manager_soc64.h directly. v4: -

[U-Boot] [PATCH v6 06/19] arm: socfpga: agilex: Add system manager support

2019-11-07 Thread Ley Foon Tan
Add system manager support for Agilex. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v5: - Remove system_manager_agilex.h and use system_manager_soc64.h directly. v3: - Change include filename to system_manager_soc64.h. - Move to use defines instead of struct. v2: - Include

[U-Boot] [PATCH v6 04/19] arm: socfpga: agilex: Add reset manager support

2019-11-07 Thread Ley Foon Tan
Add reset manager support for Agilex. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v5: - Remove reset_reset_manager_agilex.h and use reset_manager_soc64.h. v3: - Add reset_manager_soc64.h - Convert to use defines instead of struct. ---

[U-Boot] [PATCH v6 00/19] Add Intel Agilex SoC support

2019-11-07 Thread Ley Foon Tan
This is 6th version of patchset to add Intel Agilex SoC[1] support. Most of changes are related to use agilex-clock.h from Linux instead of using stratix10-clock.h and rebase on top of patchset in [2]. Detail changelog can find in commit message. This patchset needs to apply after patchset in

[U-Boot] [PATCH v6 01/19] arm: socfpga: agilex: Add base address for Intel Agilex SoC

2019-11-07 Thread 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_FW_MPU_DDR_SCR_ADDRESS ---

Re: [U-Boot] USB doesn't work on Rockpro64 in u-boot

2019-11-07 Thread Vasily Khoruzhick
I checked voltage on regulator enable pin and it's 1.5v in u-boot (and it's not enough to enable regulator!) and in linux it's 3v. That's why USB ports have no power in u-boot. Looks like u-boot doesn't switch GPIO voltage from 1.8v to 3.3v. Any ideas how to fix this? On Wed, Nov 6, 2019 at

Re: [U-Boot] [RFC PATCH] dm: core: Remove libfdt dependency when unnecessary

2019-11-07 Thread Walter Lozano
Hi Tom On 7/11/19 15:27, Tom Rini wrote: On Tue, Nov 05, 2019 at 01:56:00PM -0300, Ezequiel Garcia wrote: Hello Walter, Thanks for the patch. On Tue, 5 Nov 2019 at 12:27, Walter Lozano wrote: The support of libfdt should only be needed when OF_CONTROL is enabled and OF_PLATDATA is not, as

Re: [U-Boot] [PATCH 1/2] arm: dts: rk3399-rockpro64: sync dts from linux kernel

2019-11-07 Thread Kever Yang
On 2019/11/7 下午7:11, Soeren Moch wrote: The most important change for u-boot is the fix for the vdd-log pwm voltage regulator to avoid overvoltage for the VD_LOGIC power domain. Signed-off-by: Soeren Moch =2D-- Cc: Kever Yang Cc: u-boot@lists.denx.de =2D-- Why  is the "=2D- -" here?

Re: [U-Boot] [PATCH 2/2] arm: dts: rk3399-rockpro64: slightly increase center voltage

2019-11-07 Thread Kever Yang
On 2019/11/7 下午7:11, Soeren Moch wrote: The rk3399 VD_CENTER voltage domain is not subject to dynamic voltage scaling. So the regulator reset voltage of 0.9V is used on this board. Let u-boot initialize the center voltage to 0.95V as it is done for the VD_LOGIC domain. This avoids instability

[U-Boot] standalone application on odroid xu4

2019-11-07 Thread Michael Neises
Hi, I'm working with the Odroid XU4 board. I want to execute a standalone application, like the hello_world function that is included with u-boot source. My steps to compile are: 1. clone the u-boot repo 2. `export ARCH=armv7a` 3. `export CROSS_COMPILE=arm-linux-gnueabi-` 4. `make` 5. Use

[U-Boot] [PATCH] usb: xhci: support 1.1 or later version

2019-11-07 Thread Chunfeng Yun
The xHCI 1.1 version also need set Transfer Type field Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 119b418..6a469e1 100644 ---

[U-Boot] [PATCH] configs: Stratix10: Disable CONFIG_SPL_USE_TINY_PRINTF

2019-11-07 Thread Ley Foon Tan
Commit 2a51e16bd57a ("configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default") enable USE_TINY_PRINTF by default, disable it for Stratix10. Resync with savedefconfig. Signed-off-by: Ley Foon Tan --- configs/socfpga_stratix10_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2

[U-Boot] [PATCH] arm: dts: Stratix10: Fix memory node address and size cells

2019-11-07 Thread Ley Foon Tan
Add #address-cells and #size-cells to memory node to fix incorrect memory size decoding in recent Uboot version. Signed-off-by: Ley Foon Tan --- arch/arm/dts/socfpga_stratix10_socdk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts

[U-Boot] [PATCH] spl: Allow cache drivers to be used in SPL

2019-11-07 Thread Ley Foon Tan
Add an option for building cache drivers in SPL. Signed-off-by: Ley Foon Tan --- common/spl/Kconfig | 5 + drivers/Makefile | 1 + drivers/cache/Makefile | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index

[U-Boot] [PATCH v6 4/4] arm: socfpga: Convert clock manager from struct to defines

2019-11-07 Thread Ley Foon Tan
Convert clock manager for Gen5, Arria 10 and Stratix 10 from struct to defines. Change to get clock manager base address from DT node instead of using #define. Signed-off-by: Ley Foon Tan --- v6: - Call to socfpga_get_clkmgr_addr() function, instead of access to global variable directly.

[U-Boot] [PATCH v6 3/4] arm: socfpga: Convert system manager from struct to defines

2019-11-07 Thread Ley Foon Tan
Convert system manager for Gen5, Arria 10 and Stratix 10 from struct to defines. Change to get system manager base address from DT node instead of using #define. Signed-off-by: Ley Foon Tan --- v6: - Call to socfpga_get_sysmgr_addr() function, instead of access to global variable directly.

[U-Boot] [PATCH v6 2/4] arm: socfpga: Convert reset manager from struct to defines

2019-11-07 Thread Ley Foon Tan
Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct to defines. Change to get reset manager base address from DT node instead of using #define. spl_early_init() initializes the DT setup. So, move spl_early_init() to beginning of function and before get base address from DT.

[U-Boot] [PATCH v6 1/4] arm: dts: socfpga: Add u-boot, dm-pre-reloc for sysmgr and clkmgr nodes

2019-11-07 Thread Ley Foon Tan
Add u-boot,dm-pre-reloc for sysmgr and clkmgr nodes to use it in SPL. In preparation to get base address from DT. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v3: - Fix missing '0' in clkmgr@ffd1 node. --- arch/arm/dts/socfpga-common-u-boot.dtsi | 8

[U-Boot] [PATCH v6 0/4] arm: socfpga: Convert drivers from struct to defines

2019-11-07 Thread Ley Foon Tan
This is 6th version of patchset to convert reset, system and clock manager drivers to use #define instead of struct. Patch 1 unchanged, patch 2,3,4 have changes. Tested on Cyclone 5, Arria 10 and Stratix 10 devices. Changes in v6: - Call to socfpga_get_*mgr_addr() function, instead of access to

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

2019-11-07 Thread Kever Yang
Hi Tom, Please pull the rockchip update: - Add support for rockchip pmic rk805,rk809, rk816, rk817 - Add rk3399 board Leez support - Fix bug in rk3328 ram driver - Adapt SPL to support ATF bl31 with entry at 0x4 Fix the u8 type comparision with '-1'. Travis:

[U-Boot] [PATCH] cmd: move down CONFIG_CMD_BOOTEFI after CONFIG_BOOTM_VXWORKS

2019-11-07 Thread AKASHI Takahiro
Due to the commit 4b0bcfa7c4ec ("Kconfig: Migrate CONFIG_BOOTM_* options") BOOTEFI and BOOTEFI_HELLO_COMPILE (and other BOOTEFI configs) are displayed in a long distance. This will make it difficult for us to understand that those configurations are closely related. Signed-off-by: AKASHI Takahiro

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-07 Thread Rick Chen
Hi Anup > > On Thu, Nov 7, 2019 at 5:11 PM Rick Chen wrote: > > > > Hi Anup & Lukas > > > > Anup Patel 於 2019年11月7日 週四 下午6:44寫道: > > > > > > On Thu, Nov 7, 2019 at 3:11 PM Auer, Lukas > > > wrote: > > > > > > > > On Thu, 2019-11-07 at 11:48 +0530, Anup Patel wrote: > > > > > On Thu, Nov 7,

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-07 Thread Rick Chen
Hi Atish > > On Thu, 2019-11-07 at 19:41 +0800, Rick Chen wrote: > > Hi Anup & Lukas > > > > Anup Patel 於 2019年11月7日 週四 下午6:44寫道: > > > On Thu, Nov 7, 2019 at 3:11 PM Auer, Lukas > > > wrote: > > > > On Thu, 2019-11-07 at 11:48 +0530, Anup Patel wrote: > > > > > On Thu, Nov 7, 2019 at 11:40 AM

Re: [U-Boot] [PATCH v3 1/3] fdt: fix bcm283x dm-pre-reloc definitions

2019-11-07 Thread Heinrich Schuchardt
On 11/7/19 6:18 PM, matthias@kernel.org wrote: From: Matthias Brugger In commmit 143256b353 ("fdt: update bcm283x device tree sources to Linux 5.1-rc6 state") we delete the label for the node soc. As we don't need the to add the %s/delete/deleted/ The sentence starting with "As we don't"

[U-Boot] [RFC 1/1] efi_loader: support building UEFI binaries on sandbox

2019-11-07 Thread Heinrich Schuchardt
On the sandbox the UEFI binaries must match the host architectures. Adjust the Makefiles. Provide the PE/COFF header and relocation files. Allow building helloworld.efi on the sandbox. Signed-off-by: Heinrich Schuchardt --- include/host_arch.h provokes some false positives in checkpatch.pl as

Re: [U-Boot] [PATCH] include/env.h: Ensure ulong is defined

2019-11-07 Thread Tom Rini
On Tue, Nov 05, 2019 at 11:30:45AM -0800, Alistair Francis wrote: > To fix these failures when building with musl: >include/env.h:166:1: error: unknown type name 'ulong'; did you mean 'long'? > ensure that ulong is defined. > > Signed-off-by: Alistair Francis > --- > include/env.h | 2 ++ >

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: fix warning if no hwconfig is defined

2019-11-07 Thread Michael Walle
Am 2019-10-31 06:41, schrieb Pankaj Bansal: if no hwconfig variable is defined for a platform and we try to get the subarg of hwconfig, we receive a warning: WARNING: Calling __hwconfig without a buffer and before environment is ready Therefore, if hwconfig is not found return without further

Re: [U-Boot] [RFC/RFT PATCH v3 2/3] image: Add a common compression type detection function.

2019-11-07 Thread Tom Rini
On Wed, Nov 06, 2019 at 02:15:21PM -0800, Atish Patra wrote: > Currently, there is no method that can detect compression types > given a file. This is very useful where a compressed kernel image > is loaded directly to the memory. > > Inspect initial few bytes to figure out compression type of

Re: [U-Boot] [RFC/RFT PATCH v3 1/3] lib: kconfig: Add option to set BZIP2 compression method

2019-11-07 Thread Tom Rini
On Wed, Nov 06, 2019 at 02:15:20PM -0800, Atish Patra wrote: > There is no way to select BZIP2 compression method. > Add it under library/compression config where all other > compression related configs are present. > > Signed-off-by: Atish Patra With the note that when applying I need to run

Re: [U-Boot] [RFC/RFT PATCH v3 3/3] image: Add compressed Image parsing support in booti.

2019-11-07 Thread Tom Rini
On Wed, Nov 06, 2019 at 02:15:22PM -0800, Atish Patra wrote: > Add compressed Image parsing support so that booti can parse both > flat and compressed Image to boot Linux. Currently, it is difficult > to calculate a safe address for every board where the compressed > image can be decompressed. It

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: fix hwconfig and prefetching

2019-11-07 Thread Tom Rini
On Tue, Nov 05, 2019 at 11:32:05PM +0100, Michael Walle wrote: > Am 2019-11-05 11:23, schrieb Priyanka Jain: > > > -Original Message- > > > From: U-Boot On Behalf Of Michael Walle > > > Sent: Tuesday, October 22, 2019 2:07 AM > > > To: u-boot@lists.denx.de > > > Cc: Tom Rini > > >

Re: [U-Boot] [PATCH 1/2] arm: dts: rk3399-rockpro64: sync dts from linux kernel

2019-11-07 Thread Vasily Khoruzhick
On Thu, Nov 7, 2019 at 12:26 PM Soeren Moch wrote: > > On 07.11.19 21:04, Vasily Khoruzhick wrote: > > On Thu, Nov 7, 2019 at 3:11 AM Soeren Moch wrote: > >> The most important change for u-boot is the fix for the vdd-log pwm > >> voltage regulator to avoid overvoltage for the VD_LOGIC power

Re: [U-Boot] [PATCH 1/2] arm: dts: rk3399-rockpro64: sync dts from linux kernel

2019-11-07 Thread Soeren Moch
On 07.11.19 21:04, Vasily Khoruzhick wrote: > On Thu, Nov 7, 2019 at 3:11 AM Soeren Moch wrote: >> The most important change for u-boot is the fix for the vdd-log pwm >> voltage regulator to avoid overvoltage for the VD_LOGIC power domain. > I don't see any changes to vdd-log regulator in this

[U-Boot] [PATCH] mx6cuboxi: Add Baruch as maintainer

2019-11-07 Thread Fabio Estevam
Add Baruch Siach as a mx6cuboxi maintainer. Signed-off-by: Fabio Estevam --- board/solidrun/mx6cuboxi/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/solidrun/mx6cuboxi/MAINTAINERS b/board/solidrun/mx6cuboxi/MAINTAINERS index 81f82bc9b5..bd098b479f 100644 ---

Re: [U-Boot] [PATCH v4 2/5] omap: mmc: Avoid using libfdt with of-platdata

2019-11-07 Thread Tom Rini
On Thu, Nov 07, 2019 at 08:53:09AM -0700, Simon Glass wrote: > At present this driver is enabled in SPL on omapl138_lcdk, which uses > of-platdata. The driver needs to be ported to use of-platdata properly. > For now, avoid a build error by returning an error. > > Signed-off-by: Simon Glass >

Re: [U-Boot] [PATCH] net/phy: Fix phy_connect() for phy addr 0

2019-11-07 Thread Joe Hershberger
On Thu, Nov 7, 2019 at 1:16 PM Tom Rini wrote: > > On Tue, Nov 05, 2019 at 04:05:11AM +, Priyanka Jain wrote: > > > Fix 'mask' calculation in phy_connect() for phy addr '0'. > > 'mask' is getting set to '0x' for phy addr '0' > > in phy_connect() whereas expected value is '0'. > > > >

Re: [U-Boot] [PATCH 1/2] arm: dts: rk3399-rockpro64: sync dts from linux kernel

2019-11-07 Thread Vasily Khoruzhick
On Thu, Nov 7, 2019 at 3:11 AM Soeren Moch wrote: > > The most important change for u-boot is the fix for the vdd-log pwm > voltage regulator to avoid overvoltage for the VD_LOGIC power domain. I don't see any changes to vdd-log regulator in this patch that can help avoiding overvoltage. It just

Re: [U-Boot] [PATCH v4 4/5] dm: core: Don't include ofnode functions with of-platdata

2019-11-07 Thread Walter Lozano
Hi Simon, Thanks for your patch. On 7/11/19 12:53, Simon Glass wrote: These functions cannot work with of-platdata since libfdt is not available. At present when dev_read_...() functions are used it produces error messages about ofnode which is confusing. Adjust the Makefile and header to

Re: [U-Boot] [PATCH V2 2/3] watchdog: designware: Convert to DM and DT probing

2019-11-07 Thread Marek Vasut
On 11/7/19 8:30 PM, Simon Goldschmidt wrote: [...] >> diff --git a/include/configs/socfpga_stratix10_socdk.h >> b/include/configs/socfpga_stratix10_socdk.h >> index 353e08f982..0c0c27000a 100644 >> --- a/include/configs/socfpga_stratix10_socdk.h >> +++ b/include/configs/socfpga_stratix10_socdk.h

Re: [U-Boot] [PATCH V2 2/3] watchdog: designware: Convert to DM and DT probing

2019-11-07 Thread Simon Goldschmidt
Am 03.10.2019 um 14:59 schrieb Marek Vasut: Convert the designware watchdog timer driver to DM and add DT probing support. Perform minor coding style clean up, like drop superfluous braces. There ought to be no functional change. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dalon

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

2019-11-07 Thread Fabio Estevam
Hi Ezequiel, On Thu, Nov 7, 2019 at 3:45 PM Ezequiel Garcia wrote: > > I decided to test latest U-Boot, following instructions in > doc/README.rockchip. The instructions seemed > clear and I could build this easily. > > However, there seems to be an issue when I save the environment. Any ideas?

Re: [U-Boot] [PATCH V2 1/3] watchdog: designware: Migrate CONFIG_DESIGNWARE_WATCHDOG to Kconfig

2019-11-07 Thread Simon Goldschmidt
Am 03.10.2019 um 14:59 schrieb Marek Vasut: Migrate CONFIG_DESIGNWARE_WATCHDOG to Kconfig and update the headers accordingly, no functional change. The S10 enables the WDT only in SPL, but does not enable it in U-Boot itself, hence disable it in the config again. Signed-off-by: Marek Vasut Cc:

Re: [U-Boot] [RFC PATCH] dm: core: Remove libfdt dependency when unnecessary

2019-11-07 Thread Walter Lozano
Hi Simon, On 7/11/19 13:42, Simon Glass wrote: Hi Walter, On Thu, 7 Nov 2019 at 06:30, Walter Lozano wrote: Hi Ezequiel, On 5/11/19 20:30, Ezequiel Garcia wrote: On Tue, 5 Nov 2019 at 15:12, Walter Lozano wrote: Hi Ezequiel, On 5/11/19 13:56, Ezequiel Garcia wrote: Hello Walter,

Re: [U-Boot] [PATCH] xilinx: Do defconfig syncup

2019-11-07 Thread Tom Rini
On Thu, Nov 07, 2019 at 02:37:21PM +0100, Michal Simek wrote: > Sync up defconfigs according to latest Kconfig dependencies. > > Signed-off-by: Michal Simek I'll take this as a reminder to moveconfig -s everyone, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] Buildman Kconfig issue with consecutive builds

2019-11-07 Thread Simon Glass
Hi Schrempf, On Thu, 7 Nov 2019 at 12:14, Schrempf Frieder wrote: > Hi Simon, > > On 07.11.19 17:23, Simon Glass wrote: > > Hi Schrempf, > > > > On Thu, 7 Nov 2019 at 08:15, Schrempf Frieder > > wrote: > >> > >> On 07.11.19 15:02, Bin Meng wrote: > >>> Hi Frieder, > >>> > >>> On Thu, Nov 7,

Re: [U-Boot] [PATCH] net/phy: Fix phy_connect() for phy addr 0

2019-11-07 Thread Tom Rini
On Tue, Nov 05, 2019 at 04:05:11AM +, Priyanka Jain wrote: > Fix 'mask' calculation in phy_connect() for phy addr '0'. > 'mask' is getting set to '0x' for phy addr '0' > in phy_connect() whereas expected value is '0'. > > > Signed-off-by: Priyanka Jain Reported-by: tetsu-aoki via

Re: [U-Boot] Buildman Kconfig issue with consecutive builds

2019-11-07 Thread Schrempf Frieder
Hi Simon, On 07.11.19 17:23, Simon Glass wrote: > Hi Schrempf, > > On Thu, 7 Nov 2019 at 08:15, Schrempf Frieder > wrote: >> >> On 07.11.19 15:02, Bin Meng wrote: >>> Hi Frieder, >>> >>> On Thu, Nov 7, 2019 at 9:28 PM Schrempf Frieder >>> wrote: Hi Bin, On 07.11.19 13:41,

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

2019-11-07 Thread Ezequiel Garcia
I decided to test latest U-Boot, following instructions in doc/README.rockchip. The instructions seemed clear and I could build this easily. However, there seems to be an issue when I save the environment. Any ideas? => saveenv Saving Environment to MMC... Writing to MMC(0)... OK => reset

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-07 Thread Atish Patra
On Thu, 2019-11-07 at 19:41 +0800, Rick Chen wrote: > Hi Anup & Lukas > > Anup Patel 於 2019年11月7日 週四 下午6:44寫道: > > On Thu, Nov 7, 2019 at 3:11 PM Auer, Lukas > > wrote: > > > On Thu, 2019-11-07 at 11:48 +0530, Anup Patel wrote: > > > > On Thu, Nov 7, 2019 at 11:40 AM Rick Chen > > > > wrote: >

Re: [U-Boot] [RFC PATCH] dm: core: Remove libfdt dependency when unnecessary

2019-11-07 Thread Tom Rini
On Tue, Nov 05, 2019 at 01:56:00PM -0300, Ezequiel Garcia wrote: > Hello Walter, > > Thanks for the patch. > > On Tue, 5 Nov 2019 at 12:27, Walter Lozano > wrote: > > > > The support of libfdt should only be needed when OF_CONTROL > > is enabled and OF_PLATDATA is not, as in other cases there

Re: [U-Boot] [PATCH V2 2/3] watchdog: designware: Convert to DM and DT probing

2019-11-07 Thread Marek Vasut
On 10/4/19 11:26 AM, Ley Foon Tan wrote: > On Thu, Oct 3, 2019 at 9:00 PM Marek Vasut wrote: >> >> Convert the designware watchdog timer driver to DM and add DT probing >> support. Perform minor coding style clean up, like drop superfluous >> braces. There ought to be no functional change. > >

Re: [U-Boot] [PATCH V2 1/3] watchdog: designware: Migrate CONFIG_DESIGNWARE_WATCHDOG to Kconfig

2019-11-07 Thread Marek Vasut
On 10/11/19 11:51 AM, Ley Foon Tan wrote: > On Thu, Oct 10, 2019 at 3:47 PM Marek Vasut wrote: >> >> On 10/10/19 8:28 AM, Ley Foon Tan wrote: >>> On Fri, Oct 4, 2019 at 7:04 PM Marek Vasut wrote: On 10/4/19 10:59 AM, Ley Foon Tan wrote: > On Thu, Oct 3, 2019 at 9:00 PM Marek Vasut

Re: [U-Boot] pull request u-boot-mpc85xx

2019-11-07 Thread Tom Rini
On Thu, Nov 07, 2019 at 04:01:45AM +, Priyanka Jain wrote: > Dear Tom, > > Please find my pull-request for u-boot-mpc85xx/master > https://travis-ci.org/p-priyanka-jain/u-boot/builds/608129628 > > Summary > mpc85xx,socrates: Add dts, enable DM support, > fix warnings,

Re: [U-Boot] [PATCH] common/console.c: Fix unused warning with console_doenv()

2019-11-07 Thread Tom Rini
On Wed, Oct 30, 2019 at 09:18:43AM -0400, Tom Rini wrote: > Newer versions of LLVM-7 will provide an unused function warning over > console_doenv() in the case of SYS_CONSOLE_IS_IN_ENV not being enabled > as can be the case in SPL. Add guards around this function. > > Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] gitlab/azure: Enable LLVM tests

2019-11-07 Thread Tom Rini
On Wed, Nov 06, 2019 at 07:30:47PM -0500, Tom Rini wrote: > Now that we have again fixed the problems that building with clang > exposes, enable these tests on Azure and GitLab-CI as well. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH] travis: Fix the clang-7 test

2019-11-07 Thread Tom Rini
On Sat, Oct 26, 2019 at 01:48:41PM -0400, Tom Rini wrote: > When using the OVERRIDE variable we need to pass -O to buildman as well > to use the "override" option to buildman. > > Fixed: e9500f49ea35 ("travis: Use buildman for building with clang") > Signed-off-by: Tom Rini Applied to

[U-Boot] [PATCH v3 3/3] drivers: bcm283x: Set pre-location flag for OF_BOARD

2019-11-07 Thread matthias . bgg
From: Matthias Brugger U-Boot support on Raspberry Pi 4 relies on the device-tree provided by the firmware. The blob does not contain the U-Boot specific pre-loc-rel properties. The result is, that the U-Boot banner is not printed. We fix this by setting the DM_FLAG_PRE_RELOC flag in the

[U-Boot] [PATCH v3 1/3] fdt: fix bcm283x dm-pre-reloc definitions

2019-11-07 Thread matthias . bgg
From: Matthias Brugger In commmit 143256b353 ("fdt: update bcm283x device tree sources to Linux 5.1-rc6 state") we delete the label for the node soc. As we don't need the to add the property dm-pre-reloc to this node, we can delete it fomr bcm283x-uboot.dtsi Tested-by: Tom Rini [RPi 3, 32b and

Re: [U-Boot] [PATCH v2 1/3] fdt: fix bcm283x dm-pre-reloc definitions

2019-11-07 Thread Tom Rini
On Thu, Nov 07, 2019 at 05:43:35PM +0100, matthias@kernel.org wrote: > From: Matthias Brugger > > In commmit > 143256b353 ("fdt: update bcm283x device tree sources to Linux 5.1-rc6 state") > we delete the label for the node soc. As we don't need the to add the > property dm-pre-reloc to

[U-Boot] [PATCH v2 3/3] drivers: bcm283x: Set pre-location flag for OF_BOARD

2019-11-07 Thread matthias . bgg
From: Matthias Brugger U-Boot support on Raspberry Pi 4 relies on the device-tree provided by the firmware. The blob does not contain the U-Boot specific pre-loc-rel properties. The result is, that the U-Boot banner is not printed. We fix this by setting the DM_FLAG_PRE_RELOC flag in the

[U-Boot] [PATCH v2 1/3] fdt: fix bcm283x dm-pre-reloc definitions

2019-11-07 Thread matthias . bgg
From: Matthias Brugger In commmit 143256b353 ("fdt: update bcm283x device tree sources to Linux 5.1-rc6 state") we delete the label for the node soc. As we don't need the to add the property dm-pre-reloc to this node, we can delete it fomr bcm283x-uboot.dtsi Signed-off-by: Matthias Brugger

Re: [U-Boot] [RFC PATCH] dm: core: Remove libfdt dependency when unnecessary

2019-11-07 Thread Simon Glass
Hi Walter, On Thu, 7 Nov 2019 at 06:30, Walter Lozano wrote: > > Hi Ezequiel, > > On 5/11/19 20:30, Ezequiel Garcia wrote: > > On Tue, 5 Nov 2019 at 15:12, Walter Lozano > > wrote: > >> Hi Ezequiel, > >> > >> On 5/11/19 13:56, Ezequiel Garcia wrote: > >>> Hello Walter, > >>> > >>> Thanks for

Re: [U-Boot] [PATCH] fdt: fix bcm283x dm-pre-reloc definitions

2019-11-07 Thread Matthias Brugger
On 07/11/2019 14:51, Tom Rini wrote: > On Thu, Nov 07, 2019 at 02:30:13PM +0100, matthias@kernel.org wrote: > >> From: Matthias Brugger >> >> In commmit >> 143256b353 ("fdt: update bcm283x device tree sources to Linux 5.1-rc6 state") >> we accidently deleted the inclution of

Re: [U-Boot] [PATCH] Revert "binman: Correct symbol calculation with non-zero image base"

2019-11-07 Thread Stephen Warren
On 11/5/19 9:21 AM, Stephen Warren wrote: From: Stephen Warren This reverts commit 15c981cc8adc26501e3a19ca7fb35705870ef597. "binman: Correct symbol calculation with non-zero image base". This was previously reported to break initial boot on Jetson TK1, and Simon dropped the patch from his

Re: [U-Boot] [PATCH] binman: tegra: Adjust symbol calculation depending on end-at-4gb

2019-11-07 Thread Stephen Warren
On 11/6/19 5:22 PM, Simon Glass wrote: A recent change adjusted the symbol calculation to work on x86 but broke it for Tegra. In fact this is because they have different needs. On x86 devices the code is linked to a ROM address and the end-at-4gb property is used for the image. In this case

Re: [U-Boot] Buildman Kconfig issue with consecutive builds

2019-11-07 Thread Simon Glass
Hi Schrempf, On Thu, 7 Nov 2019 at 08:15, Schrempf Frieder wrote: > > On 07.11.19 15:02, Bin Meng wrote: > > Hi Frieder, > > > > On Thu, Nov 7, 2019 at 9:28 PM Schrempf Frieder > > wrote: > >> > >> Hi Bin, > >> > >> On 07.11.19 13:41, Bin Meng wrote: > >>> Hi Schrempf, > >>> > >>> On Thu, Nov

[U-Boot] [PATCH] patman: Fix cc-cmd option for Python 3

2019-11-07 Thread Simon Glass
The Python 3 conversion doesn't work correctly with the new patch to use NUL as the separator in the CC file. Fix this by avoiding encoding the CC list written to the file. Signed-off-by: Simon Glass --- tools/patman/patman.py | 2 +- tools/patman/series.py | 2 +- 2 files changed, 2

[U-Boot] [PATCH v2 2/2] freescale/powerpc: Rename the config CONFIG_SECURE_BOOT name.

2019-11-07 Thread Udit Agarwal
Renames the CONFIG_SECURE_BOOT name to CONFIG_NXP_ESBC to avoid conflicts with UEFI secure boot. Signed-off-by: Udit Agarwal --- Changes in V2: Rebase on top of master branch. arch/powerpc/cpu/mpc85xx/Kconfig | 4 ++-- arch/powerpc/cpu/mpc85xx/cpu_init.c

[U-Boot] [PATCH v2 1/2] freescale/layerscape: Rename the config CONFIG_SECURE_BOOT name.

2019-11-07 Thread Udit Agarwal
Renames CONFIG_SECURE_BOOT to CONFIG_NXP_ESBC to avoid conflict with UEFI secure boot. Signed-off-by: Udit Agarwal --- Changes in V2: Rebase on top of master branch. arch/arm/cpu/armv7/ls102xa/Kconfig | 4 ++-- arch/arm/cpu/armv8/fsl-layerscape/Kconfig| 4 ++--

[U-Boot] [PATCH v4 4/5] dm: core: Don't include ofnode functions with of-platdata

2019-11-07 Thread Simon Glass
These functions cannot work with of-platdata since libfdt is not available. At present when dev_read_...() functions are used it produces error messages about ofnode which is confusing. Adjust the Makefile and header to produce an error message for the actual dev_read...() function which is

[U-Boot] [PATCH v4 5/5] spl: Allow SPL/TPL to use of-platdata without libfdt

2019-11-07 Thread Simon Glass
At present libfdt is included in SPL/TPL if SPL/TPL_OF_CONTROL is enabled. But if of-platdata is in use this is not required. Update the condition to avoid building this extra code. This ensures that if a libfdt function is used it will produce a link error rather than silently increasing the

[U-Boot] [PATCH v4 1/5] rockchip: Avoid using libfdt with of-platdata

2019-11-07 Thread Simon Glass
At present a few of the clk and pinctrl drivers use libfdt routines (via dev_read_..()) when of-platdata is enabled. This is not permitted. Correct this by returning errors instead. The drivers may need to be modified to add full support. Signed-off-by: Simon Glass --- Changes in v4: - Add new

[U-Boot] [PATCH v4 3/5] rockchip: pinctrl: Disable full pinctrl for SPL

2019-11-07 Thread Simon Glass
We don't need full pinctrl for SPL on these chrombook devices. Disable it so that of-platdata can be used without calling libfdt routines. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch for rockchip chromebook build errors Changes in v3: None

[U-Boot] [PATCH v4 2/5] omap: mmc: Avoid using libfdt with of-platdata

2019-11-07 Thread Simon Glass
At present this driver is enabled in SPL on omapl138_lcdk, which uses of-platdata. The driver needs to be ported to use of-platdata properly. For now, avoid a build error by returning an error. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch for omap MMC build errors Changes in

[U-Boot] [PATCH v4 0/5] of-platdata: Avoid building libfdt

2019-11-07 Thread Simon Glass
The original patch of this series was sent in September but unfortunately caused build problems on some boards, since they don't comply with the of-platdata rules. With of-platdata, the idea is to compile the device tree into C structures to save space and avoid needing to use libfdt. But some

Re: [U-Boot] Buildman Kconfig issue with consecutive builds

2019-11-07 Thread Schrempf Frieder
On 07.11.19 15:02, Bin Meng wrote: > Hi Frieder, > > On Thu, Nov 7, 2019 at 9:28 PM Schrempf Frieder > wrote: >> >> Hi Bin, >> >> On 07.11.19 13:41, Bin Meng wrote: >>> Hi Schrempf, >>> >>> On Thu, Nov 7, 2019 at 12:17 AM Schrempf Frieder >>> wrote: Hi, I'm having some

Re: [U-Boot] [PATCH 2/2] ARM: dts: imx6qdl: Add U-Boot specific device tree files for Cubox-i

2019-11-07 Thread Walter Lozano
Hi Fabio, On 7/11/19 10:48, Fabio Estevam wrote: Hi Walter, On Wed, Oct 30, 2019 at 4:58 PM Walter Lozano wrote: Thanks for the suggestion. I will wait for some SATA tests before re sending these patches. Just to let you know that Baruch has submitted a series that convert imx6 cubox to

Re: [U-Boot] Buildman Kconfig issue with consecutive builds

2019-11-07 Thread Bin Meng
Hi Frieder, On Thu, Nov 7, 2019 at 9:28 PM Schrempf Frieder wrote: > > Hi Bin, > > On 07.11.19 13:41, Bin Meng wrote: > > Hi Schrempf, > > > > On Thu, Nov 7, 2019 at 12:17 AM Schrempf Frieder > > wrote: > >> > >> Hi, > >> > >> I'm having some trouble using buildman to test the impact of some >

  1   2   >