Re: [U-Boot] Pull request: u-boot-arm/master - please hold

2014-01-16 Thread Albert ARIBAUD
Hi Tom, On Wed, 15 Jan 2014 16:16:13 +0100, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 6ba2bc8fa9be4bd09ec43e39cb8e666480ef010c: > > arm: use canonical sub mnemonic (2014-01-14 12:38:47 +0100) > > are available in the git repository at: > > git://git.denx

Re: [U-Boot] [PATCH] arm: exynos: change to use clrbits macro instead of readl/writel function

2014-01-16 Thread Minkyu Kang
On 16/01/14 01:09, Gerhard Sittig wrote: > On Tue, Jan 14, 2014 at 13:01 +0900, Inha Song wrote: >> >> Use setbits/clrbits macro instead of readl/writel function >> >> Signed-off-by: Inha Song > > You can probably trim down the subject line's length by omitting > the "change to" words. It's obvi

Re: [U-Boot] [PATCH v2] arm: exynos: change to use clrbits macro instead of readl/writel function

2014-01-16 Thread Inha Song
Hi, On Thu, 16 Jan 2014 16:50:37 +0900 Minkyu Kang wrote: > On 15/01/14 14:27, Inha Song wrote: > > Use setbits/clrbits macro instead of readl/writel function > > > > Signed-off-by: Inha Song > > Signed-off-by: Minkyu Kang > > Tested-by: Przemyslaw Marczak > > --- > > Changes for v2: > > -

Re: [U-Boot] UBIFS seeing corrupt blank pages when image flashed via u-boot

2014-01-16 Thread Artem Bityutskiy
On Thu, 2014-01-16 at 07:44 +, Gupta, Pekon wrote: > However, *assuming NAND driver can identify erased-page correctly*, > I don't want UBI/UBIFS to re-check the read_buf for 0xff again, because > underlying NAND driver has already identified as erased-page, and > fixed the data before passin

Re: [U-Boot] [PATCH v2] arm: exynos: change to use clrbits macro instead of readl/writel function

2014-01-16 Thread Jaehoon Chung
On 01/16/2014 05:20 PM, Inha Song wrote: > > Hi, > > On Thu, 16 Jan 2014 16:50:37 +0900 > Minkyu Kang wrote: > >> On 15/01/14 14:27, Inha Song wrote: >>> Use setbits/clrbits macro instead of readl/writel function >>> >>> Signed-off-by: Inha Song >>> Signed-off-by: Minkyu Kang >>> Tested-by: P

[U-Boot] [PATCH v9 0/7] arm: add Faraday SoC platform support

2014-01-16 Thread Kuo-Jung Su
From: Kuo-Jung Su These patches introduce Faraday A369 & Virtual SoC platform support. Here are some public documents for your reference. http://www.faraday-tech.com/html/Product/SoCPlatform/SoCreativeIII.htm http://www.faraday-tech.com/html/documentation/index.html There is also a QEMU

[U-Boot] [PATCH v9 1/7] arm: add Faraday ARMv5TE cores support

2014-01-16 Thread Kuo-Jung Su
From: Kuo-Jung Su Here is the list of verified cores: 1. FA606TE (ARMv5TE, no mmu) 2. FA626TE (ARMv5TE) Signed-off-by: Kuo-Jung Su CC: Albert Aribaud --- Changes for v9: - Build 'arch_preboot_os()' only when CONFIG_CMD_BOOTM is defined. - Add do_go_exec() to override the defau

[U-Boot] [PATCH v9 2/7] arm: add Faraday SoC helper files

2014-01-16 Thread Kuo-Jung Su
From: Kuo-Jung Su 1. arch/arm/include/asm/faraday.h: Faraday SoC header file 2. include/configs/faraday-common.h: Faraday SoC common/default configurations Signed-off-by: Kuo-Jung Su CC: Albert Aribaud --- Changes for v9: - Separated as a standalone changeset by first time. ar

[U-Boot] [PATCH v9 4/7] arm: faraday: add FTPWMTMR010 timer support

2014-01-16 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTPWMTMR010 is a simple APB device which supports both timer and pwm functions. Signed-off-by: Kuo-Jung Su CC: Albert Aribaud --- Changes for v9: - Nothing updates Changes for v8: - Nothing updates Changes for v7: - Update license to use SPDX

[U-Boot] [PATCH v9 3/7] arm: faraday: add FTTMR010 timer support

2014-01-16 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTTMR010 is a simple APB device which supports generic timer functions. Signed-off-by: Kuo-Jung Su CC: Albert Aribaud --- Changes for v9: - Nothing updates Changes for v8: - Nothing updates Changes for v7: - Update license to use SPDX identif

[U-Boot] [PATCH v9 5/7] arm: faraday: ftsmc020: add a fail-safe macro constant

2014-01-16 Thread Kuo-Jung Su
From: Kuo-Jung Su Add a macro constant for fail-safe timing value. Signed-off-by: Kuo-Jung Su CC: Albert Aribaud --- Changes for v9: - Separated as a standalone changeset by first time. include/faraday/ftsmc020.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/faraday/

[U-Boot] [PATCH v9 7/7] arm: faraday: add Faraday Virtual Machine support

2014-01-16 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday Virtual Machine (FVM) is a QEMU based emulator which is designed for early stage software development (e.g., IPL, SPL). Please check the link bellow for details: https://github.com/dantesu1218/qemu/blob/qemu-1.5.1/hw/arm/faraday_fvm.c Signed-off-by: Kuo-Jung Su CC: Al

[U-Boot] [PATCH v9 6/7] arm: faraday: add A369 evaluation board support

2014-01-16 Thread Kuo-Jung Su
From: Kuo-Jung Su The A369 is an ARM CPU-based SoC with rich SoC features and convenient FPGA link for building fast system prototyping and volume production. More information about this hardware can be found at: http://www.faraday-tech.com/html/Product/SoCPlatform/SoCreativeIII.htm Signed-off-

Re: [U-Boot] [PATCH v2] arm: exynos: change to use clrbits macro instead of readl/writel function

2014-01-16 Thread Minkyu Kang
On 16/01/14 17:20, Inha Song wrote: > > Hi, > > On Thu, 16 Jan 2014 16:50:37 +0900 > Minkyu Kang wrote: > >> On 15/01/14 14:27, Inha Song wrote: >>> Use setbits/clrbits macro instead of readl/writel function >>> >>> Signed-off-by: Inha Song >>> Signed-off-by: Minkyu Kang >>> Tested-by: Przemy

Re: [U-Boot] [PATCH v2 6/6] mx6: soc: Disable VDDPU regulator

2014-01-16 Thread Pierre Aubert
=Hello, Otavio Salvador wrote > > It seems this patch makes 3.10.17-1.0.0-beta freeze in a customer board; > reverting this makes this to work again. It freezes when loading Vivante > module. > > Can someone reproduce this freeze? The kernel 3.0.35 freezes also on the SabreSD platform with thi

[U-Boot] [PATCH V5 0/6] SMDK5420: Add S2MPS11 pmic support to SMDK5420

2014-01-16 Thread Leela Krishna Amudala
This patchset adds support for S2MPS11 pmic on SMDK5420 Changes since V4: - Made conditional inclusion for headers s2mps11_pmic.h and max77686_pmic.h in board/samsung/common/board.c file - moved board_init_s2mps11() under "#if defined(CONFIG_POWER)" - Added autho

[U-Boot] [PATCH V5 3/6] FDT: Exynos5420: Add compatible srings for PMIC

2014-01-16 Thread Leela Krishna Amudala
Add required compatible strings for PMIC S2MPS11 Signed-off-by: Leela Krishna Amudala Acked-by: Simon Glass --- include/fdtdec.h |1 + lib/fdtdec.c |1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 433d6a7..80744f5 100644 --- a/include/fd

[U-Boot] [PATCH V5 2/6] power: Explicitly select pmic device's bus

2014-01-16 Thread Leela Krishna Amudala
The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true. Therefore, select the proper bus before performing a transaction. Signed-off-by: Aaron Durbin Signed-off-by: Simon Glass Signed-off-by: Leela Krishna Amudala Re

[U-Boot] [PATCH V5 1/6] exynos: Use common pmic_reg_update() definition

2014-01-16 Thread Leela Krishna Amudala
This function is used by different Exynos platforms, put it in the common file. Signed-off-by: Vadim Bendebury Signed-off-by: Leela Krishna Amudala Reviewed-by: Doug Anderson Reviewed-by: Lukasz Majewski Acked-by: Simon Glass --- board/samsung/common/board.c | 19 --- drive

[U-Boot] [PATCH V5 5/6] exynos: Add a common DT based PMIC driver initialization

2014-01-16 Thread Leela Krishna Amudala
Most of i2c PMIC drivers follow the same initialization sequence, let's generalize it in a common file. The initialization function finds the PMIC in the device tree, and if found - registers it in the list of known PMICs and initializes it, iterating through the table of settings supplied by the

[U-Boot] [PATCH V5 4/6] SMDK5420: S2MPS11: Adds the register settings for S2MPS11

2014-01-16 Thread Leela Krishna Amudala
Adds the register settings, addresses and voltages associated with S2MPS11 Signed-off-by: Alim Akhtar Signed-off-by: Leela Krishna Amudala Reviewed-by: Vadim Bendebury Reviewed-by: Lukasz Majewski Acked-by: Simon Glass --- include/power/s2mps11_pmic.h | 141 +

[U-Boot] [PATCH V5 6/6] config: SMDK5420: Enable S2MPS11 pmic

2014-01-16 Thread Leela Krishna Amudala
configure S2MPS11 pmic on SMDK5420 Signed-off-by: Leela Krishna Amudala Acked-by: Simon Glass --- include/configs/smdk5420.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h index 447f8e5..f81b6f0 100644 --- a/include/configs/smdk5

Re: [U-Boot] [PATCH v2] arm: exynos: change to use clrbits macro instead of readl/writel function

2014-01-16 Thread Jaehoon Chung
On 01/16/2014 05:34 PM, Minkyu Kang wrote: > On 16/01/14 17:20, Inha Song wrote: >> >> Hi, >> >> On Thu, 16 Jan 2014 16:50:37 +0900 >> Minkyu Kang wrote: >> >>> On 15/01/14 14:27, Inha Song wrote: Use setbits/clrbits macro instead of readl/writel function Signed-off-by: Inha Song >

Re: [U-Boot] Pull request v2: u-boot-sh/rmobile into u-boot-arm/master

2014-01-16 Thread Albert ARIBAUD
Hi Nobuhiro, On Thu, 16 Jan 2014 08:14:19 +0900, Nobuhiro Iwamatsu wrote: > Dear Albert Aribaud, > > Please pull u-boot-sh/rmobile into u-boot-arm/master. > > "spi: sh_qspi: Add header file that defines the address of registers" > is SPI stuff. > But I have permission to take from arm reposito

[U-Boot] Pull request: u-boot-arm/master - UPDATED

2014-01-16 Thread Albert ARIBAUD
Hello Tom, This is an update which replaces the previous PR which had only imx stuff. The following changes since commit 6ba2bc8fa9be4bd09ec43e39cb8e666480ef010c: arm: use canonical sub mnemonic (2014-01-14 12:38:47 +0100) are available in the git repository at: git://git.denx.de/u-boot-ar

Re: [U-Boot] [PATCH v2 6/6] mx6: soc: Disable VDDPU regulator

2014-01-16 Thread Fabio Estevam
Hi Pierre, On Thu, Jan 16, 2014 at 6:40 AM, Pierre Aubert wrote: > =Hello, > > > Otavio Salvador wrote >> >> It seems this patch makes 3.10.17-1.0.0-beta freeze in a customer board; >> reverting this makes this to work again. It freezes when loading Vivante >> module. >> >> Can someone reproduce

Re: [U-Boot] [PATCH v2 6/6] mx6: soc: Disable VDDPU regulator

2014-01-16 Thread Pierre AUBERT
Hi Fabio, Le 16/01/2014 12:19, Fabio Estevam a écrit : Hi Pierre, On Thu, Jan 16, 2014 at 6:40 AM, Pierre Aubert wrote: =Hello, Otavio Salvador wrote It seems this patch makes 3.10.17-1.0.0-beta freeze in a customer board; reverting this makes this to work again. It freezes when loading V

Re: [U-Boot] [PATCH 3/5] fdt: add fdt_add_display_timings(..)

2014-01-16 Thread Christian Gmeiner
Hi all 2014/1/14 Christian Gmeiner : > 2014/1/12 Anatolij Gustschin : >> Hi Stefano, >> >> On Wed, 08 Jan 2014 11:53:39 +0100 >> Stefano Babic wrote: >> ... >>> Agree that we have to sync u-boot and kernel, and this can be a way in >>> the short term. >>> >>> I am asking if this is in the long te

Re: [U-Boot] Prefetch abort exception

2014-01-16 Thread Parimala Baggiri
Hello, On Tue, Jan 14, 2014 at 11:30 AM, Albert ARIBAUD wrote: > Hi Parimala, > > On Mon, 13 Jan 2014 19:00:04 +0530, Parimala Baggiri > wrote: > > > Hello, > > > > I have added interrupt support for armv7 platform, by implementing the > > do_irq and irq_install_handler and arch_interrupt_init f

[U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Fabio Estevam
Commit 022298278 (mx6: soc: Disable VDDPU regulator) is causing kernel hang for people using FSL kernel 3.0.35 and 3.10, so revert it for now. Reported-by: Otavio Salvador Reported-by: Pierre Aubert Signed-off-by: Fabio Estevam --- Stefano, I will provide a proper fix after 2014.01 is out, but

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Stefano Babic
Hi Fabio, hi Albert, On 16/01/2014 13:57, Fabio Estevam wrote: > Commit 022298278 (mx6: soc: Disable VDDPU regulator) is causing kernel hang > for people using FSL kernel 3.0.35 and 3.10, so revert it for now. > > Reported-by: Otavio Salvador > Reported-by: Pierre Aubert > Signed-off-by: Fabio

Re: [U-Boot] Prefetch abort exception

2014-01-16 Thread Albert ARIBAUD
Hi Parimala, On Thu, 16 Jan 2014 17:55:10 +0530, Parimala Baggiri wrote: > Hello, > > On Tue, Jan 14, 2014 at 11:30 AM, Albert ARIBAUD > wrote: > > > Hi Parimala, > > > > On Mon, 13 Jan 2014 19:00:04 +0530, Parimala Baggiri > > wrote: > > > > > Hello, > > > > > > I have added interrupt suppor

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Fabio Estevam
Hi Stefano, On Thu, Jan 16, 2014 at 11:06 AM, Stefano Babic wrote: > Anyway, is it the fix known ? Should it be done in U-Boot or FSL-3.10 > kernel ? I have just started debugging, so I am not sure at this point. Internal FSL U-boot also disables VDDPU, but it does not cause the hang when GPU

Re: [U-Boot] [PATCH] sf: Fix entries for S25FL256S_256K and S25FL512S_256K

2014-01-16 Thread Jagan Teki
On Wed, Jan 15, 2014 at 9:11 PM, Marek Vasut wrote: > On Wednesday, January 15, 2014 at 04:17:55 PM, Jagan Teki wrote: >> On Wed, Jan 15, 2014 at 8:06 PM, Marek Vasut wrote: >> > On Wednesday, January 15, 2014 at 03:29:43 PM, Marek Vasut wrote: >> >> Both of these chips have 256kB big sectors, th

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Otavio Salvador
Hello Fabio and Stefano, On Thu, Jan 16, 2014 at 11:21 AM, Fabio Estevam wrote: > > On Thu, Jan 16, 2014 at 11:06 AM, Stefano Babic wrote: > > > Anyway, is it the fix known ? Should it be done in U-Boot or FSL-3.10 > > kernel ? > > I have just started debugging, so I am not sure at this point. >

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Fabio Estevam
On Thu, Jan 16, 2014 at 1:33 PM, Otavio Salvador wrote: > As I said the SabreSD case seems to be solvable adding support for the PMIC. Have you really tried it? I tried adding PMIC support on sabresd and it did overcome the GPU hang. > I did it for our customer board and it works however it doe

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Fabio Estevam
On Thu, Jan 16, 2014 at 1:42 PM, Fabio Estevam wrote: > On Thu, Jan 16, 2014 at 1:33 PM, Otavio Salvador > wrote: > >> As I said the SabreSD case seems to be solvable adding support for the PMIC. > > Have you really tried it? I tried adding PMIC support on sabresd and > it did overcome the GPU ha

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Otavio Salvador
On Thu, Jan 16, 2014 at 1:42 PM, Fabio Estevam wrote: > On Thu, Jan 16, 2014 at 1:33 PM, Otavio Salvador > wrote: > > > As I said the SabreSD case seems to be solvable adding support for the > PMIC. > > Have you really tried it? I tried adding PMIC support on sabresd and > it did overcome the GP

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Fabio Estevam
On Thu, Jan 16, 2014 at 1:50 PM, Otavio Salvador wrote: >> It worked for you probably because you used the ldo bypass mode. > > > Yes; I did the bypass mode. We currently don't do LDO bypass mode in mainline U-boot. We do it in FSL U-boot. With LDO bypass, lower VDDARM and VDDSOC voltages can b

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Stefano Babic
Hi Fabio, On 16/01/2014 17:01, Fabio Estevam wrote: > On Thu, Jan 16, 2014 at 1:50 PM, Otavio Salvador > wrote: > >>> It worked for you probably because you used the ldo bypass mode. >> >> >> Yes; I did the bypass mode. > > We currently don't do LDO bypass mode in mainline U-boot. We do it in >

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Otavio Salvador
On Thu, Jan 16, 2014 at 2:01 PM, Fabio Estevam wrote: > On Thu, Jan 16, 2014 at 1:50 PM, Otavio Salvador > wrote: > > >> It worked for you probably because you used the ldo bypass mode. > > > > > > Yes; I did the bypass mode. > > We currently don't do LDO bypass mode in mainline U-boot. We do it

Re: [U-Boot] [PATCH] mx6: Revert "mx6: soc: Disable VDDPU regulator"

2014-01-16 Thread Pierre AUBERT
Le 16/01/2014 17:01, Fabio Estevam a écrit : On Thu, Jan 16, 2014 at 1:50 PM, Otavio Salvador wrote: It worked for you probably because you used the ldo bypass mode. Yes; I did the bypass mode. We currently don't do LDO bypass mode in mainline U-boot. We do it in FSL U-boot. With LDO bypas

Re: [U-Boot] [PATCH 1/3] config: Update envs for trats and trats2 - new entries for new partitions

2014-01-16 Thread Gerhard Sittig
On Wed, Jan 15, 2014 at 21:32 +0100, Lukasz Majewski wrote: > > Hi Gerard, > > > On Tue, Jan 14, 2014 at 08:02 +0100, Lukasz Majewski wrote: > > > > > > diff --git a/include/configs/trats.h b/include/configs/trats.h > > > index 6cd15c2..0bdfe86 100644 > > > --- a/include/configs/trats.h > > > ++

[U-Boot] [uBoot] [Patch v2 1/4] spl: common: Properly ignore spl/Makefile in .gitignore

2014-01-16 Thread Dan Murphy
The spl directory is ignored by git as these objects are created during spl creation. The only file not created is the Makefile. This file can be modified and checked in via git. Due to the order of rule precedence having the whole directory ignored first then indicating not to ignore the Makefi

[U-Boot] [uBoot] [Patch v2 4/4] arm: am43xx: Add USB spl boot support

2014-01-16 Thread Dan Murphy
Add the USB host boot support for the am43xx evm Add the macros to boot from a usb drive in uBoot Signed-off-by: Dan Murphy --- v2 - This is the first time for this patch just enabled AM43xx include/configs/am43xx_evm.h | 46 -- 1 file changed, 40 inse

[U-Boot] [uBoot] [Patch v2 2/4] spl: common: Move FAT funcs to a common file

2014-01-16 Thread Dan Murphy
Move the FAT functions to a common location for reuse. Signed-off-by: Dan Murphy --- v2 - No change just a rebase - http://patchwork.ozlabs.org/patch/309264/ common/spl/Makefile |1 + common/spl/spl_fat.c | 96 ++ common/spl/spl_mmc.c |

[U-Boot] [uBoot] [Patch v2 3/4] spl: common: Support for USB MSD FAT image loading

2014-01-16 Thread Dan Murphy
Add SPL support to be able to detect a USB Mass Storage device connected to a USB host. Once a USB Mass storage device is detected the SPL will load the u-boot.img from a FAT partition to target address. Signed-off-by: Dan Murphy --- v2 - Updated spl.h after rebase because the #define did not g

Re: [U-Boot] [PATCH] board_r - fixup functions table after relocation

2014-01-16 Thread Alexey Brodkin
On Wed, 2014-01-15 at 22:43 +0100, Albert ARIBAUD wrote: > Hi Alexey, > > On Wed, 15 Jan 2014 15:19:56 +0400, Alexey Brodkin > wrote: > > > "init_sequence_r" is just an array that consists of compile-time > > adresses of init functions. Since this is basically an array of integers > > (pointers

Re: [U-Boot] [PATCH] board_r - fixup functions table after relocation

2014-01-16 Thread Alexey Brodkin
On Wed, 2014-01-15 at 09:56 -0700, Simon Glass wrote: > I have not checked to make sure that the array contents remains > un-relocated. Did you see this? Hi Simon, yes, I do see it. Please refer to my outputs below: 1. Without manual "init_sequence_r" modification: U-Boot 20

Re: [U-Boot] [PATCH 2/2] env_mmc: default to 0 if CONFIG_SYS_MMC_ENV_DEV not defined

2014-01-16 Thread Hector Palacios
Hi Stephen, On 01/15/2014 06:40 PM, Stephen Warren wrote: On 01/15/2014 03:53 AM, Hector Palacios wrote: Since function mmc_get_env_devno is __weak and can be overridden by board code, boards do not necessarily need to define CONFIG_SYS_MMC_ENV_DEV. If the constant is not defined, return 0 by d

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

2014-01-16 Thread Marek Vasut
On Thursday, January 16, 2014 at 07:06:20 AM, Jagan Teki wrote: > Hi Marek, > > On Thu, Jan 16, 2014 at 1:08 AM, Marek Vasut wrote: > > On Monday, January 13, 2014 at 08:42:18 PM, Tom Rini wrote: > >> On Tue, Jan 14, 2014 at 12:05:32AM +0530, Jagannadha Sutradharudu Teki wrote: > >> > Hi Tom, >

Re: [U-Boot] [ANN] v2014.01-rc3

2014-01-16 Thread Tom Rini
On Wed, Jan 15, 2014 at 08:12:07AM +0100, Przemyslaw Marczak wrote: > Dear all, > > On 01/15/2014 02:32 AM, Minkyu Kang wrote: > >On 14/01/14 22:12, Tom Rini wrote: > >>-BEGIN PGP SIGNED MESSAGE- > >>Hash: SHA1 > >> > >>On 01/13/2014 05:31 PM, Lukasz Majewski wrote: > >>>Hi Tom > >>> > >>>

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

2014-01-16 Thread Jagan Teki
Hi Marek, On Fri, Jan 17, 2014 at 12:34 AM, Marek Vasut wrote: > On Thursday, January 16, 2014 at 07:06:20 AM, Jagan Teki wrote: >> Hi Marek, >> >> On Thu, Jan 16, 2014 at 1:08 AM, Marek Vasut wrote: >> > On Monday, January 13, 2014 at 08:42:18 PM, Tom Rini wrote: >> >> On Tue, Jan 14, 2014 at 1

Re: [U-Boot] [PATCH 1/6] cmd_pxe.c add any option for filesystem with sysboot uses generic load

2014-01-16 Thread Stephen Warren
On 12/17/2013 12:16 AM, Dennis Gilmore wrote: > Signed-off-by: Dennis Gilmore Nit pick: A patch description might be useful. > @@ -1539,6 +1553,8 @@ int do_sysboot(cmd_tbl_t *cmdtp, int flag, int argc, > char * const argv[]) > do_getfile = do_get_ext2; > else if (strstr(argv

Re: [U-Boot] [PATCH 2/6] add a generic set of configs to enable Distros to more easier support u-boot based systems

2014-01-16 Thread Stephen Warren
On 12/17/2013 12:16 AM, Dennis Gilmore wrote: > Signed-off-by: Dennis Gilmore Nit: A patch description might be useful; e.g. to describe that distros need to know that the bootloader enables a common set of options they can rely on, and this file is the definition of that set. > diff --git a/inc

Re: [U-Boot] [PATCH 2/6] add a generic set of configs to enable Distros to more easier support u-boot based systems

2014-01-16 Thread Stephen Warren
On 12/17/2013 12:16 AM, Dennis Gilmore wrote: > diff --git a/include/config_distro_default.h b/include/config_distro_default.h > +#define CONFIG_CMD_EXT2 > +#define CONFIG_CMD_EXT4 > +#define CONFIG_CMD_FAT For a generic config, I would be tempted to drop the fs-specific command sets enabled by

Re: [U-Boot] [PATCH] board_r - fixup functions table after relocation

2014-01-16 Thread Albert ARIBAUD
Hi Alexey, On Thu, 16 Jan 2014 17:48:45 +, Alexey Brodkin wrote: > On Wed, 2014-01-15 at 22:43 +0100, Albert ARIBAUD wrote: > > Hi Alexey, > > > > On Wed, 15 Jan 2014 15:19:56 +0400, Alexey Brodkin > > wrote: > > > > > "init_sequence_r" is just an array that consists of compile-time > > >

Re: [U-Boot] [PATCH] board_r - fixup functions table after relocation

2014-01-16 Thread Alexey Brodkin
On Thu, 2014-01-16 at 21:27 +0100, Albert ARIBAUD wrote: > GOT relocation does not relocate references within data, contrary > to ELF. > > > Maybe it's just my faulty implementation of relocation but it might be > > that nobody ever noticed this because I think only initcalls are > > affected. >

Re: [U-Boot] [PATCH 2/6] add a generic set of configs to enable Distros to more easier support u-boot based systems

2014-01-16 Thread Stephen Warren
On 12/17/2013 12:16 AM, Dennis Gilmore wrote: > diff --git a/include/common.h b/include/common.h > #include > #include > > +/* use generic distro config */ > +#ifdef DISTRO_DEFAULTS > +#include > +#endif There is another issue with including this header at this location: This include is

Re: [U-Boot] [PATCH] mx6: Distinguish mx6dual from mx6quad

2014-01-16 Thread Otavio Salvador
Hello Fabio, On Tue, Jan 14, 2014 at 9:55 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Currently when we boot a mx6dual U-boot reports that it is a mx6quad. > > Report it as MX6D instead: > > CPU: Freescale i.MX6D rev1.2 at 792 MHz > > Signed-off-by: Fabio Estevam > Tested-by: Otavio S

[U-Boot] [PATCH 1/5] fs: fix generic save command implementation

2014-01-16 Thread Stephen Warren
From: Stephen Warren Fix a few issues with the generic "save" shell command, and fs_write() function. 1) fstypes[].write wasn't filled in for some file-systems, and isn't checked when used, which could cause crashes/... if executing save on e.g. fat/ext filesystems. 2) fs_write() requires

[U-Boot] [PATCH 5/5] ext4: implement exists for ext4fs

2014-01-16 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the ext4 filesystem. Signed-off-by: Stephen Warren --- fs/fat/fat.c | 18 ++ fs/fs.c | 2 +- include/fat.h | 1 + 3 files changed, 16 in

[U-Boot] [PATCH 4/5] ext4: implement exists for ext4fs

2014-01-16 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the ext4 filesystem. Signed-off-by: Stephen Warren --- fs/ext4/ext4fs.c | 8 fs/fs.c | 2 +- include/ext4fs.h | 1 + 3 files changed, 10 insert

[U-Boot] [PATCH 3/5] sandbox: implement fs_exists() and 'sb exists' shell function

2014-01-16 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in the previous patch, and provides an implementation for the sandbox test environment. Signed-off-by: Stephen Warren --- common/cmd_sandbox.c | 7 +++ fs/fs.c| 2 +- fs/sandbox/sandboxfs.c | 8 +

[U-Boot] [PATCH 2/5] fs: implement infra-structure for an 'exists' function

2014-01-16 Thread Stephen Warren
From: Stephen Warren This could be used in scripts such as: if exists mmc 0:1 /boot/boot.scr; then load mmc 0:1 ${scriptaddr} /boot/boot.scr source ${scriptaddr} fi rather than: if load mmc 0:1 ${scriptaddr} /boot/boot.scr; then source ${scriptaddr} fi This prevents errors being p

[U-Boot] [PATCH 04/11] mx28evk: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/mx28evk.h

[U-Boot] [PATCH 0/11] Change some boards to use zImage in default environment

2014-01-16 Thread Otavio Salvador
Hello, This patchset does as stated in the subject. It has been build tested as can be seen below: Configuring for vf610twr - Board: vf610twr, Options: IMX_CONFIG=board/freescale/vf610twr/imximage.cfg textdata bss dec hex filename 2033678666 212712 424745 67b29 ./u-b

[U-Boot] [PATCH 09/11] mx6slevk: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/mx6slevk.

[U-Boot] [PATCH 03/11] mx23evk: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/mx23evk.h

[U-Boot] [PATCH 10/11] udoo: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/udoo.h |

[U-Boot] [PATCH 02/11] hummingboard: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/hummingbo

[U-Boot] [PATCH 08/11] mx6sabre_common: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/mx6sabre_

[U-Boot] [PATCH 01/11] cgtqmx6eval: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/cgtqmx6ev

[U-Boot] imx6 Solo and LAN8720

2014-01-16 Thread Andy Ng
Dear colleagues, I have setup a LAN8720 phy for my imx6Solo/DL custom board but no packets coming out. I can see 50MHz going into the phy from the REF_OUT Pin of the SOLO, I can read the phy ID using the u-boot MDIO commands but when I do ftp or ping nothing comes out. mx6s > mdio list FEC: 0 -

[U-Boot] [PATCH 06/11] mx53loco: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/mx53loco.

[U-Boot] [PATCH 11/11] vf610twr: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/vf610twr.

[U-Boot] [PATCH 05/11] mx51evk: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/mx51evk.h

Re: [U-Boot] imx6 Solo and LAN8720

2014-01-16 Thread Andy Ng
An update: I have enabled debug in the u-boot and I get the following error: fec_send: status 0x8c00 index 0 ret -22 On Thu, Jan 16, 2014 at 9:37 PM, Andy Ng wrote: > Dear colleagues, > > I have setup a LAN8720 phy for my imx6Solo/DL custom board but no packets > coming out. > I can see 50MH

[U-Boot] [PATCH 07/11] mx6qarm2: Set default environment to use zImage

2014-01-16 Thread Otavio Salvador
Change the default environment to use zImage instead of uImage, this requires changes to the default environment to load a file named zImage instead of uImage, and to use the 'bootz' command instead of 'bootm' when booting the kernel. Signed-off-by: Otavio Salvador --- include/configs/mx6qarm2.

Re: [U-Boot] [PATCH 1/3] config: Update envs for trats and trats2 - new entries for new partitions

2014-01-16 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <20140116161026.gx20...@book.gsilab.sittig.org> you wrote: > > write something "more portable" (and more readable?) like > > "" PARTS_BOOT " part 0 5\0" What would the "" be needed for anyway? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

Re: [U-Boot] [PATCH 0/11] Change some boards to use zImage in default environment

2014-01-16 Thread Wolfgang Denk
Dear Otavio Salvador, In message <1389909486-12880-1-git-send-email-ota...@ossystems.com.br> you wrote: > > > This patchset does as stated in the subject. It has been build tested > as can be seen below: What is the motivation for this change? Using zImage is - from the technical point of vie

[U-Boot] [PATCH RFC 4/4] pxe: implement fdtdir extlinux.conf tag

2014-01-16 Thread Stephen Warren
From: Stephen Warren People who write (or scripts that auto-generate) extlinux.conf don't want to know about HW-specific information such as FDT filenames. Create a new extlinux.conf tag "fdtdir" that specifies only the directory where FDT files are located, and defer all knowledge of the filenam

[U-Boot] [PATCH RFC 2/4] ARM: tegra: convert tegra to use distro defaults

2014-01-16 Thread Stephen Warren
From: Stephen Warren Modify all Tegra boards to include the "distro defaults" header, so that all the config options distros expect are enabled. Remove any #defines that enable the same options from the Tegra files. Signed-off-by: Stephen Warren --- include/configs/tegra-common.h | 20

[U-Boot] [PATCH RFC 1/4] config: remove distro_default from common.h

2014-01-16 Thread Stephen Warren
From: Stephen Warren Including it from here doesn't ensure that the config options show up in all the right places. Instead, each per-board header file (or a file that boards include) should include it themselves directly. Signed-off-by: Stephen Warren --- This series is based on: a) Dennis Gil

[U-Boot] [PATCH RFC 3/4] ARM: tegra: rework boot scripts

2014-01-16 Thread Stephen Warren
From: Stephen Warren Update the common Tegra boot scripts in the default environment to a) Make use of the new "exists" shell command to avoid some error messges. b) Allow booting using the sysboot command and extlinux.conf. This allows easy creation of boot menus, and provides a simple i

Re: [U-Boot] imx6 Solo and LAN8720

2014-01-16 Thread Fabio Estevam
On Thu, Jan 16, 2014 at 7:37 PM, Andy Ng wrote: > Dear colleagues, > > I have setup a LAN8720 phy for my imx6Solo/DL custom board but no packets > coming out. > I can see 50MHz going into the phy from the REF_OUT Pin of the SOLO, I can > read the phy ID using the u-boot MDIO commands > but when I

Re: [U-Boot] imx6 Solo and LAN8720

2014-01-16 Thread Andy Ng
Thank you for that, I had a look at mx6slevk and I can't find any major differences. Solo light is using a fec-light with some extra registers. Regards, A On Thu, Jan 16, 2014 at 11:05 PM, Fabio Estevam wrote: > On Thu, Jan 16, 2014 at 7:37 PM, Andy Ng wrote: > > Dear colleagues, > > > > I h

Re: [U-Boot] [PATCH] board_r - fixup functions table after relocation

2014-01-16 Thread Alexey Brodkin
On Fri, 2014-01-17 at 00:40 +0400, Alexey Brodkin wrote: > On Thu, 2014-01-16 at 21:27 +0100, Albert ARIBAUD wrote: Well, I've just realized that very similar thing is done in "fixup_cmdtable". So I believe with addition of CONFIG_NEEDS_MANUAL_RELOC wrapper my change may make some sense. Any com

Re: [U-Boot] Boot Linux kernel with initramfs fails

2014-01-16 Thread Jean-baptiste DURONEA
Hi everyone, We made a custom board based on imx6solo. I have the same problem ! I am using Mfgtools in order to flash the eMMC. In this regard, I made my own manufacturing u-boot, and linux kernel too. I have some trouble booting linux kernel with initramfs. I built linux kernel with CONFIG

Re: [U-Boot] [PATCH 5/5] ext4: implement exists for ext4fs

2014-01-16 Thread Stefan Roese
Hi Stephen, On 16.01.2014 22:53, Stephen Warren wrote: From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the ext4 filesystem. Signed-off-by: Stephen Warren --- fs/fat/fat.c | 18 ++ fs/fs.c

Re: [U-Boot] Boot Linux kernel with initramfs fails

2014-01-16 Thread Wolfgang Denk
Dear Jean-baptiste DURONEA, In message <52d7d2f7.2050...@gmail.com> you wrote: > > We made a custom board based on imx6solo. > I have the same problem ! The same problem as what or who? I cannot even guess... > I have some trouble booting linux kernel with initramfs. I built linux > kernel wit

Re: [U-Boot] [PATCH v5 03/12] samsung: common: Add misc file and common function misc_init_r().

2014-01-16 Thread Minkyu Kang
On 15/01/14 17:18, Przemyslaw Marczak wrote: > Hello Piotr, > > On 01/15/2014 09:08 AM, Piotr Wilczek wrote: >> Dear Przemyslaw, >> >>> -Original Message- >>> From: Przemyslaw Marczak [mailto:p.marc...@samsung.com] >>> Sent: Wednesday, January 15, 2014 8:51 AM >>> To: Minkyu Kang >>> Cc: u

Re: [U-Boot] [PATCH] drivers/designware_i2c - add suppor of CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW

2014-01-16 Thread Heiko Schocher
Hello Alexey, Am 15.01.2014 16:37, schrieb Alexey Brodkin: On Mon, 2013-12-16 at 15:30 +0400, Alexey Brodkin wrote: Since we agreed on legacy implementation of "eeprom_{read|write}" (http://patchwork.ozlabs.org/patch/295825/) I had to fix/make it work again DesignWare I2C driver for cases when

Re: [U-Boot] [U-Boot, v1, 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-16 Thread Heiko Schocher
Hello Michal, Am 13.01.2014 09:23, schrieb Michal Simek: On 01/13/2014 09:10 AM, Heiko Schocher wrote: Hello Michael, Am 13.01.2014 08:53, schrieb Michal Simek: On 01/13/2014 08:32 AM, Heiko Schocher wrote: Hello Michel, Am 03.01.2014 10:45, schrieb Michal Simek: From: Michael Burr Initia

Re: [U-Boot] imx6 Solo and LAN8720

2014-01-16 Thread Pierre Aubert
Hello Andy, We use a similar configuration on our custom board. The differences between your code and ours are : #define ENET_PAD_CTRL (PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | \ PAD_CTL_DSE_40ohm | PAD_CTL_SRE_SLOW | PAD_CTL_HYS) iomux_v3_cfg_t const enet_pad