Re: [U-Boot] [PATCH] arm64: Add Xilinx ZynqMP support

2015-03-01 Thread Michal Simek
On 02/27/2015 06:13 PM, Tom Rini wrote: > On Tue, Feb 24, 2015 at 09:02:09AM +0100, Michal Simek wrote: > >> Add basic Xilinx ZynqMP arm64 support. >> Serial and SD is supported. >> It supports emulation platfrom ep108 and QEMU. >> >> Signed-off-by: Michal Simek > [snip] >> +/* Miscellaneous conf

[U-Boot] [PATCH] Armv8: Initializing CNTVOFF_EL2

2015-03-01 Thread fenghua
From: David Feng Linux-arm64 require that CNTVOFF_EL2 should be programmed with a consistent value on all cpus. Initializing CNTVOFF_EL2 at state transition instead of start.S could prevent potential different value on cpus if ATF exist and u-boot runs at only one cpu. Signed-off-by: David Feng

Re: [U-Boot] [RFC PATCH v4 21/23] sandbox: eth: Add a bridge to a real network for sandbox

2015-03-01 Thread Joe Hershberger
On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: > > On 24 February 2015 at 17:02, Joe Hershberger wrote: > > Implement a bridge between u-boot's network stack and Linux's raw packet > > API allowing the sandbox to send and receive packets using the host > > machine's network interface. > > >

Re: [U-Boot] [RFC PATCH v4 23/23] sandbox: eth: Add support for using the 'lo' interface

2015-03-01 Thread Joe Hershberger
On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: > > Hi Joe, > > On 24 February 2015 at 17:02, Joe Hershberger wrote: > > The 'lo' interface on Linux doesn't support thinks like ARP or > > link-layer access like we use to talk to a normal network interface. > > A higher-level network API must

Re: [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again

2015-03-01 Thread Heiko Schocher
Hello Simon, Am 24.02.2015 14:31, schrieb Simon Glass: Hi Heiko, On 23 February 2015 at 23:18, Heiko Schocher wrote: a6b541b090: TI ARMv7: Don't use GD before crt0.S has set it moves the init of the debug uart at the very end of SPL code. Enable it for the siemens board earlier, as they prin

Re: [U-Boot] [RFC PATCH v4 12/23] dm: eth: Add basic driver model support to Ethernet stack

2015-03-01 Thread Simon Glass
Hi Joe, On 1 March 2015 at 14:45, Joe Hershberger wrote: > Hi Simon, > > On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: >> >> Hi Joe, >> >> On 24 February 2015 at 17:02, Joe Hershberger >> wrote: >> > First just add support for MAC drivers. >> > >> > Signed-off-by: Joe Hershberger >> >> R

Re: [U-Boot] [RFC PATCH v4 10/23] net: Make netretry actually do something

2015-03-01 Thread Simon Glass
Hi Joe, On 1 March 2015 at 14:53, Joe Hershberger wrote: > Hi Simon, > > > On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: >> >> Hi Joe, >> >> On 24 February 2015 at 17:02, Joe Hershberger >> wrote: >> > netretry previously would only retry in one specific case (your MAC >> > address is not

Re: [U-Boot] [RFC PATCH v4 16/23] dm: eth: Add support for aliases

2015-03-01 Thread Simon Glass
Hi Joe, On 1 March 2015 at 15:04, Joe Hershberger wrote: > > > On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: >> >> Hi Joe, >> >> On 24 February 2015 at 17:02, Joe Hershberger >> wrote: >> > Allow network devices to be referred to as "eth0" instead of >> > "eth@12345678" when specified in

Re: [U-Boot] [RFC PATCH v4 02/23] common: Make sure arch-specific map_sysmem() is defined

2015-03-01 Thread Simon Glass
Hi Joe, On 1 March 2015 at 14:16, Joe Hershberger wrote: > Hi Simon, > > > On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: >> >> Hi Joe, >> >> On 24 February 2015 at 17:02, Joe Hershberger >> wrote: >> > In the case where the arch defines a custom map_sysmem(), make sure that >> > including

Re: [U-Boot] [RFC PATCH v4 0/23] Add Driver Model support to network stack

2015-03-01 Thread Simon Glass
Hi Joe, On 1 March 2015 at 15:12, Joe Hershberger wrote: > On Sun, Mar 1, 2015 at 10:13 AM, Simon Glass wrote: >> >> Hi Joe, >> >> On 24 February 2015 at 17:02, Joe Hershberger >> wrote: >> > Add support for the Ethernet MAC controllers. Phy support will come >> > later. >> > >> > I am still l

Re: [U-Boot] please pull u-boot-samsung master

2015-03-01 Thread Minkyu Kang
On 02/03/15 11:07, Tom Rini wrote: > On Sat, Feb 28, 2015 at 07:06:11PM +0900, Minkyu Kang wrote: > >> Dear Tom, >> >> The following changes since commit 1606b34aa50804227806971dbb6b82ea0bf81f55: >> >> Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-02-25 >> 18:14:18 -0500) >>

Re: [U-Boot] please pull u-boot-samsung master

2015-03-01 Thread Tom Rini
On Sat, Feb 28, 2015 at 07:06:11PM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit 1606b34aa50804227806971dbb6b82ea0bf81f55: > > Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-02-25 > 18:14:18 -0500) > > are available in the git repository at:

[U-Boot] Housekeeping

2015-03-01 Thread Tom Rini
Hey all, I'll have more to say Monday morning (US) but since I see a lot of pull requests coming in now that (unrelated!) the mailing list is un-stuck I want to let everyone know that while my email address has changed my commitment to U-Boot has not. Please use tr...@konsulko.com instead of my T

Re: [U-Boot] Pull request: u-boot-sh/rmobile

2015-03-01 Thread Nobuhiro Iwamatsu
Add Tom's other mail address. 2015-03-02 10:47 GMT+09:00 Nobuhiro Iwamatsu : > Dear Tom Rini. > > Please pull u-boot-sh rmobile branch. > > The following changes since commit 50bb94c9496113c8bb588c4d82f3d6c61279dc02: > > OMAP3: igep0032: Fix regression due commit f3b4bc45. (2015-02-24 > 17:04:00

Re: [U-Boot] Pull request: u-boot-sh/master

2015-03-01 Thread Nobuhiro Iwamatsu
Add Tom's other mail address. 2015-03-02 10:25 GMT+09:00 Nobuhiro Iwamatsu : > Dear Tom Rini. > > Please pull u-boot-sh master branch. > > The following changes since commit 50bb94c9496113c8bb588c4d82f3d6c61279dc02: > > OMAP3: igep0032: Fix regression due commit f3b4bc45. (2015-02-24 > 17:04:00

[U-Boot] Pull request: u-boot-sh/rmobile

2015-03-01 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh rmobile branch. The following changes since commit 50bb94c9496113c8bb588c4d82f3d6c61279dc02: OMAP3: igep0032: Fix regression due commit f3b4bc45. (2015-02-24 17:04:00 -0500) are available in the git repository at: git://git.denx.de/u-boot-sh.git rmobile

[U-Boot] Pull request: u-boot-sh/master

2015-03-01 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh master branch. The following changes since commit 50bb94c9496113c8bb588c4d82f3d6c61279dc02: OMAP3: igep0032: Fix regression due commit f3b4bc45. (2015-02-24 17:04:00 -0500) are available in the git repository at: git://git.denx.de/u-boot-sh.git master

Re: [U-Boot] please pull u-boot-samsung master

2015-03-01 Thread Simon Glass
+Tom On 28 February 2015 at 03:06, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit 1606b34aa50804227806971dbb6b82ea0bf81f55: > > Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-02-25 > 18:14:18 -0500) > > are available in the git repository at: > > > h

Re: [U-Boot] [RFC PATCH v4 0/23] Add Driver Model support to network stack

2015-03-01 Thread Joe Hershberger
On Sun, Mar 1, 2015 at 10:13 AM, Simon Glass wrote: > > Hi Joe, > > On 24 February 2015 at 17:02, Joe Hershberger wrote: > > Add support for the Ethernet MAC controllers. Phy support will come later. > > > > I am still leaving this as an RFC because I plan to add real board support > > before co

Re: [U-Boot] [RFC PATCH v4 17/23] dm: eth: Add support for ethprime env var

2015-03-01 Thread Joe Hershberger
On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: > > Hi Joe, > > On 24 February 2015 at 17:02, Joe Hershberger wrote: > > The ethprime env var is used to indicate the starting device if none is > > specified in ethact. Also support aliases specified in the ethprime var. > > > > Signed-off-by:

Re: [U-Boot] [PATCH] sunxi: Machine id hack to prevent loading buggy sunxi-3.4 kernels

2015-03-01 Thread Siarhei Siamashka
On Sat, 28 Feb 2015 16:18:16 + Ian Campbell wrote: > On Sat, 2015-02-21 at 11:49 +0100, Hans de Goede wrote: > > On 21-02-15 11:26, Ian Campbell wrote: > > > Speaking of which, if someone were to identify a suitable set of > > > simple-fb backports for 3.16 and they are reasonably self contai

Re: [U-Boot] [RFC PATCH v4 16/23] dm: eth: Add support for aliases

2015-03-01 Thread Joe Hershberger
On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: > > Hi Joe, > > On 24 February 2015 at 17:02, Joe Hershberger wrote: > > Allow network devices to be referred to as "eth0" instead of > > "eth@12345678" when specified in ethact. > > > > Add tests to verify this behavior. > > > > Signed-off-by:

Re: [U-Boot] [RFC PATCH v4 10/23] net: Make netretry actually do something

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: > > Hi Joe, > > On 24 February 2015 at 17:02, Joe Hershberger wrote: > > netretry previously would only retry in one specific case (your MAC > > address is not set) and no other. This is basically useless. In the DM > > implementation

Re: [U-Boot] [RFC PATCH v4 12/23] dm: eth: Add basic driver model support to Ethernet stack

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: > > Hi Joe, > > On 24 February 2015 at 17:02, Joe Hershberger wrote: > > First just add support for MAC drivers. > > > > Signed-off-by: Joe Hershberger > > Reviewed-by: Simon Glass > > This looks right to me. I still have some comme

Re: [U-Boot] [RFC] sunxi: Support uploading 'boot.scr' to RAM over USB OTG in FEL mode

2015-03-01 Thread Siarhei Siamashka
On Fri, 27 Feb 2015 16:39:45 + Ian Campbell wrote: > On Tue, 2015-02-24 at 04:48 +0200, Siarhei Siamashka wrote: > > In order to fully support booting the whole system over USB OTG > > without relying on anything else (MMC, SATA, USB sticks, ...), it > > is possible to upload the 'boot.scr' f

Re: [U-Boot] [PATCH v5] imx6: Added DEK blob generator command

2015-03-01 Thread Fabio Estevam
Hi Raul, On Fri, Feb 27, 2015 at 2:22 PM, wrote: > From: Raul Cardenas > > Freescale's SEC block has built-in Data Encryption > Key(DEK) Blob Protocol which provides a method for > protecting a DEK for non-secure memory storage. > SEC block protects data in a data structure called > a Secret Ke

Re: [U-Boot] [RFC PATCH v4 02/23] common: Make sure arch-specific map_sysmem() is defined

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 12:07 PM, Simon Glass wrote: > > Hi Joe, > > On 24 February 2015 at 17:02, Joe Hershberger wrote: > > In the case where the arch defines a custom map_sysmem(), make sure that > > including just common.h is sufficient to have these functions as they > > are when t

[U-Boot] [PATCH] sun7i: Add support for the MK808C board

2015-03-01 Thread codekipper
From: Marcus Cooper The MK808C is a Allwinner based Android TV dongle. It features a A20 SOC, 1G RAM, 8GB NAND, HDMI out, A/V out, 1 USB A, 1 USB mini OTG, Bluetooth and Wireless LAN. Signed-off-by: Marcus Cooper --- board/sunxi/MAINTAINERS | 5 + configs/MK808C_defconfig | 9 +

[U-Boot] [PATCH v1]dm : spi: Convert Freescale DSPI to driver model

2015-03-01 Thread haikun.w...@freescale.com
Move the Freescale DSPI driver over to driver model. Signed-off-by: Haikun Wang mailto:b53...@freescale.com>> --- This patch adds two new files drivers/spi/fsl_dspi.c and include/fsl_dspi.h. They will replace files drivers/spi/cf_spi.c and arch/m68k/include/asm/coldfire/dspi.h. I need submit pat

[U-Boot] [PATCH] sun6i: Add support for the Mele I7 board

2015-03-01 Thread codekipper
From: Marcus Cooper The Mele I7 is a Allwinner based Android TV box. It features a A31 SOC, 1G RAM, 8GB NAND, HDMI out, A/V out, SPDIF, IrDA, 3 USB A, 1 USB micro OTG and Wireless LAN. Signed-off-by: Marcus Cooper --- board/sunxi/MAINTAINERS | 5 + configs/Mele_I7_defconfig | 20 ++

Re: [U-Boot] Is patchwork down?

2015-03-01 Thread Tom Rini
On Sun, Mar 1, 2015 at 1:08 PM, Simon Glass wrote: > Hi, > > I don't see mailing list patches appearing as normal on patchwork. Good question, Jeremy, is something up? Thanks! -- Tom ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

Re: [U-Boot] MIPS UHI spec

2015-03-01 Thread Andrew Bresticker
On Fri, Feb 27, 2015 at 2:44 AM, Daniel Schwierzeck wrote: > 2015-02-26 19:23 GMT+01:00 Andrew Bresticker : >> Hi, >> >> On Thu, Feb 26, 2015 at 4:37 AM, Daniel Schwierzeck >> wrote: >>> 2015-02-26 11:17 GMT+01:00 Paul Burton : On Thu, Feb 19, 2015 at 01:50:23PM +, Matthew Fortune wrote:

[U-Boot] Basic A33 support including dram init available in my personal repo

2015-03-01 Thread Vishnu Patekar
Allwinner A33 tablets comes with the libdram binary, fortunately I've found the libdram code at https://github.com/realthunder/a33_bootloader/tree/master/basic_loader/bsp/bsp_for_a67. I've integrated it with mainline u-boot, still lot to do to post it to upstream Basic A33 support including dram

[U-Boot] [PATCH] atngwmkii: convert to generic board

2015-03-01 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- include/configs/atngw100mkii.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/atngw100mkii.h b/include/configs/atngw100mkii.h index 35eae76..eaed7ea 100644 --- a/include/configs/atngw100mkii.h +++ b/include/configs/atngw100mkii.h @@

[U-Boot] [PATCH 11/29] fdt: Rename setup_fdt() and make it prepare also

2015-03-01 Thread Simon Glass
There is little reason to split these two functions. Bring them together which simplifies the init sequence. Signed-off-by: Simon Glass --- common/board_f.c | 5 + include/fdtdec.h | 2 +- lib/fdtdec.c | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/common/board

Re: [U-Boot] [PATCH] spi: designware_spi: revisit FIFO size detection again

2015-03-01 Thread Pavel Machek
On Thu 2015-02-26 10:45:22, Axel Lin wrote: > By specification the FIFO size would be in a range 2-256 bytes. From TX Level > prospective it means we can set threshold in the range 0-(FIFO size - 1) > bytes. > Hence there are currently two issues: > a) FIFO size 2 bytes is actually skipped since

Re: [U-Boot] [PATCH] cmd_usb_mass_storage: Remove extra 'ums' string in the usage text

2015-03-01 Thread Soeren Moch
Hi Fabio, On 28.02.2015 17:04, Fabio Estevam wrote: > Hi Soeren, > > On Fri, Feb 27, 2015 at 10:20 AM, Soeren Moch wrote: >>> Currently the usage text for the 'ums' command looks like this: >>> >>> Usage: >>> ums ums [] e.g. ums 0 mmc 0 >>> >>> ,so remove the extra 'ums' in the text. >>> >>>

Re: [U-Boot] [PATCH v4 02/14] ARM: Factor out armv7_get_cpu_id macro

2015-03-01 Thread Marc Zyngier
On Fri, 27 Feb 2015 13:28:01 + Jan Kiszka wrote: > Handy for obtaining the ID of the current CPU. We will have more use > cases. > > CC: Marc Zyngier > Signed-off-by: Jan Kiszka > --- > arch/arm/cpu/armv7/sunxi/psci.S | 4 ++-- > arch/arm/include/asm/macro.h| 7 +++ > 2 files chan

Re: [U-Boot] [PATCH 5/6] pxe: Ensure all memory access is to mapped memory

2015-03-01 Thread Simon Glass
Hi Sjoerd, On 28 February 2015 at 07:12, Sjoerd Simons wrote: > On Fri, 2015-02-20 at 12:23 -0700, Simon Glass wrote: >> Hi Sjoerd, >> >> On 19 February 2015 at 15:41, Sjoerd Simons >> wrote: >> > Properly map memory through map_sysmem so that pxe can be used from the >> > sandbox. >> > >> > Sig

Re: [U-Boot] [PATCH v2 2/2] cmd_usb_mass_storage: Use 'USB Mass Storage' in the help text

2015-03-01 Thread Marek Vasut
On Saturday, February 28, 2015 at 07:11:46 PM, Fabio Estevam wrote: > From: Fabio Estevam > > USB Mass Storage is the standard name, so let's use it here. > > Suggested-by: Soeren Moch > Signed-off-by: Fabio Estevam Acked-by: Marek Vasut Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH V2 8/9] configs: ti_omap3_common: Enable workaround for ARM errata 454179, 430973, 621766

2015-03-01 Thread Paul Kocialkowski
Le mercredi 25 février 2015 à 23:11 -0600, Nishanth Menon a écrit : > On 02/25/2015 03:23 PM, Paul Kocialkowski wrote: > > Le mercredi 25 février 2015 à 08:32 -0600, menon.nisha...@gmail.com a > [...] > >> That said, Paul, if you could contribute patches to the effect of > >> integrating all these

Re: [U-Boot] [PATCH v4 00/11] Add support for booting multiple cores

2015-03-01 Thread Minkyu Kang
On 20/02/15 16:57, Akshay Saraswat wrote: > This patch series introduces changes for booting secondary CPUs > on Exynos5420 and Exynos5800. > > Changes since v3: > - Patch 2 & 3 : Added errata number in comments. > - Patch 2 & 3 : Moved changes to ARM generic file. > - Patch 6 :

Re: [U-Boot] [PATCH v4 03/14] ARM: Factor out reusable psci_cpu_off_common

2015-03-01 Thread Marc Zyngier
On Fri, 27 Feb 2015 13:28:02 + Jan Kiszka wrote: > Move parts of sunxi's psci_cpu_off into psci_cpu_off_common, namely > cache disabling and flushing, clrex and the disabling of SMP for the > dying CPU. These steps are apparently generic for ARMv7 and will be > reused for Tegra124 support. >

[U-Boot] [PATCH v5] imx6: Added DEK blob generator command

2015-03-01 Thread Ulises.Cardenas
From: Raul Cardenas Freescale's SEC block has built-in Data Encryption Key(DEK) Blob Protocol which provides a method for protecting a DEK for non-secure memory storage. SEC block protects data in a data structure called a Secret Key Blob, which provides both confidentiality and integrity protect

[U-Boot] [PATCH 23/29] rockchip: Bring in RK3288 device tree file includes and bindings

2015-03-01 Thread Simon Glass
Bring in required device tree files from Linux. Since mainline Linux is somewhat behind, use the files from the Chromium tree. We can re-sync once further code is acccepted upstream. Signed-off-by: Simon Glass --- arch/arm/dts/rk3288-thermal.dtsi | 90 ++ arch/arm/dts/rk3288

[U-Boot] [PATCH] kconfig: remove unneeded U-Boot extension code

2015-03-01 Thread Masahiro Yamada
This code was introduced to support the multiple .config configuration in U-Boot. We do not need it any more. Signed-off-by: Masahiro Yamada --- scripts/kconfig/confdata.c | 8 1 file changed, 8 deletions(-) diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index a

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2015-03-01 Thread Simon Glass
Hi Sjoerd, On 25 February 2015 at 17:12, Sjoerd Simons wrote: > Hey Simon, > > Incidentally i got acces to a Nyan big and wanted to start testing > u-boot on it. Unfortunately putting a uImage in a vboot signed blob to > chainload it from the primary bootloader like on the exynos based > chromebo

[U-Boot] [PATCH 22/29] dm: rockchip: Add serial support

2015-03-01 Thread Simon Glass
Add support for the Rockchip serial device using the ns16550 driver. This uses driver model and device tree for both SPL and U-Boot proper. Signed-off-by: Simon Glass --- drivers/serial/Kconfig | 9 + drivers/serial/Makefile | 1 + drivers/serial/serial_rockchip.c |

[U-Boot] [PATCH 01/29] serial: ns16550: Add an option to specify the debug UART register shift

2015-03-01 Thread Simon Glass
This UART permits different register spacing. To support the debug UART on devices which have a spacing other than 1 byte, allow the shift value to be specified. Signed-off-by: Simon Glass --- drivers/serial/Kconfig | 10 ++ drivers/serial/ns16550.c | 25 +++-- 2 f

[U-Boot] [PATCH 05/29] fdt: arm: Drop device tree padding

2015-03-01 Thread Simon Glass
The 4KB padding doesn't seem necessary since we don't normally adjust the control device tree file within U-Boot. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index fac16cc.

[U-Boot] [PATCH 19/29] dm: serial: Don't support CONFIG_CONS_INDEX with device tree

2015-03-01 Thread Simon Glass
This feature should be deprecated for new boards, and significantly adds to SPL code size. Drop it. Instead, we can use stdout-path in the /chosen node. Signed-off-by: Simon Glass --- drivers/serial/serial-uclass.c | 69 ++ 1 file changed, 37 insertions(+

Re: [U-Boot] Is patchwork down?

2015-03-01 Thread Simon Glass
Actually, I notice that the U-Boot mailing list archives are not updating. - Simon On 1 March 2015 at 11:21, Tom Rini wrote: > On Sun, Mar 1, 2015 at 1:08 PM, Simon Glass wrote: >> Hi, >> >> I don't see mailing list patches appearing as normal on patchwork. > > Good question, Jeremy, is someth

[U-Boot] Is patchwork down?

2015-03-01 Thread Simon Glass
Hi, I don't see mailing list patches appearing as normal on patchwork. Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH v4 21/23] sandbox: eth: Add a bridge to a real network for sandbox

2015-03-01 Thread Simon Glass
On 24 February 2015 at 17:02, Joe Hershberger wrote: > Implement a bridge between u-boot's network stack and Linux's raw packet > API allowing the sandbox to send and receive packets using the host > machine's network interface. > > This raw Ethernet API requires elevated privileges. You can eith

Re: [U-Boot] [RFC PATCH v4 06/23] net: Refactor in preparation for driver model

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > Move some things around and organize things so that the driver model > implementation will fit in more easily. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass > > --- > > Changes in v4: > -Fix compile regression in !DM

Re: [U-Boot] [RFC PATCH v4 17/23] dm: eth: Add support for ethprime env var

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > The ethprime env var is used to indicate the starting device if none is > specified in ethact. Also support aliases specified in the ethprime var. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass > > --- > > Changes in

Re: [U-Boot] [RFC PATCH v4 13/23] sandbox: eth: Add network support to sandbox

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > Add basic network support to sandbox which includes a network driver. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass > > --- > > Changes in v4: > -Cleaned up sandbox EXTRA_ENV define > -Moved config to Kconfig > > Cha

Re: [U-Boot] [RFC PATCH v4 20/23] test: dm: net: Add a test of the netretry behavior

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > The effect of the "netretry" env var was recently changed. This test > checks that behavior. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v4: > -Updated expected behavior based on changes to the NetLoop > > Changes in v3

Re: [U-Boot] [RFC PATCH v4 23/23] sandbox: eth: Add support for using the 'lo' interface

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > The 'lo' interface on Linux doesn't support thinks like ARP or > link-layer access like we use to talk to a normal network interface. > A higher-level network API must be used to access localhost. > > As written, this interface is lim

Re: [U-Boot] [RFC PATCH v4 19/23] sandbox: eth: Add ability to disable ping reply in sandbox eth driver

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > This is needed to test the netretry functionality (make the command fail > on a sandbox eth device). > > Signed-off-by: Joe Hershberger > Rather than using environment variables to communicate, you should use a function call into th

Re: [U-Boot] [RFC PATCH v4 22/23] sandbox: Enable DHCP and IP defrag

2015-03-01 Thread Simon Glass
On 24 February 2015 at 17:02, Joe Hershberger wrote: > This is now testable via the eth-raw interface > > Signed-off-by: Joe Hershberger > > --- > > Changes in v4: > -New to v4 > > Changes in v3: None > Changes in v2: None > > include/configs/sandbox.h | 8 > 1 file changed, 8 insertion

Re: [U-Boot] [RFC PATCH v4 18/23] test: dm: eth: Add testing for ethrotate env var

2015-03-01 Thread Simon Glass
On 24 February 2015 at 17:02, Joe Hershberger wrote: > Make sure that the ethrotate behavior occurs as expected. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/li

Re: [U-Boot] [RFC PATCH v4 12/23] dm: eth: Add basic driver model support to Ethernet stack

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > First just add support for MAC drivers. > > Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass This looks right to me. I still have some comments on error handling, but I'm OK with you addressing these in a follow-on patch if

Re: [U-Boot] [RFC PATCH v4 16/23] dm: eth: Add support for aliases

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > Allow network devices to be referred to as "eth0" instead of > "eth@12345678" when specified in ethact. > > Add tests to verify this behavior. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass Again a few comments on e

Re: [U-Boot] [RFC PATCH v4 11/23] net: Access mapped physmem in net functions

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > Previously the net functions would access memory assuming physmem did > not need to be mapped. In sandbox, that's not the case. > > Now we map the physmem specified by the user in loadaddr to the buffer > that represents that space.

Re: [U-Boot] [PATCH] serial: ns16550: Fix build error due to a typo

2015-03-01 Thread Simon Glass
On 28 February 2015 at 00:55, Axel Lin wrote: > Fix trivial typo. > > Signed-off-by: Axel Lin > --- > drivers/serial/ns16550.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] U-Boot stuck after relocation attempt on MX51 board

2015-03-01 Thread Fabio Estevam
Hi Albert, On Sun, Mar 1, 2015 at 12:30 PM, Albert ARIBAUD wrote: > Another point is that just skipping vectors relocation is akin to > papering over the issue. If there is any change done in U-Boot, I would > like it to actually ensure that exception handlers are actually called, > as I did wit

Re: [U-Boot] [RFC PATCH v4 10/23] net: Make netretry actually do something

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > netretry previously would only retry in one specific case (your MAC > address is not set) and no other. This is basically useless. In the DM > implementation for eth it turns this into a completely useless case > since an un-configure

Re: [U-Boot] [RFC PATCH v4 09/23] net: Remove the bd* parameter from net stack functions

2015-03-01 Thread Simon Glass
On 24 February 2015 at 17:02, Joe Hershberger wrote: > This value is not used by the network stack and is available in the > global data, so stop passing it around. For the one legacy function > that still expects it (init op on old Ethernet drivers) pass in the > global pointer version directly

Re: [U-Boot] [RFC PATCH v4 02/23] common: Make sure arch-specific map_sysmem() is defined

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > In the case where the arch defines a custom map_sysmem(), make sure that > including just common.h is sufficient to have these functions as they > are when the arch does not override it. > > Signed-off-by: Joe Hershberger > > --- > >

Re: [U-Boot] [PATCH] board: tbs2910: Enable USB Mass Storage support

2015-03-01 Thread Fabio Estevam
On Thu, Feb 26, 2015 at 3:50 PM, Soeren Moch wrote: > Add USB Mass Storage support. This is useful for flashing the on-board eMMC. > > Signed-off-by: Soeren Moch Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] [RFC PATCH 12/13] dm: sunxi: Support driver model for Ethernet

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass wrote: > > Adjust the Ethernet initialisation code to support driver model. > It is no-longer necessary to call designware_initialize(). The device will > be probed when it is used. The PHY type and GMAC base will come from the > device tree.

Re: [U-Boot] [RFC PATCH 09/13] dm: net: Adjust PHY interface to work with CONFIG_DM_ETH

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass wrote: > > When driver model is used for Ethernet a few functions are passed a udevice > instead of an eth_device. Also add a function to find a PHY type given its > name. This will be used to decode the device tree node. I'm a little surpri

Re: [U-Boot] [RFC PATCH 10/13] dm: net: Tidy up designware driver ready for driver model

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass wrote: > > Adjust the error handling to use errno.h instead of returning -1. Change > leaf functions to pass in the arguments they require rather than struct > eth_device. Apart from simplifying the code it makes is easier to reuse > these fu

Re: [U-Boot] [RFC PATCH 11/13] dm: net: Adjust designware driver to support driver model

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass wrote: > > Add driver model support to the designware driver. This reuses most of the > existing code except for some duplication in the probe() method. > > Signed-off-by: Simon Glass Acked-by: Joe Hershberger _

Re: [U-Boot] [RFC PATCH 04/13] Kconfig: Move CONFIG_DESIGNWARE_ETH to Kconfig

2015-03-01 Thread Joe Hershberger
On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass wrote: > > Move this to Kconfig and clean up board config files that use it. Also > rename it to CONFIG_ETH_DESIGNWARE to fit with the naming that exists > in drivers/net/Kconfig. > > Signed-off-by: Simon Glass Acked-by: Joe Hershberger _

Re: [U-Boot] [RFC PATCH 07/13] dm: net: Use existing Ethernet init for driver model

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass wrote: > > At present even with driver model is used there is still much manual init > of related devices: PHY, environment and board init. Until these requirements > are dealt with in another way we need to keep them around. That's a good i

Re: [U-Boot] [RFC PATCH 08/13] Avoid calling print_eths() with driver model

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass wrote: > > This function is not supported with driver model. Again, sorry about this... I hadn't yet addressed ARM with DM_ETH enabled. > Note: There is really no reason for this as far as I can see. At some point > we should bring it back.

Re: [U-Boot] [RFC PATCH 02/13] net: Fix eth_get_dev_by_name() warning

2015-03-01 Thread Joe Hershberger
Hi Simon, On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass wrote: > > This can return either udevice or eth_device, so deal with either. > > Signed-off-by: Simon Glass > --- > > net/eth.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/eth.c b/net/eth.c > index 3b3cd84.

[U-Boot] [RFC PATCH 11/13] dm: net: Adjust designware driver to support driver model

2015-03-01 Thread Simon Glass
Add driver model support to the designware driver. This reuses most of the existing code except for some duplication in the probe() method. Signed-off-by: Simon Glass --- drivers/net/designware.c | 107 +++ drivers/net/designware.h | 3 +- 2 files c

[U-Boot] [RFC PATCH 04/13] Kconfig: Move CONFIG_DESIGNWARE_ETH to Kconfig

2015-03-01 Thread Simon Glass
Move this to Kconfig and clean up board config files that use it. Also rename it to CONFIG_ETH_DESIGNWARE to fit with the naming that exists in drivers/net/Kconfig. Signed-off-by: Simon Glass --- arch/arm/cpu/arm926ejs/spear/cpu.c | 2 +- arch/arm/cpu/armv7/socfpga/misc.c | 2 +

[U-Boot] [RFC PATCH 13/13] dm: sunxi: Use driver model for Ethernet on Linksprite pcDuino3

2015-03-01 Thread Simon Glass
Switch this board over to use driver model for Ethernet Cover-letter RFC: dm: net: Conversion patches for sunxi driver model Ethernet This series is for Joe Hershberger. It is based on his RFC driver model Ethernet implementation, and enables it for the pcDuino3. END Signed-off-by: Simon Glass -

[U-Boot] [RFC PATCH 06/13] dm: core: Support allocating driver-private data for DMA

2015-03-01 Thread Simon Glass
Some driver want to put DMA buffers in their private data. Add a flag to tell driver model to align driver-private data to a cache boundary so that DMA will work correctly in this case. Signed-off-by: Simon Glass --- drivers/core/device.c | 11 ++- include/dm/device.h | 3 +++ 2 file

[U-Boot] [RFC PATCH 10/13] dm: net: Tidy up designware driver ready for driver model

2015-03-01 Thread Simon Glass
Adjust the error handling to use errno.h instead of returning -1. Change leaf functions to pass in the arguments they require rather than struct eth_device. Apart from simplifying the code it makes is easier to reuse these functions for driver model, since mostly they actually only use struct dw_et

[U-Boot] [RFC PATCH 05/13] dts: sunxi: Bring in Ethernet device tree bindings

2015-03-01 Thread Simon Glass
Since we will use these bindings on sunxi, bring them in from Linux 4.0-rc1. Signed-off-by: Simon Glass --- .../net/allwinner,sun4i-emac.txt | 19 +++ .../net/allwinner,sun4i-mdio.txt | 27 ++ .../net/allwinner,sun7i-a20-gmac.txt | 2

[U-Boot] [PATCH 03/29] dm: ns16550: Support CONFIG_SYS_NS16550_MEM32 with driver model

2015-03-01 Thread Simon Glass
This option is used by some boards, so support it with driver model. This is really ugly - we should rewrite this driver once all users are moved to driver model. Signed-off-by: Simon Glass --- drivers/serial/ns16550.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/serial/n

[U-Boot] [RFC PATCH 08/13] Avoid calling print_eths() with driver model

2015-03-01 Thread Simon Glass
This function is not supported with driver model. Note: There is really no reason for this as far as I can see. At some point we should bring it back. Signed-off-by: Simon Glass --- common/cmd_bdinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_bdinfo.c b/co

[U-Boot] [RFC PATCH 12/13] dm: sunxi: Support driver model for Ethernet

2015-03-01 Thread Simon Glass
Adjust the Ethernet initialisation code to support driver model. It is no-longer necessary to call designware_initialize(). The device will be probed when it is used. The PHY type and GMAC base will come from the device tree. Signed-off-by: Simon Glass --- board/sunxi/gmac.c | 11 --- 1

[U-Boot] [RFC PATCH 09/13] dm: net: Adjust PHY interface to work with CONFIG_DM_ETH

2015-03-01 Thread Simon Glass
When driver model is used for Ethernet a few functions are passed a udevice instead of an eth_device. Also add a function to find a PHY type given its name. This will be used to decode the device tree node. Finally, put a phy_interface field in struct eth_pdata since this is an important part of t

[U-Boot] [PATCH 14/29] fdt: Add an option to disable device tree in SPL

2015-03-01 Thread Simon Glass
Some boards cannot support device tree due to lack of memory. Add an option to allow these boards to continue to work (and even use driver model). This is a 'negative' option since most boards are expected to support device tree in SPL. Signed-off-by: Simon Glass --- dts/Kconfig | 11 --

[U-Boot] [RFC PATCH 07/13] dm: net: Use existing Ethernet init for driver model

2015-03-01 Thread Simon Glass
At present even with driver model is used there is still much manual init of related devices: PHY, environment and board init. Until these requirements are dealt with in another way we need to keep them around. Break out the init portion of the legacy eth_initialize() into a separate function and

[U-Boot] [RFC PATCH 02/13] net: Fix eth_get_dev_by_name() warning

2015-03-01 Thread Simon Glass
This can return either udevice or eth_device, so deal with either. Signed-off-by: Simon Glass --- net/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/eth.c b/net/eth.c index 3b3cd84..4d7f9a2 100644 --- a/net/eth.c +++ b/net/eth.c @@ -914,7 +914,7 @@ void eth_set_cu

[U-Boot] [RFC PATCH 01/13] Use 'U-Boot' instead of 'U-boot' in CONFIG_BOOTP_VCI_STRING

2015-03-01 Thread Simon Glass
This string seems wrong - U-Boot is normally written with a capital B. Signed-off-by: Simon Glass --- include/config_distro_defaults.h| 4 ++-- include/configs/ls2085a_common.h| 2 +- include/configs/vexpress_aemv8a.h | 2 +- include/configs/vexpress_ca15_tc2.h | 2 +- include/configs

[U-Boot] [RFC PATCH 03/13] sunxi: Replace the pcDuino3 config with FDT version

2015-03-01 Thread Simon Glass
We currently have Linksprite_pcDuino3 and Linksprite_pcDuino3_fdt. Drop the former in favour of the latter. Signed-off-by: Simon Glass --- configs/Linksprite_pcDuino3_defconfig | 9 + configs/Linksprite_pcDuino3_fdt_defconfig | 18 -- 2 files changed, 9 insertions(+

[U-Boot] [PATCH 28/29] rockchip: Add the beginnings of an image tool

2015-03-01 Thread Simon Glass
Rockchip SoCs require certain formats for code that they execute, The simplest format is a 4-byte header at the start of a binary file. Add support for this intiially. Signed-off-by: Simon Glass --- common/image.c | 1 + include/image.h | 3 ++- tools/Makefile | 1 + tools/rkimage.c | 63 +

Re: [U-Boot] [RFC PATCH v4 0/23] Add Driver Model support to network stack

2015-03-01 Thread Simon Glass
Hi Joe, On 24 February 2015 at 17:02, Joe Hershberger wrote: > Add support for the Ethernet MAC controllers. Phy support will come later. > > I am still leaving this as an RFC because I plan to add real board support > before committing to mainline. When it is acceptable / accepted, I will push

Re: [U-Boot] [PATCH 2/2] mx35: Fix boot hang by avoiding vector relocation

2015-03-01 Thread Stefano Babic
Hi Fabio, On 23/02/2015 13:09, Fabio Estevam wrote: > Since commit 3ff46cc42b9d73d0 ("arm: relocate the exception vectors") mx35 > does not boot anymore. > > Add a specific relocate_vectors macro that skips the vector relocation, as the > i.MX35 SoC does not provide RAM at the high vectors addres

Re: [U-Boot] U-Boot stuck after relocation attempt on MX51 board

2015-03-01 Thread Albert ARIBAUD
Hello Fabio, On Sat, 28 Feb 2015 12:56:25 -0300, Fabio Estevam wrote: > Hi Benoît, > > On Thu, Feb 26, 2015 at 6:10 PM, Benoît Thébaudeau > wrote: > > > That's because CONFIG_HAS_VBAR is set for ARMv7. There may be an > > issue, though: according to Freescale, the TrustZone security > > extens

[U-Boot] [PATCH 4/4] stm32f4: Add support for stm32f429-discovery board

2015-03-01 Thread Kamil Lulko
Signed-off-by: Kamil Lulko --- arch/arm/Kconfig | 5 + board/st/stm32f429-discovery/Kconfig | 19 ++ board/st/stm32f429-discovery/MAINTAINERS | 6 + board/st/stm32f429-discovery/Makefile | 12 + board/st/stm32f429-discov

[U-Boot] [PATCH 2/4] ARMv7M: Add STM32F4 support

2015-03-01 Thread Kamil Lulko
Signed-off-by: Kamil Lulko --- arch/arm/cpu/armv7m/Makefile | 1 + arch/arm/cpu/armv7m/stm32f4/Makefile | 11 ++ arch/arm/cpu/armv7m/stm32f4/clock.c | 209 ++ arch/arm/cpu/armv7m/stm32f4/flash.c | 143 arch/arm/cpu/

  1   2   >