Re: [U-Boot] [PATCH v3 1/2] usb: net: Add support for Microchip LAN75xx and LAN78xx

2017-08-10 Thread Marek Vasut
On 08/09/2017 07:47 PM, Joe Hershberger wrote: > On Wed, Aug 9, 2017 at 12:12 PM, Marek Vasut wrote: >> On 08/09/2017 06:25 PM, yuiko.osh...@microchip.com wrote: >>> From: Yuiko Oshino >>> >>> Series-Changes: 3 >> >> FYI, this will end in the commit message when applied, remove it or move >> it b

Re: [U-Boot] [PATCH 00/10] This patch set represent Marvell mvpp2 driver fixes

2017-08-10 Thread Stefan Roese
Hi Joe, On 09.08.2017 17:24, Joe Hershberger wrote: On Wed, Aug 9, 2017 at 12:56 AM, Stefan Roese wrote: Hi Joe, On 08.08.2017 17:57, Joe Hershberger wrote: Hi Stefan (and Stefan), On Tue, Aug 8, 2017 at 7:05 AM, Stefan Roese wrote: Hi Joe, On 11.07.2017 10:04, Stefan Roese wrote: O

Re: [U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-10 Thread Masahiro Yamada
Hi. 2017-08-07 17:30 GMT+09:00 Marek Vasut : > On 08/07/2017 04:30 AM, Masahiro Yamada wrote: >> Hi Marek, > > Hi Masahiro, > > This is gonna be a great discussion, let's wrestle about consts and ints :-) > >> 2017-08-06 4:23 GMT+09:00 Marek Vasut : >>> On 08/03/2017 02:36 PM, Masahiro Yamada wro

Re: [U-Boot] [PATCH v1 5/7] spl: add serial download protocol (SDP) support

2017-08-10 Thread Stefano Babic
Hi Stefan, On 09/08/2017 02:59, Stefan Agner wrote: > Stefano, > > One question below: > > On 2017-08-04 16:38, Stefan Agner wrote: >> From: Stefan Agner >> >> Add USB serial download protocol support to SPL. If the SoC started >> in recovery mode the SPL will immediately switch to SDP and wait

Re: [U-Boot] [PATCH v1 2/7] usb: gadget: add SDP driver

2017-08-10 Thread Stefano Babic
Hi Stefan, On 05/08/2017 01:38, Stefan Agner wrote: > From: Stefan Agner > > Add SDP (Serial Downloader Protocol) implementation for U-Boot. The > protocol is used in NXP SoC's boot ROM and allows to download program > images. Beside that, it can also be used to read/write registers and > downlo

Re: [U-Boot] [PATCH v1 3/7] usb: gadget: sdp: extend images compatible for jumps

2017-08-10 Thread Stefano Babic
On 05/08/2017 01:38, Stefan Agner wrote: > From: Stefan Agner > > Support U-Boot images in SPL so that u-boot.img files can be > directly downloaded and executed. Furthermore support U-Boot > scripts download and execution in full U-Boot so that custom > recovery actions can be downloaded from th

Re: [U-Boot] [PATCH v1 4/7] cmd: add sdp command

2017-08-10 Thread Stefano Babic
Hi Stefan, On 05/08/2017 01:38, Stefan Agner wrote: > From: Stefan Agner > > Add a new command to start USB Serial Download Protocol (SDP) > state machine. > > Signed-off-by: Stefan Agner > --- > > cmd/Kconfig | 7 +++ > cmd/Makefile | 1 + > cmd/usb_gadget_sdp.c | 53

Re: [U-Boot] [PATCH v1 5/7] spl: add serial download protocol (SDP) support

2017-08-10 Thread Stefano Babic
Hi Stefan, On 05/08/2017 01:38, Stefan Agner wrote: > From: Stefan Agner > > Add USB serial download protocol support to SPL. If the SoC started > in recovery mode the SPL will immediately switch to SDP and wait for > further downloads/commands from the host side. > > Signed-off-by: Stefan Agne

Re: [U-Boot] [PATCHv2 00/10] This patch set represent Marvell mvpp2 driver fixes

2017-08-10 Thread Stefan Roese
Hi Stefan, On 09.08.2017 09:37, stef...@marvell.com wrote: From: Stefan Chulski Issues were found during internal QA phase. Stefan Chulski (10): net: mvpp2x: Add GPIO configuration support net: mvpp2x: fix phy connected to wrong mdio issue net: mvpp2x: Enable GoP packet padding in TX

[U-Boot] Please pull u-boot-marvell/master

2017-08-10 Thread Stefan Roese
Hi Tom, please pull the mvpp2x net patches from Stefan Chulski, which have been missed for quite some time. All have been acked by Joe. Thanks, Stefan The following changes since commit d529124fdcf941c34074fd1ce600f4b1b4a7dd07: Merge git://git.denx.de/u-boot-x86 (2017-08-08 17:06:19 -0400)

Re: [U-Boot] [PATCH] drivers: spi: Remove atmel_dataflash_spi driver

2017-08-10 Thread Jagan Teki
On Wed, Aug 9, 2017 at 10:53 AM, Wenyou Yang wrote: > This driver is replaced by the SPI-flash-based AT45xxx DataFlash > driver, which supports the driver model and device tree, the > atmel_dataflash_spi driver will not be used any more. > > Signed-off-by: Wenyou Yang > --- > > drivers/spi/Makef

[U-Boot] rk3288: 32KB SPL size restriction

2017-08-10 Thread Jagan Teki
Hi Simon/Philipp or any, I believe rk3288 has 20KB BootRom and 100KB internal SRAM and current u-boot can archive the maximum size of u-boot-spl-dtb.bin which the boot ROM will read is 32KB, do we have any possibility to increase the SPL size here. # ./tools/mkimage -n rk3288 -T rksd -d ./spl/u-b

Re: [U-Boot] [PATCH v5 01/10] drivers: spi: allow limiting reads

2017-08-10 Thread Jagan Teki
On Sun, Jul 30, 2017 at 5:43 PM, Álvaro Fernández Rojas wrote: > For some SPI controllers it's not possible to keep the CS active between > transfers and they are limited to a known number of bytes. > This splits spi_flash reads into different iterations in order to respect > the SPI controller li

Re: [U-Boot] [PATCH v5 02/10] drivers: spi: consider command bytes when sending transfers

2017-08-10 Thread Jagan Teki
On Sun, Jul 30, 2017 at 5:43 PM, Álvaro Fernández Rojas wrote: > Command bytes are part of the written bytes and they should be taken into > account when sending a spi transfer. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Simon Glass > Reviewed-by: Daniel Schwierzeck Reviewed-by:

Re: [U-Boot] [PATCH v5 03/10] dm: spi: add BCM63xx SPI driver

2017-08-10 Thread Jagan Teki
On Sun, Jul 30, 2017 at 5:43 PM, Álvaro Fernández Rojas wrote: > This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Simon Glass > Reviewed-by: Daniel Schwierzeck > --- > v5: Introduce changes suggested by Jagan Teki:

Re: [U-Boot] [PATCH v2] serial: ns16550: Add RX interrupt buffer support

2017-08-10 Thread Stefan Roese
Hi Bin, On 17.07.2017 16:49, Bin Meng wrote: > +Simon, > > Hi Stefan, > > On Mon, Jul 17, 2017 at 7:18 PM, Stefan Roese wrote: >> Hi Bin, >> >> >> On 17.07.2017 11:43, Stefan Roese wrote: >>> >>> On 17.07.2017 11:26, Bin Meng wrote: >>> >>> >>> >>> + } >>> +#endif >>> + >

Re: [U-Boot] [PATCH 1/2] Configs: Migrate CONFIG_SYS_I2C_OMAP34XX to CONFIG_SYS_I2C_OMAP24XX

2017-08-10 Thread Heiko Schocher
Hello Adam, Am 07.08.2017 um 20:11 schrieb Adam Ford: The driver is for all boards 24XX and up, so let's eliminate the extra option called CONFIG_SYS_I2C_OMAP34XX since the driver checks for CONFIG_OMAP34XX we don't need CONFIG_SYS_I2C_OMAP34XX. Signed-off-by: Adam Ford --- arch/arm/mach-oma

Re: [U-Boot] [PATCH] i2c: designware: Allow sending restart conditions

2017-08-10 Thread Heiko Schocher
Hello Marek, Am 07.08.2017 um 20:45 schrieb Marek Vasut: Allow sending restart conditions upon direction change as this is required by some chips. Signed-off-by: Marek Vasut Cc: Stefan Roese Cc: Alexey Brodkin Cc: Heiko Schocher --- drivers/i2c/designware_i2c.c | 3 ++- 1 file changed, 2

Re: [U-Boot] [PATCH] i2c: at91: Add missing probe function to device driver

2017-08-10 Thread Heiko Schocher
Hello Wenyou, Am 31.07.2017 um 03:56 schrieb Wenyou Yang: Add missing probe function to the device driver to active a device. Signed-off-by: Wenyou Yang --- drivers/i2c/at91_i2c.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) applied to u-boot-i2c.git

[U-Boot] Please pull from u-boot-i2c

2017-08-10 Thread Heiko Schocher
Hello Tom, The following changes since commit 1989374b21089c63019fc9648408c8d609023ffe: configs: Finish migration of PHY_GIGE (2017-08-08 17:02:31 -0400) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master for you to fetch changes up to 014e47f028526689aaa8ecb2

[U-Boot] [RESEND PATCH] arm: dts: am33xx: Remove redundant interrupt-parent property

2017-08-10 Thread sunil . m
From: Suniel Mahesh Upstream Linux has the Interrupt-parent property being removed from mmc, mac, lcdc and tscadc sub nodes in the dtsi file. Interrupt-parent property is already defined in the root node. Therefore, update the dtsi to mimic this change and remove duplicates. Signed-off-by: Sunie

Re: [U-Boot] scripts: setlocalversion: safely extract variables from auto.conf using awk

2017-08-10 Thread Philipp Tomsich
> Moving SPL_LDSCRIPT to Kconfig triggered an unfortunate attempt of > command substitution, as the sourced auto.conf may include $(ARCH) > which tries to execute a command 'ARCH'. > This showed up as a warning similar to the following: > include/config/auto.conf: line 209: ARCH: command not foun

Re: [U-Boot] rockchip: rk3288: fix EMMC_DIV_MASK definition in header

2017-08-10 Thread Philipp Tomsich
> It shoulb be '<<' instead of '<' for _MASK definition, fix it. > > Signed-off-by: Ziyuan Xu > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > Reviewed-by: Simon Glass > --- > > arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 2 +- > 1 file changed,

Re: [U-Boot] [PATCH v0 00/20] enough UEFI for standard distro boot

2017-08-10 Thread Rob Clark
On Wed, Aug 9, 2017 at 9:32 PM, Tom Rini wrote: > On Fri, Aug 04, 2017 at 03:31:42PM -0400, Rob Clark wrote: > >> This patchset fleshes out EFI_LOADER enough to support booting an >> upstream \EFI\BOOT\bootaa64.efi (which then loads fallback.efi and >> then eventually the per-distro shim.efi which

Re: [U-Boot] [RFC] efi_loader: Add test to boot OpenBSD's efi bootloader

2017-08-10 Thread Rob Clark
On Wed, Aug 9, 2017 at 11:43 PM, Jonathan Gray wrote: > On Sun, Aug 06, 2017 at 03:06:17PM -0400, Rob Clark wrote: >> On Sun, Aug 6, 2017 at 2:54 PM, Mark Kettenis >> wrote: >> >> From: Rob Clark >> >> Date: Sun, 6 Aug 2017 12:10:28 -0400 >> >> >> >> Signed-off-by: Rob Clark >> >> --- >> >> K

Re: [U-Boot] [PATCH] board: ks2: README: Update NAND wording

2017-08-10 Thread Roger Quadros
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 10/08/17 05:29, Franklin S Cooper Jr wrote: > Traditional KS2 devices supported NAND via the AEMIF peripheral. However, > 66AK2G doesn't use the AEMIF but rather the

Re: [U-Boot] [PATCH 2/2] Convert CONFIG_SYS_I2C_OMAP24XX to Kconfig

2017-08-10 Thread Heiko Schocher
Hello Adam, Am 07.08.2017 um 20:11 schrieb Adam Ford: This converts the following to Kconfig: CONFIG_SYS_I2C_OMAP24XX Signed-off-by: Adam Ford --- arch/arm/mach-omap2/Kconfig| 5 + configs/ti816x_evm_defconfig | 1 + drivers/i2c/Kconfig| 6

Re: [U-Boot] [PATCH v2] arm: omap: Fix 'get_device_type()' for OMAP34XX

2017-08-10 Thread Derald Woods
On Mon, Aug 7, 2017 at 5:19 PM, Derald Woods wrote: > On Mon, Aug 7, 2017 at 7:41 AM, Tom Rini wrote: > >> On Mon, Aug 07, 2017 at 07:35:30AM -0500, Derald Woods wrote: >> > On Mon, Jul 31, 2017 at 7:41 AM, Derald D. Woods < >> woods.techni...@gmail.com> >> > wrote: >> > >> > > Fixes: 00bbe96eba

Re: [U-Boot] [U-Boot, RESENT, v2, 1/4] rockchip: rk322x: set the DDR region as non-secure in SPL

2017-08-10 Thread Philipp Tomsich
> Disable the ddr secure region setting in SPL and the ddr memory > becomes non-secure, every one can access it. the trust firmware > like OPTEE should have the correct setting for it after SPL if > there is one. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp To

Re: [U-Boot] [U-Boot, RESENT, v2, 2/4] rockchip: rk322x: update max-frequency for mmc node

2017-08-10 Thread Philipp Tomsich
> mmc using 15000 as max-frequency like what rk3288 sets. > This can speed up the mmc read/write, the actual mmc clock is: > Before this patch: 37.125M > After this patch: 49.5M > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v2

Re: [U-Boot] [U-Boot, RESENT, v2, 3/4] rockchip: clk: update dwmmc clock div

2017-08-10 Thread Philipp Tomsich
> dwmmc controller has default internal divider by 2, > and we always provide double of the clock rate request by > dwmmc controller. Sync code for all Rockchip SoC with: > 4055b46 rockchip: clk: rk3288: fix mmc clock setting > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > Acked-b

Re: [U-Boot] [U-Boot, 3/5] rockchip: dts: rk322x: add sdmmc device node

2017-08-10 Thread Philipp Tomsich
> add node for sdmmc in dts and rk3229-evb. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > > arch/arm/dts/rk3229-evb.dts | 12 + > arch/arm/dts/rk322x.dtsi| 62 > + > 2 files changed, 74

Re: [U-Boot] [U-Boot, RESENT, v2, 4/4] rockchip: clk: remove RATE_TO_DIV

2017-08-10 Thread Philipp Tomsich
> Use DIV_ROUND_UP instead RATE_TO_DIV for all Rockchip SoC > clock driver. > Add or fix the div-field overflow check at the same time. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v2: > - add overflow check for div-field > > d

Re: [U-Boot] [PATCH v2] arm: omap: Fix 'get_device_type()' for OMAP34XX

2017-08-10 Thread Derald Woods
On Thu, Aug 10, 2017 at 7:25 AM, Derald Woods wrote: > On Mon, Aug 7, 2017 at 5:19 PM, Derald Woods > wrote: > >> On Mon, Aug 7, 2017 at 7:41 AM, Tom Rini wrote: >> >>> On Mon, Aug 07, 2017 at 07:35:30AM -0500, Derald Woods wrote: >>> > On Mon, Jul 31, 2017 at 7:41 AM, Derald D. Woods < >>> woo

Re: [U-Boot] [PATCH v2 5/5] spl: fit: Add booting OS first

2017-08-10 Thread York Sun
On 08/07/2017 04:16 PM, York Sun wrote: > If CONFIG_SPL_OS_BOOT is enabled, boot OS if kernel image is found > in FIT structure. > > Signed-off-by: York Sun > > --- > This presums the kernel image doesn't exist in a FIT image intended for > U-Boot. If kernel image normally co-exists with U-Boot

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-08-10 Thread York Sun
Tom, The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5: common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 20:38:39 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to 1c83df6f3f95055

Re: [U-Boot] [PATCH] driver: mmc: fsl_esdhc: Fix compiling warning

2017-08-10 Thread York Sun
On 08/08/2017 05:07 PM, York Sun wrote: > Commit 4483b7eb added variable vqmmc_dev but only uses it under > CONFIG_DM_REGULATOR. Add the same macro to variable declaration to > get rid of compiling warning. > > Signed-off-by: York Sun > --- Applied to fsl-qoriq master, awaiting upstream. York _

Re: [U-Boot] [PATCH] armv8: ls1046ardb: update core frequency to 1800MHZ

2017-08-10 Thread York Sun
On 06/15/2017 01:28 AM, Q.y. Gong wrote: > Hi York, > >> -Original Message- >> From: York Sun >> Sent: Wednesday, June 14, 2017 4:55 AM >> To: Q.y. Gong ; u-boot@lists.denx.de >> Cc: Mingkai Hu >> Subject: Re: [PATCH] armv8: ls1046ardb: update core frequency to 1800MHZ >> >> On 06/12/2017

Re: [U-Boot] [PATCH] armv8/fsl-lsch2: correct the config description of DSPI clock divider

2017-08-10 Thread York Sun
On 07/03/2017 03:53 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > It is derived from Platform clock instead of Platform PLL frequency. > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot m

Re: [U-Boot] [PATCH 1/1] board/ls2080ardb: Disable SD-related GPIO programming

2017-08-10 Thread York Sun
On 08/07/2017 10:18 PM, Priyanka Jain wrote: > Both LS2080ARDB rev F and LS2081ARDB were initially designed to have smart > voltage translator to support SD-boot and UHS mode > At a later stage, due to some issues on LS2088ARDB RevF board to support > SD-boot, translator was removed from RevF bo

Re: [U-Boot] [PATCH 1/1] board:ls2080ardb: Update execution of config_board_mux

2017-08-10 Thread York Sun
On 06/15/2017 04:34 AM, Santan Kumar wrote: > config_board_mux() is dependent on 'hwconfig' env read value. > > For some bootloaders like QSPI, env is ready only after > relocation. So delay execution of config_board_mux() > to misc_init_r(). > > Signed-off-by: Santan Kumar > --- Revised commit

Re: [U-Boot] [PATCH] fsl-lsch2: csu: remove multiple calling function

2017-08-10 Thread York Sun
On 07/03/2017 08:52 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- Added commit message. Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.

Re: [U-Boot] [PATCH] dm: arm: ls1021a: Move to driver model for USB

2017-08-10 Thread York Sun
On 07/07/2017 01:55 AM, Bin Meng wrote: > On Fri, Jul 7, 2017 at 3:10 PM, Alison Wang wrote: >> This patch enables driver model for USB in defconfigs for LS1021A platforms. >> >> Signed-off-by: Alison Wang >> --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York _

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: not always setting esdhc fdt status to okay

2017-08-10 Thread York Sun
On 07/21/2017 12:10 PM, Li Yang wrote: > We shouldn't always change the status to okay. There could be > situations that the esdhc is intentionally disabled in the device > tree. > > Signed-off-by: Li Yang > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York _

Re: [U-Boot] [PATCH] PCI: layerscape: Fix the bug assigning wrong address to LS2088A pcie cfg1 space

2017-08-10 Thread York Sun
On 07/17/2017 08:45 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > This bug is brought by the commit 3d8553f0a3 (pci: layerscape: add > LS2088A series SoC pcie support), which only updated cfg_res.start > and did not update the .end field, this will make fdt_resource_size() > getting wrong valu

Re: [U-Boot] [PATCH] config: ls1012aqds: Add USB EHCI support for ls1012aqds

2017-08-10 Thread York Sun
On 07/27/2017 03:05 AM, yinbo@nxp.com wrote: > From: Rajesh Bhagat > > Add USB EHCI support for ls1012aqds platform > > Signed-off-by: Rajat Srivastava > Signed-off-by: Rajesh Bhagat > Signed-off-by: yinbo.zhu > --- Removed commit message (a copy of subject). Applied to fsl-qoriq master,

Re: [U-Boot] [PATCH 1/1] board: ls2080ardb: Add fsl_fdt_fixup_flash

2017-08-10 Thread York Sun
On 08/07/2017 09:48 PM, Priyanka Jain wrote: > > But in this case at board level, complete IFC is mux-ed with QSPI. > So, we have put this code in board file. > Priyanka > Revised commit message. Applied to fsl-qoriq master, awaiting upstream. Thanks. York __

Re: [U-Boot] [PATCH 1/1] driver: net: fsl-mc: fsl_mc_ldpaa_exit exit earlier if dpl applied

2017-08-10 Thread York Sun
>> On 06/28/2017 10:47 PM, Santan Kumar wrote: >>> In fsl_mc_ldpaa_exit(), in case of mc is booted and dpl is applied, it >>> should return earlier without executing >>> dpbp_exit() >>> >>> Signed-off-by: Santan Kumar >>> --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York _

Re: [U-Boot] [PATCH] fsl-lsch2: csu: correct the workaround A-010315

2017-08-10 Thread York Sun
On 07/03/2017 03:07 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The implementation of workaround A-010315 is wrong, it updated > other IP's CSU registers. > > Signed-off-by: Hou Zhiqiang > --- Revised commit message. Applied to fsl-qoriq master, awaiting upstream. Thanks. York _

Re: [U-Boot] [PATCH 1/1][v2] armv8: ls2080a: Increase env sector size for qspi boot

2017-08-10 Thread York Sun
On 08/08/2017 10:03 PM, Santan Kumar wrote: > Increase env sector size from 64kb to 256kb for qspi boot > > Signed-off-by: Santan Kumar > Signed-off-by: Priyanka Jain > --- > Changes for v2: > -Change the commit message Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___

Re: [U-Boot] [PATCH v3 1/1] mmc: Add MMC support for stm32h7 Socs

2017-08-10 Thread Patrice CHOTARD
Hi Simon On 08/06/2017 07:15 AM, Simon Glass wrote: > Hi Patrice, > > On 20 July 2017 at 02:34, wrote: >> From: Patrice Chotard >> >> This patch adds SD/MMC support for STM32H7 SoCs. >> >> Here is an extraction of SDMMC main features, embedded in >> STM32H7 SoCs. >> The SD/MMC block include th

Re: [U-Boot] [PATCH v3 1/2] usb: net: Add support for Microchip LAN75xx and LAN78xx

2017-08-10 Thread Joe Hershberger
On Thu, Aug 10, 2017 at 2:15 AM, Marek Vasut wrote: > On 08/09/2017 07:47 PM, Joe Hershberger wrote: >> On Wed, Aug 9, 2017 at 12:12 PM, Marek Vasut wrote: >>> On 08/09/2017 06:25 PM, yuiko.osh...@microchip.com wrote: From: Yuiko Oshino Series-Changes: 3 >>> >>> FYI, this will end

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Robert Nelson
Hi Vikas, On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: > This commit supports booting from stm32 internal nor flash. spl U-Boot > initializes the sdram memory, copies next image (e.g. standard U-Boot) > to sdram & then jumps to entry point. > > Here are the flash memory addresses for U-B

Re: [U-Boot] [PATCH] fs: add fs_readdir()

2017-08-10 Thread Rob Clark
On Sun, Aug 6, 2017 at 1:16 AM, Simon Glass wrote: > Hi Rob, > > On 3 August 2017 at 13:36, Rob Clark wrote: >> On Thu, Aug 3, 2017 at 3:10 PM, Brüns, Stefan >> wrote: >>> On Donnerstag, 3. August 2017 18:54:30 CEST Rob Clark wrote: Needed to support efi file protocol. The fallback.efi loa

Re: [U-Boot] [PATCH v3 1/2] usb: net: Add support for Microchip LAN75xx and LAN78xx

2017-08-10 Thread Yuiko.Oshino
Hi Marek, >-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Wednesday, August 9, 2017 1:12 PM >To: Yuiko Oshino - C18177; u-boot@lists.denx.de >Cc: Joe Hershberger >Subject: Re: [PATCH v3 1/2] usb: net: Add support for Microchip LAN75xx and >LAN78xx > >On 08/09/2017 06:2

Re: [U-Boot] [PATCH v3 1/2] usb: net: Add support for Microchip LAN75xx and LAN78xx

2017-08-10 Thread Marek Vasut
On 08/10/2017 08:13 PM, yuiko.osh...@microchip.com wrote: > Hi Marek, Hi, >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Wednesday, August 9, 2017 1:12 PM >> To: Yuiko Oshino - C18177; u-boot@lists.denx.de >> Cc: Joe Hershberger >> Subject: Re: [PATCH v3 1/2] u

[U-Boot] [PATCH v1 00/15] enough UEFI for standard distro boot

2017-08-10 Thread Rob Clark
This patchset fleshes out EFI_LOADER enough to support booting an upstream \EFI\BOOT\bootaa64.efi (which then loads fallback.efi and then eventually the per-distro shim.efi which loads the per-distro grubaa64.efi) without resorting to hacks to hard-code u-boot to load a particular distro's grub, or

[U-Boot] [PATCH v1 01/15] fs: add fs_readdir()

2017-08-10 Thread Rob Clark
Needed to support efi file protocol. The fallback.efi loader wants to be able to read the contents of the /EFI directory to find an OS to boot. Also included is an ls2 command which implements ls on top of fs_readdir(), to more easily test the readdir functionality. Signed-off-by: Rob Clark ---

[U-Boot] [PATCH v1 02/15] fs/fat: implement readdir

2017-08-10 Thread Rob Clark
Yes, this is super-hacky. The FAT code is quite ugly, and this doesn't improve things. But it doesn't make it significantly worse either. The better option would be a massive FAT re-write to get rid of the hacky way that fat_file_ls() works. Volunteers welcome. Signed-off-by: Rob Clark --- f

[U-Boot] [PATCH v1 04/15] efi: add some more device path structures

2017-08-10 Thread Rob Clark
From: Peter Jones Signed-off-by: Peter Jones Signed-off-by: Rob Clark --- include/efi_api.h | 62 +++ 1 file changed, 58 insertions(+), 4 deletions(-) diff --git a/include/efi_api.h b/include/efi_api.h index ec1b321e8e..b761cf4822 100644 ---

[U-Boot] [PATCH v1 03/15] part: extract MBR signature from partitions

2017-08-10 Thread Rob Clark
From: Peter Jones EFI client programs need the signature information from the partition table to determine the disk a partition is on, so we need to fill that in here. Signed-off-by: Peter Jones [separated from efi_loader part, and fixed build-errors for non- CONFIG_EFI_PARTITION case] Signed-

[U-Boot] [PATCH v1 12/15] efi_loader: support load_image() from a file-path

2017-08-10 Thread Rob Clark
Previously we only supported the case when the EFI application loaded the image into memory for us. But fallback.efi does not do this. Signed-off-by: Rob Clark --- lib/efi_loader/efi_boottime.c | 83 +++ 1 file changed, 68 insertions(+), 15 deletions(-)

[U-Boot] [PATCH v1 06/15] efi_loader: drop redundant efi_device_path_protocol

2017-08-10 Thread Rob Clark
This is really the same thing as the efi_device_path struct. Signed-off-by: Rob Clark --- include/efi_api.h| 12 ++-- lib/efi_loader/efi_device_path_to_text.c | 13 - 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/include/efi_api.h b/

[U-Boot] [PATCH v1 05/15] efi_loader: add device-path utils

2017-08-10 Thread Rob Clark
Helpers to construct device-paths from devices, partitions, files, and for parsing and manipulating device-paths. For non-legacy devices, this will use u-boot's device-model to construct device-paths which include bus hierarchy to construct device-paths. For legacy devices we still fake it, but s

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Vikas Manocha
Hi Robert, On 08/10/2017 11:03 AM, Robert Nelson wrote: > Hi Vikas, > > On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: >> This commit supports booting from stm32 internal nor flash. spl U-Boot >> initializes the sdram memory, copies next image (e.g. standard U-Boot) >> to sdram & then jum

[U-Boot] [PATCH v1 15/15] efi_loader: add bootmgr

2017-08-10 Thread Rob Clark
Similar to a "real" UEFI implementation, the bootmgr looks at the BootOrder and Boot variables to try to find an EFI payload to load and boot. This is added as a sub-command of bootefi. The idea is that the distro bootcmd would first try loading a payload via the bootmgr, and then if that fai

[U-Boot] [PATCH v1 07/15] efi_loader: flesh out device-path to text

2017-08-10 Thread Rob Clark
It needs to handle more device-path node types, and also multiple levels of path hierarchy. To simplify this, initially construct utf8 string to a temporary buffer, and then allocate the real utf16 buffer that is returned. This should be mostly for debugging or at least not critical- path so an e

[U-Boot] [PATCH v1 09/15] efi_loader: use proper device-paths for net

2017-08-10 Thread Rob Clark
Signed-off-by: Rob Clark --- lib/efi_loader/efi_net.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c index 0b949d86e8..aa0618fd3a 100644 --- a/lib/efi_loader/efi_net.c +++ b/lib/efi_loader/efi_net.c @@ -

[U-Boot] [PATCH v1 14/15] efi_loader: efi variable support

2017-08-10 Thread Rob Clark
Add EFI variable support, mapping to u-boot environment variables. Variables are pretty important for setting up boot order, among other things. If the board supports saveenv, then it will be called in ExitBootServices() to persist variables set by the efi payload. (For example, fallback.efi conf

[U-Boot] [PATCH v1 08/15] efi_loader: use proper device-paths for partitions

2017-08-10 Thread Rob Clark
Also, create disk objects for the disk itself, in addition to the partitions. (UEFI terminology is a bit confusing, a "disk" object is really a partition.) This helps grub properly identify the boot device since it is trying to match up partition "disk" object with it's parent device. Now instea

[U-Boot] [PATCH v1 10/15] efi_loader: refactor boot device and loaded_image handling

2017-08-10 Thread Rob Clark
Get rid of the hacky fake boot-device and duplicate device-path constructing (which needs to match what efi_disk and efi_net do). Instead convert over to use efi_device_path helpers to construct device-paths, and use that to look up the actual boot device. Also, extract out a helper to plug things

[U-Boot] [PATCH v1 13/15] efi_loader: make pool allocations cacheline aligned

2017-08-10 Thread Rob Clark
This avoids printf() spam about file reads (such as loading an image) into unaligned buffers (and the associated memcpy()). And generally seems like a good idea. Signed-off-by: Rob Clark --- lib/efi_loader/efi_memory.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib

[U-Boot] [PATCH v1 11/15] efi_loader: add file/filesys support

2017-08-10 Thread Rob Clark
fallback.efi (and probably other things) use UEFI's simple-file-system protocol and file support to search for OS's to boot. Signed-off-by: Rob Clark --- fs/fs.c | 21 ++ include/efi.h | 2 + include/efi_api.h | 65 ++ include

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Robert Nelson
On Thu, Aug 10, 2017 at 1:10 PM, Vikas Manocha wrote: > One other point, > > On 08/10/2017 11:07 AM, Vikas Manocha wrote: >> Hi Robert, >> >> On 08/10/2017 11:03 AM, Robert Nelson wrote: >>> Hi Vikas, >>> >>> On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: This commit supports booting

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Vikas Manocha
One other point, On 08/10/2017 11:07 AM, Vikas Manocha wrote: > Hi Robert, > > On 08/10/2017 11:03 AM, Robert Nelson wrote: >> Hi Vikas, >> >> On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: >>> This commit supports booting from stm32 internal nor flash. spl U-Boot >>> initializes the sdra

Re: [U-Boot] [PATCH v3 1/2] usb: net: Add support for Microchip LAN75xx and LAN78xx

2017-08-10 Thread Joe Hershberger
On Thu, Aug 10, 2017 at 1:13 PM, wrote: > Hi Marek, > >>-Original Message- >>From: Marek Vasut [mailto:ma...@denx.de] >>Sent: Wednesday, August 9, 2017 1:12 PM >>To: Yuiko Oshino - C18177; u-boot@lists.denx.de >>Cc: Joe Hershberger >>Subject: Re: [PATCH v3 1/2] usb: net: Add support for M

Re: [U-Boot] [PATCH v3 1/2] usb: net: Add support for Microchip LAN75xx and LAN78xx

2017-08-10 Thread Yuiko.Oshino
>-Original Message- >From: Joe Hershberger [mailto:joe.hershber...@ni.com] >Sent: Thursday, August 10, 2017 2:45 PM >To: Yuiko Oshino - C18177 >Cc: Marek Vasut; u-boot; Joe Hershberger >Subject: Re: [U-Boot] [PATCH v3 1/2] usb: net: Add support for Microchip >LAN75xx and LAN78xx > >On Thu,

Re: [U-Boot] Please pull from u-boot-i2c

2017-08-10 Thread Tom Rini
On Thu, Aug 10, 2017 at 12:09:58PM +0200, Heiko Schocher wrote: > Hello Tom, > > The following changes since commit 1989374b21089c63019fc9648408c8d609023ffe: > > configs: Finish migration of PHY_GIGE (2017-08-08 17:02:31 -0400) > > are available in the git repository at: > > git://git.denx

Re: [U-Boot] Please pull u-boot-marvell/master

2017-08-10 Thread Tom Rini
On Thu, Aug 10, 2017 at 10:26:32AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the mvpp2x net patches from Stefan Chulski, which have > been missed for quite some time. All have been acked by Joe. > > Thanks, > Stefan > > > The following changes since commit d529124fdcf941c34074fd1ce6

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

2017-08-10 Thread Dr. Philipp Tomsich
Hello Tom, The following changes since commit d529124fdcf941c34074fd1ce600f4b1b4a7dd07: Merge git://git.denx.de/u-boot-x86 (2017-08-08 17:06:19 -0400) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git master for you to fetch changes up to 6785e701b70a5e12a3dbb2f

Re: [U-Boot] [PATCH v3 1/2] usb: net: Add support for Microchip LAN75xx and LAN78xx

2017-08-10 Thread Joe Hershberger
On Thu, Aug 10, 2017 at 2:32 PM, wrote: >>-Original Message- >>From: Joe Hershberger [mailto:joe.hershber...@ni.com] >>Sent: Thursday, August 10, 2017 2:45 PM >>To: Yuiko Oshino - C18177 >>Cc: Marek Vasut; u-boot; Joe Hershberger >>Subject: Re: [U-Boot] [PATCH v3 1/2] usb: net: Add suppor

Re: [U-Boot] [RESEND PATCH] arm: dts: am33xx: Remove redundant interrupt-parent property

2017-08-10 Thread Tom Rini
On Thu, Aug 10, 2017 at 03:40:24PM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > Upstream Linux has the Interrupt-parent property being removed > from mmc, mac, lcdc and tscadc sub nodes in the dtsi file. > Interrupt-parent property is already defined in the root node. > Therefore

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-10 Thread Yang, Wenyou
Hi All, Do you have some comment on it? On 2017/7/25 15:00, Wenyou Yang wrote: This series of patches are based and have been tested on the 'master' branch of the u-boot.git tree. Tests were passed with a sama5d2 xplained board which embeds both SPI and QSPI controllers. The following tests

Re: [U-Boot] [PATCH] armv8: layerscape platform pcie link up state judgment strongly

2017-08-10 Thread Xiaowei Bao
Hi York, I will add the inline comment in the patch, send it to you later. thanks -Original Message- From: York Sun Sent: Wednesday, August 09, 2017 12:14 AM To: Xiaowei Bao ; u-boot@lists.denx.de; Priyanka Jain ; Z.q. Hou ; M.h. Lian ; s...@chromium.org Subject: Re: [PATCH] armv8: la

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2017-08-10 Thread Tom Rini
On Thu, Aug 10, 2017 at 03:34:49PM +, York Sun wrote: > Tom, > > The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5: > >common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 > 20:38:39 -0400) > > are available in the git repository at: > >git://g

Re: [U-Boot] Please pull u-boot-rockchip/master

2017-08-10 Thread Tom Rini
On Thu, Aug 10, 2017 at 10:17:46PM +0200, Dr. Philipp Tomsich wrote: > Hello Tom, > > The following changes since commit d529124fdcf941c34074fd1ce600f4b1b4a7dd07: > > Merge git://git.denx.de/u-boot-x86 (2017-08-08 17:06:19 -0400) > > are available in the git repository at: > > git://git.de

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2017-08-10 Thread York Sun
On 08/10/2017 07:18 PM, Tom Rini wrote: > On Thu, Aug 10, 2017 at 03:34:49PM +, York Sun wrote: > >> Tom, >> >> The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5: >> >> common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 >> 20:38:39 -0400) >> >> are av

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-10 Thread Jagan Teki
On Fri, Aug 11, 2017 at 6:32 AM, Yang, Wenyou wrote: > Hi All, > > Do you have some comment on it? Yes, Will come back. thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India. ___ U-Boot ma

[U-Boot] [PATCH v5 1/3] armv8:fsl-layerscape: Consolidate registers space defination for CCI-400 bus

2017-08-10 Thread Ashish Kumar
CoreLink Cache Coherent Interconnect (CCI) is ARM BUS which provides full cache coherency between two clusters of multi-core CPUs and I/O coherency for devices and I/O masters. This patch add new CONFIG defination "SYS_FSL_HAS_CCI400" and moves existing register space definaton of CCI-400 bus from

[U-Boot] [PATCH v5 3/3] whitelist: Remove "CONFIG_SYS_CCI400_ADDR" from whitelist

2017-08-10 Thread Ashish Kumar
This config is depricated and new config SYS_CCI400_OFFSET is introduced in Kconfig Signed-off-by: Ashish Kumar --- v3: This is v3 for https://patchwork.ozlabs.org/patch/731464/ v4: No change v5: NO change scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scrip

[U-Boot] [PATCH v5 2/3] armv7: Consolidate registers space defination for CCI-400 bus

2017-08-10 Thread Ashish Kumar
CoreLink Cache Coherent Interconnect (CCI) is ARM BUS which provides full cache coherency between two clusters of multi-core CPUs and I/O coherency for devices and I/O masters. This patch add new CONFIG defination "FSL_SYS_HAS_CCI400" and removes register space definaton of CCI-400 bus from immap_

Re: [U-Boot] [PATCH] drivers:net:fsl-mc: Update MC address calculation

2017-08-10 Thread Priyanka Jain
> -Original Message- > From: York Sun > Sent: Wednesday, August 09, 2017 10:19 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Ashish Kumar > Subject: Re: [PATCH] drivers:net:fsl-mc: Update MC address calculation > > On 06/23/2017 03:30 AM, Priyanka Jain wrote: > > Update MC address

[U-Boot] [UBOOT] [PATCH] cmd: usb: ignore block devices under mass storage device

2017-08-10 Thread Suneel Garapati
usb tree and info commands may cause crash otherwise Signed-off-by: Suneel Garapati --- cmd/usb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/usb.c b/cmd/usb.c index 992d414..81e1a7b 100644 --- a/cmd/usb.c +++ b/cmd/usb.c @@ -415,7 +415,8 @@ static void usb_show

Re: [U-Boot] [PATCH 2/2] sf: Preserve QE bit when clearing BP# bits for Macronix flash

2017-08-10 Thread Bin Meng
On Mon, Aug 7, 2017 at 3:54 PM, Jagan Teki wrote: > Hi Bing, > > On Mon, Aug 7, 2017 at 1:09 PM, Bin Meng wrote: >> On Fri, Aug 4, 2017 at 12:21 PM, Bin Meng wrote: >>> On Wed, Aug 2, 2017 at 6:26 AM, Bin Meng wrote: Hi Jagan, On Wed, Aug 2, 2017 at 12:01 AM, Jagan Teki wr