[U-Boot] [PATCH] travis.yml: Support RISC-V

2018-01-11 Thread Andes
.xz && tar -C /tmp -xf gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar.xz; fi + - if [[ "${TOOLCHAIN}" == "riscv" ]]; then +wget https://github.com/PkmX/riscv-prebuilt-toolchains/releases/download/20180111/riscv32-unknown-elf-toolcha

[U-Boot] [PATCH] driver: fsl-mc: Perform fsl-mc fdt fixup for lazyapply dpl

2018-01-11 Thread Yogesh Gaur
For for case of lazyapply method, API fdt_fixup_board_enet() gets invoked before DPL being deployed. This leads to an issue that fsl-mc fdt fixup status marked as fail and dprc driver didn't get registered in linux boot. Fixes this issue by calling fdt_fixup_board_enet() for case when DPL is

Re: [U-Boot] [PATCH 0/3] These three patches add spl for rv1108

2018-01-11 Thread Kever Yang
Recommend to use patman so send the patch, so that the patch can send in sequence and the following patch with reply-to TAG in header. How much difference between this driver and rk3036 sdram driver? Thanks, - Kever On 01/12/2018 10:54 AM, zhihuan he wrote: 1.add sdram driver in spl for

Re: [U-Boot] [PATCH 1/3] rockchip: add rv1108 sdram driver

2018-01-11 Thread Kever Yang
On 01/12/2018 10:36 AM, zhihuan he wrote: add rv1108 sdram driver so we can set up sdram in SPL More detail about this driver, eg. support dram type, capacity and so on. Signed-off-by: zhihuan he Please use Full Name here. Please move sdram driver into

[U-Boot] [PATCH 2/3] rockchip: Add RV1108 SPL support

2018-01-11 Thread zhihuan he
add rv1108 set for supporting spl. Signed-off-by: zhihuan he --- arch/arm/mach-rockchip/Kconfig| 2 + arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rv1108-board-spl.c | 80 +++

[U-Boot] [PATCH 1/3] rockchip: add rv1108 sdram driver

2018-01-11 Thread zhihuan he
add rv1108 sdram driver so we can set up sdram in SPL Signed-off-by: zhihuan he --- arch/arm/include/asm/arch-rockchip/cru_rv1108.h | 152 +++-- arch/arm/include/asm/arch-rockchip/grf_rv1108.h | 137 +++-- arch/arm/include/asm/arch-rockchip/sdram_rv1108.h | 581

Re: [U-Boot] [PATCH v5 2/2] Move SYS_DPAA_QBMAN to Kconfig

2018-01-11 Thread York Sun
On 12/15/2017 01:01 PM, Ahmed Mansour wrote: > The CONFIG_SYS_DPAA_QBMAN define is used by DPAA1 freescale SOCs to > add device tree fixups that allow deep sleep in Linux. The define was > placed in header files included by a number of boards, but was not > explicitly documented in any of the

Re: [U-Boot] [PATCH v5 1/2] drivers/misc: Share qbman init between archs

2018-01-11 Thread York Sun
On 12/15/2017 01:01 PM, Ahmed Mansour wrote: > This patch adds changes necessary to move functionality present in > PowerPC folders with ARM architectures that have DPAA1 QBMan hardware > > - Create new board/freescale/common/fsl_portals.c to house shared > device tree fixups for DPAA1 devices

[U-Boot] [PATCH] m68k: Drop unreferenced CONFIG_* defines

2018-01-11 Thread Tuomas Tynkkynen
The following config symbols are only defined once and never referenced anywhere else: CONFIG_AMCORE CONFIG_ASTRO5373L CONFIG_M52277EVB CONFIG_M5253DEMO CONFIG_M5253EVBE CONFIG_M5275EVB CONFIG_M54418TWR CONFIG_STMARK2 Most of them are config symbols named after the respective boards which seems

[U-Boot] [PATCH] nds32: Drop unreferenced CONFIG_ADP_AG101P

2018-01-11 Thread Tuomas Tynkkynen
Seems to be again one of those CONFIG_ symbols named after a board, with nothing referencing it. Signed-off-by: Tuomas Tynkkynen --- include/configs/adp-ag101p.h | 2 -- scripts/config_whitelist.txt | 1 - 2 files changed, 3 deletions(-) diff --git

[U-Boot] [PATCH] pcmcia: Drop a bunch of unused CONFIG_SYS_PCMCIA_ macros

2018-01-11 Thread Tuomas Tynkkynen
Last users of the following macros (for n = 0..7) were removed in commit 5b8e76c35ec312a ("powerpc, 8xx: remove support for 8xx"): CONFIG_SYS_PCMCIA_PBRn CONFIG_SYS_PCMCIA_PORn Signed-off-by: Tuomas Tynkkynen --- include/pcmcia.h | 109

Re: [U-Boot] [PATCH V2] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread David Lechner
On 01/11/2018 01:33 PM, Adam Ford wrote: This converts the following to Kconfig: CONFIG_SYS_DV_CLKMODE CONFIG_SYS_DA850_PLL0_POSTDIV CONFIG_SYS_DA850_PLL0_PLLDIV1 CONFIG_SYS_DA850_PLL0_PLLDIV2 CONFIG_SYS_DA850_PLL0_PLLDIV3 CONFIG_SYS_DA850_PLL0_PLLDIV4

Re: [U-Boot] [PATCH v2 3/3] ls1088ardb: Add SD Secure boot target support

2018-01-11 Thread York Sun
On 01/05/2018 08:00 AM, Sumit Garg wrote: > Signed-off-by: Udit Agarwal > Signed-off-by: Sumit Garg > --- > > Changes in v2: > Rebased to top of master Dropped CONFIG_ENV_IS_IN_MMC=y from defconfig file. Applied to fsl-qoriq master. Thanks. York

Re: [U-Boot] [PATCH v2 2/3] armv8: ls1088a: SPL size reduction

2018-01-11 Thread York Sun
On 01/05/2018 08:00 AM, Sumit Garg wrote: > Using changes in this patch we were able to reduce approx 8k > size of u-boot-spl.bin image. Following is breif description of > changes to reduce SPL size: > 1. Changes in board/freescale/ls1088a/Makefile to remove >compilation of eth.c and cpld.c

Re: [U-Boot] [PATCH v2 1/3] armv8: fsl-layerscape: SPL size reduction

2018-01-11 Thread York Sun
On 01/05/2018 08:00 AM, Sumit Garg wrote: > Compile-off mp.c and libfdt.c in case of SPL build. SPL size reduces > by approx 2k. > > Signed-off-by: Sumit Garg > --- > > Changes in v2: > Removed code specific to D-Cache off. With GCC 6.2 tool-chain, able > to reduce size to

Re: [U-Boot] [PATCH] Powerpc: T208xQDS: Modify the comment of the CONFIG_FSL_PCIE_RESET macro

2018-01-11 Thread York Sun
On 12/18/2017 06:52 PM, Bao Xiaowei wrote: > Remove duplicate macro CONFIG_FSL_PCIE_RESET and update its comment. > It enables PCIe reset to fix link width 2x - 4x. > > Signed-off-by: Bao Xiaowei > --- Applied to fsl-qoriq master. Thanks. York

Re: [U-Boot] [PATCH v3] armv8: errata: Implement workaround for Cortex-A53 Erratum 855873

2018-01-11 Thread York Sun
On 12/27/2017 09:20 PM, Alison Wang wrote: > 855873: An eviction might overtake a cache clean operation > Workaround: The erratum can be avoided by upgrading cache clean by > address operations to cache clean and invalidate operations. For > Cortex-A53 r0p3 and later release, this can be achieved

Re: [U-Boot] [PATCH v2] armv8: layerscape: sata: refine port register configuration

2018-01-11 Thread York Sun
On 12/10/2017 09:31 PM, Yuantian Tang wrote: > Sata registers PP2C and PP3C are used to control the configuration > of the PHY control OOB timing for the COMINIT/COMWAKE parameters > respectively. > Calculate those parameters from port clock frequency. Overwrite those > registers with calculated

Re: [U-Boot] [PATCH v5 03/24] arm: imx: hab: Optimise flow of authenticate_image on is_enabled fail

2018-01-11 Thread Breno Matheus Lima
Hi Bryan, 2018-01-08 15:36 GMT-02:00 Bryan O'Donoghue : > There is no need to call is_enabled() twice in authenticate_image - it does > nothing but add an additional layer of indentation. > > We can check for is_enabled() at the start of the function and return the >

Re: [U-Boot] [PATCH] armv8: ls1088 : MC alignment should always be fixed to 512MB

2018-01-11 Thread York Sun
On 12/07/2017 09:39 PM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH V2] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SYS_DV_CLKMODE CONFIG_SYS_DA850_PLL0_POSTDIV CONFIG_SYS_DA850_PLL0_PLLDIV1 CONFIG_SYS_DA850_PLL0_PLLDIV2 CONFIG_SYS_DA850_PLL0_PLLDIV3 CONFIG_SYS_DA850_PLL0_PLLDIV4 CONFIG_SYS_DA850_PLL0_PLLDIV5 CONFIG_SYS_DA850_PLL0_PLLDIV7

[U-Boot] [PATCH v2 1/2] armv8/kconfig: Align boards of same family at one place

2018-01-11 Thread Bhaskar Upadhaya
Align boards belonging to LS1012A, LS2080A SoC at one place Signed-off-by: Bhaskar Upadhaya --- arch/arm/cpu/armv8/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig index

[U-Boot] [PATCH v2 2/2] board: ls1012a: LS1012A-2G5RDB board support

2018-01-11 Thread Bhaskar Upadhaya
LS1012A-2G5RDB belongs to LS1012A family with features 2 2.5G SGMII PFE MAC, SATA, USB 2.0/3.0, WiFi DDR, eMMC, QuadSPI, UART Signed-off-by: Bhaskar Upadhaya --- changes for v2: - LS1012A-2G5RDB patches are made independent of PFE patches - Remove CONFIG_CMD_DHCP,

[U-Boot] Pull request: u-boot-sunxi/master

2018-01-11 Thread Jagan Teki
Hi Tom, Please pull this PR, thanks! The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930: Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git master for you to fetch changes

Re: [U-Boot] [PATCH] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 12:49 PM, David Lechner wrote: > On 01/11/2018 12:36 PM, Adam Ford wrote: >> >> On Thu, Jan 11, 2018 at 12:11 PM, David Lechner >> wrote: >>> >>> On 01/11/2018 10:06 AM, Adam Ford wrote: This converts the

Re: [U-Boot] [PATCH] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread David Lechner
On 01/11/2018 12:36 PM, Adam Ford wrote: On Thu, Jan 11, 2018 at 12:11 PM, David Lechner wrote: On 01/11/2018 10:06 AM, Adam Ford wrote: This converts the following to Kconfig: CONFIG_SYS_DV_CLKMODE CONFIG_SYS_DA850_PLL0_POSTDIV

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2018-01-11 Thread Tom Rini
On Thu, Jan 11, 2018 at 04:57:39AM +, York Sun wrote: > Tom, > > The following changes since commit f3dd87e0b98999a78e500e8c6d2b063ebadf535a: > > Prepare v2018.01 (2018-01-08 20:25:29 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-fsl-qoriq.git > >

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

2018-01-11 Thread Tom Rini
On Thu, Jan 11, 2018 at 02:58:32AM +0100, Marek Vasut wrote: > The following changes since commit f3dd87e0b98999a78e500e8c6d2b063ebadf535a: > > Prepare v2018.01 (2018-01-08 20:25:29 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-socfpga.git master > > for

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

2018-01-11 Thread Tom Rini
On Thu, Jan 11, 2018 at 02:57:50AM +0100, Marek Vasut wrote: > The following changes since commit f3dd87e0b98999a78e500e8c6d2b063ebadf535a: > > Prepare v2018.01 (2018-01-08 20:25:29 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-usb.git master > > for you

Re: [U-Boot] [PATCH 01/11] cmd: crc32: Disable by default on sunXi

2018-01-11 Thread Tom Rini
On Thu, Jan 11, 2018 at 11:24:28PM +0530, Jagan Teki wrote: > On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard > wrote: > > The sunXi arm64 build has overflown, leading to the main U-boot binary > > overwriting the environment when flashing the new image, or even

Re: [U-Boot] [PATCH] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 12:11 PM, David Lechner wrote: > On 01/11/2018 10:06 AM, Adam Ford wrote: >> >> This converts the following to Kconfig: >> CONFIG_SYS_DV_CLKMODE >> CONFIG_SYS_DA850_PLL0_POSTDIV >> CONFIG_SYS_DA850_PLL0_PLLDIV1 >>

Re: [U-Boot] [PATCH] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread David Lechner
On 01/11/2018 10:06 AM, Adam Ford wrote: This converts the following to Kconfig: CONFIG_SYS_DV_CLKMODE CONFIG_SYS_DA850_PLL0_POSTDIV CONFIG_SYS_DA850_PLL0_PLLDIV1 CONFIG_SYS_DA850_PLL0_PLLDIV2 CONFIG_SYS_DA850_PLL0_PLLDIV3 CONFIG_SYS_DA850_PLL0_PLLDIV4

[U-Boot] Please pull u-boot-video/master

2018-01-11 Thread Anatolij Gustschin
Hi Tom, The following changes since commit f3dd87e0b98999a78e500e8c6d2b063ebadf535a: Prepare v2018.01 (2018-01-08 20:25:29 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 193f6fb9e8659b63afcd09f24fec92d70497ccf5:

Re: [U-Boot] [PATCH 01/11] cmd: crc32: Disable by default on sunXi

2018-01-11 Thread Jagan Teki
On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard wrote: > The sunXi arm64 build has overflown, leading to the main U-boot binary > overwriting the environment when flashing the new image, or even worse, > overwriting itself when we're calling saveenv. > > Disable

Re: [U-Boot] [PATCH V5] Convert CONFIG_SOC_DA8XX et al to Kconfig

2018-01-11 Thread David Lechner
On 01/11/2018 08:20 AM, Adam Ford wrote: This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 CONFIG_DA850_LOWLEVEL CONFIG_MACH_DAVINCI_DA850_EVM CONFIG_SYS_DA850_PLL_INIT CONFIG_SYS_DA850_DDR_INIT Signed-off-by: Adam Ford ---

Re: [U-Boot] [PATCH v8 01/12] wait_bit: add 8/16/32 BE/LE versions of wait_for_bit

2018-01-11 Thread Álvaro Fernández Rojas
El 11/01/2018 a las 18:17, Jagan Teki escribió: On Thu, Jan 11, 2018 at 10:41 PM, Álvaro Fernández Rojas wrote: Add 8/16/32 bits and BE/LE versions of wait_for_bit. This is needed for reading registers that are not aligned to 32 bits, and for Big Endian platforms.

Re: [U-Boot] [PATCH] armv8: ls1088aqds: Add IFC-NOR as boot source for LS1088

2018-01-11 Thread York Sun
On 01/11/2018 01:26 AM, Ashish Kumar wrote: > > >> -Original Message- >> From: York Sun >> Sent: Monday, January 08, 2018 11:11 PM >> To: Ashish Kumar ; u-boot@lists.denx.de >> Subject: Re: [PATCH] armv8: ls1088aqds: Add IFC-NOR as boot source for >> LS1088 >> >> On

Re: [U-Boot] [PATCH] armv8: ls1088: Add USB and PCI configs in SD-BOOT defconfig

2018-01-11 Thread York Sun
On 01/11/2018 01:30 AM, Ashish Kumar wrote: > > >> -Original Message- >> From: York Sun >> Sent: Monday, January 08, 2018 11:15 PM >> To: Ashish Kumar ; u-boot@lists.denx.de >> Subject: Re: [PATCH] armv8: ls1088: Add USB and PCI configs in SD-BOOT >> defconfig >> >>

Re: [U-Boot] [PATCH v8 01/12] wait_bit: add 8/16/32 BE/LE versions of wait_for_bit

2018-01-11 Thread Jagan Teki
On Thu, Jan 11, 2018 at 10:41 PM, Álvaro Fernández Rojas wrote: > Add 8/16/32 bits and BE/LE versions of wait_for_bit. > This is needed for reading registers that are not aligned to 32 bits, and for > Big Endian platforms. > > Signed-off-by: Álvaro Fernández Rojas

[U-Boot] [PATCH v8 07/12] mips: bmips: add bcm63xx-spi driver support for BCM6348

2018-01-11 Thread Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: no changes v7: no changes v6: no changes v5: no changes

[U-Boot] [PATCH v8 10/12] mips: bmips: add bcm63xx-spi driver support for BCM63268

2018-01-11 Thread Álvaro Fernández Rojas
This driver manages the low speed SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: no changes v7: no changes v6: no changes v5: no

[U-Boot] [PATCH v8 06/12] mips: bmips: add bcm63xx-spi driver support for BCM6338

2018-01-11 Thread Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: no changes v7: no changes v6: no changes v5: no changes

[U-Boot] [PATCH v8 11/12] mips: bmips: enable the SPI flash on the Sagem F@ST1704

2018-01-11 Thread Álvaro Fernández Rojas
It's a Winbond (w25x32) 4 MB SPI flash. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: no changes v7: no changes v6: no changes v5: sync with master v4: switch to

[U-Boot] [PATCH v8 12/12] mips: bmips: enable the SPI flash on the Netgear CG3100D

2018-01-11 Thread Álvaro Fernández Rojas
It's a Spansion (s25fl064a) 8 MB SPI flash. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: no changes v7: no changes v6: no changes v5: sync with master v4: switch

[U-Boot] [PATCH v8 09/12] mips: bmips: add bcm63xx-spi driver support for BCM3380

2018-01-11 Thread Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: no changes v7: no changes v6: no changes v5: no changes

[U-Boot] [PATCH v8 08/12] mips: bmips: add bcm63xx-spi driver support for BCM6358

2018-01-11 Thread Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: no changes v7: no changes v6: no changes v5: no changes

[U-Boot] [PATCH v8 03/12] drivers: spi: allow limiting reads

2018-01-11 Thread Álvaro Fernández Rojas
For some SPI controllers it's not possible to keep the CS active between transfers and they are limited to a known number of bytes. This splits spi_flash reads into different iterations in order to respect the SPI controller limits. Signed-off-by: Álvaro Fernández Rojas

[U-Boot] [PATCH v8 05/12] dm: spi: add BCM63xx SPI driver

2018-01-11 Thread Álvaro Fernández Rojas
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: no

[U-Boot] [PATCH v8 02/12] wait_bit: use wait_for_bit_le32 and remove wait_for_bit

2018-01-11 Thread Álvaro Fernández Rojas
wait_for_bit callers use the 32 bit LE version Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki --- v8: Introduce changes suggested by Jagan Teki & Daniel Schwierzeck: - Squash

[U-Boot] [PATCH v8 01/12] wait_bit: add 8/16/32 BE/LE versions of wait_for_bit

2018-01-11 Thread Álvaro Fernández Rojas
Add 8/16/32 bits and BE/LE versions of wait_for_bit. This is needed for reading registers that are not aligned to 32 bits, and for Big Endian platforms. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki

[U-Boot] [PATCH v8 04/12] drivers: spi: consider command bytes when sending transfers

2018-01-11 Thread Álvaro Fernández Rojas
Command bytes are part of the written bytes and they should be taken into account when sending a spi transfer. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan

[U-Boot] [PATCH v8 00/12] mips: bmips: add SPI support

2018-01-11 Thread Álvaro Fernández Rojas
BCM63xx SPI controller is a bit tricky since it doesn't allow keeping CS active between transfers, so I had to modify the spi_flash driver in order to allow limiting reads. v8: Introduce changes suggested by Jagan Teki & Daniel Schwierzeck: - Squash wait_bit commits. - Remove register param

Re: [U-Boot] [PATCH] Relax check for valid environment in __hwconfig

2018-01-11 Thread Tom Rini
On Wed, Jan 10, 2018 at 08:42:33PM +, Alexander Kabaev wrote: > The function only needs env_get to be functional, so check > the env_valid flag instead. There is no reason why this function > should not work if environment is available early, say by being > directly mapped in SPI. > --- >

Re: [U-Boot] [GIT PULL] ZFS: lundman/master

2018-01-11 Thread Tom Rini
On Thu, Jan 11, 2018 at 09:12:04AM +0900, Jorgen Lundman wrote: > > > > I'm reluctant to just take this as-is. That's a lot of code changes in > > a single commit that was not posted (as far as I can see) to the mailing > > list. Can you break that down into a series of changes that can be > >

Re: [U-Boot] [PATCH] spl: unbreak CONFIG_SPL_MULTI_DTB_FIT after fixing CONFIG_OF_EMBED

2018-01-11 Thread Tom Rini
On Thu, Jan 11, 2018 at 07:55:03AM -0800, Simon Glass wrote: > Hi Lokesh, > > On 11 January 2018 at 00:33, Lokesh Vutla wrote: > > > > > > > > On Wednesday 10 January 2018 07:40 PM, Goldschmidt Simon wrote: > > > On Wed, 10/01/18 09:48, Lokesh Vutla wrote: > > >> On Wednesday

[U-Boot] [PATCH] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SYS_DV_CLKMODE CONFIG_SYS_DA850_PLL0_POSTDIV CONFIG_SYS_DA850_PLL0_PLLDIV1 CONFIG_SYS_DA850_PLL0_PLLDIV2 CONFIG_SYS_DA850_PLL0_PLLDIV3 CONFIG_SYS_DA850_PLL0_PLLDIV4 CONFIG_SYS_DA850_PLL0_PLLDIV5 CONFIG_SYS_DA850_PLL0_PLLDIV7

Re: [U-Boot] [PATCH] spl: unbreak CONFIG_SPL_MULTI_DTB_FIT after fixing CONFIG_OF_EMBED

2018-01-11 Thread Simon Glass
Hi Lokesh, On 11 January 2018 at 00:33, Lokesh Vutla wrote: > > > > On Wednesday 10 January 2018 07:40 PM, Goldschmidt Simon wrote: > > On Wed, 10/01/18 09:48, Lokesh Vutla wrote: > >> On Wednesday 10 January 2018 12:32 PM, Goldschmidt Simon wrote: > >>> Commit 9bd76b80 "spl:

Re: [U-Boot] [PATCH 12/14] env: Mark env_get_location as weak

2018-01-11 Thread Maxime Ripard
Hi, On Tue, Jan 09, 2018 at 11:05:51AM -0500, Tom Rini wrote: > On Tue, Jan 09, 2018 at 02:10:47PM +0100, Maxime Ripard wrote: > > Hi, > > > > On Sun, Jan 07, 2018 at 09:52:23PM -0700, Simon Glass wrote: > > > >> On 28 November 2017 at 03:24, Maxime Ripard > > > >>

Re: [U-Boot] [PATCH v2 2/4] ARM: Document AArch64 version of qemu-arm

2018-01-11 Thread Tom Rini
On Thu, Jan 11, 2018 at 04:11:24PM +0200, Tuomas Tynkkynen wrote: > It's mostly obvious, except that QEMU is annoying and requires an > explicit '-cpu cortex-a57' (or some other 64-bit core) to actually run > in 64-bit mode. > > While at it, remove the references to setting the ARCH environment

Re: [U-Boot] [PATCH] imx: fix CAAM base for i.MX6UL

2018-01-11 Thread Fabio Estevam
Hi Anatolij, Thanks for the fix. On Thu, Jan 11, 2018 at 12:14 PM, Anatolij Gustschin wrote: > HW accelerated "hash sha256 ..." command doesn't work on i.MX6UL, we get > "CAAM was not setup properly or it is faulty" error message. > > This is due to wrong CAAM base 0x0210, on

Re: [U-Boot] [PATCH v3 0/6] am335x-fb: support display PLL for lcd-clock / pixel-clock

2018-01-11 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 19:01:30 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: ... > Hannes Schmelzer (6): > mach-omap2: add AM335x Display PLL register definition > am335x-fb: cosmetic: update-copyright > am335x-fb: cosmetic: fix coding style > am335x-fb: setup display PLL > board/BuR:

[U-Boot] [PATCH V5] Convert CONFIG_SOC_DA8XX et al to Kconfig

2018-01-11 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 CONFIG_DA850_LOWLEVEL CONFIG_MACH_DAVINCI_DA850_EVM CONFIG_SYS_DA850_PLL_INIT CONFIG_SYS_DA850_DDR_INIT Signed-off-by: Adam Ford --- Change V5: Select SYS_DA850_PLL_INIT and

[U-Boot] [PATCH] imx: fix CAAM base for i.MX6UL

2018-01-11 Thread Anatolij Gustschin
HW accelerated "hash sha256 ..." command doesn't work on i.MX6UL, we get "CAAM was not setup properly or it is faulty" error message. This is due to wrong CAAM base 0x0210, on i.MX6UL the CAAM base address is 0x0214. Fix it. Note: with this patch applied the "hash sha256" commant still

[U-Boot] [PATCH v2 4/4] Travis-CI: Add job for running test.py on qemu_arm64

2018-01-11 Thread Tuomas Tynkkynen
The corresponding changes in the uboot-test-hooks repo are: https://github.com/swarren/uboot-test-hooks/pull/15 Signed-off-by: Tuomas Tynkkynen Reviewed-by: Tom Rini --- v2: No change (except added Reviewed-by) --- .travis.yml | 5 + 1 file

[U-Boot] [PATCH v2 1/4] ARM: qemu-arm: Add support for AArch64

2018-01-11 Thread Tuomas Tynkkynen
This adds support for '-machine virt' on AArch64. This is rather simple: we just add TARGET_QEMU_ARM_xxBIT to select a few different Kconfig symbols, provide the ARMv8 memory map from the board file and add a new defconfig based on the 32-bit defconfig. Signed-off-by: Tuomas Tynkkynen

[U-Boot] [PATCH v2 3/4] Travis-CI: Download ARM64 version of GRUB as well

2018-01-11 Thread Tuomas Tynkkynen
For preparation of adding AArch64 test.py jobs. Signed-off-by: Tuomas Tynkkynen Reviewed-by: Tom Rini --- v2: No change (except added Reviewed-by) --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index

[U-Boot] [PATCH v2 2/4] ARM: Document AArch64 version of qemu-arm

2018-01-11 Thread Tuomas Tynkkynen
It's mostly obvious, except that QEMU is annoying and requires an explicit '-cpu cortex-a57' (or some other 64-bit core) to actually run in 64-bit mode. While at it, remove the references to setting the ARCH environment variable; that is not used in U-Boot. Signed-off-by: Tuomas Tynkkynen

[U-Boot] [PATCH v2 0/4] ARM: Extend qemu_arm to support ARM64

2018-01-11 Thread Tuomas Tynkkynen
Changes in v2: - Remove references to setting ARCH from the documentation - Add Reviewed-by to the other 3 batches Hi, This series extends qemu_arm to have support for ARM64 as well. Adding test.py support for it gets us the first test.py job for an ARM64 board on Travis-CI. The

Re: [U-Boot] [PATCH] arm: socfpga: allow configs without network support

2018-01-11 Thread Marek Vasut
On 01/11/2018 09:07 AM, Simon Goldschmidt wrote: > Currently, socfpga_common.h does not allow configurations without > network support. This is because CONFIG_CMD_PXE is defined in this > file and distro mode has DHCP hard-coded as available. > > Fix this by moving CONFIG_CMD_PXE and CONFIG_MENU

Re: [U-Boot] [PATCH] ddr: altera: silence PHY calibration unless in debug mode

2018-01-11 Thread Marek Vasut
On 01/11/2018 08:19 AM, Goldschmidt Simon wrote: > This driver has been using printf() including filename since it was > added. Convert to using debug() instead. > > Signed-off-by: Simon Goldschmidt Applied, thanks. > --- > > drivers/ddr/altera/sequencer.c

Re: [U-Boot] [PATCH V5 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-11 Thread Diego Dorta
Hi Peng, 2018-01-10 23:16 GMT-02:00 Peng Fan : > Hi Diego, > > On Wed, Jan 10, 2018 at 11:08:54AM -0200, Diego Dorta wrote: >>Hi Peng, >> >>2018-01-10 3:20 GMT-02:00 Peng Fan : >>> This patchset is to add i.MX8M and i.MX8MQ-EVK support >>> >>> V5: >>>

Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09

2018-01-11 Thread Lukasz Majewski
Hi Joakim, > On Thu, 1970-01-01 at 00:00 +, Wolfgang Denk wrote: > > > > Hello, > > > > In message <2018000422.7957c7f3@jawa> you wrote: > > > > > > > I am using U-Boot 2015.04, and the new root file system for my > > > > platform includes u-boot-fw-utils 2017.09. I have noticed

Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09

2018-01-11 Thread Lukasz Majewski
On Thu, 11 Jan 2018 11:58:19 + "Diaz de Grenu, Jose" wrote: > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > > > > But then, the actual format of the environment data has never been > > changed, so we really need more details. > >

Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09

2018-01-11 Thread Joakim Tjernlund
On Thu, 1970-01-01 at 00:00 +, Wolfgang Denk wrote: > > Hello, > > In message <2018000422.7957c7f3@jawa> you wrote: > > > > > I am using U-Boot 2015.04, and the new root file system for my > > > platform includes u-boot-fw-utils 2017.09. I have noticed that > > > fw_{print,set}env

Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09

2018-01-11 Thread Diaz de Grenu, Jose
-Original Message- From: Wolfgang Denk [mailto:w...@denx.de] > But then, the actual format of the environment data has never been changed, > so we really need more details. Correct. The problem was a custom patch. I can confirm now that I am able to write and read the environment

Re: [U-Boot] compilation issue pine64

2018-01-11 Thread Akash Gajjar
Thank you Peter, The issue was there because of an older version of gcc. Now it has been resolved. Thank you once again. On Thu, Jan 11, 2018 at 7:33 AM, Peter Robinson wrote: > On Wed, Jan 10, 2018 at 3:58 PM, Akash Gajjar > wrote: > > Hi All,

Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09

2018-01-11 Thread Wolfgang Denk
Hello, In message <2018000422.7957c7f3@jawa> you wrote: > > > I am using U-Boot 2015.04, and the new root file system for my > > platform includes u-boot-fw-utils 2017.09. I have noticed that > > fw_{print,set}env utilities are no longer working. > > Strace output would be helpful here

Re: [U-Boot] [PATCH v2 1/2] env: sf: Add support for env init for QSPI-NOR

2018-01-11 Thread Ashish Kumar
> -Original Message- > From: York Sun > Sent: Monday, January 08, 2018 11:53 PM > To: Ashish Kumar ; u-boot@lists.denx.de; Simon > Glass ; Jagan Teki > Subject: Re: [PATCH v2 1/2] env: sf: Add support for env init for QSPI-NOR

Re: [U-Boot] [PATCH] armv8: ls1088: Add USB and PCI configs in SD-BOOT defconfig

2018-01-11 Thread Ashish Kumar
> -Original Message- > From: York Sun > Sent: Monday, January 08, 2018 11:15 PM > To: Ashish Kumar ; u-boot@lists.denx.de > Subject: Re: [PATCH] armv8: ls1088: Add USB and PCI configs in SD-BOOT > defconfig > > On 01/01/2018 09:24 PM, Ashish Kumar wrote: > >

Re: [U-Boot] [PATCH] armv8: ls1088aqds: Add IFC-NOR as boot source for LS1088

2018-01-11 Thread Ashish Kumar
> -Original Message- > From: York Sun > Sent: Monday, January 08, 2018 11:11 PM > To: Ashish Kumar ; u-boot@lists.denx.de > Subject: Re: [PATCH] armv8: ls1088aqds: Add IFC-NOR as boot source for > LS1088 > > On 01/01/2018 09:24 PM, Ashish Kumar wrote: > > IFC-NOR

Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09

2018-01-11 Thread Lukasz Majewski
On Tue, 9 Jan 2018 11:17:06 + "Diaz de Grenu, Jose" wrote: > Hi, > > I am using U-Boot 2015.04, and the new root file system for my > platform includes u-boot-fw-utils 2017.09. I have noticed that > fw_{print,set}env utilities are no longer working. Strace

Re: [U-Boot] [PATCH] spl: unbreak CONFIG_SPL_MULTI_DTB_FIT after fixing CONFIG_OF_EMBED

2018-01-11 Thread Lokesh Vutla
On Wednesday 10 January 2018 07:40 PM, Goldschmidt Simon wrote: > On Wed, 10/01/18 09:48, Lokesh Vutla wrote: >> On Wednesday 10 January 2018 12:32 PM, Goldschmidt Simon wrote: >>> Commit 9bd76b80 "spl: make CONFIG_OF_EMBED pass dts through fdtgrep" >>> moved the fdtgrep code from

[U-Boot] [PATCH 10/17] efi_loader: provide a function to create a partition node

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt Provide new function efi_dp_part_node() to create a device node for a partition. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 2 + lib/efi_loader/efi_device_path.c | 106

[U-Boot] [PATCH 14/17] efi_loader: provide links between devices EFI handles

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt U-Boot devices and EFI handles can be related, e.g. an IDE disk relates to a handle with the EFI_BLOCK_IO_PROTOCOL. Provide pointers to store these links. Signed-off-by: Heinrich Schuchardt --- include/dm/device.h | 4

[U-Boot] [PATCH 05/17] efi_loader: allocate correct memory type for EFI image

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt The category of memory allocated for an EFI image should depend on its type (application, bootime service driver, runtime service driver). Our helloworld.efi built on arm64 has an illegal image type. Treat it like an EFI application. Signed-off-by:

[U-Boot] [PATCH 16/17] efi_selftest: provide a test for block io

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/Makefile| 4 + lib/efi_selftest/efi_selftest_block_device.c | 395 +++ lib/efi_selftest/efi_selftest_disk_image.h | 69

[U-Boot] [PATCH 15/17] tools: provide a tool to convert a binary file to an include

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt For testing EFI disk management we need an in-memory image of a disk. The tool file2include converts a file to a C include. The file is separated into strings of 8 bytes. Only the non-zero strings are written to the include. The output format has

[U-Boot] [PATCH 06/17] efi_loader: check tables in helloworld.efi

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt Check if the device tree and the SMBIOS table are available. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/helloworld.c | 26 ++ 1 file changed, 26 insertions(+) diff --git

[U-Boot] [PATCH 11/17] efi_loader: make efi_disk_create_partitions a global symbol

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt Up to now we have been using efi_disk_create_partitions() to create partions for block device that existed before starting an EFI application. We need to to call it for for block devices created by EFI applications at run time. The EFI application

[U-Boot] [PATCH 09/17] efi_loader: make efi_block_io_guid a global symbol

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt The GUID of the EFI_BLOCK_IO_PROTOCOL is needed in different code parts. To avoid duplication make efi_block_io_guid a global symbol. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 2 ++

[U-Boot] [PATCH] arm: socfpga: allow configs without network support

2018-01-11 Thread Simon Goldschmidt
Currently, socfpga_common.h does not allow configurations without network support. This is because CONFIG_CMD_PXE is defined in this file and distro mode has DHCP hard-coded as available. Fix this by moving CONFIG_CMD_PXE and CONFIG_MENU to the defconfigs and by making DHCP optional in

[U-Boot] [PATCH 07/17] efi_loader: fix StartImage bootservice

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt The calling convention for the entry point of an EFI image is always 'asmlinkage'. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 04/17] efi_loader: print device path when entering efi_load_image

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt Use %pD to print the device path instead of its address when entering efi_load_image. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 12/17] efi_loader: correct EFI_BLOCK_IO_PROTOCOL definitions

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt Add the revision constants. Depending on the revision additional fields are needed in the media descriptor. Use efi_uintn_t for number of bytes to read or write. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h

[U-Boot] [PATCH 17/17] efi_driver: EFI block driver

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt Signed-off-by: Heinrich Schuchardt --- common/board_r.c | 3 + drivers/block/blk-uclass.c| 4 +- include/blk.h | 1 + include/config_fallbacks.h| 1 +

[U-Boot] [PATCH 13/17] efi_loader: provide function to get last node of a device path

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt On a block device and its partions the same protocols can be installed. To tell the apart we can use the type of the last node of the device path which is not the end node. The patch provides a utility function to find this last node.

[U-Boot] [PATCH 02/17] efi_loader: address of the simple file system protocol

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt When installing the the simple file system protocol we have to path the address of the structure and not the address of a pointer ot the structure. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_disk.c | 2 +- 1 file

[U-Boot] [PATCH 08/17] efi_loader: efi_disk_register: correctly determine if_type_name

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt The interface type name can be used to look up the interface type. Don't confound it with the driver name which may be different. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_disk.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH 01/17] efi_loader: return NULL from device path functions

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt For the construction of device paths we need to call the AllocatePool service. We should not ignore if it fails due to an out of memory situation. This patch changes the device path functions to return NULL if the memory allocation fails.

[U-Boot] [PATCH 03/17] efi_loader: correct find simple file system protocol

2018-01-11 Thread Heinrich Schuchardt
From: Heinrich Schuchardt In contrast to the description the code did not split the device path into device part and file part. The code should use the installed protocol and not refer to the internal structure of the the disk object. Signed-off-by: Heinrich Schuchardt

  1   2   >