[U-Boot] [PATCH] rockchip: make_fit_atf.py depends on u-boot

2018-06-02 Thread Andreas Färber
u-boot.itb depends on u-boot-nodtb.bin, which in turn depends on u-boot. u-boot.its from Rockchip make_fit_atf.py (used by {evb,firefly}-rk3399) wants to read u-boot but is lacking this dependency, so that u-boot.itb cannot be built in one go. Detect its use and add the missing dependency. Reporte

[U-Boot] [PATCH 2/2] ARM: kirkwood: SBx81LIFKW: Enable network hardware

2018-06-02 Thread Chris Packham
The SBx81LIFKW boards connect to the internal chassis management network via a Marvell 88e6097 L2 switch. The chassis connections are direct serdes on ports 8 and 9 with a RGMII interface on port 10 connected to the CPU MAC. For debugging purposes ports 0 and 1 are also taken out to headers on the

[U-Boot] [PATCH 1/2] net: phy: mv88e61xx: Force CPU port link up

2018-06-02 Thread Chris Packham
When connecting to from a CPU direct to a 88e6097 typically RGMII is used. In order for traffic to actually pass we need to force the link up so the CPU MAC on the other end will see the link. Cc: Kevin Smith Signed-off-by: Chris Packham --- drivers/net/phy/mv88e61xx.c | 51 +++

[U-Boot] [PATCH 2/2] bootm: Handle kernel_noload on arm64

2018-06-02 Thread Marek Vasut
The ARM64 has 2 MiB alignment requirement for the kernel. When using fitImage, this requirement may by violated, the kernel will thus be executed from unaligned address and fail to boot. Do what booti does and run booti_setup() for kernel_noload images on arm64 to obtain a suitable aligned address

[U-Boot] [PATCH 1/2] ARM: image: Add option for ignoring ep bit 3

2018-06-02 Thread Marek Vasut
Add option to the booti_setup() which indicates to it that the caller requires the image to be relocated to the beginning of the RAM and that the information whether the image can be located anywhere in RAM at 2 MiB aligned boundary or not is to be ignored. This is useful ie. in case the Image is w

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

2018-06-02 Thread Tom Rini
On Sat, Jun 02, 2018 at 01:07:08AM +0200, Marek Vasut wrote: > The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: > > add FIT data-position & data-offset property support (2018-05-26 > 18:19:19 -0400) > > are available in the Git repository at: > > git://git.denx.d

Re: [U-Boot] [PATCH v3 2/6] spi: omap3_spi: Full dm conversion

2018-06-02 Thread Hannes Schmelzer
Jagan Teki schrieb am 07.05.2018 11:17:42: > Betreff: [PATCH v3 2/6] spi: omap3_spi: Full dm conversion > > omap3_spi now support dt along with platform data, > respective boards need to switch into dm for the same. > > Tested-by: Adam Ford #omap3_logic > Signed-off-by: Jagan Teki Hi Jagan,

[U-Boot] [PATCH] configs: Remove empty #ifdef/#ifndef blocks from configs

2018-06-02 Thread Alex Kiernan
Remove empty #ifdef/#ifndef..#endif blocks where the configuration they guarded has been completely removed. Signed-off-by: Alex Kiernan --- arch/powerpc/include/asm/config.h| 3 --- include/configs/MPC8610HPCD.h| 2 -- include/configs/P1022DS.h| 3 --- include/configs/T

Re: [U-Boot] Generic uclass ID

2018-06-02 Thread Ramon Fried
On Sat, Jun 2, 2018 at 9:03 PM, Heinrich Schuchardt wrote: > On 06/02/2018 06:25 PM, Ramon Fried wrote: >> Hi Simon, all. >> >> I want to port a specific driver from Linux Kernel (Qualcomm smem) >> which is declared in Linux as platform device. >> The implementation is very specific and It doesn't

Re: [U-Boot] [PATCH] x86: Add 64-bit setjmp/longjmp implementation

2018-06-02 Thread Heinrich Schuchardt
On 05/31/2018 12:50 AM, Ivan Gorinov wrote: > Add setjmp/longjmp functions for x86_64, > based on existing 32-bit implementation. Thank you for your patch. This addresses a gap that really should be closed. Please, add a line to the commit message indicating the calling conventions that are suppo

Re: [U-Boot] Generic uclass ID

2018-06-02 Thread Heinrich Schuchardt
On 06/02/2018 06:25 PM, Ramon Fried wrote: > Hi Simon, all. > > I want to port a specific driver from Linux Kernel (Qualcomm smem) > which is declared in Linux as platform device. > The implementation is very specific and It doesn't fall into any > defined uclass id. > I still want to use the dm f

[U-Boot] [PATCH 4/4] configs: pcm051: Use am335x-wega-rdk.dtb as fdtfile

2018-06-02 Thread Matwey V. Kornilov
In upstream Linux kernel, the fdtfile for this specific board is called am335x-wega-rdk.dtb Signed-off-by: Matwey V. Kornilov --- include/configs/pcm051.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h index 0475d80666..538

[U-Boot] [PATCH 3/4] configs: pcm051: Use DEFAULT_LINUX_BOOT_ENV instead of hardcoded values

2018-06-02 Thread Matwey V. Kornilov
It appears that DEFAULT_LINUX_BOOT_ENV can be used to boot pcm051 board. Signed-off-by: Matwey V. Kornilov --- include/configs/pcm051.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h index 3bdd30d84f..0475d80666 100644 -

[U-Boot] [PATCH 2/4] configs: pcm051: Use DEFAULT_MMC_TI_ARGS instead of hardcoded duplicates

2018-06-02 Thread Matwey V. Kornilov
Signed-off-by: Matwey V. Kornilov --- include/configs/pcm051.h | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h index c1a5c6fe32..3bdd30d84f 100644 --- a/include/configs/pcm051.h +++ b/include/configs/pcm051.h @@

[U-Boot] [PATCH 1/4] configs: pcm051: Support distro bootcmds

2018-06-02 Thread Matwey V. Kornilov
Add support for distro bootcmds. Signed-off-by: Matwey V. Kornilov --- include/configs/pcm051.h | 49 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h index a59e88171f..c1a5c6fe32

[U-Boot] [PATCH v2 1/1] efi_loader: avoid make race condition

2018-06-02 Thread Heinrich Schuchardt
When U-Boot is built with 'make -j' there is not guarantee that targets in directory arch/ are built before targets in directory lib/. The current build instruction for EFI binaries in lib/ rely on dependencies in arch/. If $(EFI_CRT0) or $(EFI_RELOC) is not yet built before trying to build %.efi a

[U-Boot] Generic uclass ID

2018-06-02 Thread Ramon Fried
Hi Simon, all. I want to port a specific driver from Linux Kernel (Qualcomm smem) which is declared in Linux as platform device. The implementation is very specific and It doesn't fall into any defined uclass id. I still want to use the dm framework, what's the approach taken on these kind of thin

Re: [U-Boot] [PATCH] sandbox_flattree: Switch to TPMv2 support

2018-06-02 Thread Simon Glass
Hi Tom, On 1 June 2018 at 11:55, Tom Rini wrote: > > On Fri, Jun 01, 2018 at 09:25:19AM -0600, Simon Glass wrote: > > +Miquel due to sandbox TPM issue > > > > Hi Tom, > > > > On 25 May 2018 at 06:27, Tom Rini wrote: > > > In order to have the test.py tests for TPMv2 run automatically we need > >

[U-Boot] [PATCH] sf: Add support for gd25q32b gigadevice flash

2018-06-02 Thread Carlo Caione
From: Carlo Caione This flash IC is used in some chromebook models manufactured by Bitland. Signed-off-by: Carlo Caione --- drivers/mtd/spi/spi_flash_ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index 5d146e36c6..c4

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-06-02 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Marek > Vasut > Sent: Wednesday, May 30, 2018 4:53 PM > To: Simon Goldschmidt ; Jagan Teki > > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address > mod

[U-Boot] [PATCH] board: engicam: spl: match icore-mipi fit-config

2018-06-02 Thread Jagan Teki
Match imx6q-icore-mipi and imx6dl-icore-mipi dtb in board_fit_config_name_match. Signed-off-by: Jagan Teki --- board/engicam/common/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c index 470d96aaed..1a1fe6c66a 100644 --- a/boar

[U-Boot] flex, bison needed

2018-06-02 Thread Alex Kiernan
Not a problem per-se, but it tripped up my builds running against master... It looks like we now need flex and bison installed in order to build, whereas previously we shipped the generated files as part of the tree. -- Alex Kiernan ___ U-Boot mailing

[U-Boot] [PATCH 1/1] rockchip: tinker-rk3288_defconfig: use natural order

2018-06-02 Thread Heinrich Schuchardt
The lines of tinker-rk3288_defconfig should be ordered in the same sequence as the generated .config. Signed-off-by: Heinrich Schuchardt --- configs/tinker-rk3288_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/tinker-rk3288_defconfig b/configs/tinker-rk