Re: [U-Boot] [PATCH v3 15/18] efi_loader: output load options in helloworld

2017-12-09 Thread Heinrich Schuchardt
On 12/10/2017 12:09 AM, Florian Fainelli wrote: On 11/26/2017 05:05 AM, Heinrich Schuchardt wrote: We need to test if we pass a valid image handle when loading and EFI application. This cannot be done in efi_selftest as it is not loaded as an image. So let's enhance helloworld a bit.

Re: [U-Boot] [PATCH v3 15/18] efi_loader: output load options in helloworld

2017-12-09 Thread Florian Fainelli
On 11/26/2017 05:05 AM, Heinrich Schuchardt wrote: > We need to test if we pass a valid image handle when loading > and EFI application. This cannot be done in efi_selftest as > it is not loaded as an image. > > So let's enhance helloworld a bit. > > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v4 0/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Joe Hershberger
On Sat, Dec 9, 2017 at 4:59 PM, Florian Fainelli wrote: > Hi all, > > This patch series adds support for the Broadcom BCM53xx switches, in > particular > BCM53125 which is found no the Lamobo R1 board. > > The driver is largely based on the DSA/b53 driver Linux driver and

[U-Boot] [PATCH v4 4/4] configs: Update Lamobo_R1 with B53 switch options

2017-12-09 Thread Florian Fainelli
Enable CONFIG_B53_SWITCH, define the CPU/management port number (8) and enable all 5 ports of the switch to be usable. Reviewed-by: Stefan Roese Acked-by: Joe Hershberger Signed-off-by: Florian Fainelli ---

[U-Boot] [PATCH v4 1/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Florian Fainelli
Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar to the Marvell MV88E617x. This takes care of configuring the minimum amount out of the switch hardware such that each user visible port (configurable) and the CPU port can forward packets between each other while preserving

[U-Boot] [PATCH v4 3/4] net: phy: b53: Add b53_reg read/write commands

2017-12-09 Thread Florian Fainelli
Add a b53_reg read/write command which allows inspecting the switch registers. Because the Broadcom BCM53xx registers have different sizes, we need to split the accesses in 8, 16, 32, 48 or 64 bits to obtain expected results. Reviewed-by: Stefan Roese Acked-by: Joe Hershberger

[U-Boot] [PATCH v4 2/4] net: designware: Pad small packets

2017-12-09 Thread Florian Fainelli
Make sure that we pad small packets to a minimum length of 60 bytes (without FCS). This is necessary to interface with Ethernet switches that will reject RUNT frames unless padded correctly. Signed-off-by: Florian Fainelli --- drivers/net/designware.c | 5 + 1 file

[U-Boot] [PATCH v4 0/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Florian Fainelli
Hi all, This patch series adds support for the Broadcom BCM53xx switches, in particular BCM53125 which is found no the Lamobo R1 board. The driver is largely based on the DSA/b53 driver Linux driver and only incorporates what is necessary to succesfully bring-up all ports (including the

Re: [U-Boot] [PATCH v3 0/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Joe Hershberger
On Sat, Dec 9, 2017 at 12:55 PM, Florian Fainelli wrote: > Hi all, > > This patch series adds support for the Broadcom BCM53xx switches, in > particular > BCM53125 which is found no the Lamobo R1 board. > > The driver is largely based on the DSA/b53 driver Linux driver and

Re: [U-Boot] [PATCH] common/memsize.c: restore content of the base address

2017-12-09 Thread Wolfgang Denk
Dear Patrick, In message <885aaa3abdfe440591ea271f92ab4...@sfhdag6node3.st.com> you wrote: > > > You mean you are running this code from the very memory you are sizing? > > This > > is fundamentally broken. You must not do this! > > Yes I do it, sorry if it is a error. > > But it is

Re: [U-Boot] [PATCH 1/2] arm64: zynqmp: Add missing zynq_board_read_rom_ethaddr() prototype

2017-12-09 Thread Joe Hershberger
On Fri, Dec 8, 2017 at 8:40 AM, Michal Simek wrote: > Add missing zynq_board_read_rom_ethaddr() prototype reported by sparse. > > Signed-off-by: Michal Simek Reviewed-by: Joe Hershberger

Re: [U-Boot] [RESEND PATCH 1/2] dm: core: add missing dev_count_phandle_with_args()

2017-12-09 Thread Joe Hershberger
On Mon, Dec 4, 2017 at 2:05 AM, Patrice CHOTARD wrote: > Hi Simon > > On 12/02/2017 04:28 AM, Simon Glass wrote: >> Hi Patrice, >> >> On 29 November 2017 at 01:06, wrote: >>> From: Patrice Chotard >>> >>> Add missing

Re: [U-Boot] [PATCH v3 4/4] configs: Update Lamobo_R1 with B53 switch options

2017-12-09 Thread Joe Hershberger
On Sat, Dec 9, 2017 at 12:55 PM, Florian Fainelli wrote: > Enable CONFIG_B53_SWITCH, define the CPU/management port number (8) and > enable all 5 ports of the switch to be usable. > > Reviewed-by: Stefan Roese > Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v3 2/4] net: designware: Pad small packets

2017-12-09 Thread Joe Hershberger
On Sat, Dec 9, 2017 at 12:55 PM, Florian Fainelli wrote: > Make sure that we pad small packets to a minimum length of 60 bytes > (without FCS). This is necessary to interface with Ethernet switches > that will reject RUNT frames unless padded correctly. > > Signed-off-by:

[U-Boot] [PATCH v3 4/4] configs: Update Lamobo_R1 with B53 switch options

2017-12-09 Thread Florian Fainelli
Enable CONFIG_B53_SWITCH, define the CPU/management port number (8) and enable all 5 ports of the switch to be usable. Reviewed-by: Stefan Roese Acked-by: Joe Hershberger Signed-off-by: Florian Fainelli ---

[U-Boot] [PATCH v3 1/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Florian Fainelli
Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar to the Marvell MV88E617x. This takes care of configuring the minimum amount out of the switch hardware such that each user visible port (configurable) and the CPU port can forward packets between each other while preserving

[U-Boot] [PATCH v3 2/4] net: designware: Pad small packets

2017-12-09 Thread Florian Fainelli
Make sure that we pad small packets to a minimum length of 60 bytes (without FCS). This is necessary to interface with Ethernet switches that will reject RUNT frames unless padded correctly. Signed-off-by: Florian Fainelli --- drivers/net/designware.c | 5 + 1 file

[U-Boot] [PATCH v3 0/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Florian Fainelli
Hi all, This patch series adds support for the Broadcom BCM53xx switches, in particular BCM53125 which is found no the Lamobo R1 board. The driver is largely based on the DSA/b53 driver Linux driver and only incorporates what is necessary to succesfully bring-up all ports (including the

[U-Boot] [PATCH v3 3/4] net: phy: b53: Add b53_reg read/write commands

2017-12-09 Thread Florian Fainelli
Add a b53_reg read/write command which allows inspecting the switch registers. Because the Broadcom BCM53xx registers have different sizes, we need to split the accesses in 8, 16, 32, 48 or 64 bits to obtain expected results. Reviewed-by: Stefan Roese Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 1/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Florian Fainelli
On 12/09/2017 10:40 AM, Florian Fainelli wrote: > Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar > to the Marvell MV88E617x. This takes care of configuring the minimum > amount out of the switch hardware such that each user visible port > (configurable) and the CPU port

[U-Boot] [PATCH v2 4/4] configs: Update Lamobo_R1 with B53 switch options

2017-12-09 Thread Florian Fainelli
Enable CONFIG_B53_SWITCH, define the CPU/management port number (8) and enable all 5 ports of the switch to be usable. Reviewed-by: Stefan Roese Acked-by: Joe Hershberger Signed-off-by: Florian Fainelli ---

[U-Boot] [PATCH v2 2/4] net: designware: Pad small packets

2017-12-09 Thread Florian Fainelli
Make sure that we pad small packets to a minimum length of 60 bytes (without FCS). This is necessary to interface with Ethernet switches that will reject RUNT frames unless padded correctly. Signed-off-by: Florian Fainelli --- drivers/net/designware.c | 5 + 1 file

[U-Boot] [PATCH v2 3/4] net: phy: b53: Add b53_reg read/write commands

2017-12-09 Thread Florian Fainelli
Add a b53_reg read/write command which allows inspecting the switch registers. Because the Broadcom BCM53xx registers have different sizes, we need to split the accesses in 8, 16, 32, 48 or 64 bits to obtain expected results. Reviewed-by: Stefan Roese Acked-by: Joe Hershberger

[U-Boot] [PATCH v2 1/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Florian Fainelli
Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar to the Marvell MV88E617x. This takes care of configuring the minimum amount out of the switch hardware such that each user visible port (configurable) and the CPU port can forward packets between each other while preserving

[U-Boot] [PATCH v2 0/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-09 Thread Florian Fainelli
Hi all, This patch series adds support for the Broadcom BCM53xx switches, in particular BCM53125 which is found no the Lamobo R1 board. The driver is largely based on the DSA/b53 driver Linux driver and only incorporates what is necessary to succesfully bring-up all ports (including the

[U-Boot] [RFC] Multiple device trees in one u-boot image

2017-12-09 Thread Heinrich Schuchardt
Hello Simon, I have had a look why the Wandboard cannot be switched to using the driver. We have one SPL and one u-boot.img for different boards. In function board_init() in the board file board/wandboard/wandboard.c the actual board is determined. If we enable CONFIG_OF_CONTROL we can

Re: [U-Boot] [PATCH 1/1] mx6: wandboard: reenable SPL build

2017-12-09 Thread Fabio Estevam
On Sat, Dec 9, 2017 at 2:01 PM, Heinrich Schuchardt wrote: > The last merge from the u-boot-imx tree deleted a > necessary line from wandboard_defconfig by mistake. > > This caused an error when running > > make wandboard_defconfig > make SPL > > Fixes:

[U-Boot] [PATCH 1/1] mx6: wandboard: reenable SPL build

2017-12-09 Thread Heinrich Schuchardt
The last merge from the u-boot-imx tree deleted a necessary line from wandboard_defconfig by mistake. This caused an error when running make wandboard_defconfig make SPL Fixes: 6e6cf015e7cd Merge git://www.denx.de/git/u-boot-imx Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] Cannot build Wandboard SPL

2017-12-09 Thread Heinrich Schuchardt
On 12/09/2017 03:51 PM, Heinrich Schuchardt wrote: make mrproper make wandboard_defconfig make SPL leads to an error   OBJCOPY spl/u-boot-spl-nodtb.bin   COPY    spl/u-boot-spl.bin   CFGS    .cfgtmp gcc: error: FORCE: Datei oder Verzeichnis nicht gefunden gcc: warning: ‘-x c’ after last

[U-Boot] [PATCH 1/3] ARM: imx: cm_fx6: env: use standard variables

2017-12-09 Thread christopher.spinrath
From: Christopher Spinrath In preparation for supporting the distro boot command, introduce the standard variables for specifying load addresses, which are documented in README and doc/README.distro, and replace the custom variables used so far with them.

[U-Boot] [PATCH 2/3] ARM: imx: cm_fx6: env: support distro boot command

2017-12-09 Thread christopher.spinrath
From: Christopher Spinrath The current default environment of the cm_fx6 is not suitable for booting modern distributions. Instead of extending the custom environment, let's use the distro boot command, which has been developed for precisely this use case.

[U-Boot] [PATCH 3/3] ARM: imx: cm_fx6: env: don't run boot scripts twice

2017-12-09 Thread christopher.spinrath
From: Christopher Spinrath Boot scripts located in the root directory of the first partition of USB, mmc, and SATA drives are executed twice: first by the distro boot command and then by the legacy boot command. This may have weird side effects if those

Re: [U-Boot] [uboot-snps-arc] Re: [PATCH v5 2/2] DW SPI: Get clock value from Device Tree

2017-12-09 Thread Marek Vasut
On 12/09/2017 04:23 PM, Eugeniy Paltsev wrote: > On Wed, 2017-11-15 at 10:24 +0100, Marek Vasut wrote: >> On 11/14/2017 04:33 PM, Eugeniy Paltsev wrote: >>> Add option to set spi controller clock frequency via device tree >>> using standard clock bindings. >>> >>> Define dw_spi_get_clk function as

Re: [U-Boot] [uboot-snps-arc] Re: [PATCH v5 2/2] DW SPI: Get clock value from Device Tree

2017-12-09 Thread Eugeniy Paltsev
On Wed, 2017-11-15 at 10:24 +0100, Marek Vasut wrote: > On 11/14/2017 04:33 PM, Eugeniy Paltsev wrote: > > Add option to set spi controller clock frequency via device tree > > using standard clock bindings. > > > > Define dw_spi_get_clk function as 'weak' as some targets > > (like SOCFPGA_GEN5

[U-Boot] Cannot build Wandboard SPL

2017-12-09 Thread Heinrich Schuchardt
make mrproper make wandboard_defconfig make SPL leads to an error OBJCOPY spl/u-boot-spl-nodtb.bin COPYspl/u-boot-spl.bin CFGS.cfgtmp gcc: error: FORCE: Datei oder Verzeichnis nicht gefunden gcc: warning: ‘-x c’ after last input file has no effect gcc: fatal error: no input

Re: [U-Boot] [PATCH v2 1/2] drivers/misc: Share qbman init between archs

2017-12-09 Thread York Sun
On 12/08/2017 04:46 PM, Ahmed Mansour wrote: > This patch adds changes necessary to move functionality present in > PowerPC folders with ARM architectures that have DPAA1 QBMan hardware > > - Create new board/freescale/common/fsl_portals.c to house shared > device tree fixups for DPAA1 devices