Re: [U-Boot] [PATCH] ARM: Rework and correct barrier definitions

2016-09-02 Thread york sun
On 09/02/2016 06:00 AM, Tom Rini wrote: > On Tue, Aug 30, 2016 at 09:50:47PM +, york sun wrote: >> On 08/01/2016 03:54 PM, Tom Rini wrote: >>> As part of testing booting Linux kernels on Rockchip devices, it was >>> discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for >>> so

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Petr Kulhavy
Hi Stefano, I need to build two set-ups: 1) SPL + u-boot.img for normal device run out of flash 2) u-boot.imx for initial device load together with fastboot For (2) SPL + kermit + u-boot.img is not an option for me, simply because it is too slow. I agree that the u-boot images in case (1) and

Re: [U-Boot] [PATCH v2 0/4] Migrate Vybrid USB driver to driver model

2016-09-02 Thread Simon Glass
Hi, On 1 September 2016 at 03:49, wrote: > On 16-08-23 15:17:12, Marek Vasut wrote: >> On 08/09/2016 08:14 PM, Sanchayan Maity wrote: >> > Hello, >> > >> > This is the second version of the patchset for migrating Vybrid >> > USB driver to driver model. >> > >> > Compare to the first version, thi

Re: [U-Boot] [PATCH v2 4/4] configs: colibri_vf_defconfig: Enable USB driver model for Colibri Vybrid

2016-09-02 Thread Simon Glass
On 9 August 2016 at 12:15, Sanchayan Maity wrote: > Enable USB driver model for Toradex Colibri Vybrid modules. > > Signed-off-by: Sanchayan Maity > --- > configs/colibri_vf_defconfig | 1 + > 1 file changed, 1 insertion(+) Reviewed-by:: Simon Glass

Re: [U-Boot] [U-Boot-DM] FPGA driver over PCI bus

2016-09-02 Thread Simon Glass
Hi Max, On 1 September 2016 at 08:46, Max Ruttenberg wrote: > > Hi, > (we should probably close down the u-boot-dm list - please use the main one) > I'm find myself clueless in regards to writing a driver for an FPGA over a > PCI bus. This U-Boot is running on an NXP t102xrdb board family, if t

Re: [U-Boot] [PATCH v2 3/4] ARM: dts: vf-colibri: Enable USB device tree node for Colibri Vybrid

2016-09-02 Thread Simon Glass
On 9 August 2016 at 12:15, Sanchayan Maity wrote: > Enable USB device tree node for Toradex Colibri Vybrid module. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/dts/vf-colibri.dtsi | 11 +++ > 1 file changed, 11 insertions(+) Reviewed-by:: Simon Glass

Re: [U-Boot] [PATCH v2 2/4] ARM: dts: vf: Add device tree node for USB on Vybrid

2016-09-02 Thread Simon Glass
On 9 August 2016 at 12:15, Sanchayan Maity wrote: > Add device tree node for USB peripheral on Vybrid. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/dts/vf.dtsi | 14 ++ > 1 file changed, 14 insertions(+) Reviewed-by:: Simon Glass _

Re: [U-Boot] [PATCH v2 1/4] usb: host: ehci-vf: Migrate Vybrid USB to driver model

2016-09-02 Thread Simon Glass
Hi, On 9 August 2016 at 12:14, Sanchayan Maity wrote: > > Add driver model support for Vybrid USB driver. > > Signed-off-by: Sanchayan Maity > --- > drivers/usb/host/ehci-vf.c | 208 > +++-- > 1 file changed, 201 insertions(+), 7 deletions(-) Reviewed-b

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Stefano Babic
Hi Petr, On 02/09/2016 20:57, Petr Kulhavy wrote: > Hi, > > you have already brought it to the point - it needs two defconfigs. > This means double the files in U-boot and second and more important, how > does it integrate into a tool like Buildroot? > In other words I'm trying to do it with just

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Petr Kulhavy
Hi Fabio, On 02/09/16 22:03, Fabio Estevam wrote: You don't need u-boot.imx to boot the board with imx_usb_loader. Check the README update that Stefano did with this commit: commit 40f4839ce12adfc0223d6e3035cf9c3a4754a0ec Author: Stefano Babic Date: Fri Dec 11 17:30:42 2015 +0100 imx_c

Re: [U-Boot] [PATCH v2 2/3] warp7: Use PARTUUID to specify the rootfs location

2016-09-02 Thread Fabio Estevam
Hi Stefano, On Thu, Aug 25, 2016 at 9:07 PM, Fabio Estevam wrote: > From: Fabio Estevam > > warp7 can run different kernel versions, such as NXP 4.1 or mainline. > > Currently the rootfs location is passed via mmcblk number and the > problem with this approach is that the mmcblk number for the e

[U-Boot] [PATCH] README.imx6: Fix Boundary Devices name

2016-09-02 Thread Fabio Estevam
From: Fabio Estevam Correct name is "Boundary Devices". Signed-off-by: Fabio Estevam --- doc/README.imx6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.imx6 b/doc/README.imx6 index 1823fb2..73b8b0b 100644 --- a/doc/README.imx6 +++ b/doc/README.imx6 @@ -91,7 +91,

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Fabio Estevam
Hi Petr, On Fri, Sep 2, 2016 at 3:57 PM, Petr Kulhavy wrote: > Hi, > > you have already brought it to the point - it needs two defconfigs. > This means double the files in U-boot and second and more important, how > does it integrate into a tool like Buildroot? Buildroot is capable of booting SP

Re: [U-Boot] [PATCH V2] board: am57xx: Fix missing check for beagle_x15

2016-09-02 Thread Tom Rini
On Fri, Sep 02, 2016 at 01:51:33PM -0500, Nishanth Menon wrote: > When beagleboard-X15 is booted, we see the following log: > Unidentified board claims BBRDX15_ in eeprom header > > This is because of the missing check for x15 (the default) and reports > an error for a valid board configuration.

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Petr Kulhavy
Hi, you have already brought it to the point - it needs two defconfigs. This means double the files in U-boot and second and more important, how does it integrate into a tool like Buildroot? In other words I'm trying to do it with just one defconfig. Alltogether I want to build 3 files: * SPL

[U-Boot] [PATCH V2] board: am57xx: Fix missing check for beagle_x15

2016-09-02 Thread Nishanth Menon
When beagleboard-X15 is booted, we see the following log: Unidentified board claims BBRDX15_ in eeprom header This is because of the missing check for x15 (the default) and reports an error for a valid board configuration. Fix the same. Signed-off-by: Nishanth Menon --- Changes since V1:

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Stefano Babic
Hi, On 02/09/2016 18:46, Petr Kulhavy wrote: > Hi, > > I'm facing a problem that the iMX Makefile does not allow to build > u-boot.imx and the SPL binary simultaneously. ...I am missing why you need to build them at the same time. Can you start with a detailed description of the problem ? Why is

Re: [U-Boot] [PATCH v1 2/2] clk: at91: Add .ops callback for clk_generic

2016-09-02 Thread Stephen Warren
On 09/01/2016 07:46 PM, wenyou.y...@microchip.com wrote: Hi Stephen, Subject: [PATCH v1 2/2] clk: at91: Add .ops callback for clk_generic To avoid the wild pointer as NULL->of_xlate, add an empty .ops callback for the clk_generic driver. This shouldn't be needed. If this driver isn't a clock

Re: [U-Boot] [PATCH] board: am57xx: Fix missing check for beagle_x15

2016-09-02 Thread Nishanth Menon
On Fri, Sep 2, 2016 at 6:04 AM, Lokesh Vutla wrote: > > > On Friday 02 September 2016 01:23 PM, Nishanth Menon wrote: [...] > Instead an entry can be added for x15 like below? So, that future rev of > x15 can be updated > > diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c > index bc5

[U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-02 Thread Petr Kulhavy
Hi, I'm facing a problem that the iMX Makefile does not allow to build u-boot.imx and the SPL binary simultaneously. This would be useful for generating images for flash and for a serial loading. The reason is that each target needs a different config file, but there is only one IMX_CONFIG var

[U-Boot] Pull request: nand flash

2016-09-02 Thread Scott Wood
The following changes since commit cb1cbdd96962931de2ac948a184874e2672f3f96: x86: qemu: efi: Add two boards for EFI 32-bit and 64-bit payload (2016-08-30 09:26:05 +0800) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git for you to fetch changes up to 8b7d5124

Re: [U-Boot] [PATCH v4 10/10] defconfig: Add a config for AM335x High Security EVM with SD Boot support

2016-09-02 Thread Tom Rini
On Fri, Sep 02, 2016 at 09:57:10AM -0500, Andrew F. Davis wrote: > On 09/02/2016 09:54 AM, Tom Rini wrote: > > On Tue, Aug 30, 2016 at 02:06:29PM -0500, Andrew F. Davis wrote: > > > >> Add a new defconfig file for the AM335x High Security EVM. This config > >> is specific for the case of SD card b

Re: [U-Boot] [PATCH] board: am57xx: MAINTAINERS: Update for current maintainer

2016-09-02 Thread Tom Rini
On Fri, Sep 02, 2016 at 02:51:45AM -0500, Nishanth Menon wrote: > Felipe Balbi has move on from TI and the current email ID is no longer > valid. So, replacing with Lokesh. > > While at it, update missing config file which was untracked. > > Signed-off-by: Nishanth Menon Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 4/5] ti_omap5_common: mark region of DRAM protected on HS parts

2016-09-02 Thread Tom Rini
On Fri, Sep 02, 2016 at 12:40:23AM -0500, Daniel Allred wrote: > If the ending portion of the DRAM is reserved for secure > world use, then u-boot cannot use this memory for its relocation > purposes. To prevent issues, we mark this memory as PRAM and this > prevents it from being used by u-boot a

Re: [U-Boot] [PATCH 5/5] ARM: omap5: add fdt secure dram reservation fixup

2016-09-02 Thread Tom Rini
On Fri, Sep 02, 2016 at 12:40:24AM -0500, Daniel Allred wrote: > Adds a secure dram reservation fixup for secure > devices, when a region in the emif has been set aside > for secure world use. The size is defined by the > CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE config option. > > Signed-off-by: D

Re: [U-Boot] [PATCH v4 10/10] defconfig: Add a config for AM335x High Security EVM with SD Boot support

2016-09-02 Thread Andrew F. Davis
On 09/02/2016 09:54 AM, Tom Rini wrote: > On Tue, Aug 30, 2016 at 02:06:29PM -0500, Andrew F. Davis wrote: > >> Add a new defconfig file for the AM335x High Security EVM. This config >> is specific for the case of SD card booting, we the boot types to be >> seperate defconfigs as some options chan

Re: [U-Boot] [PATCH 3/5] ARM: DRA7: Add secure emif setup calls

2016-09-02 Thread Tom Rini
On Fri, Sep 02, 2016 at 12:40:22AM -0500, Daniel Allred wrote: > After EMIF DRAM is configured, but before it is used, > calls are made on secure devices to reserve any configured > memory region needed by the secure world and then to lock the > EMIF firewall configuration. If any other firewall >

Re: [U-Boot] [PATCH 2/5] arm: omap5: secure API for EMIF memory reservations

2016-09-02 Thread Tom Rini
On Fri, Sep 02, 2016 at 12:40:21AM -0500, Daniel Allred wrote: > Create a few public APIs which rely on secure world ROM/HAL > APIs for their implementation. These are intended to be used > to reserve a portion of the EMIF memory and configure hardware > firewalls around that region to prevent pub

Re: [U-Boot] [PATCH 1/5] ti: omap5: Add Kconfig options for secure EMIF reservations

2016-09-02 Thread Tom Rini
On Fri, Sep 02, 2016 at 12:40:20AM -0500, Daniel Allred wrote: > Adds start address and size config options for setting aside > a portion of the EMIF memory space for usage by security software > (like a secure OS/TEE). There are two sizes, a total size and a > protected size. The region is divide

Re: [U-Boot] [PATCH v4 10/10] defconfig: Add a config for AM335x High Security EVM with SD Boot support

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:29PM -0500, Andrew F. Davis wrote: > Add a new defconfig file for the AM335x High Security EVM. This config > is specific for the case of SD card booting, we the boot types to be > seperate defconfigs as some options change depending on boot type, in > addition this a

Re: [U-Boot] [PATCH 2/2] spi: ti_qspi: Remove unnecessary udelay for AM437x

2016-09-02 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:24:40PM +0530, Vignesh R wrote: > This udelay() was added as an HACK and is no longer required. All > read/write/erase operations work fine even without this delay. Hence, > remove the udelay() call. > > Tested read/write/erase operation on AM437x SK. Also tested QSPI B

Re: [U-Boot] [PATCH 1/2] spi: ti_qspi: use 128 bit transfer mode when writing to flash

2016-09-02 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:24:39PM +0530, Vignesh R wrote: > TI QSPI has four 32 bit data registers which can be used to transfer 16 > bytes of data at once. The register group QSPI_SPI_DATA_REG_3, > QSPI_SPI_DATA_REG_2, QSPI_SPI_DATA_REG_1 and QSPI_SPI_DATA_REG is > treated as a single 128-bit wo

Re: [U-Boot] [PATCH v4 08/10] config: Remove usage of CONFIG_STORAGE_EMMC

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:27PM -0500, Andrew F. Davis wrote: > This config option seems to be unused and is probably vestigial. > Remove it. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v4 07/10] am335x: configs: Use ISW_ENTRY_ADDR to set SPL_TEXT_BASE

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:26PM -0500, Andrew F. Davis wrote: > The SPL load address changes based on boot time in HS devices, > ISW_ENTRY_ADDR is used to set this address for AM43xx based SoCs > for similar reasons. Add this same logic for AM33xx devices. > > Also make the default value for I

Re: [U-Boot] [PATCH v4 05/10] board: am33xx-hs: Allow post-processing of FIT image on AM33xx

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:24PM -0500, Andrew F. Davis wrote: > When CONFIG_FIT_IMAGE_POST_PROCESS or CONFIG_SPL_FIT_IMAGE_POST_PROCESS > is enabled board_fit_image_post_process will be called, add this > function to am33xx boards when CONFIG_TI_SECURE_DEVICE is set to > verify the loaded image

Re: [U-Boot] [PATCH v4 09/10] ti_armv7_common: Disable Falcon Mode on HS devices

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:28PM -0500, Andrew F. Davis wrote: > Authentication of images in Falcon Mode is not supported. Do not enable > SPL_OS_BOOT when TI_SECURE_DEVICE is enabled. This prevents attempting > to directly load kernel images which will fail, for security reasons, > on HS device

Re: [U-Boot] [PATCH v4 06/10] ti: omap-common: Allow AM33xx devices to be built securely

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:25PM -0500, Andrew F. Davis wrote: > Like OMAP54xx and AM43xx family SoCs, AM33xx based SoCs have high > security enabled models. Allow AM33xx devices to be built with > HS Device Type Support. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini Reviewed-by

Re: [U-Boot] [PATCH v4 04/10] am33xx: config.mk: Fix option used to enable SPI SPL image type

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:23PM -0500, Andrew F. Davis wrote: > The option SPL_SPI_SUPPORT is used to enable support in SPL for loading > images from SPI flash, it should not be used to determine the build type > of the SPL image itself. The ability to read images from SPI flash does > not impl

Re: [U-Boot] [PATCH v4 03/10] doc: Update info on using AM33xx secure devices from TI

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:22PM -0500, Andrew F. Davis wrote: > Add a section describing the additional boot types used on AM33xx > secure devices. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH v4 01/10] Kconfig: Separate AM33XX SOC config from target board config

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:20PM -0500, Andrew F. Davis wrote: > The config option AM33XX is used in several boards and should be > defined as a stand-alone option for this SOC. We break this out > from target boards that use this SoC and common headers then enable > AM33XX on in all the boards

Re: [U-Boot] [PATCH v4 02/10] am33xx: config.mk: Add support for additional secure boot image types

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 02:06:21PM -0500, Andrew F. Davis wrote: > Depending on the boot media, different images are needed > for secure devices. The build generates u-boot*_HS_* files > as appropriate for the different boot modes. > > For AM33xx devices additional image types are needed for > va

Re: [U-Boot] [PATCH v2 2/3] board: am335x-icev2: add ethernet phy mode detection logic

2016-09-02 Thread Tom Rini
On Wed, Aug 24, 2016 at 03:35:50PM +0300, Roger Quadros wrote: > Both ethernet ports can be used as CPSW ethernet (RMII mode) > or PRU ethernet (MII mode) by setting the jumper near the port. > Read the jumper value and set the pinmux, external mux and > PHY clock accordingly. > > As jumper line

Re: [U-Boot] [PATCH v2 3/3] board: am335x: Always set eth/eth1addr environment variable

2016-09-02 Thread Tom Rini
On Wed, Aug 24, 2016 at 03:35:51PM +0300, Roger Quadros wrote: > Ethernet ports might be used in the kernel even if CPSW driver > is disabled at u-boot. So always set ethaddr and eth1addr > environment variable from efuse. > > Retain usbnet_devaddr as it is required for SPL USB eth boot. > > Sig

Re: [U-Boot] [PATCH v2 1/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-09-02 Thread Tom Rini
On Wed, Aug 24, 2016 at 03:35:49PM +0300, Roger Quadros wrote: > From: Mugunthan V N > > cpsw driver supports only selection of phy mode in control module > but control module has more setting like RGMII ID mode selection, > RMII clock source selection. So ported to cpsw-phy-sel driver > from ke

Re: [U-Boot] [PATCH] ext4: fix possible crash on directory traversal, ignore deleted entries

2016-09-02 Thread Tom Rini
On Sun, Aug 28, 2016 at 09:44:41PM +0200, Stefan Bruens wrote: > On Freitag, 19. August 2016 15:54:51 CEST you wrote: > > On Sun, Aug 14, 2016 at 05:11:04AM +0200, Stefan Brüns wrote: > > > The following command triggers a segfault in search_dir: > > > ./sandbox/u-boot -c 'host bind 0 ./sandbox/tes

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

2016-09-02 Thread Tom Rini
On Thu, Sep 01, 2016 at 10:32:11AM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All Tegra builds are OK, and Stephen's automated test system reports that > all tests pass. > > The following changes since commit cb1cbdd96962931de2ac948a18487

Re: [U-Boot] [PATCH v2 21/44] Convert CONFIG_SPL_GPIO_SUPPORT to Kconfig

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 12:33:05PM -0600, Simon Glass wrote: > Hi Masahiro, > > On 29 August 2016 at 21:25, Masahiro Yamada > wrote: > > 2016-08-30 9:21 GMT+09:00 Simon Glass : > >> Move this option to Kconfig and tidy up existing uses. > >> > >> Signed-off-by: Simon Glass > > > >> > >> diff --g

Re: [U-Boot] [PATCH v2 5/7] arm: mach-keystone: config.mk: Adds support for secure images on K2

2016-09-02 Thread Andrew F. Davis
On 09/01/2016 12:04 AM, Madan Srinivas wrote: > Adds an additional image type needed for supporting secure keystone > devices. The build generates u-boot_HS_XIP_X-LOADER which can > be used to boot from all media on secure keystone devices. > > Signed-off-by: Madan Srinivas > > Cc: Andrew F. Dav

Re: [U-Boot] [PATCH 2/2] Fix cache misalignment after network load operations

2016-09-02 Thread Joe Hershberger
Hi Peter, On Mon, Aug 29, 2016 at 8:15 PM, wrote: > After any operation that downloads a file (e.g., pxe get, or dhcp), the > buffer containing the downloaded data is flushed. This patch rounds > up the flushed size to a cacheline boundary, preventing a cache > misalignment message from u-boot.

Re: [U-Boot] [PATCH 1/2] rtl8169: fix cache misalignment message on transmit.

2016-09-02 Thread Joe Hershberger
On Mon, Aug 29, 2016 at 8:15 PM, wrote: > The call to flush cache on the transmit buffer was misplaced (for very > short packets) and asked to flush less than a cacheline. > > Move the flush cache call to after a short packet has been padded > to minimum length (so the padding is flushed too), an

Re: [U-Boot] [PATCH] armv8: Remove the codes about switching to EL1 before jumping to kernel

2016-09-02 Thread Huan Wang
> On 08/29/2016 11:29 AM, Huan Wang wrote: > >> On 18.07.16 05:24, Huan Wang wrote: > >>> Hi, Alex, > >>> > >>> > >>> > >>>As there is strong objection to remove the codes > >>> about switching to EL1, I think we have to remain it, do you agree? > >> I agree, yes. > >> > >>>

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-02 Thread Joe Hershberger
On Fri, Sep 2, 2016 at 7:48 AM, Hannes Schmelzer wrote: > If mac-address is changed using "setenv ethaddr " command the new > mac-adress also must be written into the responsible ethernet driver. > > Signed-off-by: Hannes Schmelzer Acked-by: Joe Hershberger _

Re: [U-Boot] [PATCH] ARM: Rework and correct barrier definitions

2016-09-02 Thread Tom Rini
On Tue, Aug 30, 2016 at 09:50:47PM +, york sun wrote: > On 08/01/2016 03:54 PM, Tom Rini wrote: > > As part of testing booting Linux kernels on Rockchip devices, it was > > discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for > > some cases incomplete isb definitions. This

Re: [U-Boot] [PATCH v1 2/2] net: mv88e61xx: Add support for fixed links

2016-09-02 Thread Joe Hershberger
On Fri, Aug 26, 2016 at 12:30 AM, Chris Packham wrote: > On some boards these switches are wired directly into a SERDES > interface on another Ethernet MAC. Add the ability to specify > these kinds of boards using CONFIG_MV88E61XX_FIXED_PORTS which defines > a bit mask of these fixed ports. > > Si

Re: [U-Boot] [PATCH v1 1/2] net: Add support for mv88e609x switches

2016-09-02 Thread Joe Hershberger
On Fri, Aug 26, 2016 at 12:30 AM, Chris Packham wrote: > The Marvell Link Street mv88e60xx is a series of FastEthernet switch > chips, some of which also support Gigabit ports. It is similar to the > mv88e61xx series which support Gigabit on all ports. > > The main difference is the number of port

[U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-02 Thread Hannes Schmelzer
If mac-address is changed using "setenv ethaddr " command the new mac-adress also must be written into the responsible ethernet driver. Signed-off-by: Hannes Schmelzer --- net/eth-uclass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/eth-uclass.c b/net/eth-uclass.c index c15cc4d

[U-Boot] [PATCH v2] sunxi: Add support for A33-OLinuXino board

2016-09-02 Thread Stefan Mavrodiev
A33-OLinuXino is A33 development board designed by Olimex LTD. It has AXP223 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector, headphone and mic jacks, connector for LiPo battery and optional 4GB NAND Flash. It has two 40-pin headers. One for LCD panel, and one for additional modules. Also t

[U-Boot] [PATCH] treewide: compress lines for immediate return

2016-09-02 Thread Masahiro Yamada
-ret = expression; -if (ret) -return ret; -return 0; +return expression; Signed-off-by: Masahiro Yamada --- arch/arm/cpu/armv7/bcm235xx/clk-bsc.c | 6 +- arch/arm/cpu/armv7/bcm281xx/clk-bsc.c | 6 +- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c

Re: [U-Boot] [PATCH] treewide: compress lines for immediate return

2016-09-02 Thread Marek Vasut
On 09/02/2016 12:36 PM, Masahiro Yamada wrote: > -ret = expression; > -if (ret) > -return ret; > -return 0; > +return expression; > > Signed-off-by: Masahiro Yamada > --- The thing I miss in the commit message is -- why is this change beneficial/needed ? -- Best regards, Mare

[U-Boot] Asix USB Ethernet not working with DriverModel

2016-09-02 Thread Joshua Scott
Hi, I've come across an issue using a USB Ethernet adapter in U-Boot. I am still investigating where the problem is. This email is to let people know that a problem exists. I have included the output of "usb info" below, which includes the vendor/product-id of the specific adapter I am using.

Re: [U-Boot] [U-Boot-DM] FPGA driver over PCI bus

2016-09-02 Thread Max Ruttenberg
Thanks for getting back to me. At the moment the FPGA just has logic for peripheral management. Part of what I'm trying to do in U-Boot is program a bitfile to it over a PCIe connection. On Thu, Sep 1, 2016 at 12:07 PM, Marek Vasut wrote: > On 09/01/2016 04:46 PM, Max Ruttenberg wrote: > > Hi

Re: [U-Boot] [PATCH] armv7: ls102xa: add lowlevel init

2016-09-02 Thread Xiaoliang Yang
Hi york, The silicon bug was existing in V1.0 of SoCs, we have already not supported them. Xiaoliang Yang -Original Message- From: york sun Sent: Friday, September 02, 2016 11:24 AM To: Xiaoliang Yang; u-boot@lists.denx.de Subject: Re: [PATCH] armv7: ls102xa: add lowlevel init On 0

Re: [U-Boot] [PATCH] Trimslice config: update for Trimslice so SPI flash works

2016-09-02 Thread Steve Arnold
Thanks again, that's one more device truly on mainline for the most important bits. I probably said that already, but I still like pointing it out ;) Steve On Thu, Sep 1, 2016 at 4:11 PM, Tom Warren wrote: > Stephen, > > > -Original Message- > > From: Stephen Warren [mailto:swar...@www

Re: [U-Boot] [PATCH v4 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-09-02 Thread Marek Vasut
On 09/02/2016 11:58 AM, Kever Yang wrote: > Hi Marek, > > On 09/01/2016 04:59 PM, Marek Vasut wrote: >> On 09/01/2016 04:14 AM, Kever Yang wrote: >>> This patch add board_usb_init() and interrupt callback >>> for dwc3 gadget. >>> >>> Signed-off-by: Kever Yang >>> --- >>> >>> Changes in v4: >>> -

Re: [U-Boot] [PATCH v3 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-09-02 Thread Marek Vasut
On 09/02/2016 11:50 AM, Kever Yang wrote: > Hi Marek, Hi! > On 09/01/2016 04:58 PM, Marek Vasut wrote: >> On 09/01/2016 04:21 AM, Kever Yang wrote: >>> Hi Marek, >>> >>> On 08/31/2016 08:30 PM, Marek Vasut wrote: On 08/31/2016 10:40 AM, Kever Yang wrote: > This patch add board_usb_init()

Re: [U-Boot] ext4 delete file fails when ext4 extents enabled in filesystem

2016-09-02 Thread Brüns , Stefan
On Donnerstag, 1. September 2016 19:25:30 CEST you wrote: > On Donnerstag, 1. September 2016 16:08:51 CEST you wrote: > > Hi Stefan, > > > > applying patch [U-Boot,v4,06/13]ext4 and Michael Walles patch > > [U-Boot,v4,3/4]ext4, I'm now able to write into directories on ext4 fs > > from > > u-boot.

Re: [U-Boot] [PATCH] board: am57xx: Fix missing check for beagle_x15

2016-09-02 Thread Lokesh Vutla
On Friday 02 September 2016 01:23 PM, Nishanth Menon wrote: > When beagleboard-X15 is booted, we see the following log: > Unidentified board claims BBRDX15_ in eeprom header > > This is because of the missing check for x15 (the default) and reports > an error for a valid board configuration. fix

Re: [U-Boot] [PATCH v4 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2016-09-02 Thread Kever Yang
Hi Marek, On 09/01/2016 05:09 PM, Marek Vasut wrote: On 09/01/2016 04:14 AM, Kever Yang wrote: The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY, add one variable in dwc3/dwc3_device struct to support 16 bit UTMI+ interface on some SoCs like Rockchip rk3399. Signed-off-by: Keve

Re: [U-Boot] [PATCH v4 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-09-02 Thread Kever Yang
Hi Marek, On 09/01/2016 04:59 PM, Marek Vasut wrote: On 09/01/2016 04:14 AM, Kever Yang wrote: This patch add board_usb_init() and interrupt callback for dwc3 gadget. Signed-off-by: Kever Yang --- Changes in v4: - parse DT for quirk, base address and maximum speed Changes in v3: - remove ut

Re: [U-Boot] [PATCH v3 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-09-02 Thread Kever Yang
Hi Marek, On 09/01/2016 04:58 PM, Marek Vasut wrote: On 09/01/2016 04:21 AM, Kever Yang wrote: Hi Marek, On 08/31/2016 08:30 PM, Marek Vasut wrote: On 08/31/2016 10:40 AM, Kever Yang wrote: This patch add board_usb_init() and interrupt callback for dwc3 gadget. Signed-off-by: Kever Yang --

[U-Boot] any value to XTRN_DECLARE_GLOBAL_DATA_PTR these days?

2016-09-02 Thread Robert P. J. Day
current usage/references: $ grep -r XTRN_DECLARE_GLOBAL_DATA_PTR * arch/powerpc/include/asm/global_data.h:#define XTRN_DECLARE_GLOBAL_DATA_PTR extern arch/powerpc/include/asm/global_data.h:#define DECLARE_GLOBAL_DATA_PTR XTRN_DECLARE_GLOBAL_DATA_PTR \ common/board_f.c:#ifdef XTRN_DECL

[U-Boot] [PATCH] sunxi: Fix H3 EMAC syscon register address

2016-09-02 Thread Chen-Yu Tsai
The sun8i-emac driver follows an old version of the proposed DT bindings, where the EMAC clock and EPHY control register range is listed directly, rather than through a syscon phandle. Add back the syscon register range to avoid an invalid data access. We should fix the driver once the Linux kerne

Re: [U-Boot] [PATCH] getting ubifs to run

2016-09-02 Thread Heiko Schocher
Hello Marco, Am 01.09.2016 um 14:45 schrieb Hoefle Marco: Hello Heiko and Michal, Do you agree that the u-boot sources need to be adapted in order to have ubifs on the Microblaze? As you found an error, yes! It would be good if the changes are somehow in the mainline. Of course ... Hmm I

[U-Boot] [PATCH] board: am57xx: Fix missing check for beagle_x15

2016-09-02 Thread Nishanth Menon
When beagleboard-X15 is booted, we see the following log: Unidentified board claims BBRDX15_ in eeprom header This is because of the missing check for x15 (the default) and reports an error for a valid board configuration. fix the same. Signed-off-by: Nishanth Menon --- based on v2016.09-rc2

[U-Boot] [PATCH] board: am57xx: MAINTAINERS: Update for current maintainer

2016-09-02 Thread Nishanth Menon
Felipe Balbi has move on from TI and the current email ID is no longer valid. So, replacing with Lokesh. While at it, update missing config file which was untracked. Signed-off-by: Nishanth Menon --- board/ti/am57xx/MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 2/2] ARM64: zynqmp: Add support for chip ID detection

2016-09-02 Thread Michal Simek
Chip ID needs to be known for loading bitstream because U-Boot checks ID from bitstream header in BIT format. BIN format is completely unchecked. The chipid is get from ATF via SMC. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 99 +++

[U-Boot] [PATCH 1/2] fpga: xilinx: zynqmp: Add PL bitstream download support for ZynqMP

2016-09-02 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add PL bitstream dowload support for ZynqMP Bitstream will be validated by uboot and loaded to PL by invoking an smc instruction to ATF which route this request to PMU FW which will take care of loading it to PL Signed-off-by: Siva Durga Prasad Paladugu Signed-o