Re: [U-Boot] Attempting to cross compile u-boot tools for my arm target using yocto toolchain with no success.

2018-09-12 Thread Bin Meng
Hi, On Thu, Sep 13, 2018 at 12:10 PM Davis Roman wrote: > > Hello, > > I'm banging my head trying to figure out why I'm unable to cross compile > the u-boot tools for my target. > > Currently, I'm able to run the following commands without any issue: > > davis@XPS-15-9560:/tmp/uboot-imx$ git clon

[U-Boot] Attempting to cross compile u-boot tools for my arm target using yocto toolchain with no success.

2018-09-12 Thread Davis Roman
Hello, I'm banging my head trying to figure out why I'm unable to cross compile the u-boot tools for my target. Currently, I'm able to run the following commands without any issue: davis@XPS-15-9560:/tmp/uboot-imx$ git clone git:// git.freescale.com/imx/uboot-imx.git davis@XPS-15-9560:/tmp/uboot

[U-Boot] [PATCH] arm: zynq: zybo: migrate CONFIG_DISPLAY to defconfig

2018-09-12 Thread Luis Araneda
Only add CONFIG_DISPLAY to defconfig because CONFIG_I2C_EDID is automatically selected by CONFIG_DISPLAY Signed-off-by: Luis Araneda --- configs/zynq_zybo_defconfig | 1 + include/configs/zynq_zybo.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/zynq_zybo_defconfi

[U-Boot] [PATCH 3/4] ata: Drop CONFIG_SYS_SCSI_MAX_* from boards using DM_SCSI

2018-09-12 Thread Tuomas Tynkkynen
These options are not used or necessary when device model is being used for SCSI. Just drop them. Signed-off-by: Tuomas Tynkkynen --- include/configs/dra7xx_evm.h| 4 include/configs/qemu-arm.h | 3 --- include/configs/x86-common.h| 4 include/configs/xilinx_zynqmp.h | 7 -

[U-Boot] [PATCH 4/4] configs: Drop CONFIG_SYS_SCSI_MAXDEVICE

2018-09-12 Thread Tuomas Tynkkynen
This option has never been used for anything. Drop it. Signed-off-by: Tuomas Tynkkynen --- include/configs/MPC8544DS.h | 3 +-- include/configs/MPC8572DS.h | 1 - include/configs/MPC8610HPCD.h | 1 - include/configs/MPC8641HPCN.h | 1 - include/configs/sbc8641d.h| 1 - scripts/config_whi

[U-Boot] [PATCH 2/4] ata: ahci: Don't cap AHCI port count under CONFIG_DM_SCSI

2018-09-12 Thread Tuomas Tynkkynen
When using device model this sort of hardcoded limits aren't used or necessary. Signed-off-by: Tuomas Tynkkynen --- drivers/ata/ahci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 333f0457f6..5fafb63aeb 100644 --- a/drivers/ata/ahci.c +++ b/

[U-Boot] [PATCH 1/4] ata: ahci: Loop over the actual number of ports, not the maximum

2018-09-12 Thread Tuomas Tynkkynen
The loop in ahci_start_ports() is looping over the maximum number of SCSI devices in the system, which can be larger than the amount of ports a particular AHCI controller has. The extra looping isn't directly harmful because the link_port_map bitmap won't have the bit set for a nonexistent port, bu

[U-Boot] [PATCH 1/1] efi_loader: provide description of file_open()

2018-09-12 Thread Heinrich Schuchardt
Replace urban slang by proper description. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_file.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c index 92ca444617..9ba7673fb6 100644 --- a/lib/efi_

[U-Boot] [PATCH 1/1] efi_loader: check parameters of efi_file_open()

2018-09-12 Thread Heinrich Schuchardt
Check the parameters of efi_file_open(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_file.c | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c index 89d65694da..92ca444617 100644

Re: [U-Boot] [PATCH 2/5] net: re-add support for the Faraday ftgmac100 controller

2018-09-12 Thread Cédric Le Goater
On 09/12/2018 11:27 AM, Joel Stanley wrote: > On Mon, 10 Sep 2018 at 23:54, Cédric Le Goater wrote: >> >> The driver is based on the previous one and adds the same support for >> the Faraday ftgmac100 controller with MAC and MDIO bus support for >> RGMII/RMII modes. >> >> Driver model support was

[U-Boot] [PATCH] cmd: env: Fix CRC calculation for 'env export -c -s'

2018-09-12 Thread Neil Stainton
Fix failure to reimport exported checksummed, size constrained data block. 'env export -c' command ignores optional -s size argument when calculating checksum causing subsequent 'env import -c' to fail. Signed-off-by: Neil Stainton --- cmd/nvedit.c | 3 ++- 1 file changed, 2 insertions(+), 1

[U-Boot] [PATCH 7/7] tools: build mkexynosspl for exynos4 as well

2018-09-12 Thread Simon Shields
Exynos4 uses the same SPL format as exynos5420/5250, so reuse mkexynosspl. Signed-off-by: Simon Shields --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/Makefile b/tools/Makefile index 0c3341e695..63db215f9f 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -166,6 +

[U-Boot] [PATCH] ls1012a: remove debug info from u-boot log.

2018-09-12 Thread Pramod Kumar
Signed-off-by: Pramod Kumar --- drivers/net/pfe_eth/pfe_mdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/pfe_eth/pfe_mdio.c b/drivers/net/pfe_eth/pfe_mdio.c index b53edb741f..2dde9e7ac8 100644 --- a/drivers/net/pfe_eth/pfe_mdio.c +++ b/drivers/net/pfe_eth/pfe_mdio.c @@ -162,7

[U-Boot] [PATCH 6/7] ARM: exynos: SPL support for exynos 4412

2018-09-12 Thread Simon Shields
This patch adds support for using u-boot's SPL in place of a proprietary BL2 on exynos 4412 boards. This has been verified to work on both exynos4412 boards (i9300 and i9305), and exynos4412-prime boards (n7100 and n7105), with one or two gigabytes of RAM. Using u-boot as SPL requires an appropriat

[U-Boot] [PATCH 5/7] ARM: exynos: add exynos4412 TZASC memory layout

2018-09-12 Thread Simon Shields
This patch adds the TZASC registers and base address as documented in the user manual. A follow-up patch will use this to mark all address spaces as non-secure. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/include/mach/cpu.h | 2 +- arch/arm/mach-exynos/include/mach/dmc.h | 19

[U-Boot] [PATCH 3/7] ARM: exynos: rename exynos4 setup files to exynos4210

2018-09-12 Thread Simon Shields
The current set of exynos4 initialisation code is only compatible with exynos4210. Rename it to reflect this, and allow for the introduction of exynos4412 support in a later patch set. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/Makefile | 2 +- .../{c

[U-Boot] [PATCH 4/7] ARM: exynos: fill in exynos4412_power struct

2018-09-12 Thread Simon Shields
add all registers of the exynos4412 PMU according to the datasheet Signed-off-by: Simon Shields --- arch/arm/mach-exynos/include/mach/power.h | 290 +- 1 file changed, 289 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/include/mach/power.h b/arch/arm/mach-ex

[U-Boot] [PATCH 2/7] exynos4: configure power down magic values

2018-09-12 Thread Simon Shields
These values are used to indicate the power-down state of the system. We need them to know how much initialisation we should do on bootup. Signed-off-by: Simon Shields --- include/configs/exynos4-common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/exynos4-common.h b

[U-Boot] [PATCH 1/7] ARM: exynos: spl: add EMMC/SD boot mode support

2018-09-12 Thread Simon Shields
Match the iROM behaviour: try and load u-boot from EMMC, and if that fails, fall back to using the SD card. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/spl_boot.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-exynos/spl_boot.c

[U-Boot] [PATCH 0/7] Exynos4412 SPL support

2018-09-12 Thread Simon Shields
Hi, This patch series adds support for using U-Boot's SPL as the second stage bootloader ("BL2") on Exynos4412 SoCs. - Patch #1 adds support for the EMMC/SD OM pin configuration, which is used by the boards I tested on. - Patch #2 configures the magic values used to indicate system suspend st

[U-Boot] [PATCH] ls1088ardb_pb: Secure boot: Change bootscript and header name

2018-09-12 Thread Vinitha V Pillai
Change bootscript and its header name in ls1088ardb_pb board specific file Signed-off-by: Vinitha V Pillai --- include/configs/ls1088ardb_pb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/ls1088ardb_pb.h b/include/configs/ls1088ardb_pb.h index 8f4612a..

Re: [U-Boot] [PATCH 3/3] aspeed: Add SPI support to the ast2500 Eval Board

2018-09-12 Thread Joel Stanley
On Mon, 10 Sep 2018 at 23:49, Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater Reviewed-by: Joel Stanley ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/5] net: re-add support for the Faraday ftgmac100 controller

2018-09-12 Thread Joel Stanley
On Mon, 10 Sep 2018 at 23:54, Cédric Le Goater wrote: > > The driver is based on the previous one and adds the same support for > the Faraday ftgmac100 controller with MAC and MDIO bus support for > RGMII/RMII modes. > > Driver model support was added as well as some enhancements and fixes. > > Si

Re: [U-Boot] [PATCH 4/5] net: ftgmac100: add support for Aspeed SoC

2018-09-12 Thread Joel Stanley
On Mon, 10 Sep 2018 at 23:55, Cédric Le Goater wrote: > > The Faraday ftgmac100 MAC controllers as found on the Aspeed SoCs have > some slight differences in the HW interface (End-Of-Rx/Tx-Ring > bits). Also include the Aspeed clock enablement. > > Signed-off-by: Cédric Le Goater Reviewed-by: Jo

Re: [U-Boot] [PATCH 3/5] aspeed: ast2500: fix missing break in D2PLL clock enablement

2018-09-12 Thread Joel Stanley
On Mon, 10 Sep 2018 at 23:54, Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater Reviewed-by: Joel Stanley ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] QSPI driver for Zynq and ZynqMP

2018-09-12 Thread Siva Durga Prasad Paladugu
Ping! Thanks, Siva From: Siva Durga Prasad Paladugu Sent: Friday, September 07, 2018 12:59 PM To: 'u-boot@lists.denx.de' Cc: Jagan Teki ; Michal Simek Subject: QSPI driver for Zynq and ZynqMP Hi Jagan, We would like to upstream quad and dual modes(parallel and stacked) support for qspi drive

Re: [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-12 Thread Simon Goldschmidt
On Wed, Sep 12, 2018 at 10:42 AM Marek Vasut wrote: > > On 09/12/2018 06:36 AM, Simon Goldschmidt wrote: > > > > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Mi., 12. > > Sep. 2018, 02:07: > > > > On 09/12/2018 02:05 AM, Dalon L Westergreen wrote: > > > On Wed, 2018-09-12 at 02:03 +02

Re: [U-Boot] [PATCH v3] arm: socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-12 Thread Marek Vasut
On 09/12/2018 02:25 AM, Dalon Westergreen wrote: > The dtb should be embedded in the u-boot-spl image so that > the CONFIG_SPL_TARGET of spl/u-boot-spl.hex includes it. > > This also affects the main u-boot image, so adjust > CONFIG_SPL_FS_LOAD_PAYLOAD_NAME to u-boot.img which now > also includes

Re: [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-12 Thread Marek Vasut
On 09/12/2018 06:36 AM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Mi., 12. > Sep. 2018, 02:07: > > On 09/12/2018 02:05 AM, Dalon L Westergreen wrote: > > On Wed, 2018-09-12 at 02:03 +0200, Marek Vasut wrote: > >> On 09/12/2018 01:55 AM, Dalon L West

[U-Boot] Adapteva Parallella support

2018-09-12 Thread Martin Husemann
Hey folks, has anyone here tried to create a newer u-boot version for Adapteva Parallella boards? There is a fork that goes up to 2015.4 on github (https://github.com/parallella/parallella-uboot) ... but I'd prefer (a) a newer version and (b) something already tested - as I don't currently have

Re: [U-Boot] [PATCH v3 0/5] Add get_alt_function ops

2018-09-12 Thread Patrice CHOTARD
Hi Stephen On 09/11/2018 07:03 PM, Stephen Warren wrote: > On 09/11/2018 01:31 AM, Patrice CHOTARD wrote: >> Hi Michal >> >> On 09/11/2018 07:51 AM, Michal Simek wrote: >>> On 10.9.2018 18:11, Patrice Chotard wrote: This series :    - Add new gpio ops get_alt_function    - Add