Re: [U-Boot] ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL

2018-09-18 Thread Adam Ford
On Tue, Sep 18, 2018 at 4:23 PM Tom Rini wrote: > > On Mon, Aug 13, 2018 at 09:09:17PM -0500, Adam Ford wrote: > > > With DM enabled, this patch enables DM_SERIAL and removes > > the NS16550 initialization from da850_lowlevel since the driver > > will take care of that itself. > > > >

[U-Boot] [Patch V2] ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL

2018-09-18 Thread Adam Ford
With DM enabled, this patch enables DM_SERIAL and removes the NS16550 initialization from da850_lowlevel since the driver will take care of that itself. Signed-off-by: Adam Ford --- V2: Rebase against Master Use CONFIG_IS_ENABLED instead of defined so this can be enabled/disabled in

Re: [U-Boot] [PATCH] net: Fix potential tx packet corruption by response to ARP request

2018-09-18 Thread Joe Hershberger
On Tue, Sep 18, 2018 at 8:16 AM Bin Meng wrote: > > At present the response to ARP request is copied to the transmit > packet buffer ('net_tx_packet') and sent out. This won't fail on > most cases, but unfortunately is potentially broken under certain > circumstances. > > For example, considering

[U-Boot] [PATCH 1/2] Kbuild: fix # escaping in .cmd files for future Make

2018-09-18 Thread Masahiro Yamada
From: Rasmus Villemoes [ commit 9564a8cf422d7b58f6e857e3546d346fa970191e in Linux ] I tried building using a freshly built Make (4.2.1-69-g8a731d1), but already the objtool build broke with orc_dump.c: In function ‘orc_dump’: orc_dump.c:106:2: error: ‘elf_getshnum’ is deprecated

[U-Boot] [PATCH 2/2] kbuild: fix # escaping in appending U-Boot own DT

2018-09-18 Thread Masahiro Yamada
The escape sequence '\#' does not work for the latest GNU Make from the git tree. Replace it with $(pound) as Linux did. Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib

[U-Boot] [PATCH 0/2] Fix build with the latest GNU Make

2018-09-18 Thread Masahiro Yamada
I can not build my board with the lastest GNU Make since it changed the escaping of '#' in function calls. Change the makefiles portable to both old and new GNU Make version. Masahiro Yamada (1): kbuild: fix # escaping in appending U-Boot own DT Rasmus Villemoes (1): Kbuild: fix #

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-18 Thread Alexander Graf
On 18.09.18 17:52, Heinrich Schuchardt wrote: > On 09/19/2018 01:12 AM, Alexander Graf wrote: >> >> >> On 17.09.18 15:44, Heinrich Schuchardt wrote: >>> On 09/16/2018 07:45 AM, Simon Glass wrote: Hi Heinrich, >>> >>> With https://patchwork.ozlabs.org/patch/965315/ we can see where the

Re: [U-Boot] Please pull u-boot-dm

2018-09-18 Thread Bin Meng
On Wed, Sep 19, 2018 at 8:13 AM Simon Glass wrote: > > Hi Tom, > > I was unable to get signed tags working, but here is a list of changes: > Last time I wanted to have a try, but looks there was no enough documentation to start with. If we can have some detailed instructions about signed tags,

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-18 Thread Heinrich Schuchardt
On 09/19/2018 01:12 AM, Alexander Graf wrote: > > > On 17.09.18 15:44, Heinrich Schuchardt wrote: >> On 09/16/2018 07:45 AM, Simon Glass wrote: >>> Hi Heinrich, >>> >>> On 15 September 2018 at 22:02, Heinrich Schuchardt >>> wrote: Hello Simon, in the chat with Alex you indicated

Re: [U-Boot] [PATCH 1/1] test/py: catch errors occurring when reading the console

2018-09-18 Thread Heinrich Schuchardt
On 09/18/2018 07:23 PM, Stephen Warren wrote: > On 09/18/2018 11:21 AM, Heinrich Schuchardt wrote: >> Spawn.exept has a try block without 'except'. >> >> If no output is available an OSError may arise. Catch this exception and >> continue testing. >> >> Signed-off-by: Heinrich Schuchardt >>

[U-Boot] [PATCH] sandbox: Add an explanation of the sandbox variants

2018-09-18 Thread Simon Glass
There are quite a few builds of sandbox now. Add information about these to the README. Signed-off-by: Simon Glass --- board/sandbox/README.sandbox | 24 1 file changed, 24 insertions(+) diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox index

[U-Boot] Please pull u-boot-dm

2018-09-18 Thread Simon Glass
Hi Tom, I was unable to get signed tags working, but here is a list of changes: - MPC83xx device tree additions (CPU and RAM) - Fix sandbox build error - Sync bitrev with Linux - Various ofnode/DT improvements The following changes since commit 40e44c8bf516e7071c9b80113473be5757e8c3f3:

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-18 Thread Alexander Graf
On 17.09.18 15:44, Heinrich Schuchardt wrote: > On 09/16/2018 07:45 AM, Simon Glass wrote: >> Hi Heinrich, >> >> On 15 September 2018 at 22:02, Heinrich Schuchardt >> wrote: >>> Hello Simon, >>> >>> in the chat with Alex you indicated that you see a problem with >>> efi_selftest expecting an

Re: [U-Boot] [PATCH 1/3] configs: migrate CONFIG_PHY_AQUANTIA to Kconfig

2018-09-18 Thread Jeremy Gebben
On Tue, Sep 18, 2018 at 4:07 PM York Sun wrote: > > On 09/18/2018 02:50 PM, Jeremy Gebben wrote: > > The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G. > > > > Signed-off-by: Jeremy Gebben > > --- > > configs/T1023RDB_NAND_defconfig | 2 +- > >

Re: [U-Boot] [PATCH 1/3] configs: migrate CONFIG_PHY_AQUANTIA to Kconfig

2018-09-18 Thread York Sun
On 09/18/2018 03:22 PM, Jeremy Gebben wrote: > On Tue, Sep 18, 2018 at 4:07 PM York Sun wrote: >> >> On 09/18/2018 02:50 PM, Jeremy Gebben wrote: >>> The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G. >>> >>> Signed-off-by: Jeremy Gebben >>> --- >>>

Re: [U-Boot] [PATCH 1/3] configs: migrate CONFIG_PHY_AQUANTIA to Kconfig

2018-09-18 Thread York Sun
On 09/18/2018 02:50 PM, Jeremy Gebben wrote: > The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G. > > Signed-off-by: Jeremy Gebben > --- > configs/T1023RDB_NAND_defconfig | 2 +- > configs/T1023RDB_SDCARD_defconfig| 2 +- >

Re: [U-Boot] [PATCH 1/1] test/py: catch errors occurring when reading the console

2018-09-18 Thread Alexander Graf
On 18.09.18 10:21, Heinrich Schuchardt wrote: > Spawn.exept has a try block without 'except'. > > If no output is available an OSError may arise. Catch this exception and > continue testing. I agree with Stephen that the actual error this is trying to fix is not obvious from the description.

[U-Boot] [PATCH 3/3] net: phy: aquantia: autodetect if firmware needs to be loaded

2018-09-18 Thread Jeremy Gebben
If the phy reports a valid firmware version and doesn't indicate a fault, skip loading the firmware. This allows the same image to be used on boards that have firmware storage and those that do not. Signed-off-by: Jeremy Gebben --- drivers/net/phy/aquantia.c | 28 ++--

[U-Boot] [PATCH 2/3] net: phy: aquantia: add firmware loading support

2018-09-18 Thread Jeremy Gebben
Aquantia phys have firmware that can be loaded automatically from storage directly attached to the phy or via MDIO commands. Add support for loading firmware from either a file or a raw location on an MMC device. Signed-off-by: Jeremy Gebben --- drivers/net/phy/Kconfig| 24 +++-

[U-Boot] [PATCH 1/3] configs: migrate CONFIG_PHY_AQUANTIA to Kconfig

2018-09-18 Thread Jeremy Gebben
The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G. Signed-off-by: Jeremy Gebben --- configs/T1023RDB_NAND_defconfig | 2 +- configs/T1023RDB_SDCARD_defconfig| 2 +- configs/T1023RDB_SECURE_BOOT_defconfig | 2 +-

[U-Boot] (no subject)

2018-09-18 Thread Jeremy Gebben
Date: Tue, 18 Sep 2018 15:35:32 -0600 Subject: [PATCH 0/3] net: phy: aquantia: firmware loading This patch series adds optional support for loading firmware for Aquantia phys via MDIO commands. Because I'm adding more Kconfig options for this driver, I've cleaned up the existing defconfigs that

Re: [U-Boot] [U-Boot,1/3] MMC: Enable DM_MMC for Davinci

2018-09-18 Thread Tom Rini
On Thu, Aug 09, 2018 at 06:15:12AM -0500, Adam Ford wrote: > With CONFIG_BLK becoming a requirement, the Davinci MMC driver > needs to be updated with DM_MMC support. Since SPL is tiny and > many boards do not support DM in SPL, this retains the backwards > compatibility for those boards who

Re: [U-Boot] ARM: omap3_logic_defconfig: Convert to DM_SPL

2018-09-18 Thread Tom Rini
On Tue, Aug 21, 2018 at 10:43:30AM -0500, Adam Ford wrote: > The OF_CONTROL and OF_PLATDATA are not really useful without DM. > This patch supports DM_SPL, but it requires manual references > both Serial and MMC. > > Signed-off-by: Adam Ford > > diff --git a/board/logicpd/omap3som/omap3logic.c

Re: [U-Boot] [U-Boot, V2] MMC: davinici_mmc: Enable CD and WP with DM and OF_CONTROL

2018-09-18 Thread Tom Rini
On Mon, Sep 03, 2018 at 03:47:52AM -0500, Adam Ford wrote: > When used with a device tree, this will extract the card detect > and write protect pins from the device tree and configure them > accordingly. This assumes the GPIO_ACTIVE_LOW/HIGH is supported > by da8xx_gpio. > > Signed-off-by:

Re: [U-Boot] ARM: omap3_logic: Enable DM_PMIC and DM_REGULATOR

2018-09-18 Thread Tom Rini
On Mon, Sep 03, 2018 at 02:05:41PM -0500, Adam Ford wrote: > Enabling DM_PMIC, DM_REGULATOR_FIXED, and DM_REGULATOR_GPIO > gives us the ability to better monitor voltages and enable > hardware through the device tree. The TL4030 (TPS65950) is > not yet migrated to DM, so this patch only enables

Re: [U-Boot] [U-Boot, 1/2] Configs: am3517_evm: Remove TWL4030 reference

2018-09-18 Thread Tom Rini
On Sun, Aug 19, 2018 at 11:11:02AM -0500, Adam Ford wrote: > This SOM and kit do not nor have they ever had a twl4030 PMIC. > This patch removes the references to it. > > Signed-off-by: Adam Ford > > diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig > index

Re: [U-Boot] ARM: mach-omap2: Don't initialize I2C if DM_I2C is enabled

2018-09-18 Thread Tom Rini
On Mon, Aug 20, 2018 at 08:34:00PM -0500, Adam Ford wrote: > boot-common.c checks to see if I2C is enabled in SPL, but > it doens't check for DM_I2C before initializing it. This > will now only initialize the I2C is the DM_I2C is not enabled > to avoid initializing it more than once. > >

Re: [U-Boot] ARM: omap3_logic: Enable Pinctrl

2018-09-18 Thread Tom Rini
On Mon, Sep 03, 2018 at 01:56:47PM -0500, Adam Ford wrote: > The simple pinctrl driver currently available works with the omap3. > Enabling this will use the device tree to automatically set the > pin-muxing for various drivers. > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] [U-Boot, 3/3] ARM: davinci: omapl138_lcdk: Enable DM_MMC

2018-09-18 Thread Tom Rini
On Thu, Aug 09, 2018 at 06:15:14AM -0500, Adam Ford wrote: > With DM_MMC now available, this patch enables DM_MMC for the > omapl138_lcdk in U-Boot and keeps the older style for SPL. > > Signed-off-by: Peter Howard > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] [U-Boot, 1/2] DM: I2C: Reduce overhead when used with OF_PLATDATA

2018-09-18 Thread Tom Rini
On Mon, Aug 20, 2018 at 08:24:34PM -0500, Adam Ford wrote: > Platforms with limited resources in SPL may enably OF_PLATDATA, > this limits some of the library functions and cannot extract data > from the device tree. This patch adds additional wrappers around > these functions to only allow them

Re: [U-Boot] mmc: omap_hsmmc: Make DM_GPIO calls dependent on DM_GPIO

2018-09-18 Thread Tom Rini
On Tue, Aug 21, 2018 at 07:16:56AM -0500, Adam Ford wrote: > The getcd and getwp functions when DM_MMC is enabled are > assumming the DM_GPIO is enabled. In cases (like SPL) where > DM_GPIO may not be enabled, wrap these calls in an #ifdef > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] ARM: dts: da850-evm-u-boot: Remove redundant entries

2018-09-18 Thread Tom Rini
On Fri, Aug 17, 2018 at 09:32:39AM -0500, Adam Ford wrote: > With the re-sync from Linux 4.18, several entries in > da850-evm-u-boot.dtsi are no longer necessary, so this patch > removes them. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/dts/da850-evm-u-boot.dtsi >

Re: [U-Boot] regulator: pbias: Add additional compatible flags

2018-09-18 Thread Tom Rini
On Sun, Aug 19, 2018 at 08:54:00PM -0500, Adam Ford wrote: > The driver was developed with references for more than just > dra7, but never included. At least for omap3, this appears > to be functional. > > Signed-off-by: Adam Ford > > diff --git a/drivers/power/regulator/pbias_regulator.c >

Re: [U-Boot] [U-Boot,2/3] ARM: davinci: da850evm: Support DM_MMC

2018-09-18 Thread Tom Rini
On Thu, Aug 09, 2018 at 06:15:13AM -0500, Adam Ford wrote: > With the updated driver available to support DM_MMC, this patch > enables DM_MMC for da850evm. > > Signed-off-by: Adam Ford > > diff --git a/board/davinci/da8xxevm/da850evm.c > b/board/davinci/da8xxevm/da850evm.c > index

Re: [U-Boot] [U-Boot, 2/2] DM: OMAP24XX_I2C: Reduce overhead when used with OF_PLATDATA

2018-09-18 Thread Tom Rini
On Mon, Aug 20, 2018 at 08:24:35PM -0500, Adam Ford wrote: > Platforms with limited resources in SPL may enably OF_PLATDATA, > this limits some of the library functions and cannot extract data > from the device tree. This patch adds additional wrappers around > these functions to only allow them

Re: [U-Boot] [U-Boot,2/2] ARM: am3517_evm: Disable DM_I2C_COMPAT

2018-09-18 Thread Tom Rini
On Sun, Aug 19, 2018 at 11:11:03AM -0500, Adam Ford wrote: > DM_I2C_COMPAT is somehow being enabled outside of Kconfig, so > this explicitly undefines it in the header file, and brackets > the I2C initialization around an #ifdef to not manually > initialize the I2C controller when the DM_I2C is

Re: [U-Boot] DM: serial: ti_omap3_common: Don't define serial unless !DM_SERIAL

2018-09-18 Thread Tom Rini
On Mon, Aug 20, 2018 at 08:43:00PM -0500, Adam Ford wrote: > The serial port was being manually configured during SPL build, > however in preparation to allow DM in SPL, this needs to change > to be based on whether or not DM_SERIAL is enabled because, soon > the assumption that SPL means no DM

Re: [U-Boot] DM: omap_gpio: Reduce overhead when used with OF_PLATDATA

2018-09-18 Thread Tom Rini
On Mon, Aug 20, 2018 at 08:27:48PM -0500, Adam Ford wrote: > Platforms with limited resources in SPL may enable OF_PLATDATA, > this limits some of the library functions and cannot extract data > from the device tree. This patch adds additional wrappers around > these functions to only allow them

Re: [U-Boot] GPIO: omap_gpio: Fix gpio name names with device tree

2018-09-18 Thread Tom Rini
On Fri, Aug 17, 2018 at 02:37:58PM -0500, Adam Ford wrote: > The GPIO bank numbers do not appear in the device tree, so this > patch makes the gpio name based on the address > (ie gpio@49054000_31 vs gpio4_31) > > adam > > Signed-off-by: Adam Ford > Tested-by: Derald D. Woods > > diff --git

Re: [U-Boot] arm: dts: da850: Re-sync da850-evm.dts from Linux 4.18

2018-09-18 Thread Tom Rini
On Fri, Aug 17, 2018 at 08:56:15AM -0500, Adam Ford wrote: > Signed-off-by: Adam Ford > > diff --git a/arch/arm/dts/da850-evm.dts b/arch/arm/dts/da850-evm.dts > index 67e72bc72e..0e82bb988f 100644 Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, V2] ARM: configs: Add da850evm_nand to boot from NAND

2018-09-18 Thread Tom Rini
On Wed, Aug 15, 2018 at 01:22:03PM -0500, Adam Ford wrote: > The DA850-EVM supports booting from NAND when used with the > UI expander board. da850evm_nand will create an ais file > that can be burned to NAND and booted while storing the env in > NAND along with some partitions tables for

Re: [U-Boot] dm: gpio: da8xx_gpio: Add support for GPIO_ACTIVE_LOW/HIGH

2018-09-18 Thread Tom Rini
On Thu, Aug 16, 2018 at 11:21:57PM -0500, Adam Ford wrote: > With DM and device tree support, let's use the GPIO_ACTIVE_HIGH > and GPIO_ACTIVE_LOW from the device tree as they are intended. > > Signed-off-by: Adam Ford > > diff --git a/drivers/gpio/da8xx_gpio.c b/drivers/gpio/da8xx_gpio.c >

Re: [U-Boot] DM: GPIO: Fix da8xx GPIO indexing over GPIO 32

2018-09-18 Thread Tom Rini
On Thu, Aug 16, 2018 at 11:13:34PM -0500, Adam Ford wrote: > The GPIO banks are broken up into two 16-bit registers for each > bank set. Unfortunately, the math that determines how to shift > blindly shifted by the number of the gpio. This worked for gpio > numbers under 32, but higher gpio's

Re: [U-Boot] ARM: da850evm_direct_nor: Enable CONFIG_BLK

2018-09-18 Thread Tom Rini
On Mon, Aug 13, 2018 at 08:44:08PM -0500, Adam Ford wrote: > At least for now, CONFIG_BLK is working, but this variant of > the da850evm doesn't need/support SPL so it's OK to enable it > here. > > Signed-off-by: Adam Ford > > diff --git a/configs/da850evm_direct_nor_defconfig >

Re: [U-Boot] ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL

2018-09-18 Thread Tom Rini
On Mon, Aug 13, 2018 at 09:09:17PM -0500, Adam Ford wrote: > With DM enabled, this patch enables DM_SERIAL and removes > the NS16550 initialization from da850_lowlevel since the driver > will take care of that itself. > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] [PATCH v5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-09-18 Thread Simon Goldschmidt
On 18.09.2018 12:37, Marek Vasut wrote: On 09/18/2018 12:29 PM, Simon Goldschmidt wrote: On Tue, Sep 18, 2018 at 12:12 PM Marek Vasut wrote: On 09/17/2018 10:44 PM, Simon Goldschmidt wrote: OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-) On 18.08.2018 14:25, Marek

Re: [U-Boot] [PATCH 1/1] test/py: catch errors occurring when reading the console

2018-09-18 Thread Stephen Warren
On 09/18/2018 11:21 AM, Heinrich Schuchardt wrote: Spawn.exept has a try block without 'except'. If no output is available an OSError may arise. Catch this exception and continue testing. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- I suggest that Alex takes the patch

[U-Boot] [PATCH 1/1] test/py: catch errors occurring when reading the console

2018-09-18 Thread Heinrich Schuchardt
Spawn.exept has a try block without 'except'. If no output is available an OSError may arise. Catch this exception and continue testing. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- I suggest that Alex takes the patch because we need it when working on the efi-next branch.

Re: [U-Boot] [PATCH] bootm: fdt: Use panic() instead of hang() when presented with a bad image

2018-09-18 Thread Stephen Warren
On 09/18/2018 02:10 AM, Alex Kiernan wrote: When the image which bootm is given can't be booted, call panic with the error message rather than printf/hang so that we can recover from broken images via a bootcount mechanism. If hang on failure is still required then CONFIG_PANIC_HANG can still be

Re: [U-Boot] [PATCH 1/1] test/py: catch errors occuring when reading the console

2018-09-18 Thread Stephen Warren
On 09/17/2018 04:30 PM, Heinrich Schuchardt wrote: Spawn.exept has a try block without 'except'. If no output is available an OSError may arise. Catch this exception and continue testing. diff --git a/test/py/u_boot_spawn.py b/test/py/u_boot_spawn.py index b011a3e3da..3c18360e62 100644 ---

[U-Boot] [PATCH 1/1] efi_driver: convert function descriptions to Sphinx style

2018-09-18 Thread Heinrich Schuchardt
Convert the function descriptions to Sphinx style. efi_driver_init() is cCalled by efi_init_obj_list(). Signed-off-by: Heinrich Schuchardt --- lib/efi_driver/efi_uclass.c | 86 +++-- 1 file changed, 54 insertions(+), 32 deletions(-) diff --git

Re: [U-Boot] Please pull u-boot-x86 (take 2)

2018-09-18 Thread Tom Rini
On Mon, Sep 17, 2018 at 5:39 AM, Bin Meng wrote: > Hi Tom, > > The following changes since commit 2976d3c1504960d3934a7404b0648e > dc28b52eb9: > > Merge branch 'master' of git://git.denx.de/u-boot-ubi (2018-09-14 > 13:54:37 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH V3 2/2] pci: Update documentation to make 'compatible' string optional

2018-09-18 Thread Simon Glass
Hi Marek, On 18 September 2018 at 05:47, Marek Vasut wrote: > > On 09/14/2018 06:41 AM, Simon Glass wrote: > > Hi Marex, > > It's Marek btw ... > > > On 11 September 2018 at 14:58, Marek Vasut wrote: > >> Reword the documentation to make it clear the compatible string is now > >> optional, yet

Re: [U-Boot] [PATCH V2 1/2] pci: Support parsing PCI controller DT subnodes

2018-09-18 Thread Simon Glass
Hi Marek, On 18 September 2018 at 13:36, Marek Vasut wrote: > > On 09/14/2018 06:41 AM, Simon Glass wrote: > > Hi Marek, > > > > On 10 September 2018 at 01:38, Marek Vasut wrote: > >> > >> On 09/02/2018 03:07 AM, Simon Glass wrote: > >>> Hi Marek, > >> > >> Hi, > >> > >>> On 1 September 2018 at

Re: [U-Boot] [PATCH V2 1/2] pci: Support parsing PCI controller DT subnodes

2018-09-18 Thread Bin Meng
Hi Marek, On Tue, Sep 18, 2018 at 8:01 PM Marek Vasut wrote: > > On 09/14/2018 06:41 AM, Simon Glass wrote: > > Hi Marek, > > > > On 10 September 2018 at 01:38, Marek Vasut wrote: > >> > >> On 09/02/2018 03:07 AM, Simon Glass wrote: > >>> Hi Marek, > >> > >> Hi, > >> > >>> On 1 September 2018

[U-Boot] [PATCH] net: Fix potential tx packet corruption by response to ARP request

2018-09-18 Thread Bin Meng
At present the response to ARP request is copied to the transmit packet buffer ('net_tx_packet') and sent out. This won't fail on most cases, but unfortunately is potentially broken under certain circumstances. For example, considering the following packet sequence: 1: placed an ARP request to

[U-Boot] Modulos and rsquared in rsa-verify.c

2018-09-18 Thread Bondugula, Naga Raju Rajesh
Hi team, I am trying to use rsa utility functions and need help in using modulus and rsquared in right format Say this is modulus that I need to incorporate. How should the modules buffer look like? modulus: 00:d8:63:96:ce:e5:ec:04:af:17:83:f2:54:e3:49:

Re: [U-Boot] [RFC] colibri_imx7: Do not hardcode the memory size

2018-09-18 Thread Marcel Ziswiler
Hi Fabio Stefan is currently at Linaro Connect and may not have access to hardware. On Mon, 2018-09-17 at 14:09 -0300, Fabio Estevam wrote: > Instead of hardcoding the memory size, use the generic > imx_ddr_size() function, which extracts the memory size > in runtime by reading the DDR

Re: [U-Boot] [PATCH V2 1/2] pci: Support parsing PCI controller DT subnodes

2018-09-18 Thread Marek Vasut
On 09/14/2018 06:41 AM, Simon Glass wrote: > Hi Marek, > > On 10 September 2018 at 01:38, Marek Vasut wrote: >> >> On 09/02/2018 03:07 AM, Simon Glass wrote: >>> Hi Marek, >> >> Hi, >> >>> On 1 September 2018 at 16:45, Marek Vasut wrote: On 09/01/2018 11:50 PM, Simon Glass wrote:

Re: [U-Boot] [PATCH V3 2/2] pci: Update documentation to make 'compatible' string optional

2018-09-18 Thread Marek Vasut
On 09/14/2018 06:41 AM, Simon Glass wrote: > Hi Marex, It's Marek btw ... > On 11 September 2018 at 14:58, Marek Vasut wrote: >> Reword the documentation to make it clear the compatible string is now >> optional, yet still matching on it takes precedence over PCI IDs and >> PCI classes. >> >>

Re: [U-Boot] [RESEND PATCH v2 15/15] riscv: Move do_reset() to a common place

2018-09-18 Thread Auer, Lukas
Hi Bin, On Tue, 2018-09-18 at 16:50 +0800, Bin Meng wrote: > Hi Lukas, > > On Tue, Sep 18, 2018 at 6:01 AM Auer, Lukas > wrote: > > > > Hi Bin, > > > > On Mon, 2018-09-17 at 13:02 +0800, Bin Meng wrote: > > > Hi Lukas, > > > > > > On Mon, Sep 17, 2018 at 5:09 AM Auer, Lukas > > > wrote: > >

Re: [U-Boot] [RESEND PATCH v2 08/15] riscv: Add a helper routine to print CPU information

2018-09-18 Thread Auer, Lukas
Hi Bin, On Tue, 2018-09-18 at 16:53 +0800, Bin Meng wrote: > Hi Lukas, > > On Tue, Sep 18, 2018 at 5:59 AM Auer, Lukas > wrote: > > > > Hi Bin, > > > > On Mon, 2018-09-17 at 12:55 +0800, Bin Meng wrote: > > > Hi Lukas, > > > > > > On Mon, Sep 17, 2018 at 4:54 AM Auer, Lukas > > > wrote: > >

Re: [U-Boot] [PATCH v5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-09-18 Thread Marek Vasut
On 09/18/2018 12:29 PM, Simon Goldschmidt wrote: > On Tue, Sep 18, 2018 at 12:12 PM Marek Vasut wrote: >> >> On 09/17/2018 10:44 PM, Simon Goldschmidt wrote: >>> >>> OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-) >>> >>> On 18.08.2018 14:25, Marek Vasut wrote: On

Re: [U-Boot] [PATCH v5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-09-18 Thread Simon Goldschmidt
On Tue, Sep 18, 2018 at 12:12 PM Marek Vasut wrote: > > On 09/17/2018 10:44 PM, Simon Goldschmidt wrote: > > > > OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-) > > > > On 18.08.2018 14:25, Marek Vasut wrote: > >> On 08/18/2018 10:55 AM, Simon Goldschmidt wrote: > >>> On

Re: [U-Boot] [PATCH v5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-09-18 Thread Marek Vasut
On 09/17/2018 10:44 PM, Simon Goldschmidt wrote: > > OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-) > > On 18.08.2018 14:25, Marek Vasut wrote: >> On 08/18/2018 10:55 AM, Simon Goldschmidt wrote: >>> On Fri, Aug 17, 2018 at 12:20 PM Marek Vasut wrote: On 08/17/2018

Re: [U-Boot] [RESEND PATCH v2 08/15] riscv: Add a helper routine to print CPU information

2018-09-18 Thread Bin Meng
Hi Lukas, On Tue, Sep 18, 2018 at 5:59 AM Auer, Lukas wrote: > > Hi Bin, > > On Mon, 2018-09-17 at 12:55 +0800, Bin Meng wrote: > > Hi Lukas, > > > > On Mon, Sep 17, 2018 at 4:54 AM Auer, Lukas > > wrote: > > > > > > Hi Bin, > > > > > > On Mon, 2018-09-10 at 21:54 -0700, Bin Meng wrote: > > > >

Re: [U-Boot] [RESEND PATCH v2 15/15] riscv: Move do_reset() to a common place

2018-09-18 Thread Bin Meng
Hi Lukas, On Tue, Sep 18, 2018 at 6:01 AM Auer, Lukas wrote: > > Hi Bin, > > On Mon, 2018-09-17 at 13:02 +0800, Bin Meng wrote: > > Hi Lukas, > > > > On Mon, Sep 17, 2018 at 5:09 AM Auer, Lukas > > wrote: > > > > > > Hi Bin, > > > > > > On Mon, 2018-09-10 at 21:54 -0700, Bin Meng wrote: > > > >

[U-Boot] [PATCH] spl: mmc: Report device number when we fail

2018-09-18 Thread Alex Kiernan
If we fail to find the MMC boot device, report the number of the one we were looking for in the error to aid diagnosis. Signed-off-by: Alex Kiernan --- common/spl/spl_mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index

Re: [U-Boot] [PATCH] i2c: Add support for the Arm's Versatile Express I2C controller.

2018-09-18 Thread Liviu Dudau
On Tue, Sep 18, 2018 at 06:21:17AM +0200, Heiko Schocher wrote: > Hello Liviu, > > Am 17.09.2018 um 18:51 schrieb Liviu Dudau: > > The Arm Versatile Express I2C controller is a simple register-based > > controller that uses a register to control the state of the SCL and > > SDA lines. Add support

[U-Boot] [PATCH] bootm: fdt: Use panic() instead of hang() when presented with a bad image

2018-09-18 Thread Alex Kiernan
When the image which bootm is given can't be booted, call panic with the error message rather than printf/hang so that we can recover from broken images via a bootcount mechanism. If hang on failure is still required then CONFIG_PANIC_HANG can still be enabled. Signed-off-by: Alex Kiernan ---

Re: [U-Boot] [PATCH] misc: Add support for the Arm Versatile Express config bus

2018-09-18 Thread Liviu Dudau
On Tue, Sep 18, 2018 at 06:18:48AM +0200, Heiko Schocher wrote: > Hello Liviu, > > Am 17.09.2018 um 18:48 schrieb Liviu Dudau: > > Add support for the Arm Versatile Express config bus that is > > being used for exposing various subsystems via a generic > > configuration bus. This driver adds

Re: [U-Boot] [PATCH] uclass: Use uclass_foreach_dev() macro instead of open coding

2018-09-18 Thread Liviu Dudau
On Tue, Sep 18, 2018 at 04:06:13AM +0200, Simon Glass wrote: > On 17 September 2018 at 10:44, Liviu Dudau wrote: > > Use the uclass_foreach_dev() macro instead of the open coded version. > > > > Signed-off-by: Liviu Dudau > > --- > > drivers/core/uclass.c | 2 +- > > 1 file changed, 1

[U-Boot] [PATCH v4 19/34] board: atmel: add support for pda detection

2018-09-18 Thread Eugen Hristev
This adds the support for PDA detection as common code for Atmel boards. Using the one wire interface over GPIO , an EEPROM memory is read and compared to preprogrammed values for PDA screens TM4300, TM7000 and TM7000B. Once the PDA is detected, an environment variable is set accordingly.

[U-Boot] [PATCH v4 14/34] configs: sama5d2_xplained: add onewire and eeprom drivers

2018-09-18 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v4 11/34] pinctrl: sandbox: add gpio onewire w1 group

2018-09-18 Thread Eugen Hristev
Add onewire "w1" groups and pin function for onewire GPIOs in sandbox. Signed-off-by: Eugen Hristev --- drivers/pinctrl/pinctrl-sandbox.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/pinctrl-sandbox.c b/drivers/pinctrl/pinctrl-sandbox.c index 468fa2a..755ac08 100644

[U-Boot] [PATCH v4 17/34] configs: sama5d2_ptc_ek: add onewire and eeprom drivers

2018-09-18 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v4 32/34] ARM: dts: at91: sama5d27_som1_ek: add onewire connector for LCD eeprom

2018-09-18 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d27_som1_ek.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/at91-sama5d27_som1_ek.dts b/arch/arm/dts/at91-sama5d27_som1_ek.dts index

[U-Boot] [PATCH v4 30/34] ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom

2018-09-18 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_xplained.dts | 17 + arch/arm/dts/sama5d2.dtsi | 5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_xplained.dts

[U-Boot] [PATCH v4 33/34] ARM: dts: at91: sama5d2_ptc: add onewire connector for LCD eeprom

2018-09-18 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_ptc_ek.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/dts/at91-sama5d2_ptc_ek.dts index ab5ab21..068a117

[U-Boot] [PATCH v4 15/34] configs: sama5d3_xplained: add onewire and eeprom drivers

2018-09-18 Thread Eugen Hristev
SAMA5D3 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v4 24/34] board: sama5d4_xplained: add pda detect call at init time

2018-09-18 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c

[U-Boot] [PATCH v4 23/34] board: sama5d2_ptc_ek: add pda detect call at init time

2018-09-18 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 10 ++ 2 files changed, 11 insertions(+) diff

[U-Boot] [PATCH v4 26/34] configs: sama5d3_xplained: add fdt overlay support

2018-09-18 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + 2

[U-Boot] [PATCH v4 29/34] configs: sama5d4_xplained: add fdt overlay support

2018-09-18 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig | 1 +

[U-Boot] [PATCH v4 10/34] w1: add command for onewire protocol

2018-09-18 Thread Eugen Hristev
Add basic command for bus information and read for onewire bus using Dallas 1-Wire protocol. Signed-off-by: Eugen Hristev --- cmd/Kconfig | 7 cmd/Makefile | 1 + cmd/w1.c | 126 +++ 3 files changed, 134 insertions(+) create

[U-Boot] [PATCH v4 21/34] board: sama5d3_xplained: add pda detect call at init time

2018-09-18 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d3_xplained/sama5d3_xplained.c | 10 ++ 2 files changed, 11 insertions(+)

[U-Boot] [PATCH v4 12/34] sandbox: DTS: w1: add node for one wire interface on GPIO

2018-09-18 Thread Eugen Hristev
Add a node for the one wire uclass and one wire gpio driver in sandbox. Signed-off-by: Eugen Hristev --- arch/sandbox/dts/sandbox.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 6ac37f1..1aa0f8e

[U-Boot] [PATCH v4 07/34] dt-bindings: w1-eeprom: ds24xxx: create bindings

2018-09-18 Thread Eugen Hristev
Bindings for Maxim's ds24 onewire EEPROM families driver Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1-eeprom/ds24xxx.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 doc/device-tree-bindings/w1-eeprom/ds24xxx.txt diff --git

[U-Boot] [PATCH v4 13/34] configs: sandbox: add onewire w1 and sandbox eeprom

2018-09-18 Thread Eugen Hristev
To be able to test Dallas onewire protocol and one wire eeproms driver and subsystem, add in sandbox defconfig the drivers' config. Signed-off-by: Eugen Hristev --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig

[U-Boot] [PATCH v4 18/34] configs: sama5d4_xplained: add onewire and eeprom drivers

2018-09-18 Thread Eugen Hristev
SAMA5D4 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v4 31/34] ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom

2018-09-18 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d3_xplained.dts | 17 + arch/arm/dts/sama5d3.dtsi | 5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d3_xplained.dts

[U-Boot] [PATCH v4 34/34] ARM: dts: at91: sama5d4_xplained: add onewire connector for LCD eeprom

2018-09-18 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d4_xplained.dts | 16 arch/arm/dts/sama5d4.dtsi | 5 + 2 files changed, 21 insertions(+) diff --git a/arch/arm/dts/at91-sama5d4_xplained.dts

[U-Boot] [PATCH v4 27/34] configs: sama5d2_ptc_ek: add fdt overlay support

2018-09-18 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_ptc_ek_mmc_defconfig | 1 + configs/sama5d2_ptc_ek_nandflash_defconfig | 1 + 2 files

[U-Boot] [PATCH v4 09/34] dt-bindings: w1-eeprom: eep_sandbox: create bindings

2018-09-18 Thread Eugen Hristev
Bindings for sandbox onewire eeprom driver Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt diff --git

[U-Boot] [PATCH v4 16/34] configs: sama5d27_som1_ek: add onewire and eeprom drivers

2018-09-18 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v4 22/34] board: sama5d27_som1_ek: add pda detect call at init time

2018-09-18 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c

[U-Boot] [PATCH v4 28/34] configs: sama5d27_som1_ek: add fdt overlay support

2018-09-18 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d27_som1_ek_mmc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v4 20/34] board: sama5d2_xplained: add pda detect call at init time

2018-09-18 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d2_xplained/sama5d2_xplained.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c

[U-Boot] [PATCH v4 08/34] W1-EEPROM: add sandbox driver

2018-09-18 Thread Eugen Hristev
Add a sandbox driver for a one wire EEPROM memory Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6 drivers/w1-eeprom/Makefile | 1 + drivers/w1-eeprom/eep_sandbox.c | 61 + include/w1.h| 1 + 4 files

[U-Boot] [PATCH v4 25/34] configs: sama5d2_xplained: add fdt overlay support

2018-09-18 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + 2 files

  1   2   >