Re: [U-Boot] [PATCH v2 11/12] RFC: Use binman for a sunxi board

2016-10-02 Thread Simon Glass
Hi Tom, On 1 October 2016 at 18:46, Tom Rini wrote: > On Sat, Oct 01, 2016 at 06:29:42PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 1 October 2016 at 18:15, Tom Rini wrote: >> > On Wed, Sep 28, 2016 at 09:46:25AM -0600, Simon Glass wrote: >> >> Hi Tom,

[U-Boot] [PATCH 09/12] dm: video: Add driver-model support to vesa graphics

2016-10-02 Thread Simon Glass
Provide a function to run the Vesa BIOS for a given PCI device and obtain the resulting configuration (e.g. display size) for use by the video uclass. This makes it easier to write a video driver that uses vesa and supports driver model. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 12/12] dm: x86: Move link to use driver model for video

2016-10-02 Thread Simon Glass
Update the configuration to use the new driver. Drop the existing plumbing code and unused header files. Signed-off-by: Simon Glass --- arch/x86/cpu/ivybridge/Makefile | 1 - arch/x86/cpu/ivybridge/bd82x6x.c | 12 -

[U-Boot] [PATCH 11/12] dm: x86: Move samus to use new driver model support

2016-10-02 Thread Simon Glass
Update the samus driver to avoid the direct call to the video BIOS setup. Signed-off-by: Simon Glass --- arch/x86/cpu/broadwell/sdram.c | 1 - drivers/video/broadwell_igd.c | 39 +++ 2 files changed, 7 insertions(+), 33 deletions(-)

[U-Boot] [PATCH 07/12] dm: x86: video: Add a driver-model driver for ivybridge graphics

2016-10-02 Thread Simon Glass
At present we use the legacy vesa driver for graphics. Add a driver which supports driver model. This can be probed only when needed, removing the need to start up the display if it is not used. Signed-off-by: Simon Glass --- drivers/video/Kconfig | 12 +

[U-Boot] [PATCH 10/12] x86: Adjust config to support DM_VIDEO

2016-10-02 Thread Simon Glass
Update the common configuration so that it works correctly when CONFIG_DM_VIDEO is enabled. This involves dropping the legacy CONFIG_VIDEO option and changing the stdio device from "vga" to "vidconsole". Signed-off-by: Simon Glass --- include/configs/x86-chromebook.h | 10

[U-Boot] [PATCH 08/12] dm: stdio: Allow lazy probing of video devices

2016-10-02 Thread Simon Glass
At present all video devices are probed on start-up. It would be better to probe a device only when it is needed. This can happen if it is referenced in the stdout environment variable, for example. Add support for this by searching for a suitable device when needed, probing it, and finding the

[U-Boot] [PATCH 04/12] list: Add list_last_entry() to find the last entry

2016-10-02 Thread Simon Glass
We have list_first_entry() but in some cases it is useful to find the last item added to the list. Add a macro for this. Signed-off-by: Simon Glass --- include/linux/list.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/list.h

[U-Boot] [PATCH 06/12] x86: video: Fix typo in broadwell Kconfig

2016-10-02 Thread Simon Glass
'enabled' should be 'enables'. Fixit. Signed-off-by: Simon Glass --- drivers/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 8361a71..97dbb64 100644 --- a/drivers/video/Kconfig +++

[U-Boot] [PATCH 02/12] x86: Add an accelerated memmove() function

2016-10-02 Thread Simon Glass
Bring in a faster memmove() from Linux 4.7. This speeds up scrolling on the display. Signed-off-by: Simon Glass --- arch/x86/include/asm/string.h | 2 +- arch/x86/lib/Makefile | 1 + arch/x86/lib/memmove.c| 193 ++

[U-Boot] [PATCH 03/12] Fix return value in trailing_strtoln()

2016-10-02 Thread Simon Glass
This function should return -1 if there is no trailing integer in the string. Instead it returns 0. Fix it by checking for this condition at the start. Signed-off-by: Simon Glass --- lib/strto.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 00/12] dm: x86: Improve vesa driver-model support

2016-10-02 Thread Simon Glass
At present samus uses driver model but link does not. This series fixes this and adds a few features to make it easier to support driver-model video on other machines that use vesa. It also includes a faster memmove() function which speeds up scrolling dramatically. Simon Glass (12): Revert

[U-Boot] [PATCH 05/12] dm: core: Add a function to get a uclass name

2016-10-02 Thread Simon Glass
It is useful in debug() statements to display the name of the uclass for a device. Add a simple function to provide this. Signed-off-by: Simon Glass --- drivers/core/uclass.c | 9 + include/dm/uclass.h | 8 2 files changed, 17 insertions(+) diff --git

[U-Boot] [PATCH 01/12] Revert "x86: broadwell: gpio: Remove the codes to set up pin control"

2016-10-02 Thread Simon Glass
This makes the assumption that setting up pinctrl in cpu_init_r() is safe. On samus we need GPIOs before relocation in order to support power control. This commit fixes the following message on boot: initcall sequence ffe5c6f4 failed at call ffe01d3d (err=-1) ### ERROR ### Please RESET the

[U-Boot] [PATCH 14/16] README: Drop README.imx31

2016-10-02 Thread Simon Glass
The only content of this file is CONFIG options which are no-longer present in U-Boot. Drop it. Signed-off-by: Simon Glass --- doc/README.imx31 | 29 - 1 file changed, 29 deletions(-) delete mode 100644 doc/README.imx31 diff --git

[U-Boot] [PATCH 16/16] README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo

2016-10-02 Thread Simon Glass
This should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it. Signed-off-by: Simon Glass --- doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.nand b/doc/README.nand index f1c20ff..2295bb2 100644 --- a/doc/README.nand +++ b/doc/README.nand

[U-Boot] [PATCH 11/16] README: Drop CONFIG_SYS_INIT_DATA_SIZE

2016-10-02 Thread Simon Glass
This appears to be calculated automatically now. Drop the old reference. Signed-off-by: Simon Glass --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 614a81c..17dc34b 100644 --- a/README +++ b/README @@ -4480,7 +4480,7 @@

[U-Boot] [PATCH 15/16] README: Drop CONFIG_MPC8349ADS

2016-10-02 Thread Simon Glass
This option is not used now. Signed-off-by: Simon Glass --- doc/README.mpc83xxads | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/README.mpc83xxads b/doc/README.mpc83xxads index 7a8b706..372fdd9 100644 --- a/doc/README.mpc83xxads +++ b/doc/README.mpc83xxads @@ -50,7

[U-Boot] [PATCH 13/16] atmel: Drop README.at91-soc

2016-10-02 Thread Simon Glass
This issue covered by this doc appears to be fixed, so let's remove the README. Signed-off-by: Simon Glass --- doc/README.at91-soc | 48 1 file changed, 48 deletions(-) delete mode 100644 doc/README.at91-soc diff --git

[U-Boot] [PATCH 10/16] README: i2c: Drop unused i2c CONFIG options

2016-10-02 Thread Simon Glass
CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used in U-Boot, so drop them. Signed-off-by: Simon Glass --- README | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README b/README index 0c90415..614a81c 100644 --- a/README +++

[U-Boot] [PATCH 12/16] README: Drop CONFIG_SYS_USE_OSCCLK

2016-10-02 Thread Simon Glass
This is not used in U-Boot so drop it. Signed-off-by: Simon Glass --- README | 5 - 1 file changed, 5 deletions(-) diff --git a/README b/README index 17dc34b..1d7d2e3 100644 --- a/README +++ b/README @@ -4539,11 +4539,6 @@ Low Level (hardware related) configuration

[U-Boot] [PATCH 09/16] README: sh: Drop CONFIG_SYS_I2C_SH_BASE5

2016-10-02 Thread Simon Glass
This is not used in U-Boot. Drop both the BASE and the SIZE config. Signed-off-by: Simon Glass --- README | 2 -- 1 file changed, 2 deletions(-) diff --git a/README b/README index 7f5de6b..0c90415 100644 --- a/README +++ b/README @@ -2273,8 +2273,6 @@ CBFS (Coreboot

[U-Boot] [PATCH 08/16] README: Drop CONFIG_SYS_USB_BRG_CLK

2016-10-02 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass --- README | 4 1 file changed, 4 deletions(-) diff --git a/README b/README index 43e4d99..7f5de6b 100644 --- a/README +++ b/README @@ -1481,10 +1481,6 @@ The following options need to be configured:

[U-Boot] [PATCH 07/16] README: Drop CONFIG_LAN91C96_BASE

2016-10-02 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass --- README | 4 1 file changed, 4 deletions(-) diff --git a/README b/README index da1c033..43e4d99 100644 --- a/README +++ b/README @@ -1297,10 +1297,6 @@ The following options need to be configured:

[U-Boot] [PATCH 06/16] README: Drop CONFIG_OF_BOOT_CPU

2016-10-02 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass --- README | 5 - 1 file changed, 5 deletions(-) diff --git a/README b/README index 703c5f4..da1c033 100644 --- a/README +++ b/README @@ -695,11 +695,6 @@ The following options need to be configured:

[U-Boot] [PATCH 04/16] README: Drop unused JFFS2 options

2016-10-02 Thread Simon Glass
There appear to be neither implemented nor used. Drop them. Signed-off-by: Simon Glass --- README| 12 +--- doc/README.JFFS2 | 43 +++ doc/README.JFFS2_NAND | 20 ++-- 3 files changed, 6

[U-Boot] [PATCH 05/16] README: Drop unused CONFIG_SYS_LS_MC_FW_... options

2016-10-02 Thread Simon Glass
Drop a few that are not used in U-Boot. Signed-off-by: Simon Glass --- README | 20 include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-) diff --git a/README b/README index cdd58db..703c5f4 100644 --- a/README

[U-Boot] [PATCH 02/16] README: Drop CONFIG_COGENT and related options

2016-10-02 Thread Simon Glass
These are no-longer present in U-Boot. Drop them. Signed-off-by: Simon Glass --- README | 25 - 1 file changed, 25 deletions(-) diff --git a/README b/README index 5499a4c..e0c78fb 100644 --- a/README +++ b/README @@ -325,27 +325,6 @@ The following

[U-Boot] [PATCH 01/16] README: Drop old Intel Monahans comment

2016-10-02 Thread Simon Glass
This is no longer in the U-Boot source code, so drop this note from the README. Signed-off-by: Simon Glass --- README | 14 -- 1 file changed, 14 deletions(-) diff --git a/README b/README index bc626dc..5499a4c 100644 --- a/README +++ b/README @@ -578,20 +578,6

[U-Boot] [PATCH 03/16] README: Correct CONFIG_ENV_OFFSET_RENDUND typo

2016-10-02 Thread Simon Glass
Change this to CONFIG_ENV_OFFSET_REDUND. Signed-off-by: Simon Glass --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index e0c78fb..57dd79c 100644 --- a/README +++ b/README @@ -4156,7 +4156,7 @@ to save the current settings.

[U-Boot] [PATCH 4/6] libfdt: Bring in upstream stringlist functions

2016-10-02 Thread Simon Glass
These have now landed upstream. The naming is different and in one case the function signature has changed. Update the code to match. This applies the following upstream commits by Thierry Reding : 604e61e fdt: Add functions to retrieve strings 8702bd1 fdt: Add a

[U-Boot] [PATCH 5/6] libfdt: Sync fdt_for_each_subnode() with upstream

2016-10-02 Thread Simon Glass
The signature for this macro has changed. Bring in the upstream version and adjust U-Boot's usages to suit. Signed-off-by: Simon Glass --- arch/arm/mach-tegra/xusb-padctl-common.c | 4 ++-- common/image-fit.c | 2 +- common/image-sig.c

[U-Boot] [PATCH 00/16] README: Clean up old CONFIG options

2016-10-02 Thread Simon Glass
The README mentions various options that are not used in U-Boot. This series tidies these up. There are also some other README files that are out of date, or reference old options. This series tidies up/removes some of these also. Simon Glass (16): README: Drop old Intel Monahans comment

[U-Boot] [PATCH 6/6] libfdt: Drop inlining of fdt_path_offset()

2016-10-02 Thread Simon Glass
The fdt_path_offset() function is not inlined in upstream libfdt. Adjust U-Boot's version to match. Signed-off-by: Simon Glass --- include/libfdt.h| 5 + lib/libfdt/fdt_ro.c | 5 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/include/libfdt.h

[U-Boot] [PATCH 3/6] libfdt: Sync up with upstream

2016-10-02 Thread Simon Glass
This includes small changes to the following functions, from upstream commit 6d1832c: - fdt_get_max_phandle() (upstream commit 84e0e134) - fdt_node_check_compatible (upstream commit 53bf130b) - fdt_setprop_inplace_namelen_partial() to remove useless brackets and use idx instead of index -

[U-Boot] [PATCH 2/6] libfdt: Fix undefined behaviour in fdt_offset_ptr()

2016-10-02 Thread Simon Glass
From: David Gibson Using pointer arithmetic to generate a pointer outside a known object is, technically, undefined behaviour in C. Unfortunately, we were using that in fdt_offset_ptr() to detect overflows. To fix this we need to do our bounds / overflow checking

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

2016-10-02 Thread Simon Glass
Hi Tom, Here is a second installment for rockchip - more rk3399 support and some other fairly minor changes. The following changes since commit 45b047e557bdcf68dc08e61cf207dd35b9ba8bbc: Merge branch 'master' of git://git.denx.de/u-boot-nds32 (2016-09-30 21:59:11 -0400) are available in the

Re: [U-Boot] [PATCH v2] cmd/fdt: add possibilty to have 'extrasize' on fdt resize

2016-10-02 Thread Simon Glass
On 22 September 2016 at 07:50, Simon Glass wrote: > On 20 September 2016 at 10:10, Hannes Schmelzer wrote: >> >> From: Hannes Schmelzer >> >> Sometimes devicetree nodes and or properties are added out of the u-boot >>

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-02 Thread AneoX
Like a sd card. I have emmc to sd adapter, so dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 and then just solder emmc to my board. 2 окт. 2016 г. 23:08 пользователь "Jagan Teki" написал: On Sun, Oct 2, 2016 at 7:13 PM, Alexandr Bochkarev

[U-Boot] MMC boot / mvebu / clearfog

2016-10-02 Thread Christoph Egger
Hi! MMC boot on the ClearFog (base) still seems to fail (uart boot works fine apart from uart detection). The SPL seems to finish successfully and jump to u-boot but there is no further output then. I'm trying to enable even more `DEBUG` but help is indeed welcome! Regards Christoph

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-02 Thread AneoX
Emmc Card was the new one, so i just burn a dump of working sd. Previously sd have been wired to board for test. Board is a custom, like olinuxino lime which with nand and sd slot, 512 mb ram. So i using it defconfig and in case of sd card, it works. Emmc lines has external pullups according to

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-02 Thread Alexandr Bochkarev
Already tried. The same output: > mmc_load_image_raw_sector: mmc block read error > SPL: failed to boot from all boot devices > ### ERROR ### Please RESET the board ### > 2 окт. 2016 г., в 19:38, Jagan Teki написал(а): > > On Sun, Oct 2, 2016 at 1:07 PM, Alexandr

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-02 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > i'm going to assume other net-related commands have this behaviour > as well, yes? like ping? which would explain why ping'ing even the > alleged gateway didn't work in this context. Yes. This is

Re: [U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-02 Thread Stephen Arnold
I guess I'm not sure what you're saying then; do you want a smaller config? Or something else? Currently bananapi-r1 does not work at all without its own config and .dts file. Do you have a different solution? BTW, I also have kernel dts patches but everything hinges on correctly setting up

Re: [U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-02 Thread Jagan Teki
On Sun, Oct 2, 2016 at 11:26 PM, Stephen Arnold wrote: > It can't. Ethernet and USB are both fubar'd using lamobo-r1 on > bananapi-r1. Mainly the GMAC delay is different, If you buy one and > test it, you will find that they are definitely *not* compatible. >

Re: [U-Boot] [PATCH v2 02/12] dtoc: Adjust GetProps() in fdt_normal to use the node path

2016-10-02 Thread Simon Glass
On 25 September 2016 at 15:52, Simon Glass wrote: > There is no need to pass a node path separately. Instead we should use the > path for the node provided. Correct this. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new patch to adjust

Re: [U-Boot] [PATCH v2 03/12] dtoc: Add a way for tests to request the fallback library

2016-10-02 Thread Simon Glass
On 25 September 2016 at 15:52, Simon Glass wrote: > We need to test both the normal (Python libfdt module) and fallback (fdtget) > implementations of the Fdt class. Add a way to select which implementation > to use. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH v2 01/12] dtoc: Fix bug in GetProp()

2016-10-02 Thread Simon Glass
On 25 September 2016 at 15:52, Simon Glass wrote: > This does not actually call fdtget correctly when requesting a particular > type. Fix it. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add a new patch to fix a bug in GetProp() > >

Re: [U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-02 Thread Stephen Arnold
It can't. Ethernet and USB are both fubar'd using lamobo-r1 on bananapi-r1. Mainly the GMAC delay is different, If you buy one and test it, you will find that they are definitely *not* compatible. Period. Steve On Sun, Oct 2, 2016 at 10:17 AM, Jagan Teki wrote: > On

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-02 Thread Jagan Teki
On Sun, Oct 2, 2016 at 10:45 PM, AneoX wrote: > Like a sd card. I have emmc to sd adapter, so > > dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 I guess you cleaned[1] the card before doing this? > > and then just solder emmc to my board. OK, which a20 board?

Re: [U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-02 Thread Jagan Teki
On Sun, Oct 2, 2016 at 10:06 AM, Stephen Arnold wrote: > From: Steve Arnold > > * needs different GMAC_TX_DELAY than lamobo-r1 (not compatible) > * tested with 4.8_rc6 b53-mdio and kernel dts switch nodes > > Signed-off-by: Stephen Arnold

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-02 Thread Jagan Teki
On Sun, Oct 2, 2016 at 7:13 PM, Alexandr Bochkarev wrote: > Already tried. The same output: > > mmc_load_image_raw_sector: mmc block read error > SPL: failed to boot from all boot devices > ### ERROR ### Please RESET the board ### Need few more info, how exactly you wrote

Re: [U-Boot] [PATCH 00/27] Clean up address mapping functions & CONFIG_SYS_SDRAM_BASE

2016-10-02 Thread Masahiro Yamada
Hi Paul, 2016-10-01 23:19 GMT+09:00 Paul Burton : > README states that CONFIG_SYS_SDRAM_BASE should be the physical address > of the base of SDRAM memory. This is expected by some code such as the > PCI layer, which uses CONFIG_SYS_SDRAM_BASE to set up a region for >

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-02 Thread Jagan Teki
On Sun, Oct 2, 2016 at 1:07 PM, Alexandr Bochkarev wrote: > Hi! > > I am trying to boot my A20 board from eMMC KLM4G1FE3B-B001, but has no > success. > Commenting mmc_change_freq has no effect. > U-Boot 2016.03 just says Could not determine boot source > > I have found,

[U-Boot] [PATCH v3 2/3] ARM: dts: imx6qdl-icore: Add FEC support

2016-10-02 Thread Jagan Teki
From: Jagan Teki Add FEC dts support for Engicam i.CoreM6 dql modules. Cc: Joe Hershberger Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan

[U-Boot] [PATCH v3 3/3] icorem6: Use CONFIG_DM_ETH support

2016-10-02 Thread Jagan Teki
From: Jagan Teki Use CONFIG_DM_ETH and remove board_eth_init code from board files. Cc: Joe Hershberger Cc: Peng Fan Cc: Stefano Babic Cc: Michael Trimarchi Signed-off-by:

[U-Boot] [PATCH v3 1/3] net: fec_mxc: Convert into driver model

2016-10-02 Thread Jagan Teki
From: Jagan Teki This patch add driver model support for fec_mxc driver. Cc: Simon Glass Cc: Joe Hershberger Cc: Peng Fan Cc: Stefano Babic Cc: Michael Trimarchi

[U-Boot] [PATCH v3 0/3] net: fec_mxc: Convert to DM

2016-10-02 Thread Jagan Teki
From: Jagan Teki This series convert fec_mxc to DM and tested both dm and non-dm code. This is on top of engicam qdl[1] Changes for v3: - Add ARM: dts: imx6qdl-icore: Add FEC support - icorem6: Use CONFIG_DM_ETH support Changes for v2: - Add

Re: [U-Boot] net, cmd: fix misaligned cache operation warning

2016-10-02 Thread Joe Hershberger
Hi Tom, On Sun, Oct 2, 2016 at 7:03 AM, Tom Rini wrote: > On Mon, Aug 29, 2016 at 07:46:47AM +0200, Heiko Schocher wrote: > >> when using tftp on the smartweb board, it prints, when >> using the tftp command: >> >> Using ethernet@fffc4000 device >> TFTP from server

[U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-02 Thread Stephen Arnold
From: Steve Arnold * needs different GMAC_TX_DELAY than lamobo-r1 (not compatible) * tested with 4.8_rc6 b53-mdio and kernel dts switch nodes Signed-off-by: Steve Arnold --- arch/arm/dts/Makefile | 1 +

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-02 Thread Alexandr Bochkarev
Hi! I am trying to boot my A20 board from eMMC KLM4G1FE3B-B001, but has no success. Commenting mmc_change_freq has no effect. U-Boot 2016.03 just says Could not determine boot source I have found, that it stucks in sunxi_mmc_has_egon_boot_signature. int

[U-Boot] [PATCH] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

2016-10-02 Thread Stephen Arnold
From: Steve Arnold * needs different GMAC_TX_DELAY than lamobo-r1 (not compatible) * tested with 4.8_rc6 b53-mdio and kernel dts switch nodes Signed-off-by: Stephen Arnold Cc: Ian Campbell Cc: Hans De Goede

Re: [U-Boot] net, cmd: fix misaligned cache operation warning

2016-10-02 Thread Tom Rini
On Mon, Aug 29, 2016 at 07:46:47AM +0200, Heiko Schocher wrote: > when using tftp on the smartweb board, it prints, when > using the tftp command: > > Using ethernet@fffc4000 device > TFTP from server 192.168.1.1; our IP address is 192.168.20.80 > Filename

Re: [U-Boot] [PATCH v3 4/7] efi_loader: Track size of pool allocations to allow freeing

2016-10-02 Thread Alexander Graf
On 01.10.16 23:32, Stefan Brüns wrote: > allocate_pool has to return a buffer which is 8-byte aligned. Shift the > region returned by allocate_pages by 8 byte and store the size in the > headroom. The 8 byte overhead is neglegible, but provides the required > size when freeing the allocation

Re: [U-Boot] [PATCH v3 3/7] efi_loader: Move efi_allocate_pool implementation to efi_memory.c

2016-10-02 Thread Alexander Graf
On 01.10.16 23:32, Stefan Brüns wrote: > Implementation essentially unchanged, but use EFI_PAGE_MASK/SHIFT > instead of numeric constants. Sorry for being nitpicky about the commit message again. Imagine you're a distribution maintainer for U-Boot and you need to read the commit messages of all

Re: [U-Boot] [PATCH v3 2/7] efi_loader: Fix memory map size check to avoid out-of-bounds access

2016-10-02 Thread Alexander Graf
On 01.10.16 23:32, Stefan Brüns wrote: > Do not overwrite the specified size of the provided buffer without > having checked it is sufficient. > > If the buffer is to small, memory_map_size is updated to indicate the > required size, and an error code is returned. > > Signed-off-by: Stefan

Re: [U-Boot] [PATCH v3 1/7] efi_loader: Update description of internal efi_mem_carve_out

2016-10-02 Thread Alexander Graf
On 01.10.16 23:32, Stefan Brüns wrote: > In 74c16acce30bb882ad5951829d8dafef8eea564c the return values where > changed, but the description was kept. > > Signed-off-by: Stefan Brüns Reviewed-by: Alexander Graf Alex

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-02 Thread Robert P. J. Day
On Sat, 1 Oct 2016, Wolfgang Denk wrote: ... snip ... > Actually the TFTP will not access the environment directly to > determine the boot parameters like bootfile, ipaddr, gatewayip, > netmask, serverip, etc.; instead, it uses internal variables. So > your environment settings for "ipaddr" and

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-02 Thread Robert P. J. Day
On Sat, 1 Oct 2016, Wolfgang Denk wrote: > Dear Robert, > > In message you > wrote: > > > > > 244 /* If there is a callback, call it */ > > > 245 if (htab->table[idx].entry.callback && > >

Re: [U-Boot] [PATCH 01/27] Provide a generic io.h & address mapping functions

2016-10-02 Thread Angelo Dureghello
Hi Paul, On 01/10/2016 16:19, Paul Burton wrote: Most architectures currently supported by U-Boot use trivial implementations of map_to_physmem & virt_to_phys which simply cast a physical address to a pointer for use a virtual address & vice-versa. This results in a lot of duplicate

Re: [U-Boot] [PATCH 05/27] m68k: Use asm-generic/io.h

2016-10-02 Thread Angelo Dureghello
Dear Paul, On 01/10/2016 16:19, Paul Burton wrote: Convert the m68k architecture to make use of the new asm-generic/io.h to provide address mapping functions. As the generic implementations are suitable for m68k this is primarily a matter of emoving code. Feedback from architecture maintainers