Re: [U-Boot] [PATCH 8/8] Migrate generic bootcount to Kconfig

2018-02-12 Thread Lukasz Majewski
Hi Alex, > On Sun, Feb 11, 2018 at 9:44 PM, Lukasz Majewski > wrote: > > On Sun, 11 Feb 2018 21:04:46 + > > Alex Kiernan wrote: > > > >> > >> That said, squashing in that change doesn't obviously break > >> anything for me, and is probably a step in the right direction. > >> > >> I'll see

Re: [U-Boot] [PATCH v2 3/4] Convert socfpga: select CONFIG_HW_WATCHDOG support for ARCH_SOCFPGA

2018-02-12 Thread Lukasz Majewski
On Sun, 11 Feb 2018 19:06:32 -0500 Tom Rini wrote: > On Mon, Feb 12, 2018 at 12:34:10AM +0100, Lukasz Majewski wrote: > > Hi Simon, > > > > > On 09.02.2018 23:14, Lukasz Majewski wrote: > > > > All Socfpga boards from ./include/configs/socfpga_* define > > > > CONFIG_HW_WATCHDOG. > > > > To

[U-Boot] [PATCH 1/3] video: ivybridge_igd: Fix compiler warning

2018-02-12 Thread Bin Meng
Fix build warning in drivers/video/ivybridge_igd.c with gcc 7.3.0: warning: 'ivb_pm_gt2' defined but not used [-Wunused-const-variable=] Signed-off-by: Bin Meng --- drivers/video/ivybridge_igd.c | 56 --- 1 file changed, 56 deletions(-) diff --git a/d

[U-Boot] [PATCH 3/3] microblaze: bootm: Fix compiler warning

2018-02-12 Thread Bin Meng
Fix build warning in arch/microblaze/lib/bootm.c with gcc 7.3.0: warning: this 'if' clause does not guard... [-Wmisleading-indentation] Signed-off-by: Bin Meng --- arch/microblaze/lib/bootm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/microblaze/lib/bootm.c b/

[U-Boot] [PATCH 2/3] arm: omap2: Fix compiler warning

2018-02-12 Thread Bin Meng
Fix build warning in arch/arm/mach-omap2/emif-common.c and arch/arm/mach-omap2/omap4/emif.c with gcc 7.3.0: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] Signed-off-by: Bin Meng --- arch/arm/mach-omap2/emif-common.c | 2 +- arch/arm/mach-omap2/omap4/emif.c |

Re: [U-Boot] [PATCH] block: Migrate SystemACE chip to Kconfig

2018-02-12 Thread Алексей Бродкин
Hi Tom, Michal, 2018-02-09 8:13 GMT+01:00 Michal Simek : > On 8.2.2018 19:51, Tom Rini wrote: > > Migrate the base and sub-options to Kconfig. Note that we only enable > > this in the base sandbox config now. > > > > Cc: Alexey Brodkin > > Cc: Michal Simek > > Signed-off-by: Tom Rini > > ---

Re: [U-Boot] [PATCH 8/8] Migrate generic bootcount to Kconfig

2018-02-12 Thread Lukasz Majewski
On Mon, 12 Feb 2018 09:48:13 +0100 Lukasz Majewski wrote: > Hi Alex, > > > On Sun, Feb 11, 2018 at 9:44 PM, Lukasz Majewski > > wrote: > > > On Sun, 11 Feb 2018 21:04:46 + > > > Alex Kiernan wrote: > > > > > >> > > >> That said, squashing in that change doesn't obviously break > > >>

Re: [U-Boot] [PATCH v1 1/2] mmc: Fix bug in sd_set_card_speed()

2018-02-12 Thread Jaehoon Chung
On 02/10/2018 07:52 AM, Jonathan Gray wrote: > On Fri, Feb 09, 2018 at 12:09:27PM +0100, Jean-Jacques Hiblot wrote: >> After settings the speed of the sd with the switch command, a check is >> done to make sure that the new speed has been set. The current check has a >> masking error: speed are enc

Re: [U-Boot] EXT: Re: [PATCH 2/2] Convert CONFIG_SYS_BOOTCOUNT_SINGLEWORD to Kconfig

2018-02-12 Thread Ray, Ian (GE Healthcare)
> On 11 Feb 2018, at 21.23, Alex Kiernan wrote: > > On Fri, Feb 9, 2018 at 10:53 PM, Lukasz Majewski wrote: >> This converts the following to Kconfig: >> CONFIG_SYS_BOOTCOUNT_SINGLEWORD >> >> Signed-off-by: Lukasz Majewski >> --- >> >> configs/highbank_defconfig | 1 + >> drivers/bootcount/

Re: [U-Boot] EXT: [PATCH v1 1/5] bootcount: config: Make the SYS_BOOTCOUNT_ADDR available also for non EXT setups

2018-02-12 Thread Ray, Ian (GE Healthcare)
> On 10 Feb 2018, at 12.20, Lukasz Majewski wrote: > > This commit gives the opportunity to reuse the CONFIG_SYS_BOOTCOUNT_ADDR > Kconfig entry also for boards, which do not use EXT as a storage for > bootcount (i.e. on flash ones). > > Signed-off-by: Lukasz Majewski > Reviewed-by: Ian Ray

Re: [U-Boot] EXT: [PATCH 1/8] Merge CONFIG_BOOTCOUNT and CONFIG_BOOTCOUNT_LIMIT

2018-02-12 Thread Ray, Ian (GE Healthcare)
> On 11 Feb 2018, at 14.06, Alex Kiernan wrote: > > CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with > CONFIG_BOOTCOUNT_LIMIT > > Signed-off-by: Alex Kiernan Reviewed-by: Ian Ray > --- > > configs/mx53ppd_defconfig | 1 - > drivers/bootcount/Kconfig | 9 + > 2 files changed,

[U-Boot] [PATCH 1/1] dm: core: fix typo in comment (device.h)

2018-02-12 Thread Heinrich Schuchardt
%s/Indentiies/Identifies/g Signed-off-by: Heinrich Schuchardt --- include/dm/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dm/device.h b/include/dm/device.h index 813e49f330f..7786b1cf4e6 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -203,7

[U-Boot] [PATCH 1/1][for v2018.03] efi_driver: comment struct efi_driver_ops

2018-02-12 Thread Heinrich Schuchardt
Provide description for struct efi_driver_ops. Signed-off-by: Heinrich Schuchardt --- include/efi_driver.h | 12 1 file changed, 12 insertions(+) diff --git a/include/efi_driver.h b/include/efi_driver.h index 2bbe26c6e31..010e55a4739 100644 --- a/include/efi_driver.h +++ b/include/

Re: [U-Boot] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-12 Thread Alexey Brodkin
Hi Tom, Simon, On Sun, 2018-02-11 at 15:47 -0500, Tom Rini wrote: > On Tue, Jan 30, 2018 at 06:23:13PM +0300, Alexey Brodkin wrote: > > > CONFIG_SYS_TEXT_BASE must be set anyways and then it is used in many > > places in the same Makefile without any checks so there's no point in > > keeping this

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

2018-02-12 Thread Faiz Abbas
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 even a non-MMC boot case. Therefore, initialize mmc before loading environment from it. Signed-off-by: Faiz Abbas --- Dro

[U-Boot] [PATCH] mmc: Drop unnecessary case for mmc_probe()

2018-02-12 Thread Faiz Abbas
Drop the unnecessary empty function case for mmc_probe(). Signed-off-by: Faiz Abbas --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 255310a..e0b9a42 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c

Re: [U-Boot] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 01:27:30PM +, Alexey Brodkin wrote: > Hi Tom, Simon, > > On Sun, 2018-02-11 at 15:47 -0500, Tom Rini wrote: > > On Tue, Jan 30, 2018 at 06:23:13PM +0300, Alexey Brodkin wrote: > > > > > CONFIG_SYS_TEXT_BASE must be set anyways and then it is used in many > > > places i

Re: [U-Boot] About convert to LIVE DT

2018-02-12 Thread Simon Glass
Hi Kever, On 4 February 2018 at 18:00, Kever Yang wrote: > > > On 02/04/2018 09:40 PM, Simon Glass wrote: >> Hi Kever, >> >> On 4 February 2018 at 00:44, Kever Yang wrote: >>> Hi Simon, Philipp, >>> >>> When I try to convert to live dt, I fount there are many APIs work >>> in fdt are missing

Re: [U-Boot] [PATCH v4 3/4] dm: video: use constants to refer to colors

2018-02-12 Thread Simon Glass
On 8 February 2018 at 13:47, Heinrich Schuchardt wrote: > Use constants to refer to colors. > Adjust initialization of foreground and background color to avoid > setting reserved bits. > Consistently u32 instead of unsigned for color bit mask. > > Signed-off-by: Heinrich Schuchardt > --- > v4 >

Re: [U-Boot] [PATCH v2 2/2] efi_loader: rewrite README.efi

2018-02-12 Thread Simon Glass
Hi Alex, On 9 February 2018 at 11:55, Alexander Graf wrote: > > > On 30.01.18 20:03, Heinrich Schuchardt wrote: >> Provide information about >> >> - usage of the bootefi command >> - overview of UEFI >> - interaction between U-Boot and EFI drivers >> >> Signed-off-by: Heinrich Schuchardt >> ---

Re: [U-Boot] [PATCH v2 1/2] core: add uclass_get_device_by_phandle_id() api

2018-02-12 Thread Simon Glass
Hi Kever, On 8 February 2018 at 19:56, Kever Yang wrote: > Add api for who can not get phandle from a device property. Can you please add a motivation to the commit message? It is not obvious to me when this function would be used. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - use

Re: [U-Boot] [PATCH] core: add ofnode_get_by_phandle() api

2018-02-12 Thread Simon Glass
On 8 February 2018 at 06:55, Kever Yang wrote: > We need to get ofnode from a phandle, add interface to support > both live dt and fdt. > > Signed-off-by: Kever Yang > --- > > drivers/core/ofnode.c | 13 + > include/dm/ofnode.h | 8 > 2 files changed, 21 insertions(+) Th

Re: [U-Boot] [PATCH v1 2/2] mmc: fix bug in mmc_startup_v4()

2018-02-12 Thread Simon Glass
On 9 February 2018 at 04:09, Jean-Jacques Hiblot wrote: > The correspondence between mmc versions as used in u-boot and the version U-Boot > numbers reported in register EXT_CSD_REV is wrong for versions above and > including MMC_VERSION_4_41. All those versions were shifted by one: > real 4.5 h

Re: [U-Boot] [PATCH 1/3] video: ivybridge_igd: Fix compiler warning

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 05:54:35PM +0800, Bin Meng wrote: > Fix build warning in drivers/video/ivybridge_igd.c with gcc 7.3.0: > > warning: 'ivb_pm_gt2' defined but not used [-Wunused-const-variable=] > > Signed-off-by: Bin Meng Since it's also what I sent, code-wise: Reviewed-by: Tom Rini

Re: [U-Boot] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-12 Thread Marek Vasut
On 02/12/2018 03:23 PM, Tom Rini wrote: > On Mon, Feb 12, 2018 at 01:27:30PM +, Alexey Brodkin wrote: >> Hi Tom, Simon, >> >> On Sun, 2018-02-11 at 15:47 -0500, Tom Rini wrote: >>> On Tue, Jan 30, 2018 at 06:23:13PM +0300, Alexey Brodkin wrote: >>> CONFIG_SYS_TEXT_BASE must be set anyways

Re: [U-Boot] [PATCH 3/3] microblaze: bootm: Fix compiler warning

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 05:54:37PM +0800, Bin Meng wrote: > Fix build warning in arch/microblaze/lib/bootm.c with gcc 7.3.0: > > warning: this 'if' clause does not guard... [-Wmisleading-indentation] > > Signed-off-by: Bin Meng Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH 2/3] arm: omap2: Fix compiler warning

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 05:54:36PM +0800, Bin Meng wrote: > Fix build warning in arch/arm/mach-omap2/emif-common.c and > arch/arm/mach-omap2/omap4/emif.c with gcc 7.3.0: > > warning: duplicate 'const' declaration specifier > [-Wduplicate-decl-specifier] > > Signed-off-by: Bin Meng Reviewed-

[U-Boot] [PATCH] SystemACE: Remove

2018-02-12 Thread Tom Rini
This driver is no longer used on any supported platform in U-Boot and there is no interest in maintaining it further from people that have used it historically. Cc: Simon Glass Cc: Michal Simek c: Alexey Brodkin Signed-off-by: Tom Rini --- arch/sandbox/include/asm/io.h | 4 - configs/sandbo

[U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Simon Goldschmidt
In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some thins for spi flash and mmc that are not required by the hw. Give users more freedom of choice and use imply here instead of select. This should allow disabling spi support completely or using sd/mmc boot in "raw mode" (no partitions). Sig

Re: [U-Boot] [PATCH] SystemACE: Remove

2018-02-12 Thread Michal Simek
On 12.2.2018 15:51, Tom Rini wrote: > This driver is no longer used on any supported platform in U-Boot and > there is no interest in maintaining it further from people that have > used it historically. > > Cc: Simon Glass > Cc: Michal Simek > c: Alexey Brodkin > Signed-off-by: Tom Rini > ---

Re: [U-Boot] U-Boot

2018-02-12 Thread Marek Vasut
On 02/12/2018 03:52 PM, Mariano Coromac wrote: > Hello, I was hoping you could help me out with something. I just have 2 > main questions. I am using a SAMA5D27 and I've managed to port > AT91Bootloader and I'm currently on U-Boot U-Boot SPL can bring SAMA5D2 up, you don't need the AT91 bootloader

Re: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Marek Vasut
On 02/12/2018 03:52 PM, Simon Goldschmidt wrote: > In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some > thins for spi flash and mmc that are not required by the hw. things ? what hw, all supported boards you mean ? > Give users more freedom of choice and use imply here instead > of select.

Re: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Simon Goldschmidt
On 12.02.2018 15:54, Marek Vasut wrote: On 02/12/2018 03:52 PM, Simon Goldschmidt wrote: In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some thins for spi flash and mmc that are not required by the hw. things ? what hw, all supported boards you mean ? Give users more freedom of choice a

Re: [U-Boot] [PATCH 3/3] microblaze: bootm: Fix compiler warning

2018-02-12 Thread Michal Simek
On 12.2.2018 15:46, Tom Rini wrote: > On Mon, Feb 12, 2018 at 05:54:37PM +0800, Bin Meng wrote: > >> Fix build warning in arch/microblaze/lib/bootm.c with gcc 7.3.0: >> >> warning: this 'if' clause does not guard... [-Wmisleading-indentation] >> >> Signed-off-by: Bin Meng > > Reviewed-by: Tom

Re: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Marek Vasut
On 02/12/2018 04:16 PM, Simon Goldschmidt wrote: > On 12.02.2018 15:54, Marek Vasut wrote: >> On 02/12/2018 03:52 PM, Simon Goldschmidt wrote: >>> In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some >>> thins for spi flash and mmc that are not required by the hw. >> things ? >> >> what hw, all

Re: [U-Boot] U-Boot

2018-02-12 Thread Marek Vasut
On 02/12/2018 04:13 PM, Mariano Coromac wrote: > Oh ok. > My main problem is that I DO have debug_uart but I don't have U-Boot > main console. > I already have the configuration on my defconf for the debug UART like this: > CONFIG_DM=y > CONFIG_DM_SERIAL=y > CONFIG_DEBUG_UART=y > CONFIG_DEBUG_UART_

Re: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Lukasz Majewski
Hi Simon, Marek, > On 02/12/2018 04:16 PM, Simon Goldschmidt wrote: > > On 12.02.2018 15:54, Marek Vasut wrote: > >> On 02/12/2018 03:52 PM, Simon Goldschmidt wrote: > >>> In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some > >>> thins for spi flash and mmc that are not required by the hw

Re: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Marek Vasut
On 02/12/2018 04:39 PM, Lukasz Majewski wrote: > Hi Simon, Marek, > >> On 02/12/2018 04:16 PM, Simon Goldschmidt wrote: >>> On 12.02.2018 15:54, Marek Vasut wrote: On 02/12/2018 03:52 PM, Simon Goldschmidt wrote: > In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some > thins f

Re: [U-Boot] [RFC PATCH] net: mii command: disable build for 64-bit Allwinner boards

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 01:25:21AM +, Andre Przywara wrote: > The current master fails to build some Allwinner H5 boards, due to > exceeding the U-Boot proper size limit we currently have still in place. > This affects: > - nanopi_neo2_defconfig > - nanopi_neo_plus2_defconfig > - orangepi_pc2_

Re: [U-Boot] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-12 Thread Alexey Brodkin
On Mon, 2018-02-12 at 09:23 -0500, Tom Rini wrote: > On Mon, Feb 12, 2018 at 01:27:30PM +, Alexey Brodkin wrote: > > Hi Tom, Simon, > > > > On Sun, 2018-02-11 at 15:47 -0500, Tom Rini wrote: > > > On Tue, Jan 30, 2018 at 06:23:13PM +0300, Alexey Brodkin wrote: > > > > > > > CONFIG_SYS_TEXT_BA

Re: [U-Boot] [PATCH] env: restore old env_get_char() behaviour

2018-02-12 Thread York Sun
On 02/09/2018 12:23 PM, Goldschmidt Simon wrote: > With multiple environments, the 'get_char' callback for env > drivers does not really make sense any more because it is > only supported by two drivers (eeprom and nvram). > > To restore single character loading for these drivers, > override 'env_

Re: [U-Boot] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 04:21:09PM +, Alexey Brodkin wrote: > On Mon, 2018-02-12 at 09:23 -0500, Tom Rini wrote: > > On Mon, Feb 12, 2018 at 01:27:30PM +, Alexey Brodkin wrote: > > > Hi Tom, Simon, > > > > > > On Sun, 2018-02-11 at 15:47 -0500, Tom Rini wrote: > > > > On Tue, Jan 30, 2018

Re: [U-Boot] U-Boot

2018-02-12 Thread Mariano Coromac
Sorry, I tried to switch to the upstream repo but it gave some compiling errors. I am using the 409952795f8a28d3c266b2b8b2b9eccf46347601 commit from git:// github.com/linux4sam/u-boot-at91.git ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.den

Re: [U-Boot] U-Boot

2018-02-12 Thread Mariano Coromac
Oh ok. My main problem is that I DO have debug_uart but I don't have U-Boot main console. I already have the configuration on my defconf for the debug UART like this: CONFIG_DM=y CONFIG_DM_SERIAL=y CONFIG_DEBUG_UART=y CONFIG_DEBUG_UART_ATMEL=y CONFIG_DEBUG_UART_BASE=0xf8038200 CONFIG_DEBUG_UART_CLO

[U-Boot] [RFC 00/14] bmips: add bcm6348-enet support

2018-02-12 Thread Álvaro Fernández Rojas
In order to add bcm6348-enet support, dma-uclass must be extended to support dma channels and rewordked to operate like the other dm uclass (clk, reset...). This is an RFC, so please give you feedback on the things that I should fix or rework. Álvaro Fernández Rojas (14): dma: add dma channels

[U-Boot] [RFC 01/14] dma: add dma channels support and improve uclass

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/dma/dma-uclass.c| 212 ++--- drivers/mtd/spi/sf-uclass.c | 17 drivers/mtd/spi/spi_flash.c | 11 ++- include/dma-uclass.h| 110 + include/dma.h | 226

[U-Boot] [RFC 03/14] bmips: bcm6338: add bcm6348-iudma support

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6338.dtsi | 14 ++ include/dt-bindings/dma/bcm6338-dma.h | 15 +++ 2 files changed, 29 insertions(+) create mode 100644 include/dt-bindings/dma/bcm6338-dma.h diff --git a/arch/mips/dts/brcm,bcm6338.dts

[U-Boot] [RFC 02/14] dma: add bcm6348-iudma support

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/dma/Kconfig | 8 + drivers/dma/Makefile| 1 + drivers/dma/bcm6348-iudma.c | 498 3 files changed, 507 insertions(+) create mode 100644 drivers/dma/bcm6348-iudma.c diff --git a/driv

Re: [U-Boot] U-Boot

2018-02-12 Thread Nicolas Ferre
On 12/02/2018 at 17:28, Mariano Coromac wrote: > Sorry, I tried to switch to the upstream repo but it gave some compiling > errors. > I am using the 409952795f8a28d3c266b2b8b2b9eccf46347601 commit from > git://github.com/linux4sam/u-boot-at91.git > Can

[U-Boot] [RFC 05/14] bmips: bcm6358: add bcm6348-iudma support

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6358.dtsi | 18 ++ include/dt-bindings/dma/bcm6358-dma.h | 17 + 2 files changed, 35 insertions(+) create mode 100644 include/dt-bindings/dma/bcm6358-dma.h diff --git a/arch/mips/dts/brcm,bcm63

[U-Boot] [RFC 08/14] bmips: bcm6338: add support for bcm6348-enet

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6338.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6338.dtsi b/arch/mips/dts/brcm,bcm6338.dtsi index 4125f71d9f..621278c9d1 100644 --- a/arch/mips/dts/brcm,bcm6338.dtsi +++ b/arch/mip

[U-Boot] [RFC 13/14] bmips: enable hg556a enet support

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/huawei,hg556a.dts | 12 configs/huawei_hg556a_ram_defconfig | 8 +++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/mips/dts/huawei,hg556a.dts b/arch/mips/dts/huawei,hg556a.dts index a1e9c15ab9..2f

[U-Boot] [RFC 11/14] bmips: enable ct-5361 enet support

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/comtrend,ct-5361.dts| 12 configs/comtrend_ct5361_ram_defconfig | 8 +++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/mips/dts/comtrend,ct-5361.dts b/arch/mips/dts/comtrend,ct-5361.dts index 74d

[U-Boot] [RFC 04/14] bmips: bcm6348: add bcm6348-iudma support

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6348.dtsi | 16 include/dt-bindings/dma/bcm6348-dma.h | 17 + 2 files changed, 33 insertions(+) create mode 100644 include/dt-bindings/dma/bcm6348-dma.h diff --git a/arch/mips/dts/brcm,bcm6348

[U-Boot] [RFC 06/14] phy: add support for internal phys

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- include/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/phy.h b/include/phy.h index 0543ec10c2..8f3e53db01 100644 --- a/include/phy.h +++ b/include/phy.h @@ -50,6 +50,7 @@ typedef enum { + PHY_INTERFACE_MODE_INTERNAL,

[U-Boot] [RFC 12/14] bmips: bcm6358: add support for bcm6348-enet

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6358.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi index 1468e4f63a..04329864c2 100644 --- a/arch/mips/dts/brcm,bcm6358.dtsi +

[U-Boot] [RFC 14/14] bmips: enable nb4-ser enet support

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/sfr,nb4-ser.dts | 24 configs/sfr_nb4-ser_ram_defconfig | 8 +++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/arch/mips/dts/sfr,nb4-ser.dts b/arch/mips/dts/sfr,nb4-ser.dts index 473372faa1

[U-Boot] [RFC 09/14] bmips: enable f@st1704 enet support

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/sagem,f...@st1704.dts | 12 configs/sagem_f@st1704_ram_defconfig | 9 - 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/mips/dts/sagem,f...@st1704.dts b/arch/mips/dts/sagem,f...@st1704.dts index

[U-Boot] [RFC 10/14] bmips: bcm6348: add support for bcm6348-enet

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6348.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6348.dtsi b/arch/mips/dts/brcm,bcm6348.dtsi index d774c59665..e540865019 100644 --- a/arch/mips/dts/brcm,bcm6348.dtsi +++

[U-Boot] [RFC 07/14] net: add support for bcm6348-enet

2018-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/net/Kconfig| 9 + drivers/net/Makefile | 1 + drivers/net/bcm6348-eth.c | 517 + include/configs/bmips_common.h | 5 +- 4 files changed, 531 insertions(+), 1 deletion(-) cre

Re: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 03:54:13PM +0100, Marek Vasut wrote: > On 02/12/2018 03:52 PM, Simon Goldschmidt wrote: > > In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some > > thins for spi flash and mmc that are not required by the hw. > > things ? > > what hw, all supported boards you mean ? >

Re: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Marek Vasut
On 02/12/2018 05:46 PM, Tom Rini wrote: > On Mon, Feb 12, 2018 at 03:54:13PM +0100, Marek Vasut wrote: >> On 02/12/2018 03:52 PM, Simon Goldschmidt wrote: >>> In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some >>> thins for spi flash and mmc that are not required by the hw. >> >> things ? >>

Re: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 05:51:08PM +0100, Marek Vasut wrote: > On 02/12/2018 05:46 PM, Tom Rini wrote: > > On Mon, Feb 12, 2018 at 03:54:13PM +0100, Marek Vasut wrote: > >> On 02/12/2018 03:52 PM, Simon Goldschmidt wrote: > >>> In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some > >>> thins fo

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

2018-02-12 Thread York Sun
Tom, The following changes since commit 1811a928c6c7604d6d05a84b4d552a7c31b4994e: Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig (2018-02-08 19:09:03 -0500) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to ee3556bcafbb05e59aabdc31

Re: [U-Boot] U-Boot

2018-02-12 Thread Mariano Coromac
With that one there is none, I had problems with the other one. Right now I just want to know how the CONIG parameters like this one: CONFIG_8xx_CONS_SMC1= Apply to my SAMA5D2. I already have my debug uart working but not the monitor console. Therefore I can't even print 'help'. Also, I'm still hav

[U-Boot] [PATCH] CMD_PXE: Ramdisk does not pass to the kernel if FDT image does not specified

2018-02-12 Thread vlaomao
From: VlaoMao --- cmd/pxe.c | 5 + 1 file changed, 5 insertions(+) diff --git a/cmd/pxe.c b/cmd/pxe.c index 7043ad11fd..cf12b780b1 100644 --- a/cmd/pxe.c +++ b/cmd/pxe.c @@ -783,6 +783,11 @@ static int label_boot(cmd_tbl_t *cmdtp, struct pxe_label *label) if (!bootm_argv[3])

Re: [U-Boot] [PATCH v2 0/5] STM32: Clean unused and factorize .h files in arch-stm32

2018-02-12 Thread Vikas Manocha
Great ! On 02/09/2018 04:09 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard For the series, Reviewed-by: Vikas Manocha Cheers, Vikas > > Removes unused .h files in arch/arm/include/asm/arch-stm32xx > Factorize and clean some .h files to avoid to duplicate defines in > separate .

Re: [U-Boot] TCP & Overrrun

2018-02-12 Thread Joe Hershberger
Hi Duncan, On Sat, Feb 10, 2018 at 6:44 PM, Duncan Hare wrote: > On Sun, 11 Feb 2018 00:39:05 + (UTC) > Duncan Hare wrote: > >> Duncan Hare >> >> 714 931 7952 >> >> >> - Forwarded Message - >> From: Joe Hershberger >> To: Duncan Hare >> Cc: Joe Hershberger ; u-boot >> Sent: Fri

Re: [U-Boot] [PATCH v2 2/2] efi_loader: rewrite README.efi

2018-02-12 Thread Alexander Graf
> Am 12.02.2018 um 15:35 schrieb Simon Glass : > > Hi Alex, > >> On 9 February 2018 at 11:55, Alexander Graf wrote: >> >> >>> On 30.01.18 20:03, Heinrich Schuchardt wrote: >>> Provide information about >>> >>> - usage of the bootefi command >>> - overview of UEFI >>> - interaction between U

[U-Boot] SPARC support

2018-02-12 Thread Travis Waters
Hi All! For several years, my organization has built and maintained boards SPARCH-architecture processors (specifically Gaisler's implementation of the LEON3), and we have depended on u-boot as our primary bootloader. But when attempting to update u-boot this morning, we were disappointed to

Re: [U-Boot] SPARC support

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 07:28:14PM +, Travis Waters wrote: > Hi All! > > > For several years, my organization has built and maintained boards > SPARCH-architecture processors (specifically Gaisler's implementation > of the LEON3), and we have depended on u-boot as our primary > bootloader. B

Re: [U-Boot] SPARC support

2018-02-12 Thread Travis Waters
Thanks for the update, Tom. I think those are all fair assertions. Was Gaisler ever approached as a maintainer, or have they just been unable to keep up? We will approach Gaisler again and find out what's going on with their side. We certainly have a vested interest in it so I may be able to

Re: [U-Boot] [PATCH v2 2/2] efi_loader: rewrite README.efi

2018-02-12 Thread Simon Glass
Hi Alex, On 12 February 2018 at 12:41, Alexander Graf wrote: > > > > > Am 12.02.2018 um 15:35 schrieb Simon Glass : > > > > Hi Alex, > > > >> On 9 February 2018 at 11:55, Alexander Graf wrote: > >> > >> > >>> On 30.01.18 20:03, Heinrich Schuchardt wrote: > >>> Provide information about > >>> > >

Re: [U-Boot] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-12 Thread Max Filippov
Hello, On Tue, Jan 30, 2018 at 7:23 AM, Alexey Brodkin wrote: > CONFIG_SYS_TEXT_BASE must be set anyways and then it is used in many > places in the same Makefile without any checks Why? xtensa doesn't use any of it. On Mon, Feb 12, 2018 at 6:23 AM, Tom Rini wrote: > I'm largely ok with the ab

Re: [U-Boot] SPARC support

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 08:40:44PM +, Travis Waters wrote: > Thanks for the update, Tom. > I think those are all fair assertions. Was Gaisler ever approached as > a maintainer, or have they just been unable to keep up? We will > approach Gaisler again and find out what's going on with their

Re: [U-Boot] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 12:48:02PM -0800, Max Filippov wrote: > Hello, > > On Tue, Jan 30, 2018 at 7:23 AM, Alexey Brodkin > wrote: > > CONFIG_SYS_TEXT_BASE must be set anyways and then it is used in many > > places in the same Makefile without any checks > > Why? xtensa doesn't use any of it. >

Re: [U-Boot] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-12 Thread Max Filippov
On Mon, Feb 12, 2018 at 1:03 PM, Tom Rini wrote: >> On Mon, Feb 12, 2018 at 6:23 AM, Tom Rini wrote: >> > I'm largely ok with the above, but: >> > - For Xtensa (Max?), CONFIG_SYS_TEXT_ADDR needs to be renamed to >> > CONFIG_SYS_TEXT_BASE there >> >> For xtensa that address is defined as an expr

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

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 05:06:35PM +, York Sun wrote: > Tom, > > The following changes since commit 1811a928c6c7604d6d05a84b4d552a7c31b4994e: > > Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig (2018-02-08 19:09:03 -0500) > > are available in the git repository at: > > git://git.denx.de/

Re: [U-Boot] Fix misaligned buffer in env_fat_save

2018-02-12 Thread Tom Rini
On Wed, Feb 07, 2018 at 08:01:54PM +, Alex Kiernan wrote: > When saving the environment on a platform which has DMA alignment > larger than the natural alignment, env_fat_save triggers a debug > message in file_fat_write: > > Saving Environment to FAT... writing uboot.env > FAT: Misaligne

Re: [U-Boot] [PATCH] ARMv8: ls1046a: Enable PCIe and E1000 in lpuart defconfig

2018-02-12 Thread York Sun
On 02/04/2018 09:47 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Enable PCIe and E1000 in ls1046aqds lpuart defconfig. > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master, awaiting upstream. Thanks York ___ U-Boot mailing list U-Bo

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

2018-02-12 Thread York Sun
On 02/02/2018 04:07 AM, Rajat Srivastava wrote: > Currently in LS1088A, XIP mode in QSPI works up to 16 MB > addresses. This patch enables QSPI support in XIP mode for > addresses above 16 MB as well. > > Signed-off-by: Rajat Srivastava > --- Applied to fsl-qoriq master, awaiting upstream. Thank

Re: [U-Boot] [PATCH v3] armv8: Remove dependency of SERDES for LSCH2 and LSCH3

2018-02-12 Thread York Sun
On 01/30/2018 02:29 AM, Sriram Dash wrote: > Remove dependency of SYS_HAS_SERDES for Layerscape Chasis 3/2. > > Signed-off-by: Sriram Dash > --- > Changes in v3: > - Rebase to latest code. > - Include changes for LSCH2. > > Changes in v2: > - Remove ifdef when including fsl_serdes.h > Ap

Re: [U-Boot] [PATCH v2] arm64: ls1012ardb: Add distro secure boot support

2018-02-12 Thread York Sun
On 01/30/2018 09:07 PM, Sumit Garg wrote: >> -Original Message- >> From: York Sun >> Sent: Tuesday, January 30, 2018 2:57 AM >> To: Sumit Garg ; u-boot@lists.denx.de >> Cc: Ruchika Gupta ; Prabhakar Kushwaha >> ; Vini Pillai >> Subject: Re: [PATCH v2] arm64: ls1012ardb: Add distro secure b

Re: [U-Boot] [PATCH] crypto/fsl: instantiate all rng state handles

2018-02-12 Thread York Sun
On 01/25/2018 05:11 AM, Lukas Auer wrote: > Extend the instantiate_rng() function and the corresponding CAAM job > descriptor to instantiate all RNG state handles. This moves the RNG > instantiation code in line with the CAAM kernel driver. > > Previously, only the first state handle was instantia

Re: [U-Boot] [PATCH] PowerPC: phy: enable all phylib drivers when use phylib and tsec enet

2018-02-12 Thread York Sun
On 02/06/2018 06:22 PM, Zhao Qiang wrote: > should be included when CONFIG_PHYLIB and > CONFIG_TSEC_ENET are defined. > > Fixes: 3146f0c017 ("Move PHYLIB to Kconfig") > Signed-off-by: Zhao Qiang > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York

Re: [U-Boot] [RFC PATCH] net: mii command: disable build for 64-bit Allwinner boards

2018-02-12 Thread André Przywara
On 12/02/18 15:47, Tom Rini wrote: > On Mon, Feb 12, 2018 at 01:25:21AM +, Andre Przywara wrote: > >> The current master fails to build some Allwinner H5 boards, due to >> exceeding the U-Boot proper size limit we currently have still in place. >> This affects: >> - nanopi_neo2_defconfig >> -

Re: [U-Boot] [PATCH] drivers/ddr/fsl: Dual-license DDR driver

2018-02-12 Thread York Sun
On 02/07/2018 11:48 AM, York Sun wrote: > To make this driver easier to be reused, dual-license DDR driver. > > Signed-off-by: York Sun > CC: Simon Glass > CC: Tom Rini > CC: Heinrich Schuchardt > CC: Thomas Schaefer > CC: Masahiro Yamada > CC: Robert P. J. Day > CC: Alexander Merkle > CC:

[U-Boot] [PATCH 3/3] Atmel TPM: Fix potential buffer overruns

2018-02-12 Thread Jeremy Boone
From: Jeremy Boone Ensure that the Atmel TPM driver performs sufficient validation of the length returned in the TPM response header. This patch prevents memory corruption if the header contains a length value that is larger than the destination buffer. Signed-off-by: Jeremy Boone --- drivers/

[U-Boot] [PATCH 0/3] Fix potential buffer overruns in TPM driver

2018-02-12 Thread Jeremy Boone
From: Jeremy Boone The TPM response packet often contains a variable-length payload. It is the responsibility of U-Boot driver code to ensure that the length value that has been extracted from the response packet's header or body is appropriately sized before copying that data into another buffer

[U-Boot] [PATCH 1/3] STMicro TPM: Fix potential buffer overruns

2018-02-12 Thread Jeremy Boone
From: Jeremy Boone This patch prevents integer underflow when the length was too small, which could lead to memory corruption. Signed-off-by: Jeremy Boone --- drivers/tpm/tpm_tis_st33zp24_i2c.c | 5 +++-- drivers/tpm/tpm_tis_st33zp24_spi.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletio

[U-Boot] [PATCH 2/3] Infineon TPM: Fix potential buffer overruns

2018-02-12 Thread Jeremy Boone
From: Jeremy Boone Ensure that the Infineon I2C and SPI TPM driver performs adequate validation of the length extracted from the TPM response header. This patch prevents integer underflow when the length was too small, which could lead to memory corruption. Signed-off-by: Jeremy Boone --- driv

Re: [U-Boot] [PATCH] drivers/ddr/fsl: Dual-license DDR driver

2018-02-12 Thread York Sun
On 02/12/2018 02:44 PM, Marek Vasut wrote: > On 02/12/2018 11:41 PM, York Sun wrote: >> On 02/07/2018 11:48 AM, York Sun wrote: >>> To make this driver easier to be reused, dual-license DDR driver. >>> >>> Signed-off-by: York Sun >>> CC: Simon Glass >>> CC: Tom Rini >>> CC: Heinrich Schuchardt

Re: [U-Boot] [PATCH] drivers/ddr/fsl: Dual-license DDR driver

2018-02-12 Thread Marek Vasut
On 02/12/2018 11:41 PM, York Sun wrote: > On 02/07/2018 11:48 AM, York Sun wrote: >> To make this driver easier to be reused, dual-license DDR driver. >> >> Signed-off-by: York Sun >> CC: Simon Glass >> CC: Tom Rini >> CC: Heinrich Schuchardt >> CC: Thomas Schaefer >> CC: Masahiro Yamada >> C

[U-Boot] [PATCH 0/2] xtensa: clean up SYS_MONITOR_LEN/SYS_TEXT_ADDR

2018-02-12 Thread Max Filippov
Hello, this series moves SYS_MONITOR_LEN to Kconfig for board/cadence/xtfpga, removes SYS_MEMORY_TOP and renames CONFIG_SYS_TEXT_ADDR to XTENSA_SYS_TEXT_ADDR. Max Filippov (2): board/cadence/xtfpga: move SYS_MONITOR_LEN to Kconfig xtensa: clean up CONFIG_SYS_TEXT_ADDR arch/xtensa/cpu/start.

[U-Boot] [PATCH 1/2] board/cadence/xtfpga: move SYS_MONITOR_LEN to Kconfig

2018-02-12 Thread Max Filippov
Signed-off-by: Max Filippov --- board/cadence/xtfpga/Kconfig | 5 + include/configs/xtfpga.h | 7 --- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/board/cadence/xtfpga/Kconfig b/board/cadence/xtfpga/Kconfig index 69296be49c7a..67ae3860b6d4 100644 --- a/board/cadence/

[U-Boot] [PATCH 2/2] xtensa: clean up CONFIG_SYS_TEXT_ADDR

2018-02-12 Thread Max Filippov
Drop CONFIG_SYS_MEMORY_TOP. Rename CONFIG_SYS_TEXT_ADDR to XTENSA_SYS_TEXT_ADDR. Signed-off-by: Max Filippov --- arch/xtensa/cpu/start.S| 2 +- arch/xtensa/cpu/u-boot.lds | 4 ++-- include/configs/xtfpga.h | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/xtens

Re: [U-Boot] [PATCH] drivers/ddr/fsl: Dual-license DDR driver

2018-02-12 Thread Tom Rini
On Mon, Feb 12, 2018 at 10:51:10PM +, York Sun wrote: > On 02/12/2018 02:44 PM, Marek Vasut wrote: > > On 02/12/2018 11:41 PM, York Sun wrote: > >> On 02/07/2018 11:48 AM, York Sun wrote: > >>> To make this driver easier to be reused, dual-license DDR driver. > >>> > >>> Signed-off-by: York Sun

[U-Boot] [ANN] U-Boot v2018.03-rc2 released

2018-02-12 Thread Tom Rini
Hey all, It's release day and v2018.03-rc2 is out. The big thing is that there's some env related changes that need to be first sorted out and tested, then pulled in. Other than the env fixes, I hope to pull in some more Kconfig migrations. These I hope will be size neutral, but I know that a f

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

2018-02-12 Thread Derald Woods
On Mon, Feb 5, 2018 at 7:13 AM, Derald Woods wrote: > 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

Re: [U-Boot] [PATCH] configs: Migrate CONFIG_SYS_TEXT_BASE

2018-02-12 Thread Tom Rini
On Tue, Feb 06, 2018 at 03:15:58PM -0600, Adam Ford wrote: > On Sat, Feb 3, 2018 at 11:10 AM, Tom Rini wrote: > > On the NIOS2 and Xtensa architectures, we do not have > > CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current > > values into the defconfig and removing them from the

  1   2   >