[U-Boot] [PATCH 04/12] arm: dra76: Add support for ES1.0 detection

2017-08-11 Thread Lokesh Vutla
From: Praneeth Bajjuri dra76 family is a high-performance, infotainment application device, based on OMAP architecture on a 28-nm technology. This contains most of the subsystems, peripherals that are available on dra74, dra72 family. This SoC mainly features Subsystems: - 2 x Cortex-A15 with max

[U-Boot] [PATCH 12/12] ARM: dts: dra76-evm: Add initial support

2017-08-11 Thread Lokesh Vutla
Signed-off-by: Lokesh Vutla --- arch/arm/dts/Makefile | 2 +- arch/arm/dts/dra7-evm-common.dtsi | 259 +++ arch/arm/dts/dra7-evm.dts | 271 ++-- arch/arm/dts/dra76-evm.dts| 423 ++ arch/arm/d

[U-Boot] [PATCH 11/12] ARM: dts: dra7-evm: sync DT with latest Linux

2017-08-11 Thread Lokesh Vutla
Signed-off-by: Lokesh Vutla --- arch/arm/dts/dra7-evm.dts | 276 -- 1 file changed, 23 insertions(+), 253 deletions(-) diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts index 4d882ab338..511862c5f3 100644 --- a/arch/arm/dts/dra7-evm.dt

[U-Boot] [PATCH 09/12] board: ti: dra76-evm: Add support for powering on mmc ldo

2017-08-11 Thread Lokesh Vutla
ldo4 is used to poweron mmc on dra76-evm. Enable it. Signed-off-by: Lokesh Vutla --- board/ti/dra7xx/evm.c | 2 ++ include/palmas.h | 4 2 files changed, 6 insertions(+) diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index d66bbeafca..14c06f5eda 100644 --- a/board/ti/dra7x

[U-Boot] [PATCH 02/12] palmas: Add support for powering different ldos

2017-08-11 Thread Lokesh Vutla
It is not necessary that ldo1 is used to power on mmc. So, add support for passing ldo registers for powering on mmc. Signed-off-by: Lokesh Vutla --- arch/arm/mach-omap2/omap5/hwinit.c | 2 +- board/ti/dra7xx/evm.c | 2 +- drivers/power/palmas.c | 11 --- inclu

[U-Boot] [PATCH 10/12] env: ti: boot: Select dtb name for dra76

2017-08-11 Thread Lokesh Vutla
Select dtb name for dra76-evm. Signed-off-by: Lokesh Vutla --- include/environment/ti/boot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 1c3ae40a99..01f7f7a300 100644 --- a/include/environment/ti/boot.h +++ b/include/e

[U-Boot] [PATCH 05/12] board: ti: dra76-evm: Add epprom support

2017-08-11 Thread Lokesh Vutla
The dra76-evm is a board based on TI's DRA76 processor Add eeprom support Signed-off-by: Lokesh Vutla --- board/ti/dra7xx/evm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index ba3b477a6f..08d96c369d 100644 --- a/board/ti/dra7xx/evm.c +

[U-Boot] [PATCH 08/12] board: ti: dra76-evm: Add the pinmux data

2017-08-11 Thread Lokesh Vutla
Adding pinmux and IODELAY data for dra76-evm. Signed-off-by: Vignesh R Signed-off-by: Lokesh Vutla --- board/ti/dra7xx/evm.c | 6 + board/ti/dra7xx/mux_data.h | 294 + 2 files changed, 300 insertions(+) diff --git a/board/ti/dra7xx/evm.c b/boa

[U-Boot] [PATCH 03/12] configs: dra7xx: Enable LP87565 related configs

2017-08-11 Thread Lokesh Vutla
From: Keerthy Enable LP87565 related configs Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- configs/dra7xx_evm_defconfig| 2 ++ configs/dra7xx_hs_evm_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index

[U-Boot] [PATCH 07/12] board: ti: dra76-evm: Add DDR data

2017-08-11 Thread Lokesh Vutla
dra76-evm has the ddr parts connectedi running at 666MHz: EMIF1: MT41K512M16HA-125 AIT:A x 2 EMIF2: MT41K512M8RH-125-AAT:E x 4 Add support for configuring the above DDR parts. Signed-off-by: Lokesh Vutla --- arch/arm/mach-omap2/omap5/hw_data.c | 1 + arch/arm/mach-omap2/omap5/sdram.c | 2 ++

[U-Boot] [PATCH 06/12] board: ti: dra76-evm: Add the pmic data

2017-08-11 Thread Lokesh Vutla
From: Keerthy dra76-evm uses lp8736 and tps65917 pmic for powering on various peripherals. Add data for these pmics and register for dra76-evm. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/arch-omap5/clock.h | 9 ++ arch/arm/include/asm/omap_common.h |

[U-Boot] [PATCH 01/12] arm: omap5+: Add board specific ldo powering

2017-08-11 Thread Lokesh Vutla
It is not necessary all omap5+ based uses the same PMIC to poweron mmc. So add support for enabling mmc based on board. Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/omap_mmc.h| 1 + arch/arm/mach-omap2/omap5/hwinit.c | 16 ++-- board/ti/dra7xx/evm.c | 14 +++

[U-Boot] [PATCH 00/12] ARM: dra7: Add support for dra76-evm

2017-08-11 Thread Lokesh Vutla
dra76 family is a high-performance, infotainment application device, based on OMAP architecture on a 28-nm technology. This contains most of the subsystems, peripherals that are available on dra74, dra72 family. This SoC mainly features Subsystems: - 2 x Cortex-A15 with max speed of 1.8GHz - 2 X DS

[U-Boot] [PATCH v2 13/19] ARM: dts: rockchip: prefer u-boot, dm-pre-reloc rather than u-boot, dm-spl

2017-08-11 Thread Paweł Jarosz
rk3xxx.dtsi is used by rk3188 and rk3066. rk3188 uses alocated data in spl but rk3066 needs it in tpl. Signed-off-by: Paweł Jarosz --- Changes since v1: - none arch/arm/dts/rk3xxx.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/rk3xxx.dtsi b/arch/a

[U-Boot] [PATCH v2 15/19] mmc: dw_mmc: rockchip: add support for rk3066 sdmmc

2017-08-11 Thread Paweł Jarosz
This patch enables support for the Rockchip RK3066 SD/MMC controller, which is based on Designware IP. The device supports SD, SDIO, MMC and eMMC. Signed-off-by: Paweł Jarosz --- Changes since v1: - dropped OF_PLATDATA drivers/mmc/rockchip_dw_mmc.c | 1 + 1 file changed, 1 insertion(+) diff -

[U-Boot] [PATCH v2 14/19] mmc: dw_mmc: support transfer mode autodetection

2017-08-11 Thread Paweł Jarosz
dw_mmc supports two transfer modes in u-boot: idma and fifo. This patch adds autodetection of transfer mode and eliminates setting this in host config struct Signed-off-by: Paweł Jarosz --- Changes since v1: - none drivers/mmc/dw_mmc.c | 8 include/dwmmc.h | 4 2 files chang

[U-Boot] [PATCH v2 12/19] rockchip: board: rk3066: convert board_usb_init to live tree functions

2017-08-11 Thread Paweł Jarosz
Use live tree functions to fill dwc2_plat_otg_data structure in board_usb_init. Signed-off-by: Paweł Jarosz --- Changes since v1: - none arch/arm/mach-rockchip/rk3066-board.c | 52 +-- 1 file changed, 7 insertions(+), 45 deletions(-) diff --git a/arch/arm/mach-r

[U-Boot] [PATCH v2 18/19] dfu: fix spl build

2017-08-11 Thread Paweł Jarosz
In current state dfu depends on cmd/mtdparts.c which isn't build in SPL. This patch resolves it by cutting out unwanted code in SPL build. Signed-off-by: Paweł Jarosz --- Changes since v1: - none drivers/dfu/dfu_nand.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dri

[U-Boot] [PATCH v2 19/19] mtd: nand: spl: allow build nand_bbt, nand_ids and nand_util

2017-08-11 Thread Paweł Jarosz
This patch allows building of nand_bbt, nand_ids, nand_util for nand drivers that need it. Signed-off-by: Paweł Jarosz --- Changes since v1: - none drivers/mtd/nand/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 06592

[U-Boot] [PATCH v2 16/19] armv7: support rk3066 early back to bootrom in vector.S

2017-08-11 Thread Paweł Jarosz
Rockchip bootrom first reads 1KB data from nand at offset 0x10080C00 and executes it. Then waits for back to bootrom and loads another 32KB to sram which also executes. Sdram initialisation code needs to be in one of these two steps. Then bootloader loads another ~200KB of data at offset 0x6000

[U-Boot] [PATCH v2 17/19] rockchip: sysreset: deduplicate rk3066 and rk3188 sysreset drivers

2017-08-11 Thread Paweł Jarosz
Sysreset drivers for rk3066 and rk3188 contain common elements which can be reused. Signed-off-by: Paweł Jarosz --- Changes since v1: - none .../include/asm/arch-rockchip/sysreset_common.h| 20 +++ arch/arm/mach-rockchip/Makefile| 3 ++ arch/arm/mach-rockchip/s

[U-Boot] [PATCH v2 11/19] rockchip: mkimage: add support for rockchip nand boot image

2017-08-11 Thread Paweł Jarosz
The Rockchip boot ROM requires a particular file format for booting from NAND: * It starts with 512-byte, rc4 encoded header and is aligned to nand page size * Then first 2KB of first stage loader (tpl) aligned to nand page size * n empty pages * second 2KB of first stage loader (tpl) aligned to

[U-Boot] [PATCH v2 10/19] mtd: nand: add the rockchip nand controller driver

2017-08-11 Thread Paweł Jarosz
Add basic Rockchip nand driver. Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit asynchronous flash interface support. Other features will come later. Signed-off-by: Paweł Jarosz --- Changes since v1: - none drivers/mtd/nand/Kconfig | 6 + drivers/mtd/n

[U-Boot] [PATCH v2 08/19] rockchip: rk3066: add sdram driver

2017-08-11 Thread Paweł Jarosz
Add rockchip rk3066 sdram driver Signed-off-by: Paweł Jarosz Acked-by: Simon Glass Acked-by: Philipp Tomsich --- Changes since v1: - use common rockchip_sdram_size - moved sdram init from sdram_init.c arch/arm/mach-rockchip/rk3066/Makefile | 1 + arch/arm/mach-rockchip/rk3066/sdram_rk

[U-Boot] [PATCH v2 07/19] rockchip: rk3066: add mk808 board files

2017-08-11 Thread Paweł Jarosz
mk808 is a tv stick with two usb ports, micro sd card slot, hdmi and nand onboard. Signed-off-by: Paweł Jarosz Acked-by: Simon Glass Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes since v1: - added nand support - dropped spl of-platdata arch/arm/dts/Makefile

[U-Boot] [PATCH v2 09/19] mtd: nand: add support for the Sandisk SDTNQGAMA chip

2017-08-11 Thread Paweł Jarosz
Sandisk SDTNQGAMA is a 8GB size, 3.3V 8 bit chip with 16KB page size, 1KB write size and 40 bit ecc support Signed-off-by: Paweł Jarosz --- Changes since v1: - none drivers/mtd/nand/nand_ids.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand

[U-Boot] [PATCH v2 06/19] rockchip: rk3066: add core support

2017-08-11 Thread Paweł Jarosz
Add core skeleton for rk3066 Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - moved syscon.h below spl.h - changed error to debug and return error reason - changed Cortex-A7 to Cortex-A9 - added nand support - added dfu support - removed dr

[U-Boot] [PATCH v2 05/19] rockchip: rk3066: add rk3066 platform devicetree file

2017-08-11 Thread Paweł Jarosz
rk3066 peripherials include usb, i2c, pwm, gpio, sdio, sdmmc, emmc, spi, watchdog and uart Signed-off-by: Paweł Jarosz Reviewed-by: Simon Glass Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes since v1: - added nand dts node arch/arm/dts/rk3066a.dtsi | 707 +

[U-Boot] [PATCH v2 03/19] rockchip: rk3066: add sysreset driver

2017-08-11 Thread Paweł Jarosz
Add support for system reset for rk3066 socs. Signed-off-by: Paweł Jarosz Reviewed-by: Simon Glass Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_rk3066.c | 61

[U-Boot] [PATCH v2 04/19] rockchip: rk3066: add clock driver for rk3066 soc

2017-08-11 Thread Paweł Jarosz
Add clock driver for rk3066 platform. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - moved clk init to tpl arch/arm/include/asm/arch-rockchip/cru_rk3066.h | 189 drivers/clk/rockchip/Makefile | 1 + drivers/

[U-Boot] [PATCH v2 02/19] rockchip: rk3066: add rk3066 pinctrl driver

2017-08-11 Thread Paweł Jarosz
Add driver supporting pin multiplexing on rk3066 platform. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - added nand support arch/arm/include/asm/arch-rockchip/periph.h | 1 + drivers/pinctrl/Kconfig | 9 + drive

[U-Boot] [PATCH v2 01/19] rockchip: rk3066: add grf header file

2017-08-11 Thread Paweł Jarosz
grf is needed by various drivers for rk3066 soc. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks arch/arm/include/asm/arch-rockchip/grf_rk3066.h | 621 1 file changed, 621 insertions(+) create mode 100644 arch/arm

[U-Boot] [PATCH v2 00/19] add support for rk3066 platform.

2017-08-11 Thread Paweł Jarosz
This patch serie adds support for Rockchip RK3066 processor. Paweł Jarosz (19): rockchip: rk3066: add grf header file rockchip: rk3066: add rk3066 pinctrl driver rockchip: rk3066: add sysreset driver rockchip: rk3066: add clock driver for rk3066 soc rockchip: rk3066: add rk3066 platform

[U-Boot] [PATCH 1/1] efi_loader: use EFI_PAGE_MASK instead of EFI_PAGE_SIZE - 1

2017-08-11 Thread Heinrich Schuchardt
We should be consistent in the way we calculate page sizes. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index dd52755d1d..ad7f3754bd 100644 ---

[U-Boot] [PATCH 1/1] efi_loader: use EFI_PAGE_SIZE instead of 4096

2017-08-11 Thread Heinrich Schuchardt
We should use constant EFI_PAGE_SIZE instead of 4096 where the coding relies on 4096 being EFI_PAGE_SIZE. Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/bootefi.c b/cmd/bootefi.c index d20775eccd..3196d86040 100644

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

2017-08-11 Thread Heinrich Schuchardt
On 08/10/2017 08:29 PM, Rob Clark wrote: > 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 c

Re: [U-Boot] [PATCH] driver: net: ldpaa: Update priv->phydev after free()

2017-08-11 Thread Joe Hershberger
On Wed, Feb 15, 2017 at 9:14 AM, Ashish Kumar wrote: > From: Prabhakar Kushwaha > > Even after memory free of phydev, priv is still pointing to the > obsolete address. > So update priv->phydev as NULL after memory free. > > Signed-off-by: Prabhakar Kushwaha Acked-by: Joe Hershberger __

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

2017-08-11 Thread Joe Hershberger
On Fri, Aug 11, 2017 at 11:44 AM, wrote: > From: Yuiko Oshino > > Add support for Microchip LAN7500, LAN7800 and LAN7850, > USB to 10/100/1000 Ethernet Controllers. > > Signed-off-by: Yuiko Oshino Acked-by: Joe Hershberger ___ U-Boot mailing list U-

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

2017-08-11 Thread Rob Clark
On Fri, Aug 11, 2017 at 2:10 PM, Heinrich Schuchardt wrote: > On 08/11/2017 07:27 PM, Rob Clark wrote: >> On Fri, Aug 11, 2017 at 12:58 PM, Heinrich Schuchardt >> wrote: >>> On 08/10/2017 08:29 PM, Rob Clark wrote: This avoids printf() spam about file reads (such as loading an image) in

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

2017-08-11 Thread Rob Clark
On Fri, Aug 11, 2017 at 1:47 PM, Heinrich Schuchardt wrote: > On 08/11/2017 07:27 PM, Rob Clark wrote: >> On Fri, Aug 11, 2017 at 12:58 PM, Heinrich Schuchardt >> wrote: >>> On 08/10/2017 08:29 PM, Rob Clark wrote: This avoids printf() spam about file reads (such as loading an image) in

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

2017-08-11 Thread Heinrich Schuchardt
On 08/11/2017 07:27 PM, Rob Clark wrote: > On Fri, Aug 11, 2017 at 12:58 PM, Heinrich Schuchardt > wrote: >> On 08/10/2017 08:29 PM, Rob Clark wrote: >>> This avoids printf() spam about file reads (such as loading an image) >>> into unaligned buffers (and the associated memcpy()). And generally >

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

2017-08-11 Thread Heinrich Schuchardt
On 08/11/2017 07:27 PM, Rob Clark wrote: > On Fri, Aug 11, 2017 at 12:58 PM, Heinrich Schuchardt > wrote: >> On 08/10/2017 08:29 PM, Rob Clark wrote: >>> This avoids printf() spam about file reads (such as loading an image) >>> into unaligned buffers (and the associated memcpy()). And generally >

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

2017-08-11 Thread Rob Clark
Ok, looks like Alexander updated efi-next in last couple days, I'll rebase over the weekend. BR, -R On Fri, Aug 11, 2017 at 12:25 PM, Heinrich Schuchardt wrote: > > Hello Rob, > > I couldn't apply your patch to either of > > u-boot/agraf/efi-next nor > u-boot/master > > Applying: part: extract M

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

2017-08-11 Thread Rob Clark
On Fri, Aug 11, 2017 at 12:58 PM, Heinrich Schuchardt wrote: > On 08/10/2017 08:29 PM, Rob Clark wrote: >> 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: R

Re: [U-Boot] [u-boot-release] [PATCH v3 1/3] armv8: ls1088a: Add NXP LS1088A SoC support

2017-08-11 Thread York Sun
On 08/11/2017 12:25 AM, Ashish Kumar wrote: > The QorIQ LS1088A processor is built on the Layerscape > architecture combining eight ARM A53 processor cores > with advanced, high-performance datapath acceleration > and networks, peripheral interfaces required for > networking, wireless infrastructur

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

2017-08-11 Thread Heinrich Schuchardt
On 08/10/2017 08:29 PM, Rob Clark wrote: > 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 c

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

2017-08-11 Thread Heinrich Schuchardt
On 08/10/2017 08:29 PM, Rob Clark wrote: > 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

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

2017-08-11 Thread yuiko.oshino
From: Yuiko Oshino Add support for Microchip LAN7500, LAN7800 and LAN7850, USB to 10/100/1000 Ethernet Controllers. Signed-off-by: Yuiko Oshino --- Changes in v4: - Delete lan75xx_read_mac() becasue it is just a wrapper. - Add debug print the USB device number and ther port number of

[U-Boot] [PATCH v4 1/2] net: Add mii_resolve_flowctrl_fdx()

2017-08-11 Thread yuiko.oshino
From: Yuiko Oshino Add support for Microchip LAN7500, LAN7800 and LAN7850, USB to 10/100/1000 Ethernet Controllers. Signed-off-by: Yuiko Oshino Acked-by: Joe Hershberger --- Changes in v4: - none. Changes in v3: - This patch is added to a series. Changes in v2: - The patch's tag i

Re: [U-Boot] [PATCH v2 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-11 Thread York Sun
On 08/11/2017 12:26 AM, Ran Wang wrote: > +static void erratum_a009008(void) > +{ > +#ifdef CONFIG_SYS_FSL_ERRATUM_A009008 > + u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; > +#if defined(CONFIG_ARCH_LS1043A) || defined(CONFIG_ARCH_LS1046A) > + u32 val = scfg_in32(scfg + SCFG_USB3PRM1CR_US

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

2017-08-11 Thread Heinrich Schuchardt
Hello Rob, I couldn't apply your patch to either of u-boot/agraf/efi-next nor u-boot/master Applying: part: extract MBR signature from partitions error: patch failed: include/blk.h:62 error: include/blk.h: patch does not apply Patch failed at 0001 part: extract MBR signature from partitions Pl

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

2017-08-11 Thread Heinrich Schuchardt
On 08/10/2017 08:29 PM, Rob Clark wrote: > 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

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

2017-08-11 Thread York Sun
On 08/10/2017 10:46 PM, Priyanka Jain wrote: > >> -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

Re: [U-Boot] [PATCH v3 1/3] efi_loader: write protocol GUID in OpenProtocol

2017-08-11 Thread Heinrich Schuchardt
On 08/11/2017 12:11 PM, Alexander Graf wrote: > > > On 05.08.17 21:32, Heinrich Schuchardt wrote: >> To understand what happens in OpenProtocol it is necessary to know >> the protocol interface GUID. Let's write a debug message. >> >> Using uuid_guid_get_str would be quite clumsy for this purpose

Re: [U-Boot] [PATCH v2 4/5] arm: socfpga: Add intermediate driver between flash and FPGA manager

2017-08-11 Thread Marek Vasut
On 08/10/2017 06:43 AM, Chee, Tien Fong wrote: > On Rab, 2017-08-09 at 10:29 +0200, Marek Vasut wrote: >> On 08/09/2017 06:50 AM, Chee, Tien Fong wrote: >> [...] >> >>> > >> >> If this is for some FPGA loading, can this functionality be >> scripted >> instead? >> >

Re: [U-Boot] [PATCH v2 2/5] arm: socfpga: Add checking function on FPGA setting in FDT

2017-08-11 Thread Marek Vasut
On 08/10/2017 06:51 AM, Chee, Tien Fong wrote: > On Rab, 2017-08-09 at 10:20 +0200, Marek Vasut wrote: >> On 08/09/2017 07:07 AM, Chee, Tien Fong wrote: >>> >>> On Sel, 2017-08-08 at 11:29 +0200, Marek Vasut wrote: On 08/08/2017 11:12 AM, tien.fong.c...@intel.com wrote: > > >

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

2017-08-11 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-fsl-qoriq master

2017-08-11 Thread York Sun
On 08/11/2017 07:34 AM, Tom Rini wrote: > On Fri, Aug 11, 2017 at 02:35:24AM +, York Sun wrote: >> 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 eaa90e5df2a4a1cb12fb73571978a

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

2017-08-11 Thread patrice.chotard
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 the following: _ Full compliance with MultiMediaCard System Specification Version 4.51. Card support for three different dat

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

2017-08-11 Thread Tom Rini
On Fri, Aug 11, 2017 at 02:35:24AM +, York Sun wrote: > 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_embe

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

2017-08-11 Thread Patrice CHOTARD
Hi Simon On 08/10/2017 05:57 PM, Patrice CHOTARD wrote: > 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

[U-Boot] [PATCH] Convert CONFIG_SPL_OMAP3_ID_NAND to Kconfig

2017-08-11 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_OMAP3_ID_NAND Signed-off-by: Adam Ford --- README| 4 arch/arm/mach-omap2/Kconfig | 1 + arch/arm/mach-omap2/omap3/Kconfig | 6 ++ include/configs/cm_t35.h | 1 - include/configs/omap3_beagl

[U-Boot] rerun eth_initialize()

2017-08-11 Thread Matzi Kratzi
Hi! I have a board with an FPGA and my eth:s are connected through the FPGA. I can load the FPGA before u-boot is started, but I would prefer not to. Instead I would like to load the FPGA from u-boot instead. Then I however get the problem that u-boot already has tried to initialize eth. Can I so

[U-Boot] [PATCH] Convert CONFIG_NAND_OMAP_GPMC et al to Kconfig

2017-08-11 Thread Adam Ford
This converts the following to Kconfig: CONFIG_NAND_OMAP_GPMC CONFIG_NAND_OMAP_GPMC_PREFETCH CONFIG_NAND_OMAP_ELM CONFIG_SYS_NAND_BUSWIDTH_16BIT CONFIG_SPL_NAND_AM33XX_BCH CONFIG_SPL_NAND_SIMPLE Signed-off-by: Adam Ford --- README | 4 --- arch/

Re: [U-Boot] [linux-sunxi] [PATCHv6 00/28] Retrieve MAC address from EEPROM

2017-08-11 Thread Vincent Legoll
Hello, > * Renamed sunxi_[eg]mac to sun[47]_mac to be more clear and allowing preparing > to merge common parts into sunxi_common Wouldn't those better renamed to sun[47]i_mac instead, for consistency ? -- Vincent Legoll ___ U-Boot mailing list U-Bo

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

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

Re: [U-Boot] [PATCH v1 0/2] Add support for the A64-uQ7 modules

2017-08-11 Thread Jagan Teki
On Tue, Feb 21, 2017 at 5:17 AM, Philipp Tomsich wrote: > This changeset adds support for the A64-uQ7 modules from Theobroma > Systems, which is based on Allwinner's A64 (sun50iw1p1). > > It depends on the device-model support for the sunxi subarchitecture > and the DM-based, dual-IO capable SPI d

[U-Boot] [PATCH 2/2] Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig

2017-08-11 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SYS_I2C_BUS_MAX Signed-off-by: Adam Ford --- arch/arm/include/asm/arch-am33xx/i2c.h | 1 - arch/arm/include/asm/arch-omap3/i2c.h | 1 - arch/arm/include/asm/arch-omap4/i2c.h | 1 - arch/arm/include/asm/arch-omap5/i2c.h | 1 - drivers/i2c/K

[U-Boot] [PATCH 1/2] Configs: Migrate I2C_BUS_MAX to CONFIG_SYS_I2C_BUS_MAX

2017-08-11 Thread Adam Ford
For consistency with other platforms and in preparation of Kconfig migration, let's change Several TI platforms that use I2C_BUS_MAX to CONFIG_SYS_I2C_BUS_MAX Signed-off-by: Adam Ford --- arch/arm/include/asm/arch-am33xx/i2c.h | 2 +- arch/arm/include/asm/arch-omap3/i2c.h | 2 +- arch/arm/inc

Re: [U-Boot] [PATCHv6 00/28] Retrieve MAC address from EEPROM

2017-08-11 Thread Jagan Teki
On Mon, May 15, 2017 at 6:17 PM, Tom Rini wrote: > On Mon, May 15, 2017 at 10:09:02AM +0200, Olliver Schinagl wrote: >> Hey all, >> >> On 15-05-17 10:02, Olliver Schinagl wrote: >> >This patch-series introduces methods to retrieve the MAC address from an >> >onboard EEPROM. The series does a few s

Re: [U-Boot] [PATCH v4 00/26] sunxi: Allwinner A64: SPL support

2017-08-11 Thread Jagan Teki
On Wed, Jan 4, 2017 at 9:20 PM, Jagan Teki wrote: > On Mon, Jan 2, 2017 at 12:48 PM, Andre Przywara > wrote: >> Hi, >> >> hopefully the final version of the SPL support series for the Allwinner A64 >> SoC. Actually no real code changes this time, just rebased on top of recent >> master, adding s

Re: [U-Boot] [PATCH] sunxi: gpio: add missing compatible strings

2017-08-11 Thread Jagan Teki
On Thu, Jun 29, 2017 at 3:56 PM, Icenowy Zheng wrote: > > > 于 2017年6月29日 GMT+08:00 下午6:10:31, Andre Przywara 写到: >>The sunxi GPIO driver is missing some compatible strings for recent >>SoCs. While most of the sunxi GPIO code seems to not rely on this (and >>so works anyway), the sunxi_name_to_gpi

Re: [U-Boot] [PATCH] spi: fsl_qspi: Copy 16 byte aligned data in TX FIFO

2017-08-11 Thread Jagan Teki
On Mon, Jun 5, 2017 at 2:37 PM, Suresh Gupta wrote: > In some of the QSPI controller version, there must be atleast > 128bit data available in TX FIFO for any pop operation otherwise > error bit will be set. The code will not make any behavior change > for previous controller as the transfer data

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

2017-08-11 Thread Tom Rini
On Fri, Aug 11, 2017 at 02:35:24AM +, York Sun wrote: > 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_emb

Re: [U-Boot] [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support

2017-08-11 Thread Jagan Teki
On Fri, Aug 11, 2017 at 3:38 PM, Yogesh Narayan Gaur wrote: > > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Friday, August 11, 2017 3:32 PM >> To: Yogesh Narayan Gaur >> Cc: u-boot@lists.denx.de; York Sun >> Subject: Re: [PATCH] mtd/spi: Add MT35X

Re: [U-Boot] [PATCH] sunxi: add MACPWR in Orange Pi PC2 defconfig

2017-08-11 Thread Jagan Teki
On Fri, Aug 11, 2017 at 3:30 PM, Jagan Teki wrote: > On Tue, Jul 4, 2017 at 4:13 PM, Icenowy Zheng wrote: >> The Ethernet function is enabled in the Orange Pi PC2 device tree and >> defconfig, however, CONFIG_MACPWR is not properly set, which left the >> PHY being disabled when booting, which mak

Re: [U-Boot] [PATCH] sunxi: reduce Orange Pi Zero DRAM clock speed

2017-08-11 Thread Jagan Teki
On Mon, Jul 24, 2017 at 1:44 AM, Clément Bœsch wrote: > Using `fel-boot-lima-memtester-on-orange-pi-pc 672` on an Orange Pi > without heatsink results in the following error after a few minutes: > WRITE FAILURE: 0x0020 != 0xffdf at offset 0x0137f47c (bitflip). > > Also, the constructor r

Re: [U-Boot] [PATCH 1/2] sunxi: add PRCM secure switch register definition

2017-08-11 Thread Jagan Teki
On Thu, Jul 20, 2017 at 11:30 AM, Icenowy Zheng wrote: > Some new Allwinner SoCs' PRCM has a secure switch register, which > controls the access to some clock and power registers in PRCM block. > > Add the definition of this register and its bits in the PRCM header > file. > > Signed-off-by: Iceno

Re: [U-Boot] [PATCH v3 1/3] efi_loader: write protocol GUID in OpenProtocol

2017-08-11 Thread Alexander Graf
On 05.08.17 21:32, Heinrich Schuchardt wrote: To understand what happens in OpenProtocol it is necessary to know the protocol interface GUID. Let's write a debug message. Using uuid_guid_get_str would be quite clumsy for this purpose. This would involve evaluating _DEBUG which probably should

Re: [U-Boot] [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support

2017-08-11 Thread Yogesh Narayan Gaur
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Friday, August 11, 2017 3:32 PM > To: Yogesh Narayan Gaur > Cc: u-boot@lists.denx.de; York Sun > Subject: Re: [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support > > On Fri, Aug 11, 2017 at 3:30 PM, Y

Re: [U-Boot] [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support

2017-08-11 Thread Jagan Teki
On Fri, Aug 11, 2017 at 3:30 PM, Yogesh Narayan Gaur wrote: > > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Friday, August 11, 2017 3:25 PM >> To: Yogesh Narayan Gaur >> Cc: u-boot@lists.denx.de; York Sun >> Subject: Re: [PATCH] mtd/spi: Add MT35X

Re: [U-Boot] [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support

2017-08-11 Thread Yogesh Narayan Gaur
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Friday, August 11, 2017 3:25 PM > To: Yogesh Narayan Gaur > Cc: u-boot@lists.denx.de; York Sun > Subject: Re: [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support > > On Tue, Aug 1, 2017 at 9:43 AM, Yo

Re: [U-Boot] [PATCH] sunxi: add MACPWR in Orange Pi PC2 defconfig

2017-08-11 Thread Jagan Teki
On Tue, Jul 4, 2017 at 4:13 PM, Icenowy Zheng wrote: > The Ethernet function is enabled in the Orange Pi PC2 device tree and > defconfig, however, CONFIG_MACPWR is not properly set, which left the > PHY being disabled when booting, which makes the Ethernet function not > usable. > > Add the proper

[U-Boot] [RFC/WIP 2/2] fs/fat: introduce new dirent iterator

2017-08-11 Thread Rob Clark
Untangle the directory traversal. Eventually if this replaced do_fat_read_at() and get_dentfromdir(), it would remove a lot of code. Only tested with a grand total of one fat fs img. Although it actually seems to fix some bugs with existing traversal (I noticed some files in the root directory t

[U-Boot] [RFC/WIP 1/2] fs/fat: split out helper to init fsdata

2017-08-11 Thread Rob Clark
Want to re-use this in fat dirent iterator in next patch. --- fs/fat/fat.c | 75 +++ include/fat.h | 1 + 2 files changed, 45 insertions(+), 31 deletions(-) diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 3d5dde0d9e..68db36ebd7 100644 --- a

Re: [U-Boot] [PATCH 00/15] Add STM32H7 SoC and STM32H743-Disco board support

2017-08-11 Thread Patrice CHOTARD
Hi all After some internal review, this series must be reworked. A v2 will be submitted Thanks Patrice On 08/04/2017 03:18 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series adds support for STM32H7 SoCs series and its Discovery board > > For more detailed information

Re: [U-Boot] [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support

2017-08-11 Thread Jagan Teki
On Tue, Aug 1, 2017 at 9:43 AM, Yogesh Gaur wrote: > Add MT35XU512ABA1G12 parameters to NOR flash parameters array. Since the > manufactory ID is changed to 0x2C, add it for micron and using it for > relevant settings. > > The MT35XU512ABA1G12 only supports 1 bit mode and 8 bits. It can't support

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

2017-08-11 Thread Alexander Graf
On 06.08.17 17:10, Rob Clark wrote: Signed-off-by: Rob Clark --- Kinda works, but since we don't have an 'exit' command like grub, we have to reboot, which leaves the "board" in a bad state (I guess, since the next test fails). I haven't tackled the travis bits to get travis to download OpenB

Re: [U-Boot] [PATCH v4 1/4] dm: spi: add BCM63xx HSSPI driver

2017-08-11 Thread Jagan Teki
On Sun, Jul 30, 2017 at 5:44 PM, Álvaro Fernández Rojas wrote: > This driver is a simplified version of linux/drivers/spi/spi-bcm63xx-hsspi.c > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Simon Glass > Reviewed-by: Daniel Schwierzeck > --- > v4: no changes. > v3: Switch to CONFIG_B

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

2017-08-11 Thread Jagan Teki
On Thu, Aug 10, 2017 at 2:55 PM, Jagan Teki wrote: > 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 Schwierz

[U-Boot] [PATCH] qe: ready QE IRAM after uploading firmware successfully

2017-08-11 Thread Zhao Qiang
add if condition to check the return value, if 0, firmware is uploaded successfully, then mark QE_IRAM as ready. Signed-off-by: Zhao Qiang --- drivers/qe/qe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 24e764d..8151068 100644 -

[U-Boot] [PATCH v2 09/10] ut: fix fdt_getprop_u32() change

2017-08-11 Thread Pantelis Antoniou
fdt_getprop_u32 is not exported and it's different than what the unit test uses. Rename u32 prop access methods to something that's unit test specific. Signed-off-by: Pantelis Antoniou --- test/overlay/cmd_ut_overlay.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[U-Boot] [PATCH v2 04/10] fdt-overlay: Spit out a descriptive failure warning

2017-08-11 Thread Pantelis Antoniou
The most common trouble with overlays appears to be miscompiled blobs without the -@ option. In case of an error, spit out a descriptive error message. Signed-off-by: Pantelis Antoniou --- cmd/fdt.c | 8 common/image-fit.c | 12 +++- 2 files changed, 19 insertions(+),

[U-Boot] [PATCH v2 08/10] config: sandbox: Add unit tests

2017-08-11 Thread Pantelis Antoniou
Add unit tests for sandbox default config. Signed-off-by: Pantelis Antoniou --- configs/sandbox_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index fd0b952..df8659a 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbo

[U-Boot] [PATCH v2 10/10] test: overlay: Add unit test for stacked overlay

2017-08-11 Thread Pantelis Antoniou
Verify that stacked overlays work. Signed-off-by: Pantelis Antoniou --- test/overlay/Makefile | 1 + test/overlay/cmd_ut_overlay.c | 34 ++- test/overlay/test-fdt-overlay-stacked.dts | 21 +++ 3 files changed, 55 insert

[U-Boot] [PATCH v2 07/10] dtbo: make dtbos special

2017-08-11 Thread Pantelis Antoniou
Special rule for dtbo generation Signed-off-by: Pantelis Antoniou --- scripts/Makefile.lib | 17 + 1 file changed, 17 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 9ce47b4..2a7ed70 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -32

[U-Boot] [PATCH v2 03/10] fit: Introduce methods for applying overlays on fit-load

2017-08-11 Thread Pantelis Antoniou
Introduce an overlay based method for constructing a base DT blob to pass to the kernel. Both canned and runtime feature selection is supported. Signed-off-by: Pantelis Antoniou --- common/image-fdt.c | 7 +- common/image-fit.c | 216 +++

[U-Boot] [PATCH v2 05/10] doc: Document how to apply fdt overlays

2017-08-11 Thread Pantelis Antoniou
We have the capability to apply overlays on the command line but we didn't have a document explaining how. Signed-off-by: Pantelis Antoniou --- doc/README.fdt-overlays | 37 + 1 file changed, 37 insertions(+) create mode 100644 doc/README.fdt-overlays diff -

[U-Boot] [PATCH v2 06/10] doc: overlays: Tweak documentation regarding overlays

2017-08-11 Thread Pantelis Antoniou
From: Franklin S Cooper Jr Pull some information regarding overlays from commit messages and put them directly within the documentation. Also add some information regarding required dtc version to properly use overlays. Signed-off-by: Franklin S Cooper Jr --- doc/README.fdt-overlays

[U-Boot] [PATCH v2 02/10] fdt: Allow stacked overlays phandle references

2017-08-11 Thread Pantelis Antoniou
This patch enables an overlay to refer to a previous overlay's labels by performing a merge of symbol information at application time. In a nutshell it allows an overlay to refer to a symbol that a previous overlay has defined. It requires both the base and all the overlays to be compiled with the

  1   2   >