Re: [U-Boot] [PATCH v3 00/13] LS1012A PFE driver patch series

2018-03-06 Thread Joe Hershberger
On Tue, Mar 6, 2018 at 10:28 AM, York Sun wrote: > On 03/06/2018 06:28 AM, Calvin Johnson wrote: >> Hi Joe, >> >> Thanks for reviewing all the patches. > > Joe, > > Do you want to bring them in, or leave them to me? I'll bring them in through my tree. Calvin, It seems we have

Re: [U-Boot] [PATCH] core: ofnode: Fix translation for #size-cells == 0

2018-03-06 Thread Simon Glass
Hi Mario, On 5 March 2018 at 23:54, Mario Six wrote: > Commit 286ede6 ("drivers: core: Add translation in live tree case") made > dev_get_addr always use proper bus translations for addresses read from > the device tree. But this leads to problems with certain busses, e.g. >

[U-Boot] [PATCH 1/2] spi: omap3: Skip set_mode, set_speed from claim

2018-03-06 Thread Jagan Teki
set_mode, set_seed functions has separate function pointers in dm_spi_ops, so use them in relevent one instead of calling from claim_bus. Signed-off-by: Jagan Teki --- drivers/spi/omap3_spi.c | 21 - 1 file changed, 16 insertions(+), 5

[U-Boot] [PATCH 2/2][Boards Need to Switch DM] spi: omap3_spi: Full dm conversion

2018-03-06 Thread Jagan Teki
omap3_spi now support dt along with platform data, respective boards need to switch into dm for the same. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 14 +- drivers/spi/omap3_spi.c | 341 +++

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-06 Thread Vikas Manocha
Hi Patrice/Yannick, On 03/05/2018 11:50 PM, Patrice CHOTARD wrote: >> There seems to be a dependency on patch for >> include/dt-bindings/mfd/stm32f7-rcc.h >> adding some new macros. Is it also submitted to the list? > Right, needed patches are already on the list >

Re: [U-Boot] spi: Zapping non-dm drivers, deadline: v2018.09

2018-03-06 Thread Jagan Teki
On Wed, Feb 28, 2018 at 3:32 AM, Angelo Dureghello wrote: > Hi Jagan, > > On Tue, Feb 27, 2018 at 10:36:46PM +0530, Jagan Teki wrote: >> On Tue, Feb 27, 2018 at 9:28 PM, York Sun wrote: >> > On 02/26/2018 09:25 AM, Tom Rini wrote: >> >> On Mon, Feb 26, 2018 at

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-06 Thread Anatolij Gustschin
Hi Simon, On Tue, 6 Mar 2018 10:51:29 -0700 Simon Glass s...@chromium.org wrote: ... > Does this use driver model? I cannot see it. Panel drivers in patches 4/10 and 7/10 use driver model. MIPI DSI driver in patch 6/10 uses DM, too. -- Anatolij ___

Re: [U-Boot] [PATCH 03/16] common: add a prototype for mach_cpu_init()

2018-03-06 Thread Simon Glass
Hi Patrick, On 5 March 2018 at 07:24, Patrick Delaunay wrote: > > avoid warning: no previous prototype for ‘mach_cpu_init’ > > Signed-off-by: Patrick Delaunay > --- > > include/common.h | 10 ++ > 1 file changed, 10 insertions(+) > >

[U-Boot] [PATCH][[Boards Need to Switch DM] spi: davinci: Full dm conversion

2018-03-06 Thread Jagan Teki
davinci_spi now support dt along with platform data, respective boards need to switch into dm for the same. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig| 12 +- drivers/spi/davinci_spi.c | 275 +

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-06 Thread Simon Glass
On 2 March 2018 at 08:44, yannick fertre wrote: > > Version 2: > - Replace debug log by pr_error, pr_warn or pr_info. > - Rework bridge between ltdc & dsi panel > - Rework backligh management (with or witout gpio) > - Rework panel otm8009a > - Add new panel raydium rm68200

Re: [U-Boot] [PATCH v10 4/4] common: Generic firmware loader for file system

2018-03-06 Thread Simon Glass
Hi, On 5 March 2018 at 02:43, wrote: > From: Tien Fong Chee > > This is file system generic loader which can be used to load > the file image from the storage into target such as memory. > The consumer driver would then use this loader to

Re: [U-Boot] [PATCH 05/16] dm: gpio: Convert stm32f7 driver to livetree

2018-03-06 Thread Simon Glass
On 5 March 2018 at 07:24, Patrick Delaunay wrote: > Update the GPIO driver to support a live device tree. > > Signed-off-by: Patrick Delaunay > --- > > drivers/gpio/stm32f7_gpio.c | 12 +++- > 1 file changed, 3 insertions(+), 9

[U-Boot] [PATCH RFC 0/2] sunxi: Build u-boot-sunxi-with-spl.bin on ARM64 as well

2018-03-06 Thread Tuomas Tynkkynen
For some reason we seem to have documented how to build u-boot-sunxi-with-spl.bin manually with cat but not have a build system rule for it. Let's fix this to have the file built by default just like it is on 32-bit sunxi boards. Build-tested only. Tuomas Tynkkynen (2): ARM: sunxi: Move

[U-Boot] [PATCH RFC 1/2] ARM: sunxi: Move u-boot-sunxi-with-spl.bin rule to Makefile

2018-03-06 Thread Tuomas Tynkkynen
We're going to need this logic for 64-bit builds as well, so move it out from under arch/arm/cpu/armv7. Signed-off-by: Tuomas Tynkkynen --- Makefile | 5 + arch/arm/cpu/armv7/sunxi/config.mk | 6 -- 2 files changed, 5 insertions(+), 6

[U-Boot] [PATCH RFC 2/2] ARM: sunxi: Build u-boot-sunxi-with-spl.bin on ARM64 as well

2018-03-06 Thread Tuomas Tynkkynen
In README.sunxi64 we tell the user how to optionally create u-boot-sunxi-with-spl.bin by manually running cat. Instead, have the build system create the file automatically just like it does for 32-bit sunxi boards. Signed-off-by: Tuomas Tynkkynen --- Makefile

Re: [U-Boot] [RFC 1/1] dm: video: tegra124: incorrect logical condition

2018-03-06 Thread Heinrich Schuchardt
On 03/06/2018 11:08 AM, Anatolij Gustschin wrote: > Hi all, > > On Wed, 31 Jan 2018 01:16:07 +0100 > Heinrich Schuchardt xypron.g...@gmx.de wrote: > >> 2 << 24 | A is always true. To use check against a bitmask we need &. > > it is always true, but here we are not checking against a bitmask, so

[U-Boot] [PATCHv2 1/2] dra7xx: Always enable UART1 and UART3 in early_padconf

2018-03-06 Thread Tom Rini
It is safe to always setup the pinmux for UART1 and UART3 to be used in early_padconf and then if these pins are needed later on, they will be re-muxed. This allows us to drop the usage of CONFIG_CONS_INDEX here. Cc: Lokesh Vutla Signed-off-by: Tom Rini

[U-Boot] [PATCH 1/2] imx: board: Add support for the K+P's kp_imx6q_tpc board

2018-03-06 Thread Lukasz Majewski
This commit provides support for Kieback & Peter GmbH IMX6Q based TPC board. Signed-off-by: Lukasz Majewski --- arch/arm/mach-imx/mx6/Kconfig | 11 ++ board/k+p/kp_imx6q_tpc/Kconfig| 12 ++ board/k+p/kp_imx6q_tpc/MAINTAINERS| 6 +

Re: [U-Boot] [PATCH 2/2][Boards Need to Switch DM] spi: omap3_spi: Full dm conversion

2018-03-06 Thread Adam Ford
On Tue, Mar 6, 2018 at 12:03 PM, Jagan Teki wrote: > omap3_spi now support dt along with platform data, > respective boards need to switch into dm for the same. I applied both 1/2 and 2/2 patches and tested them together on omap3_logic. Without any changes to my

[U-Boot] [PATCH 2/2] boot: script: The boot.scr file for K+P's boards

2018-03-06 Thread Lukasz Majewski
By using this file one can avoid cluttering .h file with u-boot HUSH commands necessary for booting target device. With such approach the commands are stored only in one place and can be reused if needed. Signed-off-by: Lukasz Majewski --- board/k+p/bootscripts/tpcboot.cmd |

Re: [U-Boot] [PATCH v3 06/21] efi: Correct header order in efi_memory

2018-03-06 Thread Heinrich Schuchardt
On 02/19/2018 04:48 PM, Simon Glass wrote: > The headers are not in the correct order. Fix this. Also drop libfdt_env.h > since it is not needed. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: > - Update commit message to dropping libfdt_env.h >

Re: [U-Boot] [PATCH v3 00/13] LS1012A PFE driver patch series

2018-03-06 Thread Calvin Johnson
Joe, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Joe > Hershberger > Sent: Wednesday, March 7, 2018 1:09 AM > To: York Sun > Cc: Joe Hershberger ; Bhaskar Upadhaya > ; Anji

Re: [U-Boot] [PATCHv2 1/2] dra7xx: Always enable UART1 and UART3 in early_padconf

2018-03-06 Thread Lokesh Vutla
On Wednesday 07 March 2018 05:32 AM, Tom Rini wrote: > It is safe to always setup the pinmux for UART1 and UART3 to be used in > early_padconf and then if these pins are needed later on, they will be > re-muxed. This allows us to drop the usage of CONFIG_CONS_INDEX here. Reviewed-by: Lokesh

[U-Boot] [PATCH 1/1] efi_loader: parameter checks for LoadImage

2018-03-06 Thread Heinrich Schuchardt
Add parameter checks in efi_load_image(). Check memory allocation is successful in efi_load_image(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 20 1 file changed, 20 insertions(+) diff --git a/lib/efi_loader/efi_boottime.c

Re: [U-Boot] [PATCH 1/2] mmc: add HS400 support

2018-03-06 Thread Peng Fan
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2018年3月7日 1:42 > To: Peng Fan > Cc: Jaehoon Chung ; Stefano Babic > ; U-Boot Mailing List ;

[U-Boot] [PATCH 1/1] MAINTAINERS: bring sections into alphabetic order

2018-03-06 Thread Heinrich Schuchardt
NETWORK should be after NAND_FLASH. Signed-off-by: Heinrich Schuchardt --- I missed some irregularities in my 1st patch --- MAINTAINERS | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

[U-Boot] [PATCH] spi: atcspi200: Full dm conversion

2018-03-06 Thread Andes
From: Rick Chen atcspi200_spi now support dt along with platform data. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Signed-off-by: Greentime Hu --- drivers/spi/atcspi200_spi.c | 134

Re: [U-Boot] [PATCH 2/2][Boards Need to Switch DM] spi: omap3_spi: Full dm conversion

2018-03-06 Thread Jagan Teki
On Wed, Mar 7, 2018 at 5:46 AM, Adam Ford wrote: > On Tue, Mar 6, 2018 at 12:03 PM, Jagan Teki wrote: >> omap3_spi now support dt along with platform data, >> respective boards need to switch into dm for the same. > > I applied both 1/2 and 2/2

Re: [U-Boot] imx: get_ticks in syscounter.c get miscompiled by GCC 6

2018-03-06 Thread Yasushi SHOJI
Hi, On Tue, Mar 6, 2018 at 10:11 PM, Fabio Estevam wrote: > On Tue, Mar 6, 2018 at 9:31 AM, Lothar Waßmann > wrote: > >> Without the 'volatile' attribute the compiler is entitled to move the >> asm code around or optimize it out. >> So, your patch

[U-Boot] [PATCH v3 1/2] mmc: sdhci: add SDHCI_QUIRK_BROKEN_HISPD_MODE

2018-03-06 Thread Hannes Schmelzer
From: Hannes Schmelzer Some IP-core implementations of the SDHCI have different troubles on the silicon where they are placed. On ZYNQ platform for example Xilinx doesn't accept the hold timing of an eMMC chip which operates in High-Speed mode and must be forced to operate in

[U-Boot] [PATCH v3 2/2] mmc: zynq_sdhci: use correct quirk if CONFIG_ZYNQ_HISPD_BROKEN is defined

2018-03-06 Thread Hannes Schmelzer
The 'SDHCI_QUIRK_NO_HISPD_BIT' is used wrong here. The purpose of this quirk is to tell the sdhci-driver that the IP-core doesn't have a "high- speed-enable" bit in its registers. With this commit we change this to the correct quirk: SDHCI_QUIRK_BROKEN_HISPD_MODE Signed-off-by: Hannes Schmelzer

Re: [U-Boot] [PATCH RFC 1/2] ARM: sunxi: Move u-boot-sunxi-with-spl.bin rule to Makefile

2018-03-06 Thread André Przywara
Hi, On 06/03/18 21:38, Tuomas Tynkkynen wrote: > We're going to need this logic for 64-bit builds as well, so move it > out from under arch/arm/cpu/armv7. > > Signed-off-by: Tuomas Tynkkynen Reviewed-by: Andre Przywara Thanks! Andre. > --- >

[U-Boot] [PATCH 1/1] net: mvpp2x: add check after calloc

2018-03-06 Thread Heinrich Schuchardt
After allocating plat the pointer is checked. Afterwards name is allocated and not checked. Add the missing check to avoid a possible NULL dereference. Signed-off-by: Heinrich Schuchardt --- drivers/net/mvpp2.c | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH][Boards Need to Switch DM] spi: davinci: Full dm conversion

2018-03-06 Thread Jagan Teki
davinci_spi now support dt along with platform data, respective boards need to switch into dm for the same. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig| 12 +- drivers/spi/davinci_spi.c | 275 +

[U-Boot] [PATCH v2 2/2][Boards Need to Switch DM] spi: omap3_spi: Full dm conversion

2018-03-06 Thread Jagan Teki
omap3_spi now support dt along with platform data, respective boards need to switch into dm for the same. Signed-off-by: Jagan Teki --- Changes for v2: - Fixes omap3_spi_ofdata_to_platdata, build drivers/spi/Kconfig | 14 +-

[U-Boot] [PATCH v2 1/2] spi: omap3: Skip set_mode, set_speed from claim

2018-03-06 Thread Jagan Teki
set_mode, set_seed functions has separate function pointers in dm_spi_ops, so use them in relevent one instead of calling from claim_bus. Signed-off-by: Jagan Teki --- Changes for v2: - None drivers/spi/omap3_spi.c | 21 - 1 file changed, 16

Re: [U-Boot] [PATCH] spi: atcspi200: Full dm conversion

2018-03-06 Thread Jagan Teki
On Wed, Mar 7, 2018 at 12:34 PM, Andes wrote: > From: Rick Chen > > atcspi200_spi now support dt along with platform data. > > Signed-off-by: Rick Chen > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu

Re: [U-Boot] [PATCH RFC 0/2] sunxi: Build u-boot-sunxi-with-spl.bin on ARM64 as well

2018-03-06 Thread André Przywara
Hi, On 06/03/18 21:38, Tuomas Tynkkynen wrote: > For some reason we seem to have documented how to build > u-boot-sunxi-with-spl.bin manually with cat but not have a build system > rule for it. Let's fix this to have the file built by default just like > it is on 32-bit sunxi boards. Ah, thanks

Re: [U-Boot] [PATCH RFC 2/2] ARM: sunxi: Build u-boot-sunxi-with-spl.bin on ARM64 as well

2018-03-06 Thread André Przywara
Hi, On 06/03/18 21:38, Tuomas Tynkkynen wrote: > In README.sunxi64 we tell the user how to optionally create > u-boot-sunxi-with-spl.bin by manually running cat. Instead, have the > build system create the file automatically just like it does for 32-bit > sunxi boards. > > Signed-off-by: Tuomas

[U-Boot] [UBOOT PATCH v3] microblaze: wdt: Added Kconfig support for CONFIG_XILINX_TB_WATCHDOG

2018-03-06 Thread Vipul Kumar
This patch added Kconfig support for CONFIG_XILINX_TB_WATCHDOG and enabled it in respective defconfig. Signed-off-by: Vipul Kumar Signed-off-by: Siva Durga Prasad Paladugu --- Changes in v3: - Removed select hw_watchdog - Branch: u-boot-microblaze/kconfig

[U-Boot] [PATCH][Boards Need to Switch DM] spi: atmel: Full dm conversion

2018-03-06 Thread Jagan Teki
atmel_spi now support dt along with platform data, respective boards need to switch into dm for the same. Signed-off-by: Jagan Teki --- drivers/spi/atmel_spi.c | 294 +++ include/dm/platform_data/spi_atmel.h | 17 ++ 2

[U-Boot] [PATCH] spi: atcspi200: Drop non-dm code

2018-03-06 Thread Jagan Teki
Boards adp-ae3xx_defconfig, nx25-ae250_defconfig already enabled DM_SPI, so non-dm code make no use of it hence droped. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 14 drivers/spi/atcspi200_spi.c | 87

Re: [U-Boot] [ANN] U-Boot v2018.03-rc4 released

2018-03-06 Thread Peter Robinson
On Tue, Mar 6, 2018 at 1:44 PM, Tom Rini wrote: > On Tue, Mar 06, 2018 at 12:47:28PM +, Peter Robinson wrote: >> On Tue, Mar 6, 2018 at 12:29 PM, Jonathan Gray wrote: >> > On Tue, Mar 06, 2018 at 11:36:37AM +, Peter Robinson wrote: >> >> On Tue, Mar 6,

Re: [U-Boot] [PATCH 1/2] mmc: add HS400 support

2018-03-06 Thread Simon Glass
Hi Peng, On 5 March 2018 at 02:11, Peng Fan wrote: > Add HS400 support. > Selecting HS400 needs first select HS199 according to spec, so use > a dedicated function for HS400. > Add HS400 related macros. > Remove the restriction of only using the low 6 bits of >

Re: [U-Boot] [PATCH v3 00/20] Bring NAND support to Nintendo NES Classic

2018-03-06 Thread Maxime Ripard
Hi Scott, On Wed, Feb 28, 2018 at 08:51:42PM +0100, Miquel Raynal wrote: > This series first adds fixes and enhancements to sunxi NAND drivers (SPL > and U-Boot). Once this is done, the SPL NAND driver is converted to use > PIO instead of DMA with the goal to support all SoCs with this IP >

Re: [U-Boot] [PATCH] spi: atcspi200: Full dm conversion

2018-03-06 Thread 陳建志
2018-03-07 15:20 GMT+08:00 Jagan Teki : > On Wed, Mar 7, 2018 at 12:34 PM, Andes wrote: >> From: Rick Chen >> >> atcspi200_spi now support dt along with platform data. >> >> Signed-off-by: Rick Chen >>

Re: [U-Boot] [PATCH 1/1] video: indicate code page of bitmap fonts

2018-03-06 Thread Anatolij Gustschin
On Fri, 2 Mar 2018 20:50:17 +0100 Heinrich Schuchardt xypron.g...@gmx.de wrote: > Add comments clarifying that the bitmap fonts support code page 437. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/video/vidconsole-uclass.c | 2 +- > include/video_font_4x6.h

[U-Boot] U-Boot DHCP/BOOTP for ServerIP env

2018-03-06 Thread Ivica Vugrinec
Hi, Trying to implement a device that boot's from TFTP/NFS using U-boot bootloader. The device can boot from TFTP/NFS fine if we update the "serverip" enviroment variable manualy over console. Is there a way to set this enviroment variable ("serverip") via DHCP? We have configured all other

Re: [U-Boot] uboot for ARRIA10 SoC

2018-03-06 Thread Friedrich Daniel
> I am using Intel/Altera REF board: Arria 10 SoC development kit part number > DK-SOC-10AS066S-A. I am using Altera/Intel tools to generate an uboot image > which include the devictree.dts and it is build with > mkpimage. > Has anybody ported the Altera/Intel Arria 10Soc to the open source

[U-Boot] [PATCH 1/2] [for v2018.03] ARM: dts: imx6qdl-icore-rqs: Sync usdhc4 node from Linux

2018-03-06 Thread Jagan Teki
usdhc4 node need to update pinctrl, bus-width and non-removable properties, sync the same from Linux. Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-icore-rqs.dtsi | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH 1/1] sunxi: video: mark framebuffer as EFI reserved memory

2018-03-06 Thread Anatolij Gustschin
Hello Heinrich, On Mon, 5 Mar 2018 17:55:52 +0100 Heinrich Schuchardt xypron.g...@gmx.de wrote: ... > v2018.05 is fine. The problem will become visible in more cases with > > [PATCH 1/1] efi_loader: efi_allocate_pages is too restrictive > https://patchwork.ozlabs.org/patch/881055/ >

[U-Boot] imx: get_ticks in syscounter.c get miscompiled by GCC 6

2018-03-06 Thread Yasushi SHOJI
Hi, It seems to me that both GCC 6.3 and 6.4 mis-compiles arch/arm/mach-imx/syscounter.c. I'm attaching two files, bad.txt is the original syscounter.c and good.txt is the one with the following patch. diff --git a/arch/arm/mach-imx/syscounter.c b/arch/arm/mach-imx/syscounter.c index

Re: [U-Boot] [PATCH] pwm-backlight: make power-supply as option

2018-03-06 Thread Anatolij Gustschin
On Fri, 9 Feb 2018 10:45:12 +0800 Kever Yang kever.y...@rock-chips.com wrote: > Some pwm backlight may not need 'power-supply', let's make it as option > in pwm-backlight driver. > > Signed-off-by: Kever Yang > --- > > drivers/video/pwm_backlight.c | 24

Re: [U-Boot] [ANN] U-Boot v2018.03-rc4 released

2018-03-06 Thread Peter Robinson
On Tue, Mar 6, 2018 at 1:28 AM, Tom Rini wrote: > Hey all, > > It's release day and I've released v2018.03-rc4. I've included a few > different regression fixes I've seen along with some fixes and cleanups. > I would like to do the release on March 12th, and likely will so

[U-Boot] [PATCH 1/2] imx7: Add src_base structure define macro

2018-03-06 Thread Eran Matityahu
Add src_base structure global define macro, similarly to imx6 Signed-off-by: Eran Matityahu --- arch/arm/include/asm/arch-mx7/imx-regs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-mx7/imx-regs.h

[U-Boot] [PATCH 2/2] imx7: spl: Check for Serial Downloader in spl_boot_device

2018-03-06 Thread Eran Matityahu
Similarly to imx6, before reading the boot device, first check bmode to see if the serial downloader has been selected explicitly, then check whether the serial downloader has been activated due to unbootable primary boot devices (e.g. empty eMMC). If the serial downloader is activated, return

Re: [U-Boot] [PATCH] libfdt: move headers to and

2018-03-06 Thread Masahiro Yamada
2018-03-06 17:39 GMT+09:00 Paul Kocialkowski : > Hi, > > On Mon, 2018-03-05 at 01:20 +0900, Masahiro Yamada wrote: >> Thomas reported U-Boot failed to build host tools if libfdt-devel >> package is installed because tools include libfdt headers from >> /usr/include/

Re: [U-Boot] RPi3 Not autobooting from SD-card. {Scanned}

2018-03-06 Thread Göran Lundberg
Can anyone share their working u-boot configuration for RPi3? With a working graphics mode and device tree overlay. config.txt boot.scr and any other config files you might have. I'm running a normal Raspbian Stretch lite image with stock 32bit kernel. I compiled u-boot with

Re: [U-Boot] imx6: USB SDP failed for u-boot-dtb.img

2018-03-06 Thread Stefano Babic
On 06/03/2018 15:12, Jagan Teki wrote: > On Tue, Mar 6, 2018 at 6:46 PM, Fabio Estevam wrote: >> Hi Jagan, >> >> On Tue, Mar 6, 2018 at 9:25 AM, Jagan Teki wrote: >>> Hi, >>> >>> U-Boot SPL 2018.03-rc3-00111-g0cb2734156-dirty (Mar 06 2018 - 17:19:36

Re: [U-Boot] imx6: USB SDP failed for u-boot-dtb.img

2018-03-06 Thread Vincent Prince
Hi all, Jagan , do you confirm your mx6_usb_sdp_spl.conf contains the 3rd line? mx6_spl_sdp hid,uboot_header,1024,0x91,0x1000,512M,0x0090,0x4 u-boot-dtb.img:jump header2 BR, Vincent 2018-03-06 15:18 GMT+01:00 Michael Nazzareno Trimarchi < mich...@amarulasolutions.com>: > Hi

Re: [U-Boot] [PATCH] libfdt: move headers to and

2018-03-06 Thread Tom Rini
On Tue, Mar 06, 2018 at 09:39:55AM +0100, Paul Kocialkowski wrote: > Hi, > > On Mon, 2018-03-05 at 01:20 +0900, Masahiro Yamada wrote: > > Thomas reported U-Boot failed to build host tools if libfdt-devel > > package is installed because tools include libfdt headers from > > /usr/include/ instead

Re: [U-Boot] imx6: USB SDP failed for u-boot-dtb.img

2018-03-06 Thread Jagan Teki
On Tue, Mar 6, 2018 at 6:46 PM, Fabio Estevam wrote: > Hi Jagan, > > On Tue, Mar 6, 2018 at 9:25 AM, Jagan Teki wrote: >> Hi, >> >> U-Boot SPL 2018.03-rc3-00111-g0cb2734156-dirty (Mar 06 2018 - 17:19:36 +0530) >> Trying to boot from USB SDP >> SDP:

Re: [U-Boot] imx6: USB SDP failed for u-boot-dtb.img

2018-03-06 Thread Fabio Estevam
On Tue, Mar 6, 2018 at 11:12 AM, Jagan Teki wrote: > I don't think it's regression, I'm guessing this is first test with > u-boot-dtb.img or did you tested the similar image type? I have only used u-boot.img on my tests with SDP.

Re: [U-Boot] imx6: USB SDP failed for u-boot-dtb.img

2018-03-06 Thread Michael Nazzareno Trimarchi
Hi Jagan There is a git log for that configuration file. I have the impression that is done in two steps Michael On Tue, Mar 6, 2018 at 3:16 PM, Stefano Babic wrote: > On 06/03/2018 15:12, Jagan Teki wrote: >> On Tue, Mar 6, 2018 at 6:46 PM, Fabio Estevam

Re: [U-Boot] [PATCH 00/16] arm: stm32mp1: add initial support for STM32MP157

2018-03-06 Thread Patrick DELAUNAY
Hi Vikas > From: Vikas MANOCHA > > Hi Patrick, > > On 03/05/2018 06:24 AM, Patrick Delaunay wrote: > > > > This patch-set adds initial support of STMicroelectronics STM32MP157 > I see patches for ram driver, armv7 generic, stm32f7 etc. in this patchset. > Please split the stuff other than

Re: [U-Boot] [PATCH 1/2] mmc: add HS400 support

2018-03-06 Thread Jean-Jacques Hiblot
On 06/03/2018 02:46, Peng Fan wrote: Hi, On Mon, Mar 05, 2018 at 05:29:08PM +0100, Jean-Jacques Hiblot wrote: Hi Peng, I'm glad you are adding HS400 support. Thanks. On 05/03/2018 10:11, Peng Fan wrote: Add HS400 support. Selecting HS400 needs first select HS199 according to spec, so use

Re: [U-Boot] imx6: USB SDP failed for u-boot-dtb.img

2018-03-06 Thread Jagan Teki
Hi Michael, Vincent, On Tue, Mar 6, 2018 at 7:57 PM, Vincent Prince wrote: > Hi all, > > Jagan , do you confirm your mx6_usb_sdp_spl.conf contains the 3rd line? > > mx6_spl_sdp > hid,uboot_header,1024,0x91,0x1000,512M,0x0090,0x4 > u-boot-dtb.img:jump

Re: [U-Boot] imx6: USB SDP failed for u-boot-dtb.img

2018-03-06 Thread Vincent Prince
I put my log here https://pastebin.com/5aPjntnb , but i use standard DT-less u-boot.img. Maybe it could be easier to talk in u-boot IRC? 2018-03-06 15:55 GMT+01:00 Jagan Teki : > Hi Michael, Vincent, > > On Tue, Mar 6, 2018 at 7:57 PM, Vincent Prince >

Re: [U-Boot] [PATCH v5 01/15] dma: move dma_ops to dma-uclass.h

2018-03-06 Thread Grygorii Strashko
On 03/05/2018 02:05 PM, Álvaro Fernández Rojas wrote: Move dma_ops to a separate header file, following other uclass implementations. While doing so, this patch also improves dma_ops documentation. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v3 00/13] LS1012A PFE driver patch series

2018-03-06 Thread Calvin Johnson
Hi Joe, Thanks for reviewing all the patches. > -Original Message- > From: Calvin Johnson [mailto:calvin.john...@nxp.com] > Sent: Saturday, March 3, 2018 11:14 PM > To: u-boot@lists.denx.de; Joe Hershberger > Cc: Anji Jagarlmudi ; York

[U-Boot] [U-Boot PATCH v2 1/2] configs: k2l: Updates u-boot env to install secure boot monitor

2018-03-06 Thread Madan Srinivas
This patch updates the default u-boot env for K2L HS devices to install the secure boot monitor and load the fitImage during boot. Signed-off-by: Madan Srinivas Acked-by: Andrew F. Davis --- Changes in v2: None include/configs/k2l_evm.h | 9 + 1 file

[U-Boot] [U-Boot PATCH v2 0/2] Adds support for secure boot on TCI6630K2L HS devices

2018-03-06 Thread Madan Srinivas
This series adds support for the secure Lammar (K2L) SoC. It defines a new defconfig file for K2L HS, based on the GP K2L defconfig and updates the u-boot default env variables to install the secure boot-monitor on startup. Changes in v2: - Updates MAINTAINERS with K2L HS Madan

[U-Boot] [U-Boot PATCH v2 2/2] defconfig: k2l_hs_evm: Add k2l_hs_evm_defconfig

2018-03-06 Thread Madan Srinivas
Adds a dedicated defconfig to build TI K2L secure devices and updates MAINTAINERS. k2l_hs_evm_defconfig is created from the k2l_evm_defconfig and removes support for SPL, as SPL is not supported on K2 HS devices. Corrects SYS_TEXT_BASE for HS devices. Also adds TI_SECURE_DEVICE and

Re: [U-Boot] [PATCH v3 00/13] LS1012A PFE driver patch series

2018-03-06 Thread York Sun
On 03/06/2018 06:28 AM, Calvin Johnson wrote: > Hi Joe, > > Thanks for reviewing all the patches. Joe, Do you want to bring them in, or leave them to me? York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] dm: mmc: socfpga: call dwmci_probe()

2018-03-06 Thread linux-kernel-dev
From: Patrick Bruenn On a socfpga_cyclone5 based board the SD card, was never powered up. For other dw_mmc based SoCs dwmci_probe() is called in the platform specific probe(). It seems this call is missing for socfpga_dw_mmc. With this change DWMCI_PWREN is set by

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-06 Thread Anatolij Gustschin
Hi Patrice, On Tue, 6 Mar 2018 07:50:20 + Patrice CHOTARD patrice.chot...@st.com wrote: ... > Right, needed patches are already on the list > http://patchwork.ozlabs.org/patch/870938/ Okay, then I'll wait until Tom merges this stm clk series. Thanks! -- Anatolij

Re: [U-Boot] [PATCH 2/2] usb: xhci-dwc3: Enable USB3 PHY when available

2018-03-06 Thread Vignesh R
Hi Bin, On Tuesday 06 March 2018 12:59 PM, Bin Meng wrote: > Hi Vignesh, > > On Mon, Mar 5, 2018 at 7:27 PM, Vignesh R wrote: >> DWC3 USB3 controllers will need USB3 PHY to be enabled, in addition to >> USB2 PHY, to be functional. Therefore enable USB3 PHY when available. >> >>

[U-Boot] [PATCH 2/2] [for v2018.03] ARM: dts: imx6dl-icore-rqs: Fix to include correct dtsi

2018-03-06 Thread Jagan Teki
This patch fixes the wrongly included dtsi file which was breaking mainline support for Engicam i.CoreM6 DualLite/Solo RQS. Linux commit details for the same change as "ARM: dts: imx6dl: Include correct dtsi file for Engicam i.CoreM6 DualLite/Solo RQS" (sha1:

[U-Boot] [PATCH v3 01/15] powerpc, 8xx: initialisation global data

2018-03-06 Thread Christophe Leroy
Global data pointer has to be initialised Global data area has to be zeroised Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu_init.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/powerpc/cpu/mpc8xx/cpu_init.c

[U-Boot] [PATCH v3 03/15] board, MCR3000: Increase Monitor size

2018-03-06 Thread Christophe Leroy
U-boot doesn't fit anymore in a 256kb area, increase it to 320kb Signed-off-by: Christophe Leroy --- include/configs/MCR3000.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h index

[U-Boot] [PATCH v3 06/15] powerpc: mpc8xx: cleaning up watchdog

2018-03-06 Thread Christophe Leroy
In preparation of migration to DM watchdog, clean up a bit. The 8xx watchdog really is a HW watchdog, so declare it as is then it goes through Kconfig Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 1 + arch/powerpc/cpu/mpc8xx/cpu.c | 20

Re: [U-Boot] imx: get_ticks in syscounter.c get miscompiled by GCC 6

2018-03-06 Thread Lothar Waßmann
Hi, On Tue, 6 Mar 2018 15:06:08 +0900 Yasushi SHOJI wrote: > Hi, > > It seems to me that both GCC 6.3 and 6.4 mis-compiles > s/mis-compiles/optimizes/ Without the 'volatile' attribute the compiler is entitled to move the asm code around or optimize it out. So, your patch is the correct fix

Re: [U-Boot] [PATCH v3b 15/15] board: MCR3000: Use smaller flash sector for environment

2018-03-06 Thread Christophe LEROY
Le 06/03/2018 à 13:33, Christophe Leroy a écrit : The MCR3000 board is equipped with an AM29LV160DB boot flash which is organised as follows: - One 16kb block - Two 8kb block - One 32kb block - Thirty one 64kb blocks At the time being, u-boot is a single piece occupying the 320 first kbytes,

Re: [U-Boot] RPi3 Not autobooting from SD-card. {Scanned}

2018-03-06 Thread Jonathan Gray
On Mon, Mar 05, 2018 at 06:18:59PM +, Peter Robinson wrote: > >>> Hi! > >>> I'm trying to boot from u-boot on a Raspberry Pi 3. But for some reason > >>> it > >>> isn't autobooting on the SD-card. > >>> > >>> Is it possible to get more debug output on the screen console? I don't > >>> have >

Re: [U-Boot] RPi3 Not autobooting from SD-card. {Scanned}

2018-03-06 Thread Jonathan Gray
On Tue, Mar 06, 2018 at 02:12:23PM +0100, Alexander Graf wrote: > On 03/06/2018 01:55 PM, Jonathan Gray wrote: > > On Mon, Mar 05, 2018 at 06:18:59PM +, Peter Robinson wrote: > > > > > > Hi! > > > > > > I'm trying to boot from u-boot on a Raspberry Pi 3. But for some > > > > > > reason > > >

Re: [U-Boot] [UBOOT PATCH v2 1/2] eeprom: Enabled eeprom u-boot headers in defconfig

2018-03-06 Thread Michal Simek
On 1.3.2018 16:37, Michal Simek wrote: > On 28.2.2018 10:30, Vipul Kumar wrote: >> This patch enabled eeprom related u-boot headers in >> the respective defconfig and removed CONFIG_ZYNQ_EEPROM. >> >> Signed-off-by: Vipul Kumar >> Signed-off-by: Siva Durga Prasad Paladugu

[U-Boot] [PATCH v3 07/15] powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx

2018-03-06 Thread Christophe Leroy
SPRN_IMMR is defined regardless of the CPU. Therefore, there is no point in enclosing get_immr() inside a #ifdef CONFIG_8xx As it a static inline function, it will in any case only be compiled in functons using it. Signed-off-by: Christophe Leroy ---

[U-Boot] [PATCH v3 04/15] soft_i2c: cleanup - no mpc8xx support

2018-03-06 Thread Christophe Leroy
commit 907208c452999 ("powerpc: Partialy restore core of mpc8xx") didn't bring back support for I2C on the mpc8xx Signed-off-by: Christophe Leroy --- drivers/i2c/soft_i2c.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/i2c/soft_i2c.c

[U-Boot] [PATCH v3 15/15] board: MCR3000: Use smaller flash sector for environment

2018-03-06 Thread Christophe Leroy
The MCR3000 board is equipped with an AM29LV160DB boot flash which is organised as follows: - One 16kb block - Two 8kb block - One 32kb block - Thirty one 64kb blocks At the time being, u-boot is a single piece occupying the 320 first kbytes, then the environment is stored in the following 64kb

[U-Boot] [PATCH v3 09/15] powerpc: 8xx: get rid of the multiple PVR_ values

2018-03-06 Thread Christophe Leroy
None of those values are used at the time being. Just keep one and call it PVR_8xx Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/processor.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/include/asm/processor.h

[U-Boot] [PATCH v3 11/15] powerpc: mpc8xx: harmonise initialisation of the immap local pointer

2018-03-06 Thread Christophe Leroy
In most places, immap local pointer is defined as immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; In a few places, it is defined as immap_t __iomem *immap = (immap_t __iomem *)(immr & 0x); This patch replaces the few of the latest form by the other one. The

[U-Boot] [PATCH v3b 15/15] board: MCR3000: Use smaller flash sector for environment

2018-03-06 Thread Christophe Leroy
The MCR3000 board is equipped with an AM29LV160DB boot flash which is organised as follows: - One 16kb block - Two 8kb block - One 32kb block - Thirty one 64kb blocks At the time being, u-boot is a single piece occupying the 320 first kbytes, then the environment is stored in the following 64kb

Re: [U-Boot] [ANN] U-Boot v2018.03-rc4 released

2018-03-06 Thread Peter Robinson
On Tue, Mar 6, 2018 at 12:29 PM, Jonathan Gray wrote: > On Tue, Mar 06, 2018 at 11:36:37AM +, Peter Robinson wrote: >> On Tue, Mar 6, 2018 at 1:28 AM, Tom Rini wrote: >> > Hey all, >> > >> > It's release day and I've released v2018.03-rc4. I've included a

Re: [U-Boot] [PATCH 2/2] [for v2018.03] ARM: dts: imx6dl-icore-rqs: Fix to include correct dtsi

2018-03-06 Thread Fabio Estevam
On Tue, Mar 6, 2018 at 8:45 AM, Jagan Teki wrote: > This patch fixes the wrongly included dtsi file which was > breaking mainline support for Engicam i.CoreM6 DualLite/Solo RQS. > > Linux commit details for the same change as > "ARM: dts: imx6dl: Include correct dtsi

[U-Boot] [PATCH 0/2] [for 2018.03] RPi: Drain RX queue on setbrg

2018-03-06 Thread Alexander Graf
We had a few reports coming in from people that had their autoboot chain aborted after pinmuxing support was added for the RPi. The culprit is easy: The UARTs may have been enabled before, but muxed to an incorrect pin. That pin may have pulled the RX line down which again lead to lots of zero

Re: [U-Boot] [PATCH 1/2] [for v2018.03] ARM: dts: imx6qdl-icore-rqs: Sync usdhc4 node from Linux

2018-03-06 Thread Fabio Estevam
On Tue, Mar 6, 2018 at 8:45 AM, Jagan Teki wrote: > usdhc4 node need to update pinctrl, bus-width and non-removable > properties, sync the same from Linux. > > Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam

Re: [U-Boot] [ANN] U-Boot v2018.03-rc4 released

2018-03-06 Thread Tom Rini
On Tue, Mar 06, 2018 at 12:47:28PM +, Peter Robinson wrote: > On Tue, Mar 6, 2018 at 12:29 PM, Jonathan Gray wrote: > > On Tue, Mar 06, 2018 at 11:36:37AM +, Peter Robinson wrote: > >> On Tue, Mar 6, 2018 at 1:28 AM, Tom Rini wrote: > >> > Hey all, >

[U-Boot] [PATCH v3 13/15] powerpc: mpc8xx: use PVR related defines and macros

2018-03-06 Thread Christophe Leroy
Avoid hardcoding the PVR values in C since they are defined in processor.h Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc8xx/cpu.c b/arch/powerpc/cpu/mpc8xx/cpu.c

[U-Boot] imx6: USB SDP failed for u-boot-dtb.img

2018-03-06 Thread Jagan Teki
Hi, U-Boot SPL 2018.03-rc3-00111-g0cb2734156-dirty (Mar 06 2018 - 17:19:36 +0530) Trying to boot from USB SDP SDP: initialize... SDP: handle requests... and SPL reenumerated USB VID/PID as [24774.255201] usb 1-2: new high-speed USB device number 101 using xhci_hcd [24774.425174] usb 1-2: New USB

Re: [U-Boot] [ANN] U-Boot v2018.03-rc4 released

2018-03-06 Thread Fabio Estevam
Hi Peter, On Tue, Mar 6, 2018 at 8:36 AM, Peter Robinson wrote: > Just a heads up that I've seen a regression in building i.MX6 > platforms from rc3 with this: > > /builddir/build/BUILD/u-boot-2018.03-rc4/arch/arm/mach-imx/spl.c:160:5: > error: redefinition of

  1   2   >