Re: [U-Boot] UDP packet sender

2018-02-05 Thread Gaëtan Carlier
Hi Joe, On 02/02/2018 08:13 PM, Joe Hershberger wrote: > On Tue, Jan 23, 2018 at 8:02 AM, Gaëtan Carlier wrote: >> Joe, >> On 01/23/2018 01:54 AM, Joe Hershberger wrote: >>> On Mon, Jan 22, 2018 at 5:28 PM, Gaëtan Carlier wrote: Hi Joe, On 01/22/2018 11:46 PM, Joe Hershberger wrot

[U-Boot] [PATCH 2/2] drivers: i2c: mxc: Update support to 8 I2C controllers

2018-02-05 Thread Sriram Dash
Existing driver supports upto 4 I2C controllers. But some of future NXPs SoCs like lx2160a has eight I2C controllers. Update MXC driver to support upto 8 I2C controllers Signed-off-by: Sriram Dash Signed-off-by: Priyanka Jain --- drivers/i2c/Kconfig | 80 +

[U-Boot] [PATCH 1/2] drivers: i2c: mxc: Update SYS_I2C_MXC_I2C support in Kconfig

2018-02-05 Thread Sriram Dash
NXP layerscape platforms like ls1088a, ls2088a uses MXC I2C Controller. -Remove dependency of MX6 for the same. Update related configs to use Kconfig file. -Add SYS_I2C_MXC_I2C1,_I2C2,_I2C3,_I2C4 in Kconfig -Add CONFIG_SYS_MXC_I2C1_SPEED,_I2C2_,_I2C3_,_I2C4_ in Kconfig -Add CONFIG_SYS_MXC_I2C1_SLA

Re: [U-Boot] [PATCH 1/2] parse the second area of android image

2018-02-05 Thread Kever Yang
On 01/27/2018 01:59 PM, Bin Chen wrote: > The second area of android image was intended to put a 2nd stage > bootloader but in practice were rarely used (in my knowledge). > > An proposal was made to the AOSP to (re)use the second area as the dtb[1], > This patch itself doesn't depend on that pro

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-05 Thread Calvin Johnson
Hi, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > > On Mon, Feb 05, 2018 at 09:07:40AM +0100, Maxime Ripard wrote: > > On Sat, Feb 03, 2018 at 04:37:15AM +, Calvin Johnson wrote: > > > > Hi, > > > > > > > > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On

Re: [U-Boot] [PATCH] Kconfig: Use imply for network commands in distro default

2018-02-05 Thread Tom Rini
On Wed, Jan 31, 2018 at 04:09:57PM +0100, Michal Simek wrote: > There is no reason to unconditially select network commands as distro > defaults. Systems without ethernet but with sd, sata, usb should also be > able to use distro defaults. Use imply instead of select. > > Signed-off-by: Michal Si

Re: [U-Boot] [PATCH 0/2] Android and arm64 improvement

2018-02-05 Thread Bin Chen
On 6 February 2018 at 13:12, Tom Rini wrote: > On Tue, Feb 06, 2018 at 10:31:10AM +1100, Bin Chen wrote: > > > Hello Tom, > > > > Any feedback on this? > > It's on my list to grab soon, thanks! > > Excellent! Thanks! > > > > On 27 January 2018 at 16:59, Bin Chen wrote: > > > > > > > > I rebase

Re: [U-Boot] [PATCH 0/2] Android and arm64 improvement

2018-02-05 Thread Tom Rini
On Tue, Feb 06, 2018 at 10:31:10AM +1100, Bin Chen wrote: > Hello Tom, > > Any feedback on this? It's on my list to grab soon, thanks! > > On 27 January 2018 at 16:59, Bin Chen wrote: > > > > > I rebased the two patches submitted (quite )a while ago on top of > > current U-boot master fb4413

Re: [U-Boot] [PATCH] arm64 :show_regs: show the address before relocation

2018-02-05 Thread Tom Rini
On Tue, Feb 06, 2018 at 12:40:39AM +, Karl Beldan wrote: > On Sun, Feb 4, 2018 at 1:39 PM, Simon Glass wrote: > > Hi, > > > > On 22 January 2018 at 12:01, Karl Beldan wrote: > >> > >> On Tue, Nov 28, 2017 at 10:08:08AM +0800, Peng Fan wrote: > >> > After relocation, when error happends, it is

Re: [U-Boot] am335x, shc: kconfig: Fix misspelled choice default

2018-02-05 Thread Tom Rini
On Tue, Jan 30, 2018 at 02:04:43PM +0100, Ulf Magnusson wrote: > There is no EMMC symbol in the "enable different boot versions for the > shc board" choice. SHC_EMMC was probably intended. > > No functional changes. Kconfig choices fall back on using the first > (visible) symbol in the choice as

Re: [U-Boot] [U-Boot, 2/2] cmd: Make CONFIG_CMD_FPGA depend on CONFIG_FPGA

2018-02-05 Thread Tom Rini
On Sat, Jan 27, 2018 at 08:28:40PM +0200, Tuomas Tynkkynen wrote: > cmd/Makefile has: > > ifdef CONFIG_FPGA > obj-$(CONFIG_CMD_FPGA) += fpga.o > endif > > which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently > does nothing. Let's remove that Makefile conditional and instead expre

Re: [U-Boot] usb: ulpi: kconfig: Remove meaningless choice default

2018-02-05 Thread Tom Rini
On Tue, Jan 30, 2018 at 02:07:05PM +0100, Ulf Magnusson wrote: > 'default' on a choice refers to the symbol selected by default, not to > the choice mode, so 'default n' is meaningless. > > No functional changes. Optional choices implicitly default to n mode > (and there is no way to make them de

Re: [U-Boot] Fix FreeBSD endian checks

2018-02-05 Thread Tom Rini
On Mon, Jan 29, 2018 at 10:23:36PM -0600, Justin Hibbits wrote: > FreeBSD, like OpenBSD, uses BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER, > whereas Linux and compatibles use __-prefixed names. Define the names > the same as the OpenBSD block below it. Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 1/2] fpga: Resync various CONFIG_FPGA_* symbols

2018-02-05 Thread Tom Rini
On Sat, Jan 27, 2018 at 08:28:39PM +0200, Tuomas Tynkkynen wrote: > These are declared in Kconfig, but some #defines have crept in. > > CONFIG_FPGA > CONFIG_FPGA_ALTERA > CONFIG_FPGA_CYCLON2 > CONFIG_FPGA_SOCFPGA > CONFIG_FPGA_XILINX > CONFIG_FPGA_ZYNQMPPL > > Signed-off-by: Tuomas Tynkkynen A

Re: [U-Boot] [PATCH] arm64 :show_regs: show the address before relocation

2018-02-05 Thread Karl Beldan
On Sun, Feb 4, 2018 at 1:39 PM, Simon Glass wrote: > Hi, > > On 22 January 2018 at 12:01, Karl Beldan wrote: >> >> On Tue, Nov 28, 2017 at 10:08:08AM +0800, Peng Fan wrote: >> > After relocation, when error happends, it is hard to track >> > ELR and LR with asm file objdumped from elf file. >> >

Re: [U-Boot] [PATCH 0/2] Android and arm64 improvement

2018-02-05 Thread Bin Chen
Hello Tom, Any feedback on this? On 27 January 2018 at 16:59, Bin Chen wrote: > > I rebased the two patches submitted (quite )a while ago on top of > current U-boot master fb4413295c765aa8c013650984dc2d908964c81d > (and there were no conflicts). > > The first patch added the support of parsing

Re: [U-Boot] [PATCH 2/2] Remove config_distro_defaults.h

2018-02-05 Thread Tom Rini
On Fri, Feb 02, 2018 at 02:37:11PM -0600, Adam Ford wrote: > With the contents of config_distro_defaults.h migrated to Kconfig, > we can remove this header file completely > > Signed-off-by: Adam Ford > --- > include/config_distro_defaults.h| 16 So, I have a problem. In 1

[U-Boot] [PATCH] doc: watchdog: Remove Blackfin related documentation entry

2018-02-05 Thread Lukasz Majewski
This commit cleans up the README.watchdog by removing the reminescent of ADI's Blackfin architecture removed some time ago. Signed-off-by: Lukasz Majewski --- doc/README.watchdog | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/README.watchdog b/doc/README.watchdog index b66fd6cb8a..70

Re: [U-Boot] [PATCH 1/4] arm: imx: mx23: Move MX23 selection to Kconfig

2018-02-05 Thread Fabio Estevam
On Mon, Feb 5, 2018 at 7:33 PM, Stefan Agner wrote: > --- a/arch/arm/mach-imx/mx2/Kconfig > +++ b/arch/arm/mach-imx/mx2/Kconfig mx23 and mx28 fits better into /arch/arm/mach-imx/mxs/Kconfig > @@ -1,3 +1,39 @@ > +if ARCH_MX23 > + > +config MX23 > + bool > + default y > + > +choice >

Re: [U-Boot] MAINTAINERS: board: qcom: db410c, db820c: update email.

2018-02-05 Thread Tom Rini
On Sun, Feb 04, 2018 at 10:35:08AM +0100, Jorge Ramirez-Ortiz wrote: > Update email address. > > Signed-off-by: Jorge Ramirez-Ortiz Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [U-Boot, v2, 3/4] travis.yml: fix 'set +e' in build script

2018-02-05 Thread Tom Rini
On Fri, Jan 26, 2018 at 04:31:06PM +0100, Daniel Schwierzeck wrote: > The build script should not manipulate shell flags (especially '-e'). > A non-zero exit value can also be catched with 'cmd || ret=$?'. > > Signed-off-by: Daniel Schwierzeck > Reviewed-by: Tom Rini Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v2, 2/4] buildman: add option -E for treating compiler warnings as errors

2018-02-05 Thread Tom Rini
On Fri, Jan 26, 2018 at 04:31:05PM +0100, Daniel Schwierzeck wrote: > Add a new option '-E' for treating all compiler warnings as errors. > Eventually this will pass 'KCFLAGS=-Werror' to Kbuild. > > Signed-off-by: Daniel Schwierzeck Applied to u-boot/master, thanks! -- Tom signature.asc Des

Re: [U-Boot] [U-Boot, v2, 1/4] README: add doc for how to supply user specific compiler flags to Kbuild

2018-02-05 Thread Tom Rini
On Fri, Jan 26, 2018 at 04:31:04PM +0100, Daniel Schwierzeck wrote: > Probably not all users are aware of this possibility, thus add a > pointer to the README. Also add a useful example. > > Signed-off-by: Daniel Schwierzeck Applied to u-boot/master, thanks! -- Tom signature.asc Description

Re: [U-Boot] [U-Boot, v2, 4/4] travis.yml: run buildman with option -E

2018-02-05 Thread Tom Rini
On Fri, Jan 26, 2018 at 04:31:07PM +0100, Daniel Schwierzeck wrote: > This forces all compiler warnings to be treated as errors. > > Signed-off-by: Daniel Schwierzeck Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH] usb: dwc2: make casts of ep->dma_buf consistent

2018-02-05 Thread Tom Rini
On Mon, Feb 05, 2018 at 09:54:51AM -0500, Tom Rini wrote: > In most places in the code we cast this to an unsigned long, but in one > place we cast to an unsigned int. For consistency and to fix a warning > on 64bit targets, always cast this to unsigned long. For the long term > we should howeve

Re: [U-Boot] [PATCH v2] MAINTAINERS: Update email address for Maxime Ripard

2018-02-05 Thread Tom Rini
On Fri, Feb 02, 2018 at 09:45:23PM +0100, Maxime Ripard wrote: > Free Electrons is no more and is now known as Bootlin, change my email > address accordingly. > > Signed-off-by: Maxime Ripard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

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

2018-02-05 Thread stefan
On 05.02.2018 14:33, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_APBH_DMA >CONFIG_APBH_DMA_BURST >CONFIG_APBH_DMA_BURST8 > > Signed-off-by: Adam Ford > --- > Changes in V2: > Rebase on [U-Boot,v2,1/6] Convert CONFIG_NAND_MXS to Kconfig > Make the NAND controller

[U-Boot] [PATCH 4/4] Convert CONFIG_NAND_MXS to Kconfig

2018-02-05 Thread Stefan Agner
From: Stefan Agner This converts CONFIG_NAND_MXS to Kconfig. Signed-off-by: Stefan Agner --- configs/apx4devkit_defconfig| 3 ++- configs/aristainetos2_defconfig | 3 ++- configs/aristainetos2b_defconfig| 3 ++- configs/aristainetos_defconfig | 3 ++-

[U-Boot] [PATCH 3/4] spl: use ARCH_MX23/28 to specify SPL_LDSCRIPT

2018-02-05 Thread Stefan Agner
From: Stefan Agner Simplify SPL_LDSCRIPT config by using the new arch Kconfig configurations ARCH_MX23 and ARCH_MX28. Signed-off-by: Stefan Agner --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f4301f18ce..2330

[U-Boot] [PATCH 2/4] arm: imx: mx28: Move MX28 selection to Kconfig

2018-02-05 Thread Stefan Agner
From: Stefan Agner The motivation for moving MX28 selection to Kconfig is to be able to better handle NAND MXS selection through Kconfig. This selection method also aligns with the way other i.MX SoCs are selected in U-Boot. Signed-off-by: Stefan Agner --- arch/arm/Kconfig

[U-Boot] [PATCH 1/4] arm: imx: mx23: Move MX23 selection to Kconfig

2018-02-05 Thread Stefan Agner
From: Stefan Agner The motivation for moving MX23 selection to Kconfig is to be able to better handle NAND MXS selection through Kconfig. This selection method also aligns with the way other i.MX SoCs are selected in U-Boot. Signed-off-by: Stefan Agner --- arch/arm/Kconfig |

[U-Boot] [PATCH 0/4] arm: imx: convert MX23/28 and MXS NAND to Kconfig

2018-02-05 Thread Stefan Agner
From: Stefan Agner This converts i.MX23/28 to Kconfig. This helps to properly add dependencies for GPMI NAND (NAND_MXS) configs. Patch 4 is from a previous patchset "mtd: nand: mxs_nand: improve ECC support". -- Stefan Stefan Agner (4): arm: imx: mx23: Move MX23 selection to Kconfig arm: i

Re: [U-Boot] [PATCH v2 1/6] Convert CONFIG_NAND_MXS to Kconfig

2018-02-05 Thread stefan
On 02.02.2018 22:44, Stefan Agner wrote: > From: Stefan Agner > > This converts CONFIG_NAND_MXS to Kconfig. > > Signed-off-by: Stefan Agner > --- > > Changes in v2: > - Extend the patchset with "Convert CONFIG_NAND_MXS to Kconfig" patch > > configs/apx4devkit_defconfig| 3 ++- >

Re: [U-Boot] [PATCH 1/1] Broadwell-DE Implementation

2018-02-05 Thread vnktux
Hi Peter, Thanks a lot, your help was really precious! I just tested your fix on two platforms, one with memory down and one with DIMM. U-Boot works on both of them and the booting time is around 17 seconds. Now I will try to fix some minor errors that U-Boot report on the shell and then I will

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

2018-02-05 Thread stefan
On 05.02.2018 14:33, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_APBH_DMA >CONFIG_APBH_DMA_BURST >CONFIG_APBH_DMA_BURST8 > > Signed-off-by: Adam Ford > --- > Changes in V2: > Rebase on [U-Boot,v2,1/6] Convert CONFIG_NAND_MXS to Kconfig > Make the NAND controller

Re: [U-Boot] [PATCH 1/1][for V2018.03] efi_loader: do not use 2.0.5 as UEFI revision number

2018-02-05 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Mon, 5 Feb 2018 18:04:21 +0100 > > Currently the UEFI revision number in the system table header is set to > 2.0.5. This version number does not refer to any existing version of the > UEFI standard. > > Set the revision number to 2.7. > > Signed-off-by: Hein

Re: [U-Boot] [PATCH] usb: dwc2: Fix logic for setup of GUSBCFG->ULPI_UTMI_Sel bit

2018-02-05 Thread Marek Vasut
On 02/05/2018 07:18 PM, Alexey Brodkin wrote: > Hi Marek, > >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Monday, February 5, 2018 4:23 PM >> To: Alexey Brodkin ; u-boot@lists.denx.de >> Subject: Re: [PATCH] usb: dwc2: Fix logic for setup of >> GUSBCFG->ULPI_U

Re: [U-Boot] [PATCH] usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to CONFIG_DWC2_UTMI_WIDTH

2018-02-05 Thread Marek Vasut
On 02/05/2018 07:09 PM, Alexey Brodkin wrote: > Hi Marek, > >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Monday, February 5, 2018 4:18 PM >> To: Alexey Brodkin >> Cc: u-boot@lists.denx.de >> Subject: Re: [PATCH] usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to

Re: [U-Boot] [PATCH] usb: dwc2: Fix logic for setup of GUSBCFG->ULPI_UTMI_Sel bit

2018-02-05 Thread Alexey Brodkin
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, February 5, 2018 4:23 PM > To: Alexey Brodkin ; u-boot@lists.denx.de > Subject: Re: [PATCH] usb: dwc2: Fix logic for setup of GUSBCFG->ULPI_UTMI_Sel > bit > > On 02/02/2018 04:58 PM, Alexey Brodkin

[U-Boot] [PATCH 1/1] efi_loader: do_bootefi_exec should always return an EFI status code

2018-02-05 Thread Heinrich Schuchardt
The return type of do_bootefi_exec() is efi_status_t. So in case of an error we should always return an EFI status code. Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/bootefi.c b/cmd/bootefi.c index f3ac04bebfb..3

Re: [U-Boot] [PATCH 1/1] Broadwell-DE Implementation

2018-02-05 Thread Peter Tyser
Hi Vincenzo, On Thu, 2018-01-25 at 13:58 -0500, vnktux wrote: > Hi all, > > This patch contain a working implementation of Broadwell-DE for U- > Boot, and support memory down with external SPD binary file. However > there is only one issue that I couldn't solve, the booting process > takes 1 hour

[U-Boot] [PATCH 1/1] efi_loader: check initialization of EFI subsystem is successful

2018-02-05 Thread Heinrich Schuchardt
Up to now errors in the initialization of the EFI subsystems was not checked. If any initialization fails, leave the bootefi command. We do not retry initialization because this would require to undo all prior initalization steps. Suggested-by: Simon Glass Signed-off-by: Heinrich Schuchardt --

Re: [U-Boot] [PATCH] usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to CONFIG_DWC2_UTMI_WIDTH

2018-02-05 Thread Alexey Brodkin
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, February 5, 2018 4:18 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH] usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to > CONFIG_DWC2_UTMI_WIDTH > > On 02/01/2018 03:53 PM,

[U-Boot] [PATCH 1/1] efi_loader: Initial EFI_DEVICE_PATH_UTILITIES_PROTOCOL

2018-02-05 Thread Heinrich Schuchardt
Not complete, but enough for Shell.efi and SCT.efi. We'll implement the rest as needed or once we have SCT running properly so there is a way to validate the interface against the conformance test suite. Initial skeleton written by Leif, and then implementation by Rob. Rebased on v2018.03-rc1.

[U-Boot] [PATCH 1/1] efi_loader: show UEFI revision in helloworld

2018-02-05 Thread Heinrich Schuchardt
Output the UEFI revision number in helloworld. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/helloworld.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/lib/efi_loader/helloworld.c b/lib/efi_loader/helloworld.c index 1ec01792263..6c539ba2049 100644 --- a/lib/efi_

Re: [U-Boot] [PATCH] usb: dwc2: make casts of ep->dma_buf consistent

2018-02-05 Thread Lukasz Majewski
On Mon, 5 Feb 2018 09:54:51 -0500 Tom Rini wrote: > In most places in the code we cast this to an unsigned long, but in > one place we cast to an unsigned int. For consistency and to fix a > warning on 64bit targets, always cast this to unsigned long. For the > long term we should however chan

[U-Boot] [PATCH 1/1][for V2018.03] efi_loader: do not use 2.0.5 as UEFI revision number

2018-02-05 Thread Heinrich Schuchardt
Currently the UEFI revision number in the system table header is set to 2.0.5. This version number does not refer to any existing version of the UEFI standard. Set the revision number to 2.7. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertio

Re: [U-Boot] [PATCH] ls1088a: qspi: Enable XIP mode above 16 MB addresses

2018-02-05 Thread York Sun
On 02/04/2018 09:37 PM, Rajat Srivastava wrote: > > >> -Original Message- >> From: York Sun >> Sent: Friday, February 02, 2018 9:29 PM >> To: Rajat Srivastava ; u-boot@lists.denx.de >> Subject: Re: [PATCH] ls1088a: qspi: Enable XIP mode above 16 MB addresses >> >> On 02/02/2018 04:07 AM,

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-05 Thread Vikas Manocha
Hi, On 02/05/2018 02:33 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This allows to create and set the environment variable > "soc_name" which contains the current STM32 SoC's name. > > Signed-off-by: Christophe Priouzeau > Signed-off-by: Patrice Chotard For the series, Revi

Re: [U-Boot] Uboot as x86_64 EFI payload

2018-02-05 Thread Simon Glass
Hi Javier, On 5 February 2018 at 01:07, Javier Santos Romo wrote: > Hi Simon, > > Thanks for your support. We just need a x64 bootloader because we are using a > 64-bit EFI. We understood, reading README.efi file from U-boot documentation > that we could use u-boot like an 64-bit payload. Howev

Re: [U-Boot] [PATCH] cmd: nvedit: env_get_f must check for env_get_char error codes

2018-02-05 Thread York Sun
On 02/05/2018 05:44 AM, Maxime Ripard wrote: > Hi York, > > On Fri, Feb 02, 2018 at 08:04:12PM +, York Sun wrote: >> On 02/02/2018 10:51 AM, Maxime Ripard wrote: > This patch looks correct. But it doesn't fix NOR flash. Do you have plan > to add .get_char function to other drivers? Wit

Re: [U-Boot] [PATCH 1/2] ARM: omap3: ti_omap3_common: Fix CONFIG_SYS_NS16550_REG_SIZE compiler warning

2018-02-05 Thread Tom Rini
On Sun, Feb 04, 2018 at 07:04:49PM -0600, Derald D. Woods wrote: > This commit fixes the following compiler warnings when DM_SERIAL is > enabled. > Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH 2/2] ARM: omap3: evm: Remove CONFIG_SYS_NS16550_REG_SIZE undefine

2018-02-05 Thread Tom Rini
On Sun, Feb 04, 2018 at 07:04:50PM -0600, Derald D. Woods wrote: > This commit removes an attempt to workaround a previous compilation > warning that is is now fixed in "include/configs/ti_omap3_common.h". > > Signed-off-by: Derald D. Woods Reviewed-by: Tom Rini -- Tom signature.asc Descri

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-05 Thread Tom Rini
On Mon, Feb 05, 2018 at 09:07:40AM +0100, Maxime Ripard wrote: > On Sat, Feb 03, 2018 at 04:37:15AM +, Calvin Johnson wrote: > > > Hi, > > > > > > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Stefan > > > > Mavrodiev > > > > Sent: Friday, February 2, 2018 7:24 PM > > > >

Re: [U-Boot] [PATCH v2] configs: am335x_evm: Disable ISO and EFI partitions in SPL

2018-02-05 Thread Tom Rini
On Mon, Feb 05, 2018 at 07:22:29PM +0530, Faiz Abbas wrote: > ISO and EFI partition configs in SPL are selected by default. > However, they are not being used. > > Therefore, remove ISO and EFI partition support in SPL. > > Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini -- Tom signature.

Re: [U-Boot] [PATCH] sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi

2018-02-05 Thread Jagan Teki
On Mon, Feb 5, 2018 at 7:54 PM, Maxime Ripard wrote: > On Mon, Feb 05, 2018 at 10:03:25PM +0800, Chen-Yu Tsai wrote: >> When the OTG node was added, its reg property for its address space was >> missing. With commit f4f9896ac310 ("musb: sunxi: Use base address from >> device tree"), the OTG contro

Re: [U-Boot] [PATCH] usb: dwc2: make casts of ep->dma_buf consistent

2018-02-05 Thread Marek Vasut
On 02/05/2018 03:54 PM, Tom Rini wrote: > In most places in the code we cast this to an unsigned long, but in one > place we cast to an unsigned int. For consistency and to fix a warning > on 64bit targets, always cast this to unsigned long. For the long term > we should however change the declar

[U-Boot] [PATCH] usb: dwc2: make casts of ep->dma_buf consistent

2018-02-05 Thread Tom Rini
In most places in the code we cast this to an unsigned long, but in one place we cast to an unsigned int. For consistency and to fix a warning on 64bit targets, always cast this to unsigned long. For the long term we should however change the declaration of dma_buf. Cc: Lukasz Majewski Cc: Mare

Re: [U-Boot] [PATCH] sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi

2018-02-05 Thread Maxime Ripard
On Mon, Feb 05, 2018 at 10:03:25PM +0800, Chen-Yu Tsai wrote: > When the OTG node was added, its reg property for its address space was > missing. With commit f4f9896ac310 ("musb: sunxi: Use base address from > device tree"), the OTG controller's address is derived from the device > tree exclusivel

[U-Boot] [PATCH] sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi

2018-02-05 Thread Chen-Yu Tsai
When the OTG node was added, its reg property for its address space was missing. With commit f4f9896ac310 ("musb: sunxi: Use base address from device tree"), the OTG controller's address is derived from the device tree exclusively. The missing property results in U-boot crashing when MUSB is initia

[U-Boot] [PATCH v2] configs: am335x_evm: Disable ISO and EFI partitions in SPL

2018-02-05 Thread Faiz Abbas
ISO and EFI partition configs in SPL are selected by default. However, they are not being used. Therefore, remove ISO and EFI partition support in SPL. Signed-off-by: Faiz Abbas --- changes in v2: did savedefconfig to appropriate the position of configs configs/am335x_evm_defconfig | 2 ++ 1 f

Re: [U-Boot] [PATCH] usb: dwc2: Fix logic for setup of GUSBCFG->ULPI_UTMI_Sel bit

2018-02-05 Thread Marek Vasut
On 02/02/2018 04:58 PM, Alexey Brodkin wrote: > According to the databook "ULPI_UTMI_Sel" bit (#4) in GUSBCFG > register selects between ULPI and UTMI+ interfaces such that: > 0 - stands for UTMI+ interface > 1 - stands for ULPI interface > > Currently implemented logic in the driver is incorrec

Re: [U-Boot] [PATCH] usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to CONFIG_DWC2_UTMI_WIDTH

2018-02-05 Thread Marek Vasut
On 02/01/2018 03:53 PM, Alexey Brodkin wrote: > Hi Marek, > > On Wed, 2018-01-31 at 16:13 +0100, Marek Vasut wrote: >> On 01/31/2018 03:56 PM, Alexey Brodkin wrote: >>> For some reason from day one we used to have both CONFIG_DWC2_UTMI_WIDTH >>> mentioned in dwc2.h and in scripts/config_whitelist.

Re: [U-Boot] [PATCH] cmd: nvedit: env_get_f must check for env_get_char error codes

2018-02-05 Thread Maxime Ripard
Hi York, On Fri, Feb 02, 2018 at 08:04:12PM +, York Sun wrote: > On 02/02/2018 10:51 AM, Maxime Ripard wrote: > >>> This patch looks correct. But it doesn't fix NOR flash. Do you have plan > >>> to add .get_char function to other drivers? Without that function, we > >>> cannot get env variable

Re: [U-Boot] [PATCH] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

2018-02-05 Thread Faiz Abbas
Hi, On Monday 05 February 2018 02:59 AM, Alex Kiernan wrote: > On Fri, Feb 2, 2018 at 9:47 AM, Faiz Abbas wrote: >> When booting from a non-MMC device, the MMC sub-system may not be >> initialized when the environment is first accessed. >> We need to make sure that the MMC sub-system is ready in

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

2018-02-05 Thread Adam Ford
This converts the following to Kconfig: CONFIG_APBH_DMA CONFIG_APBH_DMA_BURST CONFIG_APBH_DMA_BURST8 Signed-off-by: Adam Ford --- Changes in V2: Rebase on [U-Boot,v2,1/6] Convert CONFIG_NAND_MXS to Kconfig Make the NAND controller in MX6 MX7 autoselect the DMA options configs/bg0900_de

Re: [U-Boot] [PATCH v3 12/15] env: Allow to build multiple environments in Kconfig

2018-02-05 Thread Maxime Ripard
On Sat, Feb 03, 2018 at 10:23:12AM +, Goldschmidt Simon wrote: > On 01.02.2018 20:47, Maxime Ripard wrote: > > On Thu, Feb 01, 2018 at 11:06:14AM +0100, Simon Goldschmidt wrote: > >> On 23.01.2018 21:17, Maxime Ripard wrote: > >> > Now that we have everything in place in the code, let's allow t

Re: [U-Boot] [PATCH] serial: Make full device search optional

2018-02-05 Thread Derald Woods
On Mon, Feb 5, 2018 at 3:42 AM, Alexander Graf wrote: > > > On 05.02.18 01:39, Derald Woods wrote: > > On Tue, Jan 30, 2018 at 7:34 AM, Alexander Graf > > wrote: > > > > On 01/30/2018 02:09 PM, Derald Woods wrote: > > > > On Jan 30, 2018 3:17 AM, "Alexander Graf

Re: [U-Boot] [PATCH v4 2/2] imx: mx7: run sec_init for CAAM RNG

2018-02-05 Thread Fabio Estevam
On Mon, Feb 5, 2018 at 10:56 AM, Stefano Babic wrote: > > Yes, thanks, I applied this yesterday. It is still in u-boot-imx, but it > will go soon into Tom's tree. Actually Tom has already applied it :-) http://git.denx.de/?p=u-boot.git;a=commit;h=22191ac353445ad8fafc5a78aefcd94e78963041

Re: [U-Boot] [PATCH v4 2/2] imx: mx7: run sec_init for CAAM RNG

2018-02-05 Thread Stefano Babic
On 05/02/2018 13:07, Fabio Estevam wrote: > Hi Bryan, > > On Mon, Feb 5, 2018 at 10:01 AM, Bryan O'Donoghue > wrote: > >> Thanks, >> >> Could you apply these two also ? >> >> [PATCH v4 1/2] drivers/crypto/fsl: assign job-rings to non-TrustZone > > Stefano has already applied it: > http://git.de

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

2018-02-05 Thread Adam Ford
On Mon, Feb 5, 2018 at 3:08 AM, wrote: > Hi Adam, > > On 04.02.2018 15:46, Adam Ford wrote: >> This converts the following to Kconfig: >>CONFIG_APBH_DMA >>CONFIG_APBH_DMA_BURST >>CONFIG_APBH_DMA_BURST8 > > > I recently sent a patch which completely converts NAND_MXS to Kconfig > > htt

[U-Boot] I210 serdes fails to auto negotiate

2018-02-05 Thread John Kading
Hi u-boot community! I am working on a x86 processor with 4 Intel I210 network interfaces. When U-Boot comes up, it probes the 4 devices and assigns the e1000 driver. 6:0.0 0x157c // PCI_DEVICE_ID_INTEL_I210_SERDES_FLASHLESS 7:0.0 0x157c // PCI_DEVICE_ID_INTEL_I210_SERDES_FLASHLESS 8:0.0

Re: [U-Boot] Uboot as x86_64 EFI payload

2018-02-05 Thread Javier Santos Romo
Hi Simon, Thanks for your support. We just need a x64 bootloader because we are using a 64-bit EFI. We understood, reading README.efi file from U-boot documentation that we could use u-boot like an 64-bit payload. However, we don´t understand why we get the memory map error. Anyway, we will con

Re: [U-Boot] [PATCH v4 2/2] imx: mx7: run sec_init for CAAM RNG

2018-02-05 Thread Fabio Estevam
Hi Bryan, On Mon, Feb 5, 2018 at 10:01 AM, Bryan O'Donoghue wrote: > Thanks, > > Could you apply these two also ? > > [PATCH v4 1/2] drivers/crypto/fsl: assign job-rings to non-TrustZone Stefano has already applied it: http://git.denx.de/?p=u-boot/u-boot-imx.git;a=commit;h=22191ac353445ad8fafc5

Re: [U-Boot] [PATCH v4 2/2] imx: mx7: run sec_init for CAAM RNG

2018-02-05 Thread Bryan O'Donoghue
On 04/02/18 10:31, Stefano Babic wrote: On 26/01/2018 17:27, Bryan O'Donoghue wrote: This patch adds a sec_init call into arch_misc_init(). Doing so in conjunction with the patch "drivers/crypto/fsl: assign job-rings to non-TrustZone" enables use of the CAAM in Linux when OPTEE/TrustZone is ac

[U-Boot] [PATCH v2 3/3] board: stm32: Add set_env_soc_name() in board_late_init()

2018-02-05 Thread patrice.chotard
From: Patrice Chotard Add set_env_soc_name() call in board_late_init() to set environment variable "soc_name" with the name of current STM32 SoC. Signed-off-by: Christophe Priouzeau Signed-off-by: Patrice Chotard --- v2: _ None board/st/stm32f429-discovery/stm32f429-discovery.c | 7 +++

[U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-05 Thread patrice.chotard
From: Patrice Chotard This allows to create and set the environment variable "soc_name" which contains the current STM32 SoC's name. Signed-off-by: Christophe Priouzeau Signed-off-by: Patrice Chotard --- v2: _ Remove get_cpu_id() function and use directly CONFIG_STM32xx flag to identify

[U-Boot] [PATCH v2 2/3] mach-stm32: Move BOARD_LATE_INIT flag to mach-stm32 Kconfig

2018-02-05 Thread patrice.chotard
From: Patrice Chotard Move BOARD_LATE_INIT flag from include/configs/stm32*.h to mach-stm32/Kconfig. Enable this flag also for STM32F4 SoCs family. Signed-off-by: Patrice Chotard --- v2: _ None arch/arm/mach-stm32/Kconfig | 3 +++ include/configs/stm32f746-disco.h | 1 - include/config

[U-Boot] [PATCH v2 0/3] Add set_env_soc_name() for STM32 SoCs

2018-02-05 Thread patrice.chotard
From: Patrice Chotard This series allows to create and set the environment variable "soc_name" corresponding to the current STM32 SoCs name. We will add STM32 SoCs support in buildroot environment Our objective is to propose a flexible solution to boot linux kernel from sdcard. As for STM32F4,

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-05 Thread Mark Kettenis
> Date: Mon, 5 Feb 2018 21:06:59 +1100 > From: Jonathan Gray > > > > booting sd0a:/bsd: open sd0a:/bsd: Device not configured > > > failed(6). will try /bsd > > > > How do you find out that it's sd0a instead of sd1a? > > The loaded image protocol I believe. Actually the OpenBSD bootloader cur

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-05 Thread Jonathan Gray
On Mon, Feb 05, 2018 at 09:37:15AM +0100, Alexander Graf wrote: > > > On 03.02.18 12:38, Jonathan Gray wrote: > > On Sat, Feb 03, 2018 at 09:02:25AM +0100, Alexander Graf wrote: > >> > >> > >> On 03.02.18 02:47, Jonathan Gray wrote: > >>> On Sun, Jan 28, 2018 at 01:54:25PM -0500, Tom Rini wrote:

Re: [U-Boot] [PATCH] serial: Make full device search optional

2018-02-05 Thread Alexander Graf
On 05.02.18 01:39, Derald Woods wrote: > On Tue, Jan 30, 2018 at 7:34 AM, Alexander Graf > wrote: > > On 01/30/2018 02:09 PM, Derald Woods wrote: > > On Jan 30, 2018 3:17 AM, "Alexander Graf"

Re: [U-Boot] [PATCH 0/8] Add get_cpu_id for STM32 SoCs

2018-02-05 Thread Patrice CHOTARD
Hi Vikas On 02/02/2018 06:20 PM, Vikas Manocha wrote: > Hi Patrice, > > On 02/02/2018 12:22 AM, Patrice CHOTARD wrote: >> +Christophe Priouzeau who is the requester/developper of this feature >> >> >> On 01/31/2018 07:22 PM, Vikas Manocha wrote: >>> Hi Patrice, >>> >>> On 01/31/2018 08:08 AM, pat

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

2018-02-05 Thread stefan
Hi Adam, On 04.02.2018 15:46, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_APBH_DMA >CONFIG_APBH_DMA_BURST >CONFIG_APBH_DMA_BURST8 I recently sent a patch which completely converts NAND_MXS to Kconfig https://patchwork.ozlabs.org/patch/868797/ Can you rebase o

Re: [U-Boot] [PATCH 2/2] x86: qemu: qfw: Implement acpi_get_rsdp_addr()

2018-02-05 Thread Bin Meng
Hi Miao, On Mon, Feb 5, 2018 at 2:00 PM, Miao Yan wrote: > On Tue, Jan 30, 2018 at 9:01 PM, Bin Meng wrote: >> U-Boot on QEMU does not build ACPI table by ourself, instead it uses >> the prebuilt ACPI table via the qfw interface. This implements the >> qfw version of acpi_get_rsdp_addr() for set

Re: [U-Boot] Minnowmax Turbot not supported

2018-02-05 Thread Bin Meng
Hi Vincenzo, On Sat, Feb 3, 2018 at 3:34 AM, vnktux wrote: > Hi all, > > I have just received from ADI Engineering a MinnowBoard Turbot Quad-core > (Baytrail E3845). > I wanted to compile bare metal U-Boot according to the README.x86 in the doc > folder. Unfortunately the board doesn't boot and

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-05 Thread Alexander Graf
On 03.02.18 12:38, Jonathan Gray wrote: > On Sat, Feb 03, 2018 at 09:02:25AM +0100, Alexander Graf wrote: >> >> >> On 03.02.18 02:47, Jonathan Gray wrote: >>> On Sun, Jan 28, 2018 at 01:54:25PM -0500, Tom Rini wrote: On Tue, Jan 23, 2018 at 06:05:21PM +0100, Alexander Graf wrote: >

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-02-05 Thread Stefano Babic
Hi Tom, On 05/02/2018 04:57, Tom Rini wrote: > On Sun, Feb 04, 2018 at 07:16:07PM -0500, Tom Rini wrote: >> On Sun, Feb 04, 2018 at 12:34:29PM +0100, Stefano Babic wrote: >> >>> Hi Tom, >>> >>> please pull from u-boot-imx, thanks ! >>> >>> >>> checkpatch warnings in this PR are just related to lon

[U-Boot] [PATCH] mx6: fix MAINTAINERS for Engicam i.CoreM6 1.5 MIPI

2018-02-05 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Jagan Teki --- board/engicam/imx6q/MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/board/engicam/imx6q/MAINTAINERS b/board/engicam/imx6q/MAINTAINERS index 82efb46..02216c1 100644 --- a/board/engicam/imx6q/MAINTAINERS +++ b/board/engicam/imx6q/

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-05 Thread Maxime Ripard
On Sat, Feb 03, 2018 at 04:37:15AM +, Calvin Johnson wrote: > > Hi, > > > > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Stefan > > > Mavrodiev > > > Sent: Friday, February 2, 2018 7:24 PM > > > > > > > > > diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig