Re: [U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-12 Thread Heiko Schocher
Hello Tom, Am 12.10.2015 um 17:18 schrieb Tom Rini: Hey all, Today is the scheduled release date for v2015.10. But as you can tell from the list of patches I just merged, a lot of stuff needed to go in still and while I'm "happy" it's all safe it's also too much to not do another -rc. So here

Re: [U-Boot] [PATCH 3/3] x86: Added support for Advantech SOM-6896

2015-10-12 Thread Bin Meng
Hi George, On Tue, Oct 13, 2015 at 10:52 AM, George McCollister wrote: > On Mon, Oct 12, 2015 at 7:48 PM, Bin Meng wrote: >> Hi George, >> >> On Tue, Oct 13, 2015 at 2:30 AM, George McCollister >> wrote: >>> On Mon, Oct 12, 2015 at 8:34 AM, George McCollister >>> wrote: On Fri, Oct 9, 201

Re: [U-Boot] [PATCH 3/3] x86: Added support for Advantech SOM-6896

2015-10-12 Thread George McCollister
On Mon, Oct 12, 2015 at 7:48 PM, Bin Meng wrote: > Hi George, > > On Tue, Oct 13, 2015 at 2:30 AM, George McCollister > wrote: >> On Mon, Oct 12, 2015 at 8:34 AM, George McCollister >> wrote: >>> On Fri, Oct 9, 2015 at 10:31 PM, Bin Meng wrote: Hi George, On Sat, Oct 10, 2015 at

Re: [U-Boot] [PATCH] nios2: convert cache flush to use dm cpu data

2015-10-12 Thread Thomas Chou
Hi Marek, On 10/12/2015 09:29 PM, Marek Vasut wrote: On Monday, October 12, 2015 at 03:12:18 PM, Thomas Chou wrote: Hi Marek, On 10/12/2015 06:30 PM, Marek Vasut wrote: There are also DEFINE_CACHE_ALIGN_BUFFER() and ALLOC_CACHE_ALIGN_BUFFER() macros which can be used to allocate such stuff on

Re: [U-Boot] [PATCH 3/3] x86: Added support for Advantech SOM-6896

2015-10-12 Thread Bin Meng
Hi George, On Tue, Oct 13, 2015 at 2:30 AM, George McCollister wrote: > On Mon, Oct 12, 2015 at 8:34 AM, George McCollister > wrote: >> On Fri, Oct 9, 2015 at 10:31 PM, Bin Meng wrote: >>> Hi George, >>> >>> On Sat, Oct 10, 2015 at 5:54 AM, George McCollister >>> wrote: Advantech SOM-6896

Re: [U-Boot] [PATCH v4] nios2: convert dma_alloc_coherent to use malloc_cache_aligned

2015-10-12 Thread Thomas Chou
Hi Marek, On 10/12/2015 09:46 PM, Marek Vasut wrote: On Monday, October 12, 2015 at 02:55:03 PM, Thomas Chou wrote: Hi Marek, Hi Thomas, On 10/12/2015 06:32 PM, Marek Vasut wrote: Wouldn't invalidate_dcache_range() be enough here ? You don't care about the data in the newly allocated area

[U-Boot] [PATCH] ARM: dockstar: move start of environment area

2015-10-12 Thread Eric Cooper
The default dockstar configuration for U-Boot currently causes it to overrun the environment area, so that a "saveenv" command bricks the device. This patch moves the environment to a higher address to avoid that. Signed-off-by: Eric Cooper --- include/configs/dockstar.h | 4 ++-- 1 file change

Re: [U-Boot] [PATCH] Tegra210: add QSPI driver

2015-10-12 Thread Tom Warren
Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, October 09, 2015 11:51 AM To: Tom Warren Cc: u-boot@lists.denx.de; Jagan Teki ; Stephen Warren ; tomcwarren3...@gmail.com Subject: Re: [U-Boot] [PATCH] Tegra210: add QSPI driver On 10/09/2015

[U-Boot] [PATCH v2 3/3] x86: Added support for Advantech SOM-6896

2015-10-12 Thread George McCollister
Advantech SOM-6896 is a Broadwell U based COM Express Compact Module Type 6. This patch adds support for it as a coreboot payload. On board SATA and SPI are functional. On board Ethernet isn't functional but since it's optional and ties up a PCIe x4 that is otherwise brought out, this isn't a conc

[U-Boot] [PATCH v2 2/3] x86: spi: Add support for Wildcat Point

2015-10-12 Thread George McCollister
Add the Wildcat Point ID so Broadwell U based boards can use SPI. Signed-off-by: George McCollister Reviewed-by: Bin Meng --- Changes for V2: Add Reviewed-by: Bin Meng drivers/spi/ich.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c

[U-Boot] [PATCH v2 1/3] x86: pci: Add PCI IDs for Wildcat Point

2015-10-12 Thread George McCollister
Add Wildcat Point AHCI and LPC PCI IDs which are present on Broadwell U based (and possibly other) boards. Signed-off-by: George McCollister Reviewed-by: Bin Meng --- Changes for V2: Add simple sentence as the commit message Add Reviewed-by: Bin Meng include/pci_ids.h | 2 ++ 1 file changed,

Re: [U-Boot] [PATCH] vf610twr: Enable all masks of CCGRx registers.

2015-10-12 Thread Stefan Agner
On 2015-10-08 12:32, Anthony Felice wrote: > The CCGRx registers, or clock gating registers, can be set to disable or > enable > clocks for devices on the vf610twr platform. Enabling masks for all CCGRx > registers allows Linux drivers, like snvs_rtc, and also MQX applications, to > work out-of-th

[U-Boot] [PATCH 4/8] dm-sf: use mtd_ops, drop dm_spi_flash_ops

2015-10-12 Thread Jagan Teki
Since mtd_info ops got introduced, just drop the unneeded dm_spi_flash operations. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf-uclass.c | 16 drivers/mtd/spi/sf_probe.c | 30 --- include/spi_flash.h | 91 +++-- 3 files ch

[U-Boot] [PATCH 2/8] sf: Use mtd_info ops instead of spi_flash ops

2015-10-12 Thread Jagan Teki
Since MTD support is added in spi_flash layer, this patch uses mtd_info operations instead of legacy spi_flash operations. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 66 include/spi_flash.h | 24 -- 2 files chang

[U-Boot] [PATCH 7/8] sf: Drop SPI_FLASH_MTD driver

2015-10-12 Thread Jagan Teki
Now MTD core has been added as part of spi-flash layer, so there is no need for explicit driver for handling mtd stuff, hence removed all neccessary code regarding SPI_FLASH_MTD driver. Signed-off-by: Jagan Teki Cc: Daniel Schwierzeck Cc: Heiko Schocher --- drivers/mtd/spi/Kconfig | 12

[U-Boot] [PATCH 1/8] sf: Add MTD support to spi_flash

2015-10-12 Thread Jagan Teki
This patch adds mtd_info support to spi_flash layer, MTD has proven core for flash operations so adding MTD to spi_flash will extends more functionality. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 45 + drivers/mtd/spi/sf_probe.c | 26 +

[U-Boot] [PATCH 6/8] sf: probe: Minor cleanup

2015-10-12 Thread Jagan Teki
- Use static for file-scope function - Remove unneeded header file - Use spi instead of slave notation for spi_slave {} Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers

[U-Boot] [PATCH 5/8] sf: Add MTD support for non-dm spi_flash interface

2015-10-12 Thread Jagan Teki
This patch adds MTD support to non-dm spi_flash interface code. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 5e314e2..60abaf2

[U-Boot] [PATCH 8/8] configs: Remove CONFIG_SPI_FLASH_MTD

2015-10-12 Thread Jagan Teki
No explict spi-flash mtd handling driver, it's been part of spi-flash layer iteself, hence removed it from board configs. Signed-off-by: Jagan Teki Cc: Daniel Schwierzeck Cc: Heiko Schocher --- include/configs/aristainetos-common.h | 1 - include/configs/gw_ventana.h | 1 - include/co

[U-Boot] [PATCH 3/8] cmd_sf: Use mtd->size instead of flash->size

2015-10-12 Thread Jagan Teki
Since mtd got added, replace flash->size with mtd->size. Signed-off-by: Jagan Teki --- common/cmd_sf.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.c index ac7f5df..a501376 100644 --- a/common/cmd_sf.c +++ b/common/cmd_sf.c

[U-Boot] [PATCH 0/8] sf: MTD core support

2015-10-12 Thread Jagan Teki
These patch-set adds mtd support on top of spi-flash layer. This series is next development level for spi-nor work, previous work is on below thread patch-set. https://www.mail-archive.com/u-boot@lists.denx.de/msg188073.html TODO: - spi-nor core addition Testing: $ git clone git://git.denx.de/u-

Re: [U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-12 Thread Wolfgang Denk
Dear Tom, In message <20151012151845.GJ23893@bill-the-cat> you wrote: > > Today is the scheduled release date for v2015.10. But as you can tell > from the list of patches I just merged, a lot of stuff needed to go in > still and while I'm "happy" it's all safe it's also too much to not do > anot

Re: [U-Boot] [PATCH 1/2] Kconfig: add CONFIG_BOOTDELAY

2015-10-12 Thread Simon Glass
Hi Igor, On 12 October 2015 at 12:52, Igor Grinberg wrote: > Hi Simon, > > On 10/09/15 12:36, Simon Glass wrote: >> Hi Igor, >> >> On 8 October 2015 at 20:10, Igor Grinberg wrote: >>> Add CONFIG_BOOTDELAY to the Kconfig. >>> Default it to 3 seconds according to the majority of configs. >>> >>> S

[U-Boot] [PATCH v3 06/10] arm: imx: add secure boot fuse details for imx6 SoC

2015-10-12 Thread Adrian Alonso
Add secure boot fuse details (location) bank = 0, word = 6; for imx6 SoC platforms. Signed-off-by: Adrian Alonso --- Changes for V3: New patch in series arch/arm/cpu/armv7/mx6/soc.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6

[U-Boot] [PATCH] part:efi: add GUID for linux file system data

2015-10-12 Thread Patrick Delaunay
Signed-off-by: Patrick Delaunay --- see https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs nota 9 : Previously, Linux used the same GUID for the data partitions as Windows (Basic data partition: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7). Linux never had a separate unique partiti

Re: [U-Boot] [PATCH] part:efi: add GUID for linux file system data

2015-10-12 Thread Patrick Delaunay
2015-10-12 17:14 GMT+02:00 Tom Rini : > On Mon, Oct 12, 2015 at 05:03:15PM +0200, Patrick Delaunay wrote: > > > Signed-off-by: Patrick Delaunay > > --- > > > > see > https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs > > > > nota 9 : > > Previously, Linux used the same GUID f

[U-Boot] [PATCH] igep00x0: Use BCH8 ECC

2015-10-12 Thread Ladislav Michl
Used NAND chips requires at least 4-bit error correction, so use BCH8 as it is what kernel uses. Signed-off-by: Ladislav Michl --- omap3_igep00x0.h | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3

[U-Boot] [PATCH v3 10/10] mx7dsabresd: add secure boot support

2015-10-12 Thread Adrian Alonso
Add secure boot support for mx7dsabresd target board Signed-off-by: Adrian Alonso --- Changes for V2: Resend Changes for V3: Resend board/freescale/mx7dsabresd/imximage.cfg | 7 +++ include/configs/mx7dsabresd.h| 4 2 files changed, 11 insertions(+) diff --git a/board/free

[U-Boot] [PATCH v3 04/10] imx: hab: rework unified rom section for mx7

2015-10-12 Thread Adrian Alonso
Rework unified section macro select via Kconfig option instead of macro definition in mx7_common header file. Signed-off-by: Adrian Alonso --- Changes for V3: New patch in series arch/arm/cpu/armv7/mx7/Kconfig | 2 ++ include/configs/mx7_common.h | 1 - 2 files changed, 2 insertions(+), 1 del

[U-Boot] [PATCH v3 05/10] imx: hab: add secure boot fuse details

2015-10-12 Thread Adrian Alonso
Add secure boot fuse helper struct to abstract the way to find out secure boot settings per SoC iMX family Signed-off-by: Adrian Alonso --- Changes for V3: New patch in series arch/arm/include/asm/imx-common/hab.h | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/include/asm

[U-Boot] [PATCH v3 09/10] imx: hab: add mx7 secure boot support

2015-10-12 Thread Adrian Alonso
Add mx7 secure boot support, add helper macro IS_HAB_ENABLED_BIT to get the corresponding bit mask per SoC (mx7 or mx6) to identify if securue boot feature is enabled/disabled. On authenticate_image only check for mmu enabled on mx6 SoC to force pu_irom_mmu_enabled so ROM code can perform mmu cach

[U-Boot] [PATCH v3 03/10] imx: hab: use unified rom section for mx6sx and mx6ul

2015-10-12 Thread Adrian Alonso
Add CONFIG_ROM_UNIFIED_SECTIONS for mx6sx and mx6ul target platforms to resolve corresponding HAB_RVT_BASE base address, the RVT table contains pointers to the HAB API functions in ROM code. Signed-off-by: Adrian Alonso --- Changes for V2: New patch in series Changes for V3: - Add ROM_UNIFIED_SEC

Re: [U-Boot] [PATCH 1/2] Kconfig: add CONFIG_BOOTDELAY

2015-10-12 Thread Igor Grinberg
Hi Simon, On 10/09/15 12:36, Simon Glass wrote: > Hi Igor, > > On 8 October 2015 at 20:10, Igor Grinberg wrote: >> Add CONFIG_BOOTDELAY to the Kconfig. >> Default it to 3 seconds according to the majority of configs. >> >> Signed-off-by: Igor Grinberg >> Cc: Simon Glass >> Cc: Masahiro Yamada

[U-Boot] [PATCH v3 08/10] imx: hab: use read_fuse for secure boot settings

2015-10-12 Thread Adrian Alonso
Use read_fuse api fuction call to read secure boot fuse settings (enabled/disabled). Signed-off-by: Adrian Alonso --- Changes for V3: New patch in series arch/arm/imx-common/hab.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/arch/arm/imx-common/hab.c b/

[U-Boot] [PATCH v3 07/10] arm: imx: add secure boot fuse details for imx7 SoC

2015-10-12 Thread Adrian Alonso
Add secure boot fuse details (location) bank = 1, word = 3; for imx7 SoC platforms. Signed-off-by: Adrian Alonso --- Changes for V3: New patch in series arch/arm/cpu/armv7/mx7/soc.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7

[U-Boot] [PATCH v3 01/10] imx: cpu: move common chip revision id's

2015-10-12 Thread Adrian Alonso
Move common chip revision id's to main cpu header file mx25 generic include cpu header for chip revision Signed-off-by: Adrian Alonso --- Chages for V2: Resend Chages for V3: Resend arch/arm/cpu/arm926ejs/mx25/generic.c | 1 + arch/arm/include/asm/arch-imx/cpu.h | 12 ar

[U-Boot] [PATCH v3 02/10] imx: hab: rework secure boot support for imx6

2015-10-12 Thread Adrian Alonso
Rework secure boot support for imx6, move existing hab support for imx6 into imx-common for SoC reuse. Signed-off-by: Adrian Alonso --- Changes for V2: Split patch - Move existing hab mx6 into common location - Update include hab header location Changes for V3: - Fix commit log message, to reflec

Re: [U-Boot] [PATCH v2 4/5] imx: hab add mx7 secure boot support

2015-10-12 Thread Alonso Adrian
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Friday, October 09, 2015 3:53 AM > To: Alonso Lazcano Adrian-B38018 ; u- > b...@lists.denx.de; sba...@denx.de > Cc: ota...@ossystems.com.br; Estevam Fabio-R49496 > ; Li Frank-B20596 ; > Garg Nitin-B37173

Re: [U-Boot] [PATCH 1/2] Kconfig: add CONFIG_CMD_BOOTZ

2015-10-12 Thread Igor Grinberg
Hi Simon, On 10/09/15 12:36, Simon Glass wrote: > Hi Igor, > > On 8 October 2015 at 19:48, Igor Grinberg wrote: >> Add CONFIG_CMD_BOOTZ to the Kconfig. >> Since the CONFIG_CMD_BOOTZ cannot live without the CONFIG_CMD_BOOTM, >> make it select the CONFIG_CMD_BOOTM. >> >> Signed-off-by: Igor Grinbe

Re: [U-Boot] [PATCH 3/3] x86: Added support for Advantech SOM-6896

2015-10-12 Thread George McCollister
On Mon, Oct 12, 2015 at 8:34 AM, George McCollister wrote: > On Fri, Oct 9, 2015 at 10:31 PM, Bin Meng wrote: >> Hi George, >> >> On Sat, Oct 10, 2015 at 5:54 AM, George McCollister >> wrote: >>> Advantech SOM-6896 is a Broadwell U based COM Express Compact Module >>> Type 6. This patch adds sup

Re: [U-Boot] [PATCH] part:efi: add GUID for linux file system data

2015-10-12 Thread Tom Rini
On Mon, Oct 12, 2015 at 07:48:48PM +0200, Patrick Delaunay wrote: > 2015-10-12 17:14 GMT+02:00 Tom Rini : > > > On Mon, Oct 12, 2015 at 05:03:15PM +0200, Patrick Delaunay wrote: > > > > > Signed-off-by: Patrick Delaunay > > > --- > > > > > > see > > https://en.wikipedia.org/wiki/GUID_Partition_Ta

Re: [U-Boot] [U-Boot,v4,02/10] vexpress64: Kconfig: tidy up

2015-10-12 Thread Tom Rini
On Mon, Oct 12, 2015 at 05:47:20PM +0100, Ryan Harkin wrote: > Hi Tom, > > On 12 October 2015 at 16:17, Tom Rini wrote: > > > On Fri, Oct 09, 2015 at 05:18:00PM +0100, Ryan Harkin wrote: > > > > > The FVP and Juno settings were identical, but duplicated, so I removed > > > the duplication with t

Re: [U-Boot] [PATCH v3 2/2] ls102xa: Fix reset hang

2015-10-12 Thread Stefano Babic
Hi Tom, On 12/10/2015 18:01, Tom Rini wrote: > On Mon, Oct 12, 2015 at 12:53:12PM -0300, Fabio Estevam wrote: >> Hi Tom, >> >> On Sat, Oct 3, 2015 at 2:21 PM, Fabio Estevam wrote: >>> From: Fabio Estevam >>> >>> Since commit 623d96e89aca6("imx: wdog: correct wcr register settings") >>> issuing a

[U-Boot] [PATCH] arm: dts: socfpga: add "u-boot, dm-pre-reloc" to socfpga_cyclone5_socdk dts

2015-10-12 Thread dinguyen
From: Dinh Nguyen We need "u-boot,dm-pre-reloc" in the socfpga_cyclone5_socdk.dts file in order for the SPL to use SD/MMC. Signed-off-by: Dinh Nguyen --- arch/arm/dts/socfpga_cyclone5_socdk.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/ar

Re: [U-Boot] [PATCH v3 2/2] ls102xa: Fix reset hang

2015-10-12 Thread Tom Rini
On Mon, Oct 12, 2015 at 01:06:24PM -0300, Fabio Estevam wrote: > On Mon, Oct 12, 2015 at 1:01 PM, Tom Rini wrote: > > >> Are you happy with this series? > >> > >> This one fixes a regression, so it would be nice to have it applied in > >> 2015.10. > > > > Sorry, for some reason I thought it had

Re: [U-Boot] [PATCH v3 1/2] imx_watchdog: Add a header file for watchdog registers

2015-10-12 Thread Tom Rini
On Sat, Oct 03, 2015 at 02:20:59PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Create fsl_wdog.h to store the watchdog registers and bit fields. > > This can be useful when accesses to the watchdog block are made from other > parts, such as arch/arm/ cpu code. > > Signed-off-by: Fabi

Re: [U-Boot] [PATCH v3 2/2] ls102xa: Fix reset hang

2015-10-12 Thread Tom Rini
On Sat, Oct 03, 2015 at 02:21:00PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 623d96e89aca6("imx: wdog: correct wcr register settings") > issuing a 'reset' command causes the system to hang. > > Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian. >

[U-Boot] How to set IPU parent clock to TVE?

2015-10-12 Thread DaveKucharczyk
This is more kernel related than U-Boot, but I'm hoping you guys can help me out. I've been stuck on this for some days now with no response in the Freescale forum. We ported our custom imx51 board from Linux 2.6 to Linux 3.14 (also u-boot 2009 -> 2014). In old kernel we set the ipu_di_clk parent

Re: [U-Boot] [U-Boot,v4,02/10] vexpress64: Kconfig: tidy up

2015-10-12 Thread Ryan Harkin
Hi Tom, On 12 October 2015 at 16:17, Tom Rini wrote: > On Fri, Oct 09, 2015 at 05:18:00PM +0100, Ryan Harkin wrote: > > > The FVP and Juno settings were identical, but duplicated, so I removed > > the duplication with this patch. > > > > Signed-off-by: Ryan Harkin > > Reviewed-by: Linus Walleij

Re: [U-Boot] [PATCH v3 2/2] ls102xa: Fix reset hang

2015-10-12 Thread York Sun
On 10/12/2015 09:06 AM, Fabio Estevam wrote: > On Mon, Oct 12, 2015 at 1:01 PM, Tom Rini wrote: > >>> Are you happy with this series? >>> >>> This one fixes a regression, so it would be nice to have it applied in >>> 2015.10. >> >> Sorry, for some reason I thought it had been picked up already b

Re: [U-Boot] [PATCH v3 2/2] ls102xa: Fix reset hang

2015-10-12 Thread Fabio Estevam
On Mon, Oct 12, 2015 at 1:01 PM, Tom Rini wrote: >> Are you happy with this series? >> >> This one fixes a regression, so it would be nice to have it applied in >> 2015.10. > > Sorry, for some reason I thought it had been picked up already by > Stefano. > > Stefano, are there any other release c

Re: [U-Boot] [PATCH v3 2/2] ls102xa: Fix reset hang

2015-10-12 Thread Tom Rini
On Mon, Oct 12, 2015 at 12:53:12PM -0300, Fabio Estevam wrote: > Hi Tom, > > On Sat, Oct 3, 2015 at 2:21 PM, Fabio Estevam wrote: > > From: Fabio Estevam > > > > Since commit 623d96e89aca6("imx: wdog: correct wcr register settings") > > issuing a 'reset' command causes the system to hang. > > >

Re: [U-Boot] [PATCH v3 2/2] ls102xa: Fix reset hang

2015-10-12 Thread Fabio Estevam
Hi Tom, On Sat, Oct 3, 2015 at 2:21 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 623d96e89aca6("imx: wdog: correct wcr register settings") > issuing a 'reset' command causes the system to hang. > > Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian. > > Th

Re: [U-Boot] [PATCH] pcm052: fix MTD partitioning

2015-10-12 Thread Albert ARIBAUD
Bonjour Tom, Le Mon, 12 Oct 2015 11:18:24 -0400, Tom Rini a écrit : > On Sun, Oct 11, 2015 at 08:06:39PM +0200, Albert ARIBAUD (3ADEV) wrote: > > > MTD partitioning in current pcm052 configuration is inconsistent. > > Fix it across MTDPARTS_DEFAULT, CONFIG_EXTRA_ENV_SETTINGS, and > > CONFIG_ENV

Re: [U-Boot] [U-Boot, v4, 08/10] vexpress64: juno: add optional initrd

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:06PM +0100, Ryan Harkin wrote: > Some OS images require an initrd on Juno. > > If the file ramdisk.img exists in NOR flash, then we load it and pass > the address to the kernel. Otherwise, we pass the "-" parameter as > before. > > Signed-off-by: Ryan Harkin > Rev

Re: [U-Boot] [U-Boot,v4,02/10] vexpress64: Kconfig: tidy up

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:00PM +0100, Ryan Harkin wrote: > The FVP and Juno settings were identical, but duplicated, so I removed > the duplication with this patch. > > Signed-off-by: Ryan Harkin > Reviewed-by: Linus Walleij Applied to u-boot/master, thanks! But note that I had to "dirty"

Re: [U-Boot] [U-Boot, v4, 04/10] vexpress64: fvp dram: add DRAM configuration

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:02PM +0100, Ryan Harkin wrote: > Create an additional FVP configuration to boot images pre-loaded into > DRAM. > > Sometimes it's preferential to boot the model by loading the files > directly into DRAM via model parameters, rather than using > SemiHosting. > > An e

Re: [U-Boot] [U-Boot,v4,01/10] vexpress64: fix checkpatch warnings

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:17:59PM +0100, Ryan Harkin wrote: > This patch fixes a couple of checkpatch warnings on the vexpress64 config. > > Signed-off-by: Ryan Harkin > Reviewed-by: Linus Walleij Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, PATCHv3] Add support for LZ4 decompression algorithm

2015-10-12 Thread Tom Rini
On Tue, Oct 06, 2015 at 08:03:53PM -0700, Julius Werner wrote: > This patch adds support for LZ4-compressed FIT image contents. This > algorithm has a slightly worse compression ration than LZO while being > nearly twice as fast to decompress. When loading images from a fast > storage medium this

Re: [U-Boot] nand: omap_gpmc: Change correctable bit-flips messages to debug()

2015-10-12 Thread Tom Rini
On Sun, Oct 04, 2015 at 06:34:42PM -0300, Ezequiel García wrote: > Messages on corrected bit-flips are not really useful, > as bit-flips are perfectly normal. Let's avoid cluttering > the console and make them debug. > > Signed-off-by: Ezequiel Garcia Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] lpc32xx: fix calculation of HCLK PLL output clock

2015-10-12 Thread Tom Rini
On Sun, Oct 04, 2015 at 11:18:45PM +0100, Vladimir Zapolskiy wrote: > Execution branches on feedback mode are swapped, this has no effect > if default direct mode is on (then p_div is equal to 1 and Fout equals > to Fcco), that's why the problem remained unnoticed for a long time. > > Signed-off-

Re: [U-Boot] [U-Boot, 1/3] Revert "powerpc: ppc4xx: remove lwmon5 support"

2015-10-12 Thread Tom Rini
On Fri, Oct 02, 2015 at 08:20:35AM +0200, Stefan Roese wrote: > This reverts commit 8fe11b8901a31d11990488c82bc23612589d57be. > > I'll add support to lwmon5 in the next patch and will remove > support for the broken lcd4_lwmon5 as well. > > Signed-off-by: Stefan Roese > Cc: Masahiro Yamada Ap

Re: [U-Boot] lpc32xx: remove surplus clock cycle in PL175 WAIT_OEN config

2015-10-12 Thread Tom Rini
On Sun, Oct 04, 2015 at 11:18:24PM +0100, Vladimir Zapolskiy wrote: > According to ARM PrimeCell PL175 documentation WAIT_OEN config value > is defined without any additional clocks added to the value set by a > client, the change fixes the wrong interface to WAIT_OEN config. > > The change also

Re: [U-Boot] Fix variation in timestamps caused by timezone differences.

2015-10-12 Thread Tom Rini
On Fri, Oct 02, 2015 at 09:11:51AM -0700, Vagrant Cascadian wrote: > When building with SOURCE_DATE_EPOCH set, avoid use of mktime in > default_image.c, which converts the timestamp into localtime. This > causes variation based on timezone when building u-boot.img and > u-boot-sunxi-with-spl.bin t

Re: [U-Boot] [PATCH v3] Revert "env_eeprom: Assign default environment during board_init_f"

2015-10-12 Thread Tom Rini
On Mon, Oct 12, 2015 at 01:34:24PM +0200, Ludger Dreier wrote: > The crc-check and decision on which environment to use is now moved to > env_relocate_spec. This is done for both the "redundant env" and the > "single env" case. > This also solves problems introduced from the commit "env_eeprom: As

Re: [U-Boot] [PATCH] pcm052: fix MTD partitioning

2015-10-12 Thread Tom Rini
On Sun, Oct 11, 2015 at 08:06:39PM +0200, Albert ARIBAUD (3ADEV) wrote: > MTD partitioning in current pcm052 configuration is inconsistent. > Fix it across MTDPARTS_DEFAULT, CONFIG_EXTRA_ENV_SETTINGS, and > CONFIG_ENV_OFFSET[_REDUND]. > > Signed-off-by: Albert ARIBAUD (3ADEV) Applied to u-boot/

[U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-12 Thread Tom Rini
Hey all, Today is the scheduled release date for v2015.10. But as you can tell from the list of patches I just merged, a lot of stuff needed to go in still and while I'm "happy" it's all safe it's also too much to not do another -rc. So here we are and I'm expecting to do the release next Monday

Re: [U-Boot] [U-Boot,v4,10/10] vexpress64: juno: use /dev/sda2

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:08PM +0100, Ryan Harkin wrote: > This patch changes the default "root=" parameter to "/dev/sda2". > > Many linux based distros use /dev/sda1 for their boot partition; this is > often not a rootfs that can be used by the "root=" parameter. > > Linaro images use /dev/

Re: [U-Boot] [PATCH] test/fs/fs-test.sh: Update expected results and TC10 logic

2015-10-12 Thread Tom Rini
On Sun, Oct 11, 2015 at 04:51:04PM -0400, Tom Rini wrote: > With the changes in 7a3e70c we now get read(2) behavior so trying to > read 2MB with 1MB left in the file results in 1MB read and a warning. > We update the test logic here to make sure we read back 1MB as expected. > This change however

Re: [U-Boot] [U-Boot, v4, 09/10] vexpress64: juno: add alternate kernel and device tree filenames

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:07PM +0100, Ryan Harkin wrote: > The latest Juno firmware stores the files in NOR flash as "norkern" for > kernel binary, "board.dtb" for the device tree binary. > > The "old" firmware used the name "Image" for the kernel binary and > "juno" for the device tree binar

Re: [U-Boot] [U-Boot, v4, 07/10] common/armflash: load_image returns success or failure

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:05PM +0100, Ryan Harkin wrote: > Change the load_image so that it returns success or failure of the > command (using CMD_RET_SUCCESS or CMD_RET_FAILURE). > > This way, hush scripts can optionally load different files depending > upon the system configuration. > > A

Re: [U-Boot] [U-Boot, v4, 03/10] vexpress64: increase max gunzip size

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:01PM +0100, Ryan Harkin wrote: > vexpress64 kernels are usually over 8 MBytes in length, so setting the > max uImage length to 64 Mbytes should give us plenty of scope for > expansion. > > I mostly chose this length to match other board configs that use > "(64 << 20)

Re: [U-Boot] [U-Boot, v4, 06/10] common/armflash: add command to check if image exists

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:04PM +0100, Ryan Harkin wrote: > Add a command to the ARM flash support to check if an image exists or > not. > > If the image is found, it will return CMD_RET_SUCCESS, else > CMD_RET_FAILURE. This allows hush scripts to conditionally load images. > > A simple exam

Re: [U-Boot] [U-Boot, v4, 05/10] vexpress64: juno: add androidboot.hardware=juno

2015-10-12 Thread Tom Rini
On Fri, Oct 09, 2015 at 05:18:03PM +0100, Ryan Harkin wrote: > Linaro's Juno Android builds requires the androidboot.hardware parameter > be set to a know board name. > > Non-Android kernels ignore this extra parameter because they don't > contain code to parse it. > > Signed-off-by: Ryan Harkin

Re: [U-Boot] ti: omap3: config: remove 1 from boolean define

2015-10-12 Thread Tom Rini
On Thu, Oct 08, 2015 at 09:12:25PM +0300, Igor Grinberg wrote: > CONFIG_TWL4030_POWER is a boolean define variable. It is either defined > or not defined and should not have a value assigned to it. > Remove the value. > > Signed-off-by: Igor Grinberg Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] image: fix support for Android boot images with no ramdisk

2015-10-12 Thread Tom Rini
On Mon, Oct 05, 2015 at 02:37:07PM -0500, Rob Herring wrote: > If an Android boot image does not contain a ramdisk, make sure rd_len > and rd_data are returned to indicate no ramdisk rather than just relying > on returning an error. > > Signed-off-by: Rob Herring Applied to u-boot/master, thank

Re: [U-Boot] [U-Boot, 2/3] ppc4xx: Convert lwmon5 board to generic board

2015-10-12 Thread Tom Rini
On Fri, Oct 02, 2015 at 08:20:36AM +0200, Stefan Roese wrote: > Add CONFIG_SYS_GENERIC_BOARD to lwmon5.h and CONFIG_DISPLAY_BOARDINFO > to Kconfig file. > > Signed-off-by: Stefan Roese > Cc: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signatu

Re: [U-Boot] [U-Boot,3/3] ppc4xx: Remove lcd4_lwmon5 support

2015-10-12 Thread Tom Rini
On Fri, Oct 02, 2015 at 08:20:37AM +0200, Stefan Roese wrote: > This platform has not gone into production. So lets remove it. > > Signed-off-by: Stefan Roese > Cc: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

[U-Boot] [PATCH v4 01/21] spi: zynq_spi: Remove unneeded headers

2015-10-12 Thread Jagan Teki
- Removed unneeded inclusion of header files - Add "Xilinx" on license text Signed-off-by: Jagan Teki Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- Changes for v4, v3, v2: - none drivers/spi/zynq_spi.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/driv

[U-Boot] [PATCH 1/2] pl310: arm: fix up define typo for the share override bit

2015-10-12 Thread dinguyen
From: Dinh Nguyen s/L310_SHARED_ATT_OVERRIDE_ENABLE/PL310_SHARED_ATT_OVERRIDE_ENABLE Signed-off-by: Dinh Nguyen --- arch/arm/imx-common/cache.c | 2 +- arch/arm/include/asm/pl310.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/imx-common/cache.c b/arch/arm/im

[U-Boot] [PATCH 2/2] arm: socfpga: enable data/inst prefetch and shared override in the L2

2015-10-12 Thread dinguyen
From: Dinh Nguyen Update the L2 AUX CTRL settings for the SoCFPGA. Enabling D and I prefetch bits helps improve SDRAM performance on the platform. Also, we need to enable bit 22 of the L2. By not having bit 22 set in the PL310 Auxiliary Control register (shared attribute override enable) has th

Re: [U-Boot] [U-Boot, 4/5] fs/fat/fat_write: Factor out duplicate code

2015-10-12 Thread Tom Rini
On Mon, Sep 28, 2015 at 03:45:31PM +0200, Benoît Thébaudeau wrote: > Signed-off-by: Benoît Thébaudeau Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [U-Boot,1/5] fs/fat/fat_write: Fix buffer alignments

2015-10-12 Thread Tom Rini
On Mon, Sep 28, 2015 at 03:45:28PM +0200, Benoît Thébaudeau wrote: > set_cluster() was using a temporary buffer without enforcing its > alignment for DMA and cache. Moreover, it did not check the alignment of > the passed buffer, which can come directly from applicative code or from > the user. >

Re: [U-Boot] [U-Boot, 3/5] fs/fat/fat_write: Fix curclust/newclust mix-up

2015-10-12 Thread Tom Rini
On Mon, Sep 28, 2015 at 03:45:30PM +0200, Benoît Thébaudeau wrote: > curclust was used instead of newclust in the debug() calls and in one > CHECK_CLUST() call, which could skip a failure case. > > Signed-off-by: Benoît Thébaudeau Applied to u-boot/master, thanks! -- Tom signature.asc Descr

Re: [U-Boot] [U-Boot, 5/5] fs/fat/fat_write: Fix management of empty files

2015-10-12 Thread Tom Rini
On Mon, Sep 28, 2015 at 03:45:32PM +0200, Benoît Thébaudeau wrote: > Overwriting an empty file not created by U-Boot did not work, and it > could even corrupt the FAT. Moreover, creating empty files or emptying > existing files allocated a cluster, which is not standard. > > Fix this by always ke

Re: [U-Boot] arndale: Apply Cortex-A15 errata #773022 and #774769

2015-10-12 Thread Tom Rini
On Tue, Sep 29, 2015 at 10:27:09AM +0100, Ian Campbell wrote: > We run 4 Arndale boards in our automated test framework, they have > been running quite happily for quite some time using a Debian Wheezy > userspace. > > However when upgrading to a Debian Jessie we started seeing frequent > segment

Re: [U-Boot] common/image.c: Make boot_get_ramdisk() perform a check for Android images

2015-10-12 Thread Tom Rini
On Thu, Aug 27, 2015 at 03:42:41PM -0400, Tom Rini wrote: > In 2dd4632 the check for where a ramdisk is found on an Android image > was got moved into the "normal" loop here, causing people to have to > pass the kernel address in the ramdisk address location in order to have > Android boot still.

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

2015-10-12 Thread Tom Rini
On Sun, Oct 11, 2015 at 04:52:08PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks! > Jagan. > > The following changes since commit 9a4c6e9abf5261f565cfbf1e80c6e17d26ad0b1e: > > sunxi: Fix USB regulators in Linksprite_pcDuino_defconfig (2015-10-10 > 11:54:16 +0200) >

Re: [U-Boot] [U-Boot, 2/5] fs/fat/fat_write: Merge calls to set_cluster()

2015-10-12 Thread Tom Rini
On Mon, Sep 28, 2015 at 03:45:29PM +0200, Benoît Thébaudeau wrote: > set_contents() had uselessly split calls to set_cluster(). Merge these > calls, which removes some cases of set_cluster() being called with a > size of zero. > > Signed-off-by: Benoît Thébaudeau Applied to u-boot/master, thank

Re: [U-Boot] [U-Boot, 2/2] tools/mkimage.c: Clarify help text for -D slightly

2015-10-12 Thread Tom Rini
On Wed, Aug 26, 2015 at 03:21:23PM -0400, Tom Rini wrote: > Try and make it clear that -D will replace all arguments passed to dtc > and is not appending them. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH] part:efi: add GUID for linux file system data

2015-10-12 Thread Tom Rini
On Mon, Oct 12, 2015 at 05:03:15PM +0200, Patrick Delaunay wrote: > Signed-off-by: Patrick Delaunay > --- > > see https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs > > nota 9 : > Previously, Linux used the same GUID for the data partitions as Windows > (Basic data partitio

[U-Boot] [PATCH] T104xD4RDB: Fix PHY address for PHY connected to FM1@DTSEC3

2015-10-12 Thread Codrin Ciubotariu
On T1040D4RDB board, u-boot fails to connect port FM1@DTSEC3 to the Ethernet PHY because the wrong PHY address is used. Also, T1040D4RDB supports SGMII on one port only. Signed-off-by: Codrin Ciubotariu --- include/configs/T104xRDB.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH v4 12/21] sf: Use static for file-scope functions

2015-10-12 Thread Jagan Teki
Use static for file-scope functions and removed them from header files. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none drivers/mtd/spi/sf_internal.h | 18 -- drivers/mtd/spi/sf_ops.c | 11 ++- 2 files changed, 6 insertions(+), 23 deletions(-)

[U-Boot] [PATCH v4 10/21] sf: Move the read_id code to sf_ops

2015-10-12 Thread Jagan Teki
read_id code is related to spi_flash stuff hence moved to sf_ops. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none drivers/mtd/spi/sf_internal.h | 3 +-- drivers/mtd/spi/sf_ops.c | 21 ++--- drivers/mtd/spi/sf_probe.c| 15 +-- 3 files ch

[U-Boot] [PATCH v4 13/21] sf: Fix Makefile

2015-10-12 Thread Jagan Teki
This patch removes unneeded ifdef and fixed accordingly. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none drivers/mtd/spi/Makefile | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile index ff48b25..66c4

[U-Boot] [PATCH v4 14/21] sf: Use simple name for register access functions

2015-10-12 Thread Jagan Teki
Most of the register access function are static, so used simple name to represent each. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none drivers/mtd/spi/sf_ops.c | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/

[U-Boot] [PATCH v4 21/21] dm-sf: Re-factorize spi_flash_std_probe code

2015-10-12 Thread Jagan Teki
spi_flash_probe_tail code looks not in proper shape to add more functionalities. hence refactorized so-that it's more readable and hence we may extend more functionalies to it. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none drivers/mtd/spi/sf_probe.c | 22 ++---

[U-Boot] [PATCH v4 17/21] sf: Use static for file-scope functions

2015-10-12 Thread Jagan Teki
Use static for file-scope functions and removed them from header files. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none drivers/mtd/spi/sf_internal.h | 20 drivers/mtd/spi/sf_ops.c | 11 ++- 2 files changed, 6 insertions(+), 25 deletions(-)

[U-Boot] [PATCH v4 05/21] sf: Make flash->flags use for generic usage

2015-10-12 Thread Jagan Teki
Use the flash->flags for generic usage, not only for dm-spi-flash, this will be used for future flag additions. Signed-off-by: Jagan Teki [Correct the spi flash flags detect logic] Signed-off-by: Bin Meng Tested-by: Bin Meng --- Changes for v4: - Fixed SNOR_F_SST_WR Changes for v3, v2:

[U-Boot] [PATCH v4 04/21] sf: Optimize BAR write code

2015-10-12 Thread Jagan Teki
Optimized spi-flash bar writing code and also removed unnecessary bank_sel in read_ops. Signed-off-by: Jagan Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- Changes for v4, v3, v2: - none drivers/mtd/spi/sf_ops.c | 41 +

  1   2   >