Re: [U-Boot] [PATCH 1/3] nds32: mmc: Support ftsdc010 DM.

2017-05-30 Thread Jaehoon Chung
On 05/31/2017 10:36 AM, Andes wrote: > From: rick > > Support Andestech ftsdc010 SD/MMC device tree flow > on AG101P/AE3XX platforms. > > Signed-off-by: rick > --- > drivers/mmc/Kconfig| 12 > drivers/mmc/Makefile |1 + > drivers/mmc/ftsdc010_mci.c | 140 > ++

Re: [U-Boot] [PATCH 08/11] dwc3: Add support for USB device boot

2017-05-30 Thread Vignesh R
On Wednesday 31 May 2017 09:20 AM, Simon Glass wrote: > On 23 May 2017 at 05:55, Vignesh R wrote: >> Add support to for USB device boot for dwc3 gadget, so that RNDIS can be >> used in SPL to download next stage. >> Provide a way to read MAC address for usb_ether device from board >> function. >

Re: [U-Boot] [PATCH 1/5] mmc: sh_sdhi: Fix Kconfig entry

2017-05-30 Thread Nobuhiro Iwamatsu
Hi! 2017-05-31 11:06 GMT+09:00 Jaehoon Chung : > On 05/31/2017 07:59 AM, Nobuhiro Iwamatsu wrote: >> Hi, Jaehoon. >> >> Could you pickup this patch series to your mmc repository, and PR to u-boot? > > Sure, I will pick this patch series. After that, i will do PR.. > But i have sent the PR about a

Re: [U-Boot] [PATCH 05/11] drivers: usb: dwc3: add ti dwc3 misc driver for wrapper

2017-05-30 Thread Vignesh R
Hi, On Wednesday 31 May 2017 09:20 AM, Simon Glass wrote: > On 23 May 2017 at 05:55, Vignesh R wrote: >> From: Mugunthan V N >> >> Add a misc driver for DWC3 wrapper, so that based on dr_mode the >> USB devices can bind to USB host or USB device drivers. >> >> Signed-off-by: Mugunthan V N >> Si

Re: [U-Boot] [PATCH 05/11] drivers: usb: dwc3: add ti dwc3 misc driver for wrapper

2017-05-30 Thread Vignesh R
Hi, On Wednesday 31 May 2017 09:20 AM, Simon Glass wrote: > On 23 May 2017 at 05:55, Vignesh R wrote: >> From: Mugunthan V N >> >> Add a misc driver for DWC3 wrapper, so that based on dr_mode the >> USB devices can bind to USB host or USB device drivers. >> >> Signed-off-by: Mugunthan V N >> Si

Re: [U-Boot] __FILE__ usage and and SPL limits for SRAM

2017-05-30 Thread Masahiro Yamada
Hi Tom 2017-05-23 10:27 GMT+09:00 Tom Rini : >> > >> > >> > >> >> I can do this, but >> >> I'd like to move forward synced with Linux. >> >> >> >> >> >> Yesterday, I took some time to write patches >> >> and sent them to Linux ML. >> >> >> >> >> >> Plan A: >> >> https://lkml.org/lkml/2017/4/21/6

Re: [U-Boot] [PATCH 04/11] omap5/am57xx/dra7xx: board: do not register usb devices when CONFIG_DM_USB is defined

2017-05-30 Thread Simon Glass
On 23 May 2017 at 05:55, Vignesh R wrote: > From: Mugunthan V N > > Do not register usb devices when CONFIG_DM_USB is define. > > Signed-off-by: Mugunthan V N > Signed-off-by: Vignesh R > --- > board/ti/am57xx/board.c | 2 +- > board/ti/dra7xx/evm.c | 2 +- > board/ti/omap5_uevm/evm.c |

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

2017-05-30 Thread Simon Glass
Hi Tom, On 28 May 2017 at 05:55, Tom Rini wrote: > On Sat, May 27, 2017 at 04:01:29PM -0600, Simon Glass wrote: > >> Hi Tom, >> >> This is similar to the last attempt, but without this offending patch >> which will be replaced by a little series sent today: (I'll pull in >> that series later) >>

Re: [U-Boot] [PATCH 05/11] drivers: usb: dwc3: add ti dwc3 misc driver for wrapper

2017-05-30 Thread Simon Glass
On 23 May 2017 at 05:55, Vignesh R wrote: > From: Mugunthan V N > > Add a misc driver for DWC3 wrapper, so that based on dr_mode the > USB devices can bind to USB host or USB device drivers. > > Signed-off-by: Mugunthan V N > Signed-off-by: Vignesh R > --- > board/ti/am57xx/board.c | 11 -

Re: [U-Boot] [PATCH 3/3] rockchip: evb-rk3328: update board maintainer

2017-05-30 Thread Simon Glass
On 23 May 2017 at 01:01, Kever Yang wrote: > Update maintainer to Kever Yang for William Zhang is not > work for this board now. > > Signed-off-by: Kever Yang > --- > > board/rockchip/evb_rk3328/MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH 01/11] drivers: usb: dwc3: remove devm_zalloc from linux_compact

2017-05-30 Thread Simon Glass
+Masahiro On 23 May 2017 at 05:55, Vignesh R wrote: > From: Mugunthan V N > > devm_zalloc() is already defined in dm/device.h header, so > devm_zalloc can be removed from linux_compact.h beader file. > > Signed-off-by: Mugunthan V N > Signed-off-by: Vignesh R > --- > drivers/usb/dwc3/core.c

Re: [U-Boot] [PATCH 08/11] dwc3: Add support for USB device boot

2017-05-30 Thread Simon Glass
On 23 May 2017 at 05:55, Vignesh R wrote: > Add support to for USB device boot for dwc3 gadget, so that RNDIS can be > used in SPL to download next stage. > Provide a way to read MAC address for usb_ether device from board > function. > > Signed-off-by: Vignesh R > --- > drivers/usb/gadget/ether

Re: [U-Boot] [PATCH 03/11] am437x: board: do not register usb devices when CONFIG_DM_USB is defined

2017-05-30 Thread Simon Glass
On 23 May 2017 at 05:55, Vignesh R wrote: > From: Mugunthan V N > > Do not register usb devices when CONFIG_DM_USB is define. I suggest s/define/enabled/ Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/list

Re: [U-Boot] [PATCH 02/11] drivers: usb: dwc3-omap: move usb_gadget_handle_interrupts from board files to drivers

2017-05-30 Thread Simon Glass
On 23 May 2017 at 05:55, Vignesh R wrote: > From: Mugunthan V N > > In board files of am437x, dra7xx, omap5 and am5xx, > usb_gadget_handle_interrupts() is just a place holder to handle > dwc3 interrupts, nothing related to board is handled here, so > move usb_gadget_handle_interrupts() from board

Re: [U-Boot] [PATCH 06/11] drivers: usb: common: add support to get maximum speed from dt

2017-05-30 Thread Simon Glass
On 23 May 2017 at 05:55, Vignesh R wrote: > From: Mugunthan V N > > Add support to get maximum speed from dt so that usb drivers > makes use of it for DT parsing. > > Signed-off-by: Mugunthan V N > Signed-off-by: Vignesh R > --- > drivers/usb/common/common.c | 29 +

Re: [U-Boot] [PATCH 1/1] Kconfig: Add support for hash and sha1sum commands

2017-05-30 Thread Simon Glass
On 27 May 2017 at 08:59, Tom Rini wrote: > From: Daniel Thompson > > Currently these (board agnostic) commands cannot be selected using > menuconfig and friends. Fix this the obvious way. > > Signed-off-by: Daniel Thompson > [trini: Re-apply, add imply for a few cases, run moveconfig.py] > Signe

Re: [U-Boot] [PATCH 2/3] MAINTAINERS: rockchip: add board/rockchip as maintained entry

2017-05-30 Thread Simon Glass
On 23 May 2017 at 01:01, Kever Yang wrote: > Directory board/rockchip/ are all boards for Rockchip SoCs, > so add it to maintained entry. > > Signed-off-by: Kever Yang > --- > > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass ___

Re: [U-Boot] Fwd: arch/x86/cpu/x86_64/built-in.o: In function `checkcpu': (.text.checkcpu+0x0): multiple definition of `checkcpu' arch/x86/cpu/efi/built-in.o:(.text.checkcpu+0x0): first defined here

2017-05-30 Thread Simon Glass
Hi Jeroen, On 23 May 2017 at 01:58, Jeroen Roovers wrote: > On 16 May 2017 at 09:26, Bin Meng wrote: >>> So I needed to adapt it for a 64-bit target by enabling CONFIG_X86_RUN_64BIT >> >> CONFIG_X86_RUN_64BIT is supposed to be turned on a 64-bit U-Boot >> build, not for EFI application. > > Righ

Re: [U-Boot] [PATCH 1/3] MAINTAINERS, git-mailrc: update maintainer for Rockchip

2017-05-30 Thread Simon Glass
On 23 May 2017 at 01:01, Kever Yang wrote: > > Send patch to Kever Yang instead of Lin Huang for Rockchip patches, > for Lin is not always working on upstream U-Boot. > > Signed-off-by: Kever Yang > --- > > doc/git-mailrc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simo

Re: [U-Boot] RFC: Alternative command name for 'tftpput'

2017-05-30 Thread Simon Glass
Hi Joe, On 30 May 2017 at 13:38, Joe Hershberger wrote: > On Mon, May 22, 2017 at 6:55 AM, Stefan Roese wrote: >> Hi, >> >> I'm stumbling again over a problem introduced with the "tftpput" >> command and its naming, as it breaks some of the old scripts that >> I and others still use. As you know

[U-Boot] [PATCH v4 51/72] dm: clk: Update uclass to support livetree

2017-05-30 Thread Simon Glass
Update the clk uclass to support a live device tree. Signed-off-by: Simon Glass --- Changes in v4: - Update zynq clock driver to use the correct error number Changes in v3: None Changes in v2: None drivers/clk/clk-uclass.c | 17 +++-- drivers/clk/clk_zynq.c | 2 +- 2 files chan

[U-Boot] [PATCH v4 31/72] dm: gpio: Add live tree support

2017-05-30 Thread Simon Glass
Add support for requesting GPIOs with a live device tree. This involves adjusting the function signature for the legacy function gpio_request_by_name_nodev(), so fix up all callers. Signed-off-by: Simon Glass Fixes to stm32f746-disco.c: Signed-off-by: Tom Rini --- Changes in v4: - Update stm32

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-30 Thread Tom Rini
On Wed, May 31, 2017 at 10:27:23AM +0800, Eddie Cai wrote: > Hi Lukasz > > 2017-05-29 15:51 GMT+08:00 Lukasz Majewski : > > Good morning Eddie, > > > >> this patch enable rockusb support on rk3288 based device. > >> > >> Signed-off-by: Eddie Cai > >> Reviewed-by: Simon Glass > >> > > > > I've gi

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-30 Thread Eddie Cai
Hi Lukasz 2017-05-29 15:51 GMT+08:00 Lukasz Majewski : > Good morning Eddie, > >> this patch enable rockusb support on rk3288 based device. >> >> Signed-off-by: Eddie Cai >> Reviewed-by: Simon Glass >> > > I've give this patch set a try on travisCI: > > https://travis-ci.org/lmajewski/u-boot-dfu

[U-Boot] Please pull u-boot-fdt (take 3)

2017-05-30 Thread Simon Glass
Hi Tom, Here it is again! The following changes since commit 380e86f361e4e2aef83295972863654fde157560: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-05-26 11:19:27 -0400) are available in the git repository at: git://git.denx.de/u-boot-fdt.git for you to fetch changes up to 2650c70aff2b

Re: [U-Boot] [PATCH 1/4] arm: iproc: add NAND driver

2017-05-30 Thread Chris Packham
(trying newer address for Steve, sorry for the spam) > On Sat, Mar 12, 2016 at 9:18 AM, Scott Wood wrote: >> On Fri, 2016-03-11 at 12:13 -0800, Steve Rae wrote: >>> On Fri, Mar 11, 2016 at 11:55 AM, Scott Wood wrote: >>> > On Fri, 2016-03-11 at 11:47 -0800, Steve Rae wrote: >>> > > On Fri, Mar 1

Re: [U-Boot] [RFC] Question about nfs_read_reply()

2017-05-30 Thread Jaehoon Chung
Hi Joe, On 05/31/2017 05:37 AM, Joe Hershberger wrote: > On Mon, Apr 10, 2017 at 6:24 PM, Joe Hershberger > wrote: >> Hi Jaehoon, >> >> On Mon, Apr 10, 2017 at 5:23 AM, Jaehoon Chung >> wrote: >>> Dear Joe, >>> >>> I have a question about nfs. >>> I don't have a knowledge for NFS..So i don't k

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-05-30 Thread Tom Rini
On Mon, May 29, 2017 at 05:31:50PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches into u-boot/master? > I have tested the buildman..but if there is a problem, let me know, plz. > > The following changes since commit 380e86f361e4e2aef83295972863654fde157560: > > Merge

Re: [U-Boot] [PATCH v2 1/6] EFI: replace number with UUID_STR_LEN macro

2017-05-30 Thread Tom Rini
On Mon, May 29, 2017 at 09:49:28AM -0700, ali...@peloton-tech.com wrote: > From: Alison Chaiken > > Signed-off-by: Alison Chaiken Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx

Re: [U-Boot] [PATCH 1/5] mmc: sh_sdhi: Fix Kconfig entry

2017-05-30 Thread Jaehoon Chung
On 05/31/2017 07:59 AM, Nobuhiro Iwamatsu wrote: > Hi, Jaehoon. > > Could you pickup this patch series to your mmc repository, and PR to u-boot? Sure, I will pick this patch series. After that, i will do PR.. But i have sent the PR about a few days ago..but it doesn't accept yet.. After accepting

Re: [U-Boot] [PATCH 1/4] arm: iproc: add NAND driver

2017-05-30 Thread Chris Packham
On Sat, Mar 12, 2016 at 9:18 AM, Scott Wood wrote: > On Fri, 2016-03-11 at 12:13 -0800, Steve Rae wrote: >> On Fri, Mar 11, 2016 at 11:55 AM, Scott Wood wrote: >> > On Fri, 2016-03-11 at 11:47 -0800, Steve Rae wrote: >> > > On Fri, Mar 11, 2016 at 11:29 AM, Scott Wood wrote: >> > > > On Thu, 201

Re: [U-Boot] [PATCH] nds32: mmc: Support ftsdc010 DM.

2017-05-30 Thread rick
Hi Jaehoon Sorry for the late response because of the vacations. I have splitted it to 3 parts. Thanks Rick -Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jaehoon Chung Sent: Thursday, May 25, 2017 10:03 PM To: Open Source Project uboot; u-boot@lists

[U-Boot] [PATCH 2/3] nds32: dts: Support ftsdc010 DM.

2017-05-30 Thread Andes
From: rick Support Andestech ftsdc010 SD/MMC device tree flow on AG101P/AE3XX platforms. Signed-off-by: rick --- arch/nds32/dts/ae3xx.dts |8 arch/nds32/dts/ag101p.dts |8 2 files changed, 16 insertions(+) diff --git a/arch/nds32/dts/ae3xx.dts b/arch/nds32/dts/ae3xx

[U-Boot] [PATCH 3/3] nds32: board: Support ftsdc010 DM.

2017-05-30 Thread Andes
From: rick Support Andestech ftsdc010 SD/MMC device tree flow on AG101P/AE3XX platforms. Signed-off-by: rick --- board/AndesTech/adp-ae3xx/adp-ae3xx.c |4 +--- board/AndesTech/adp-ag101p/adp-ag101p.c |7 +-- configs/adp-ae3xx_defconfig |5 + configs/adp-ag101p

[U-Boot] [PATCH 1/3] nds32: mmc: Support ftsdc010 DM.

2017-05-30 Thread Andes
From: rick Support Andestech ftsdc010 SD/MMC device tree flow on AG101P/AE3XX platforms. Signed-off-by: rick --- drivers/mmc/Kconfig| 12 drivers/mmc/Makefile |1 + drivers/mmc/ftsdc010_mci.c | 140 ++-- drivers/mmc/ftsdc010_mci

Re: [U-Boot] [PATCH 1/5] mmc: sh_sdhi: Fix Kconfig entry

2017-05-30 Thread Nobuhiro Iwamatsu
Hi, Jaehoon. Could you pickup this patch series to your mmc repository, and PR to u-boot? Best regards, Nobuhiro 2017-05-25 22:39 GMT+09:00 Jaehoon Chung : > On 05/13/2017 10:51 PM, Marek Vasut wrote: >> The Kconfig entry depends on RMOBILE, but this was renamed >> to ARCH_RMOBILE in commit 1

[U-Boot] [PATCH v3 3/3] rockchip: mkimage: set init_boot_size to avoid confusing the boot ROM

2017-05-30 Thread Philipp Tomsich
This change restores the earlier setting of init_boot_size to include the maximum area covered by the the boot ROM of each chip for resolve issues with back-to-bootrom functionality reported by Kever and Heiko. To ensure that we don't run into the same issue again in the future, I have updated the

[U-Boot] [PATCH v3 1/3] rockchip: mkimage: add support for verify_header/print_header

2017-05-30 Thread Philipp Tomsich
The rockchip image generation was previously missing the ability to verify the generated header (and dump the image-type) without having to resort to hexdump or od. Experience in our testing has showed it to be very easy to get the rkspi and rksd images mixed up and the lab... so we add the necessa

[U-Boot] [PATCH v3 2/3] rockchip: mkimage: force 2KB alignment for init_size

2017-05-30 Thread Philipp Tomsich
The Rockchip BootROM relies on init_size being aligned to 2KB (see https://lists.denx.de/pipermail/u-boot/2017-May/293268.html). This pads the image to 2KB both for SD card images and SPI images and uses a common symbolic constant for the alignment. Signed-off-by: Philipp Tomsich --- Changes i

[U-Boot] [PATCH v3 0/3] rockchip: mkimage: refactor rksd/rkspi padding calculation and add dumpimage support

2017-05-30 Thread Philipp Tomsich
We support booting both from SD/MMC images and SPI images on the RK3399-Q7 for different use-cases (e.g. external boot in development from the SD card, internal boot from MMC or SPI depending on whether the SPI flash is populated on any given configuration option). In getting the SPI image suppor

Re: [U-Boot] [PATCHv6 28/28] net: sunxi: Enable eeprom on OLinuXino Lime boards (again)

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > With commit 2681e78a5ee ("configs: Re-sync") we lost the EEPROM settings > from the defconfig files. Let us re-add them. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger ___ U-Boo

Re: [U-Boot] [PATCHv6 27/28] net: sun8i: fix whitespace

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Fix a few whitespaces errors in the sun8i driver. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-bo

Re: [U-Boot] [PATCHv6 22/28] net: sun4i_mac: Add read_rom_hwaddr hook

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > With this patch sun4i_mac can now get the MAC address from the board in > a predetermined board specific manner. I think this patch should be squashed into to one before it. Thanks, -Joe ___ U-

Re: [U-Boot] [PATCHv6 21/28] net: sunxi: Have sunxi common functions together

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > The sun[8x]i network drivers have some common functions. Let's introduce > a common file with the reading of the MAC address as a start. > > In the future, we can move more sunxi shared/common code into this file. > > Signed-off-by: Ollive

Re: [U-Boot] [PATCHv6 21/28] net: sunxi: Have sunxi common functions together

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > The sun[8x]i network drivers have some common functions. Let's introduce > a common file with the reading of the MAC address as a start. > > In the future, we can move more sunxi shared/common code into this file. > > Signed-off-by: Ollive

Re: [U-Boot] [PATCHv6 19/28] net: sunxi_emac: Write HW address via net_ops hook

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Expose the write_hwaddr net_ops hook to write the Ethernet address. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.den

Re: [U-Boot] [PATCHv6 18/28] arm: sunxi: Expose function to generate sunxi-specific a MAC address

2017-05-30 Thread Joe Hershberger
Typo in the subject line... "arm: sunxi: Expose function to generate _a_ sunxi-specific MAC address" On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Expose the function to generate a MAC adddress based on the serial number. > This can then later be moved completly out of the sunxi boa

Re: [U-Boot] [PATCHv6 17/28] fdt: fixup_eth: improve error catching/reduce identation

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Currently when checking for an error in ethernet aliases in the fdt, we > only check for the error case -1. It is safer to ignore anything < 0. > > By rearranging logic a bit we can now also reduce identation. > > Signed-off-by: Olliver Sc

Re: [U-Boot] [PATCHv6 16/28] fdt: fixup_eth: Remove code duplication with a function

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > In fdt_support.c we use a loop to parse the mac address string from the > fdt blob, net.h has a function for this however, so lets use it. > > Also, rename the variable from tmp to something more descriptive. > > Signed-off-by: Olliver Sch

Re: [U-Boot] [PATCHv6 15/28] net: core: Check return value of read_rom_hwaddr

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Currently, we silently ignore the return value of netops->read_rom_hwaddr(). > This naturally is bad and we should check if the code ran successfully. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCHv6 14/28] net: cosmetic: A MAC address is not limited to SROM

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 7:53 AM, Tom Rini wrote: > On Mon, May 15, 2017 at 10:02:30AM +0200, Olliver Schinagl wrote: >> Currently, we print that the MAC from the SROM does not match. It can be >> many forms of ROM, so lets drop the S. >> >> Signed-off-by: Olliver Schinagl >> --- >> net/eth_legac

Re: [U-Boot] [PATCHv6 13/28] net: core: print the source of the MAC address

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > With many potential places where a MAC address can be read from, the > user may not know where the MAC address originated from. Print the MAC > source after initializing the Ethernet device. > > Signed-off-by: Olliver Schinagl Acked-by:

Re: [U-Boot] [PATCHv6 11/28] net: core: Add MAC address helper functions

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Universally administered and locally administered addresses are > distinguished by setting the second-least-significant bit of the first > octet of the address. Having a function to check and set this U/L bit > from a function makes it nic

Re: [U-Boot] [PATCHv6 10/28] net: core: Inform the user of the device MAC address

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > In certain conditions we currently print the MAC address. For example a > warning when a random mac address is in use or a missmatch between HW > and ENV. > > If all things went well however (but even if there is a miss-match) we > do not

Re: [U-Boot] [PATCH v5 5/16] cmd: Add Kconfig option for CMD_MTDPARTS and related options

2017-05-30 Thread Maxime Ripard
Hi Jörg, On Tue, May 30, 2017 at 09:39:57AM +0200, Jörg Krause wrote: > On Mon, 2017-02-27 at 18:22 +0100, Maxime Ripard wrote: > > CMD_MTDPARTS is something the user might or might not want to select, > > and > > might depends on (or be selected by) other options too. > > > > This is even truer

Re: [U-Boot] [PATCHv6 09/28] net: core: Sanitize get/set operations for enetaddr

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > In the current net stack, we have a few functions to get and set > the "ethaddr" and "ethNaddr" environment variables, which use magic > values to get and set these environment variables. Remove the magicness > of the buffer by defining it

Re: [U-Boot] [PATCHv6 08/28] net: cosmetic: Do not use magic values for ARP_HLEN

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Previously overlooked magic value in commit a40db6d51171 ("net: cosmetic: Do > not use magic values for ARP_HLEN") > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger ___ U-Boot mail

Re: [U-Boot] [PATCHv6 07/28] net: sunxi: Move GMAC_TX_DELAY to the driver

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > The GMAC_TX_DELAY symbol sets and is dependent on the SUN7I_GMAC > driver. Move it from the generic ARCH section to the driver specific > section. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCHv6 06/28] net: sunxi: Restore sunxi_[eg]mac behavior

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Commit 4d43d065db326 ("sunxi: Move SUNXI_GMAC to Kconfig") renamed > SUNXI_[EG]MAC but did not update include/configs/sunxi-common.h where > based on these two symbols other config symbols where being set, such > as CONFIG_PHY_REALTEK for

Re: [U-Boot] [PATCHv6 05/28] net: sunxi: Re-add RTL8211X_PHY_FORCE_MASTER

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Commit 8728c97eff5bd9 (" configs: Re-sync") potentially broke the lime2 > as it removed the RTL8211X_PHY_FORCE_MASTER flag. > > Re-add this flag. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCHv6 04/28] net: sunxi simplify defconfig

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > We currently have a few dependencies explicitly set in the sunxi > defconfigs. Things such as, RGMII, DESIGNWARE_ETH in combination with > SUN7I_GMAC. When selecting SUN7I_GMAC we already imply DESIGNWARE_ETH > for example. > > This patch

Re: [U-Boot] [PATCHv6 03/28] net: core: Add PHY_GIGE as a Kconfig symbol

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Add the CONFIG_PHY_GIGE option as a hidden Kconfig symbol so that we > can select it from the menu as a dependency. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger ___ U-Boot mai

Re: [U-Boot] [PATCH 1/2] armv8/ls1043a: RGMII PHY requires internal delay on Tx

2017-05-30 Thread Joe Hershberger
On Mon, Apr 3, 2017 at 9:43 AM, Madalin Bucur wrote: > Signed-off-by: Madalin Bucur Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] armv8/ls1046a: RGMII PHY requires internal delay on Tx

2017-05-30 Thread Joe Hershberger
On Mon, Apr 3, 2017 at 9:43 AM, Madalin Bucur wrote: > Signed-off-by: Madalin Bucur Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver

2017-05-30 Thread Maxime Ripard
On Wed, May 24, 2017 at 05:34:52PM +0200, Jernej Škrabec wrote: > Hi, > > Dne torek, 23. maj 2017 ob 22:22:14 CEST je Maxime Ripard napisal(a): > > Hi Jernej, > > > > On Mon, May 22, 2017 at 08:49:57PM +0200, Jernej Škrabec wrote: > > > Dne ponedeljek, 22. maj 2017 ob 09:35:56 CEST je Maxime Ripa

Re: [U-Boot] [PATCH] net: mvpp2.c: Enable 10G support for port 0 (SFI)

2017-05-30 Thread Joe Hershberger
On Thu, Apr 6, 2017 at 8:39 AM, Stefan Roese wrote: > From: Stefan Chulski > > This patch fixes some remaining issues in the mvpp2 driver for the 10GB > support on port 0. These changes are: > > - Incorrect PCS configuration > - Skip PHY configuration when no PHY is connected > - Skip GMAC config

Re: [U-Boot] [PATCH] net: mvpp2.c: Enable 10G support for port 0 (SFI)

2017-05-30 Thread Joe Hershberger
On Wed, Apr 19, 2017 at 2:14 AM, Joe Hershberger wrote: > Hi Stefan, > > On Wed, Apr 19, 2017 at 12:46 AM, Stefan Roese wrote: >> Hi Joe, >> >> On 06.04.2017 15:39, Stefan Roese wrote: >>> >>> From: Stefan Chulski >>> >>> This patch fixes some remaining issues in the mvpp2 driver for the 10GB >>

Re: [U-Boot] [RFC] Question about nfs_read_reply()

2017-05-30 Thread Joe Hershberger
On Mon, Apr 10, 2017 at 6:24 PM, Joe Hershberger wrote: > Hi Jaehoon, > > On Mon, Apr 10, 2017 at 5:23 AM, Jaehoon Chung wrote: >> Dear Joe, >> >> I have a question about nfs. >> I don't have a knowledge for NFS..So i don't know this is right or not.. >> >> When i have tested the latest u-boot(v2

Re: [U-Boot] [ PATCH v2] net: move Broadcom SF2 driver to Kconfig

2017-05-30 Thread Joe Hershberger
On Wed, Apr 12, 2017 at 2:00 PM, Tom Rini wrote: > On Wed, Apr 12, 2017 at 10:46:35AM -0700, Steve Rae wrote: > >> From: Suji Velupillai >> >> move to Kconfig: >> CONFIG_BCM_SF2_ETH >> CONFIG_BCM_SF2_ETH_DEFAULT_PORT >> CONFIG_BCM_SF2_ETH_GMAC >> >> Also modified defconfigs of a

Re: [U-Boot] [PATCHv2 01/21] net: cosmetic: Do not use magic values for ARP_HLEN

2017-05-30 Thread Joe Hershberger
On Mon, Apr 10, 2017 at 10:33 AM, Olliver Schinagl wrote: > Previously overlooked magic value in commit a40db6d51171 ("net: cosmetic: Do > not use magic values for ARP_HLEN") > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger ___ U-Boot mai

Re: [U-Boot] [PATCH v2] net: macb: Fix GMAC not work when enable DM_ETH

2017-05-30 Thread Joe Hershberger
On Wed, Apr 19, 2017 at 10:13 PM, Wenyou Yang wrote: > Always search the PHY to determine the macb->phy_addr before using > the PHY to fix "No PHY present" error. > > Fix the wrong test of the GMAC's phy interface mode, it should be > PHY_INTERFACE_MODE_RGMII. > > Signed-off-by: Wenyou Yang > Rev

Re: [U-Boot] [RESEND PATCH v2 0/5] net/pch_gbe: updates for MIPS Boston board

2017-05-30 Thread Joe Hershberger
Hi Daniel, On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck wrote: > This series is a resend of selected net/pch_gbe patches from the > original patch series [1] which was blocked by other patch series. > This series only contains the net/pch_gbe patches required for > MIPS Boston board, but w

Re: [U-Boot] [RESEND PATCH v2 5/5] net: pch_gbe: Support PHY reset GPIOs

2017-05-30 Thread Joe Hershberger
On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck wrote: > From: Paul Burton > > Add support to the pch_gbe driver for resetting the PHY using a GPIO > specified in the device tree. This matches the support already in Linux. > > Signed-off-by: Paul Burton > Reviewed-by: Simon Glass > Reviewed

Re: [U-Boot] [RESEND PATCH v2 4/5] net: pch_gbe: Add cache maintenance

2017-05-30 Thread Joe Hershberger
On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck wrote: > From: Paul Burton > > On MIPS systems DMA isn't coherent with the CPU caches unless an IOCU is > present. When there is no IOCU we need to writeback or invalidate the > data caches at appropriate points. Perform this cache maintenance i

Re: [U-Boot] [RESEND PATCH v2 3/5] net: pch_gbe: CPU accessible addresses are virtual

2017-05-30 Thread Joe Hershberger
On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck wrote: > From: Paul Burton > > Use the virt_to_bus & bus_to_virt functions rather than phys_to_bus & > bus_to_phys, since the addresses accessed by the CPU will be virtual > rather than physical. On MIPS physical & virtual addresses differ as we

Re: [U-Boot] [RESEND PATCH v2 2/5] net: pch_gbe: Fix rx descriptor buffer addresses

2017-05-30 Thread Joe Hershberger
On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck wrote: > From: Paul Burton > > The loop to set up buffer addresses in rx descriptors always operated on > descriptor 0, rather than on each descriptor sequentially. Fix this in > order to setup correct buffer addresses for each descriptor. > > S

Re: [U-Boot] [RESEND PATCH v2 1/5] net: pch_gbe: Reset during probe

2017-05-30 Thread Joe Hershberger
On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck wrote: > From: Paul Burton > > Using the EG20T gigabit ethernet controller on the MIPS Boston board, we > find that we have to reset the controller in order for the RGMII link to > the PHY to become functional. Without doing so we constantly tim

Re: [U-Boot] [PATCH] drivers: net: cpsw: abort init() on aneg timeout

2017-05-30 Thread Joe Hershberger
On Mon, May 8, 2017 at 10:19 AM, Sekhar Nori wrote: > Abort CPSW driver init when auto-negotiation of link > times out. Currently, the code ignores return status > of phy_startup(), and goes ahead with network operation > (like DHCP) even though the link may be down. > > Instead, abort init proces

Re: [U-Boot] RFC: Alternative command name for 'tftpput'

2017-05-30 Thread Joe Hershberger
On Mon, May 22, 2017 at 6:55 AM, Stefan Roese wrote: > Hi, > > I'm stumbling again over a problem introduced with the "tftpput" > command and its naming, as it breaks some of the old scripts that > I and others still use. As you know, when this command is enabled > (which I find quite useful from

Re: [U-Boot] [PATCHv6 24/28] net: dw: Expose designware_eth_start

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl wrote: > Commit e72ced234045f ("net: designware: Export the operation functions") > started to expose some of the net_ops. The sunxi_gmac glue driver also > needs the start function, so let us expose that as well. > > Signed-off-by: Olliver Schinag

Re: [U-Boot] [PATCH v8 14/17] net: fec_mxc: Add fec_phy_reset support

2017-05-30 Thread Joe Hershberger
On Tue, May 23, 2017 at 8:33 AM, Jagan Teki wrote: > From: Jagan Teki > > phy-reset-gpios and phy-reset-duration properties are > needed for adding mii_dev reset bus operation, > so the board code not take care of phy_reset anymore > if it use DM_ETH. > > Cc: Joe Hershberger > Cc: Fabio Estevam

[U-Boot] [PATCH 2/2] sun50i: h5: Add initial NanoPi NEO2 support

2017-05-30 Thread Jagan Teki
From: Jagan Teki NanoPi M1 Plus is designed and developed by FriendlyElec using the Allwinner 64-bit H5 SOC. NanoPi Neo2 key features - Allwinner H5, Quad-core 64-bit Cortex-A53 - 512MB DDR3 RAM - microSD slot - 10/100/1000M Ethernet - Serial Debug Port - 5V 2A DC MicroUSB power-supply Signed-o

[U-Boot] [PATCH 1/2] sun8i: h3: Add initial NanoPi M1 Plus support

2017-05-30 Thread Jagan Teki
From: Jagan Teki NanoPi M1 Plus is designed and developed by FriendlyElec for professionals, enterprise users, makers and hobbyists using the Allwinner H3 SOC. NanoPi M1 Plus key features - Allwinner H3, Quad-core Cortex-A7@1.2GHz - 1GB DDR3 RAM - 8GB eMMC - microSD slot - 10/100/1000M Ethernet

Re: [U-Boot] [PATCH 02/10] drivers: spi: add config to consider command bytes when writting to flash

2017-05-30 Thread Álvaro Fernández Rojas
Hi Jagan, El 30/05/2017 a las 7:04, Jagan Teki escribió: > On Sat, May 20, 2017 at 1:36 PM, Álvaro Fernández Rojas > wrote: >> Hi Simon, >> >> El 20/05/2017 a las 4:29, Simon Glass escribió: >>> Hi Alvaro, >>> >>> On 18 May 2017 at 13:29, Álvaro Fernández Rojas wrote: Command bytes are part

Re: [U-Boot] [PATCH 1/1] net: core: avoid possible NULL pointer dereference

2017-05-30 Thread Joe Hershberger
On Mon, May 15, 2017 at 10:07 PM, Heinrich Schuchardt wrote: > Checking if dev is NULL after dereferencing it does not make sense. Yes, it was incorrect, but fortunately it was never used for anything, so even though it's garbage if the dev is NULL, at least we didn't use it for anything in that

Re: [U-Boot] [PATCH] Add support for Microchip LAN75xx and LAN78xx

2017-05-30 Thread Joe Hershberger
On Wed, May 24, 2017 at 10:14 AM, wrote: > From: Yuiko Oshino > >>-Original Message- >>From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of >>yuiko.osh...@microchip.com >>Sent: Wednesday, May 10, 2017 11:25 AM >>To: joe.hershber...@gmail.com >>Cc: ma...@denx.de; u-boot@lists.d

Re: [U-Boot] [PATCH] cmd/ethsw: Disable implicit enum conversion warning

2017-05-30 Thread Joe Hershberger
On Sun, May 28, 2017 at 7:49 AM, Tom Rini wrote: > With clang-3.8 we see warnings like: > cmd/ethsw.c:304:6: warning: implicit conversion from > enumeration type 'enum ethsw_keyword_opt_id' to different enumeration > type > 'enum ethsw_keyword_id' [-Wenum-conversion] >

Re: [U-Boot] [PATCH] net: phy: marvell 88e151x: Fix handling of RGMII interface types

2017-05-30 Thread Joe Hershberger
On Wed, May 24, 2017 at 8:43 AM, Phil Edworthy wrote: > The 88E1518 code is programming the wrong registers for rgmii-id, > rgmii-txid and rgmii-rxid interfaces. > > Since the PHY defaults to rgmii-id, it would appear that the code > was previously only used with sgmii and rgmii-id interfaces. > >

Re: [U-Boot] [PATCH 1/2] net: zynq_gem: Use wait_for_bit with non breakable

2017-05-30 Thread Joe Hershberger
On Tue, May 30, 2017 at 7:28 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Use wait_for_bit to be non breakable as using it with > breakable causes issue of un interruptible auto negotiation. > This is due to the ctrlc pressed will taken for wait_for_bit() > abort during phy_read

Re: [U-Boot] [PATCH 2/2] net: zynq_gem: Dont flush dummy descriptors

2017-05-30 Thread Joe Hershberger
On Tue, May 30, 2017 at 7:28 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Dont flush dummy descriptors as they are already > allocated from a region with dcache off. Tested > this on Zynq(zc702) and ZynqMP(zcu102) boards. > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-o

Re: [U-Boot] [PATCH] board/freescale: Share qbman init between archs

2017-05-30 Thread york sun
On 05/12/2017 01:30 PM, Roy Pledge wrote: > From: Ahmed Mansour > > This patch adds changes necessary to move functionality present in > PowerPC folders with ARM architectures that have DPAA1 QBMan hardware > > - Created new board/freescale/common/portals.c to house shared device >tree fixup

[U-Boot] [PATCH 3/3] arm64: zynqmp: Check pmufw version

2017-05-30 Thread Michal Simek
If PMUFW version is not v0.3 then panic. ZynqMP switch to CCF based clock driver which requires PMUFW to be present at certain version. This patch ensure that you use correct and tested PMUFW binary. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/cpu.c | 35 +

[U-Boot] [PATCH 2/3] fpga: zynqmppl: Reuse invoke_smc routine

2017-05-30 Thread Michal Simek
From: Siva Durga Prasad Paladugu Reuse invoke_smc() routine which is already defined instead of duplicating same at multiple places. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/fpga/zynqmppl.c | 25 - 1 file changed, 8 insertions(

[U-Boot] [PATCH 1/3] zynqmp: Define routines for mmio write and read

2017-05-30 Thread Michal Simek
From: Siva Durga Prasad Paladugu Define routines of mmio write and read functionalities for zynqmp platform. Also do not call SMC from SPL because SPL is running before ATF in EL3 that's why SMCs can't be called because there is nothing to call. zynqmp_mmio*() are doing direct read/write accesse

Re: [U-Boot] [PATCH v7 0/6] Add Intel Arria 10 SoC FPGA driver

2017-05-30 Thread Dinh Nguyen
On 05/28/2017 11:00 PM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This is the 6th version of patchset to adds support for Intel Arria 10 SoC > FPGA > driver. This version mainly resolved comments from Dinh in [v6]. > This series is working on top of u-boot.git - http://git.den

[U-Boot] [PATCH] drivers: ram: stm32: fix compilation issue

2017-05-30 Thread patrice.chotard
From: Patrice Chotard If CONFIG_CLK flag is not set, compilation raises the following error message: drivers/ram/stm32_sdram.c: In function 'stm32_fmc_probe': drivers/ram/stm32_sdram.c:154:2: error: 'ret' undeclared (first use in this function) ret = stm32_sdram_init(dev); Signed-off-by: Pat

[U-Boot] [PATCH] cmd/fdt: support single value replacement within an array

2017-05-30 Thread Hannes Schmelzer
With this commit we can modify single values within an array of a dts property. This is useful if we have for example a pwm-backlight where we want to modifiy the pwm frequency per u-boot script. The pwm is described in dts like this: backlight { pwms = <0x002b 0x 0x004c4b40>

[U-Boot] [PATCH] fs: usbifs: Fix warning in ubifs

2017-05-30 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch fixes the below warning by typecasting it properly fs/ubifs/ubifs.c: In function 'ubifs_load': fs/ubifs/ubifs.c:942:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] err = ubifs_read(filename, (void *)addr, 0, size, &

[U-Boot] [PATCH 1/2] net: zynq_gem: Use wait_for_bit with non breakable

2017-05-30 Thread Michal Simek
From: Siva Durga Prasad Paladugu Use wait_for_bit to be non breakable as using it with breakable causes issue of un interruptible auto negotiation. This is due to the ctrlc pressed will taken for wait_for_bit() abort during phy_read() and hence not coming out of auto negotiation. Signed-off-by:

[U-Boot] [PATCH 2/2] net: zynq_gem: Dont flush dummy descriptors

2017-05-30 Thread Michal Simek
From: Siva Durga Prasad Paladugu Dont flush dummy descriptors as they are already allocated from a region with dcache off. Tested this on Zynq(zc702) and ZynqMP(zcu102) boards. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 4 1 file c

  1   2   >