[U-Boot] Email address of SPEAr custodian is not working

2014-09-16 Thread Masahiro Yamada
Hello Tom, Wolfgang, I CCed Vipin Kumar and ended up in a bounce mail. The error message I got from the mail server is as follows: The original message was received at Tue, 16 Sep 2014 14:12:01 +0900 (JST) from [157.8.1.157] - The following addresses had permanent fatal errors --

[U-Boot] [PATCH] config_distro_bootcmd: Run 'scsi scan' before trying scsi disks

2014-09-16 Thread Hans de Goede
Scsi disks need to be probed before we try to access them, otherwise all accesses fail with: ** Bad device size - scsi 0 **. Reported-by: Karsten Merker Signed-off-by: Hans de Goede --- include/config_distro_bootcmd.h | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) dif

[U-Boot] [PATCH 0/1] config_distro_bootcmd: Run 'scsi scan' before trying scsi

2014-09-16 Thread Hans de Goede
Hi Tom, Here is a bug-fix patch for config_distro_bootcmd which I would like to get into v2014.10 . Stephen, may we have your Acked-by for this one ? Karsten, may we have your Reported-and-tested-by for this one ? Thanks & Regards, Hans ___ U-Boot ma

[U-Boot] [PATCH v2 05/10] kconfig: move CONFIG_CMD_EXPORTENV to Kconfig

2014-09-16 Thread Masahiro Yamada
Since CONFIG_CMD_EXPORTENV is defined in config_cmd_defaults.h, it should be enabled for all the boards except bf506f-ezkit that undefs it explicitely. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in v2: - Add a help doc common/Kconfig

[U-Boot] [PATCH v2 07/10] kconfig: move CONFIG_CMD_IMPORTENV to Kconfig

2014-09-16 Thread Masahiro Yamada
Since CONFIG_CMD_IMPORTENV is defined in config_cmd_defaults.h, it should be enabled for all the boards except bf506f-ezkit that undefs it explicitely. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in v2: - Add a help doc common/Kconfig

[U-Boot] [PATCH v2 06/10] kconfig: move CONFIG_CMD_GO to Kconfig

2014-09-16 Thread Masahiro Yamada
Since CONFIG_CMD_GO is defined in config_cmd_defaults.h (and no board undefs it its own header), it can be moved to Kconfig with the default value "y". Signed-off-by: Masahiro Yamada Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in v2: - Add a help doc common/Kconfig

[U-Boot] [PATCH v2 01/10] kconfig: add blank Kconfig files

2014-09-16 Thread Masahiro Yamada
This would be useful to start moving various config options. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in v2: None Kconfig | 12 +++- common/Kconfig | 4 drivers/Kconfig | 51 +

[U-Boot] [PATCH v2 08/10] kconfig: remove config_cmd_defaults.h

2014-09-16 Thread Masahiro Yamada
Now config_cmd_defaults.h is empty so it can be deleted safely. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- Changes in v2: None include/config_cmd_defaults.h | 13 - scripts/Makefile.autoconf | 1 - 2 files changed, 14 deletions(-) delete mode 100644 include/con

[U-Boot] [PATCH v2 03/10] kconfig: move CONFIG_CMD_BOOTM to Kconfig

2014-09-16 Thread Masahiro Yamada
CONFIG_CMD_BOOTM is defined in config_cmd_defaults.h which is forcebly included from each board. So, the default value of "config CMD_BOOTM" should be "y". For some boards undefining it (bf506f-ezkit, controlcenterd_TRAILBLA, controlcenterd_TRAILBLAZER_DEVELOP, controlcenterd_TRAILBLAZER), "# CONF

[U-Boot] [PATCH v2 04/10] kconfig: move CONFIG_CMD_CRC32 to Kconfig

2014-09-16 Thread Masahiro Yamada
Since CONFIG_CMD_CRC32 is defined in config_cmd_defaults.h, it is enabled for all the boards except the ones undefining it explicitly: kwb tseries_mmc tseries_nand tseries_spi vct_platinum_onenand_small vct_platinum_small vct_platinumavc_onenand_small vct_platinumavc_small vct_pre

[U-Boot] [PATCH v2 02/10] kconfig: move CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED to Kconfig

2014-09-16 Thread Masahiro Yamada
If this option is enabled, the objects under lib/ directory are compiled with speed optimization, not size optimization. (Currently, only used by some Blackfin boards.) Signed-off-by: Masahiro Yamada Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in v2: None configs/bct-brettl2_def

Re: [U-Boot] Generic bootcmd handling: Missing 'scsi scan'

2014-09-16 Thread Hans de Goede
Hi, On 09/16/2014 08:07 AM, Karsten Merker wrote: > On Mon, Sep 15, 2014 at 07:59:09PM +0200, Hans de Goede wrote: >> On 09/15/2014 07:22 PM, Stephen Warren wrote: >>> On 09/14/2014 12:00 PM, Hans de Goede wrote: On 09/14/2014 05:43 PM, Karsten Merker wrote: > > I am currently testing th

[U-Boot] [PATCH v2 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-16 Thread Masahiro Yamada
This commit moves: CONFIG_OF_CONTROL CONFIG_OF_SEPARATE CONFIG_OF_EMBED CONFIG_OF_HOSTFILE Because these options are currently not supported for SPL, the "Device Tree Control" menu does not appear in the SPL configuration. Note: zynq-common.h should be adjusted so as not to change the def

[U-Boot] [PATCH v2 10/10] kconfig: move CONFIG_DEFAULT_DEVICE_TREE to kconfig

2014-09-16 Thread Masahiro Yamada
This option specifies the default Device Tree used for the run-time configuration of U-Boot. Signed-off-by: Masahiro Yamada Cc: Simon Glass Cc: Stephen Warren Cc: Minkyu Kang Cc: Michal Simek --- Changes in v2: - Fix the commit subject - Rephrase the help comment of DEFAULT_DEVICE_TREE

[U-Boot] [PATCH v2 0/10] Move some CONFIGs to Kconfig

2014-09-16 Thread Masahiro Yamada
Now we have the basic Kconfig infrastructure and we are ready to move CONFIG options from header files to Kconfig. We do not have to rush to do it at once. We can do it little by little when we find some time. (Of course, this task is too tedious to do by hand. I wrote a script to do it automatic

[U-Boot] [PATCH 2/3] net: macb: enable GMAC IP without GE feature support

2014-09-16 Thread Bo Shen
The User Register in GMAC IP is used to select interface type. When with GE feature, it is used to select interface between RGMII and GMII. If without GE feature, it is used to select interface between MII and RMII. Signed-off-by: Bo Shen --- drivers/net/macb.c | 8 +++- 1 file changed, 7 i

[U-Boot] [PATCH 0/3] ARM: atmel: add sama5d4ek board support

2014-09-16 Thread Bo Shen
This patch series add sama5d4ek board support which supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage This patch series depends on the series [1]: ARM: atmel: use pcr to enable or disable peri

[U-Boot] [PATCH 1/3] atmel_nand: if don't have gf table in rom code we will build it runtime

2014-09-16 Thread Bo Shen
From: Josh Wu Add a macro NO_GALOIS_TABLE_IN_ROM. If it is defined we will build a runtime pmecc galois table. Signed-off-by: Josh Wu Signed-off-by: Bo Shen --- drivers/mtd/nand/atmel_nand.c | 127 +- 1 file changed, 126 insertions(+), 1 deletion(-) d

[U-Boot] [PATCH 3/3] ARM: atmel: add sama5d4ek board support

2014-09-16 Thread Bo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen --- arch/arm/Kconfig | 4 + arch/arm/cpu/armv7/at91/timer.c

Re: [U-Boot] [PATCH 12/35] arm: socfpga: clock: Implant order into bit definitions

2014-09-16 Thread Wolfgang Denk
Dear Marek, In message <201409152348.15411.ma...@denx.de> you wrote: > > > cm_write_bypass( > > CLKMGR_BYPASS_PERPLLSRC_SET( > > CLKMGR_BYPASS_PERPLLSRC_SELECT_EOSC1) | > > CLKMGR_BYPASS_SDRPLLSRC_SET( > > CLKMGR_BYPASS_SDRPLL

Re: [U-Boot] [PATCH] imx6: fix pl301_mx6qper1_bch clock gating setup

2014-09-16 Thread Nikita Kiryanov
Hi Anatolij, Please take a look at this patch: https://www.mail-archive.com/u-boot@lists.denx.de/msg145208.html function setup_gpmi_io_clk(). It's not in mainline yet, but Stefano already applied it to his tree, and using it will both fix the problem, and get rid of all this code duplication. O

Re: [U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface

2014-09-16 Thread Michal Simek
On 09/15/2014 01:06 PM, Marek Vasut wrote: > From: Pavel Machek > > Add code necessary to program the FPGA part of SoCFPGA from U-Boot > with an RBF blob. This patch also integrates the code into the > FPGA driver framework in U-Boot so it can be used via the 'fpga' > command. > > Signed-off-by:

Re: [U-Boot] u-boot-socfpga repository

2014-09-16 Thread Pavel Machek
Hi! > > I'd be interested in maintaining u-boot-socfpga repository. So far, we don't > > have a repo for this platform and there is a large flurry of patches flying > > around without any kind of central point for them. I'd like to get your > > formal > > consent for starting this and if you agre

Re: [U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 11:42:00 AM, Michal Simek wrote: > On 09/15/2014 01:06 PM, Marek Vasut wrote: > > From: Pavel Machek > > > > Add code necessary to program the FPGA part of SoCFPGA from U-Boot > > with an RBF blob. This patch also integrates the code into the > > FPGA driver fram

Re: [U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface

2014-09-16 Thread Michal Simek
On 09/16/2014 12:12 PM, Marek Vasut wrote: > On Tuesday, September 16, 2014 at 11:42:00 AM, Michal Simek wrote: >> On 09/15/2014 01:06 PM, Marek Vasut wrote: >>> From: Pavel Machek >>> >>> Add code necessary to program the FPGA part of SoCFPGA from U-Boot >>> with an RBF blob. This patch also inte

Re: [U-Boot] [PATCH] imx6: add Bachmann OT1200 board

2014-09-16 Thread Stefano Babic
Hi Christian, On 09/09/2014 16:41, Christian Gmeiner wrote: > This patch adds support for the OT1200 series of devices. > > Following components are used in u-boot: > + ethernet > + i2c > + emmc > + gpio It looks incomplete or wrong. I see you set up sata, too. > > The main difference between

Re: [U-Boot] [PATCH v3] imx: ddr: Move mx6q_4x_mt41j128.cfg to mx6sabresd board

2014-09-16 Thread Stefano Babic
On 15/09/2014 15:56, nitin.g...@freescale.com wrote: > From: Nitin Garg > > Provide cgtqmx6eval board its own variant of ddr > setup config file. Move board/freescale/imx/ddr/ > mx6q_4x_mt41j128.cfg to board/freescale/mx6sabresd/ > as this is was designed for the mx6sabresd board. > > Signed-off

Re: [U-Boot] [PATCH 3/3] arm: mx35: use common timer functions

2014-09-16 Thread Stefano Babic
Hi Andrew, On 12/08/2014 16:26, andrew.ru...@elecsyscorp.com wrote: > From: Andrew Ruder > > This patch moves mx35 to the common timer functions added in commit > > 8dfafdd - Introduce common timer functions > > The (removed) mx35 timer code (specifically __udelay()) could deadlock at > th

Re: [U-Boot] [PATCH] ARM: mx6: Add support for Kosagi Novena

2014-09-16 Thread Stefano Babic
On 30/08/2014 16:20, Marek Vasut wrote: > On Saturday, August 30, 2014 at 03:55:48 PM, Fabio Estevam wrote: >> On Sat, Aug 30, 2014 at 9:40 AM, Marek Vasut wrote: >>> On Friday, August 29, 2014 at 07:08:54 PM, Fabio Estevam wrote: >>> [...] >>> > +/* Extra U-Boot environment. */ > +#define

[U-Boot] Congatec Conga-QEVAL board sd-card boot not working

2014-09-16 Thread Hänel-Baas , Alexander
Hi, i try to boot the congatec board with u-boot.2014.04-rc1 from sd-card. The Thread: http://lists.denx.de/pipermail/u-boot/2013-May/154298.html was my guide. My Steps are: export CROSS_COMPILE=arm-cortexa9-linux-gnueabi- (the OSELAS 2012 toolchain) export ARCH=arm cd u-boot2014.04-rc1 make

[U-Boot] [PATCH] linker_lists: fix comment

2014-09-16 Thread Masahiro Yamada
The section name and the C variable name seem to be opposite. Signed-off-by: Masahiro Yamada Cc: Marek Vasut --- include/linker_lists.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linker_lists.h b/include/linker_lists.h index 557e627..507d61b 100644 --- a/in

Re: [U-Boot] [PATCH v5 2/2] arm: vf610: add NAND support for vf610twr

2014-09-16 Thread Stefano Babic
On 12/09/2014 13:06, Stefan Agner wrote: > This adds NAND support for the Vybrid tower system (TWR-VF65GS10) > provided by the vf610_nfc driver. Full 16-Bit bus width is > supported. Also an aditional config vf610twr_nand is introduced > which gets the environment from NAND. However, booting U-Boot

Re: [U-Boot] [PATCH v5 1/2] mtd: nand: add Freescale vf610_nfc driver

2014-09-16 Thread Stefano Babic
On 12/09/2014 13:06, Stefan Agner wrote: > This adds initial support for Freescale NFC (NAND Flash Controller) > found in ARM Vybrid SoC's, Power Architecture MPC5125 and others. > The driver is called vf610_nfc since this is the first supported > and tested hardware platform supported by the drive

Re: [U-Boot] [PATCH 1/3] imx:mx6sxsabresd: change CONFIG_SYS_FSL_ESDHC_ADDR

2014-09-16 Thread Stefano Babic
On 15/09/2014 08:59, Peng Fan wrote: > Define CONFIG_SYS_FSL_ESDHC_ADDR using USDHC4_BASE_ADDR which is used > in board_mmc_init. > > If board_mmc_init failed, cpu_mmc_init->fsl_esdhc_mmc_init will use > CONFIG_SYS_FSL_ESDHC_ADDR to initialize sdhc. So set this macro to > correct value. > > Signe

Re: [U-Boot] [PATCH 2/3] imx:mx6qarm2: change CONFIG_SYS_FSL_ESDHC_ADDR

2014-09-16 Thread Stefano Babic
On 15/09/2014 08:59, Peng Fan wrote: > Define CONFIG_SYS_FSL_ESDHC_ADDR using USDHC4_BASE_ADDR. > > USDHC3 and USDHC4 are both initialized in board_mmc_init. There is > no restriction on USDHC3 addr or USDHC4 addr should be assigned to > CONFIG_SYS_FSL_ESDHC_ADDR. So, just choose USDHC4_BASE_ADDR

Re: [U-Boot] [PATCH 3/3] imx:mx6slevk: change CONFIG_SYS_FSL_ESDHC_ADDR

2014-09-16 Thread Stefano Babic
On 15/09/2014 08:59, Peng Fan wrote: > Define CONFIG_SYS_FSL_ESDHC_ADDR using USDHC2_BASE_ADDR which is > used in board_mmc_init. > > Signed-off-by: Peng Fan > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 1/2] mx6sxsabresd: Staticize i2c_pad_info1

2014-09-16 Thread Stefano Babic
On 13/09/2014 23:21, Fabio Estevam wrote: > From: Fabio Estevam > > i2c_pad_info1 is only used locally, so it can be made static. > > Fix the following sparse warning: > > board/freescale/mx6sxsabresd/mx6sxsabresd.c:160:22: warning: symbol > 'i2c_pad_info1' was not declared. Should it be stati

Re: [U-Boot] [PATCH 2/2] mx6qsabreauto: Staticize when possible

2014-09-16 Thread Stefano Babic
On 13/09/2014 23:21, Fabio Estevam wrote: > From: Fabio Estevam > > Turn all local symbols into static in order to make sparse happy. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===

[U-Boot] AM335x not working anymore

2014-09-16 Thread Hannes Petermaier
Hi, i've just pulled newest u-boot and tried it on my custom AM335x board without success. It hangs after (successful) running init_s function. Enable clock module - 44e0001c Enable clock module - 44e000d0 Enable clock module - 44e00028 is the last debug output. After some time the watch

Re: [U-Boot] [PATCH] linker_lists: fix comment

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 01:21:15 PM, Masahiro Yamada wrote: > The section name and the C variable name seem to be opposite. > > Signed-off-by: Masahiro Yamada > Cc: Marek Vasut Acked-by: Marek Vasut Thanks for spotting this :) Best regards, Marek Vasut _

[U-Boot] [PATCH] cmd_nand: Update (nand_info_t*)nand after arg_off(_size) call

2014-09-16 Thread Rostislav Lisovy
The arg_off() and arg_off_size() update the 'current NAND device' variable (dev). This is then used when assigning the (nand_info_t*)nand value. Place the assignment after the arg_off(_size) calls to prevent using incorrect (nand_info_t*) nand value. Signed-off-by: Rostislav Lisovy --- common/cm

Re: [U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-16 Thread Michal Simek
On 09/08/2014 05:57 PM, Masahiro YAMADA wrote: > Hi Stephen, > > > > 2014-09-09 0:04 GMT+09:00 Stephen Warren : > >> I don't believe this is the correct approach; CONFIG_OF_CONTROL isn't a >> user-configurable option, and hence shouldn't show up in *_defconfig. >> "select OF_CONTROL" in a Kconf

Re: [U-Boot] [PATCH v2 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-16 Thread Michal Simek
On 09/16/2014 09:33 AM, Masahiro Yamada wrote: > This commit moves: > CONFIG_OF_CONTROL > CONFIG_OF_SEPARATE > CONFIG_OF_EMBED > CONFIG_OF_HOSTFILE > > Because these options are currently not supported for SPL, > the "Device Tree Control" menu does not appear in the SPL > configuration. >

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > Add a few new variables to make the cache handling less cryptic. > Add a variable for DMA and DATA descriptor start and end, so the > correctness of the code is easier to inspect. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguy

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > Add a few new variables to make the cache handling less cryptic. > Add a variable for DMA and DATA descriptor start and end, so the > correctness of the code is easier to inspect. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguy

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > Add a few new variables to make the cache handling less cryptic. > Add a variable for DMA and DATA descriptor start and end, so the > correctness of the code is easier to inspect. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguy

Re: [U-Boot] [PATCH 09/35] arm: socfpga: Clean up base address file

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:06:02, Marek Vasut wrote: > Sort the list of functional block addresses and fix indentation. > No functional change. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Albert Aribaud > Cc: Tom Rini > Cc: Wolfgang Denk Acked-by: Pavel Machek --

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > Add a few new variables to make the cache handling less cryptic. > Add a variable for DMA and DATA descriptor start and end, so the > correctness of the code is easier to inspect. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguy

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > Add a few new variables to make the cache handling less cryptic. > Add a variable for DMA and DATA descriptor start and end, so the > correctness of the code is easier to inspect. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguy

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > Add a few new variables to make the cache handling less cryptic. > Add a variable for DMA and DATA descriptor start and end, so the > correctness of the code is easier to inspect. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguy

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > Add a few new variables to make the cache handling less cryptic. > Add a variable for DMA and DATA descriptor start and end, so the > correctness of the code is easier to inspect. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguy

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Pavel Machek
On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > Add a few new variables to make the cache handling less cryptic. > Add a variable for DMA and DATA descriptor start and end, so the > correctness of the code is easier to inspect. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguy

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Pavel Machek
Hi! On Mon 2014-09-15 13:05:53, Marek Vasut wrote: > This entire RFC series is the first stab at making SoCFPGA usable with > mainline U-Boot again. There are still some bits missing, but in general, > this allows me to use mainline U-Boot on my SoCFPGA systems. The big > missing part is the SPL g

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-09-16 Thread Albert ARIBAUD
Hi Stefano, On Fri, 12 Sep 2014 16:03:15 +0200, Stefano Babic wrote: > Hi Albert, > > please pull from u-boot-imx, thanks ! Underway. Note that in the commits that you have added past 4c97... (which I did *not* take in this PR, of course), there is this one: d6d07a9b... arm: vf610: add NAND

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-09-16 Thread Fabio Estevam
On Tue, Sep 16, 2014 at 10:31 AM, Albert ARIBAUD wrote: > Note that in the commits that you have added past 4c97... (which I did > *not* take in this PR, of course), there is this one: > > d6d07a9b... arm: vf610: add NAND support for vf610twr > > Which causes a warning when building the boards.cf

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-09-16 Thread Stefano Babic
Hi Albert, On 16/09/2014 15:31, Albert ARIBAUD wrote: > Hi Stefano, > > On Fri, 12 Sep 2014 16:03:15 +0200, Stefano Babic > wrote: > >> Hi Albert, >> >> please pull from u-boot-imx, thanks ! > > Underway. > > Note that in the commits that you have added past 4c97... (which I did > *not* take

Re: [U-Boot] AM335x not working anymore

2014-09-16 Thread Tom Rini
On Tue, Sep 16, 2014 at 02:17:01PM +0200, Hannes Petermaier wrote: > Hi, > > i've just pulled newest u-boot and tried it on my custom AM335x > board without success. It hangs after (successful) running init_s > function. > > > Enable clock module - 44e0001c > Enable clock module - 44e000d0

[U-Boot] [PATCH] imx: Fix warning by building vf610twr_nand

2014-09-16 Thread Stefano Babic
commit d6d07a9b... arm: vf610: add NAND support for vf610twr generates the following warnings: WARNING: no status info for 'vf610twr_nand' WARNING: no maintainers for 'vf610twr_nand'WARNING: no status info for 'vf610twr_nand' This is due to the fact that vf610twr_nand_defconfig has no Maintainer.

Re: [U-Boot] AM335x not working anymore

2014-09-16 Thread Jeroen Hofstee
Hello Hannes, Tom, On di, 2014-09-16 at 09:56 -0400, Tom Rini wrote: > On Tue, Sep 16, 2014 at 02:17:01PM +0200, Hannes Petermaier wrote: > > > Hi, > > > > i've just pulled newest u-boot and tried it on my custom AM335x > > board without success. It hangs after (successful) running init_s > > fu

[U-Boot] [PATCH 1/2] mx25pdk: Fix CONFIG_SYS_FSL_ESDHC_ADDR

2014-09-16 Thread Fabio Estevam
We should pass the MMC1 base address into CONFIG_SYS_FSL_ESDHC_ADDR. Signed-off-by: Fabio Estevam --- include/configs/mx25pdk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index d464ad9..34199af 100644 --- a/include/co

[U-Boot] [PATCH 2/2] mx25pdk: Add generic board support

2014-09-16 Thread Fabio Estevam
Let's enable CONFIG_SYS_GENERIC_BOARD in order to get rid of warnings related to generic board support is not in place. Signed-off-by: Fabio Estevam --- include/configs/mx25pdk.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index 34199

Re: [U-Boot] [PATCH] config_distro_bootcmd: Run 'scsi scan' before trying scsi disks

2014-09-16 Thread Stephen Warren
On 09/16/2014 01:26 AM, Hans de Goede wrote: Scsi disks need to be probed before we try to access them, otherwise all accesses fail with: ** Bad device size - scsi 0 **. Reviewed-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-09-16 Thread Albert ARIBAUD
Hi Stefano, On Fri, 12 Sep 2014 16:03:15 +0200, Stefano Babic wrote: > Hi Albert, > > please pull from u-boot-imx, thanks ! > > The board cm_fx6 cannot be built due to a couple of missing patches that > are already merged into u-boot-spi. Please ignore this issue, the board > will be compiled

Re: [U-Boot] [U-Boot,1/3] arm: pxa: use common timer functions

2014-09-16 Thread Andrew Ruder
On 08/30/2014 10:13 AM, Tom Rini wrote: > As it stands today this breaks building a number of PXA boards so it > needs to be picked up and re-worked / build tested, thanks! I'm still planning on getting back to this and taking a look. At the time I was on a slightly older version of U-Boot (2014

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-09-16 Thread Stefano Babic
Hi Albert, On 16/09/2014 16:38, Albert ARIBAUD wrote: > Hi Stefano, > > On Fri, 12 Sep 2014 16:03:15 +0200, Stefano Babic > wrote: > >> Hi Albert, >> >> please pull from u-boot-imx, thanks ! >> >> The board cm_fx6 cannot be built due to a couple of missing patches that >> are already merged int

Re: [U-Boot] [PATCH 16/35] arm: socfpga: clock: Trim down code duplication

2014-09-16 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: > Pull out functions to read frequency of Main clock VCO and > PLL clock VCO as the code is duplicated multiple times. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Albert Aribaud > Cc: Tom Rini > Cc: Wolfgang Denk > Cc

Re: [U-Boot] [PATCH 17/35] arm: socfpga: mmc: Pick the clock from clock manager

2014-09-16 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: > From: Pavel Machek > > Make the SoCFPGA MMC stub pick clock via the clock manager > frequency accessors instead of hard-coding the frequency. > > Also fix calloc() misuse. > > Signed-off-by: Pavel Machek > Signed-off-by: Marek Vasut > Cc: Chin Lian

[U-Boot] [PATCH 2/5] omap3: overo: Call bootm only after successful nand read

2014-09-16 Thread Stefan Herbrechtsmeier
Signed-off-by: Stefan Herbrechtsmeier --- include/configs/omap3_overo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index b17e495..d042eea 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/o

[U-Boot] [PATCH 5/5] omap3: overo: Add usb host support

2014-09-16 Thread Stefan Herbrechtsmeier
Signed-off-by: Stefan Herbrechtsmeier --- board/overo/overo.c | 34 ++ include/configs/omap3_overo.h | 8 2 files changed, 42 insertions(+) diff --git a/board/overo/overo.c b/board/overo/overo.c index 488246b..66146ee 100644 --- a/board/overo/

[U-Boot] [PATCH 3/5] omap3: overo: Move ethernet setup to board_eth_init function

2014-09-16 Thread Stefan Herbrechtsmeier
Move ethernet setup to the board_eth_init function and select the available network devices via expansion id. Signed-off-by: Stefan Herbrechtsmeier --- board/overo/overo.c | 76 + 1 file changed, 47 insertions(+), 29 deletions(-) diff --git a

[U-Boot] [PATCH 0/5] omap3: overo: Add foreign expansion board support

2014-09-16 Thread Stefan Herbrechtsmeier
At the moment the boot loader use a common configuration for all Gumstix Overo expansion boards. This also includes configuration of all inputs and outputs even if they aren't used by the boot loader. Because the Overo module could be used on foreign expansion boards with different configurations t

[U-Boot] [PATCH 4/5] omap3: overo: Separate module and expansion board MUX configuration

2014-09-16 Thread Stefan Herbrechtsmeier
Separate overo module and expansion board MUX configuration. This allows an foreign expansion board to use the boot loader without any adaption. It only needs to save the expansion name in the EEPROM to load a specific device tree. Signed-off-by: Stefan Herbrechtsmeier --- board/overo/overo.c |

[U-Boot] [PATCH 1/5] omap3: overo: Fix fdtfile test

2014-09-16 Thread Stefan Herbrechtsmeier
Commit 12cc54376768461533b55ada1b0b6d4979f40579 'omap3: overo: Select fdtfile for expansion board' wrongly missed the operator in the fdtfile test. Update the test to only overwrite an empty fdtfile environment variable. Signed-off-by: Stefan Herbrechtsmeier --- include/configs/omap3_overo.h |

Re: [U-Boot] [PATCH 18/35] arm: socfpga: timer: Pull the timer reload value from config file

2014-09-16 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: > The timer reload value is a property of the timer hardware and there > is no reason for this to be configurable. Place this into the timer > driver just like on the other hardware. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH 01/35] net: Remove unused CONFIG_DW_SEARCH_PHY from configs

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 05:34:51 PM, Dinh Nguyen wrote: > On 09/15/2014 06:05 AM, Marek Vasut wrote: > > From: Pavel Machek > > > > Remove this symbol from configs, since it's unused. > > > > Signed-off-by: Pavel Machek > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Di

Re: [U-Boot] [PATCH 10/35] arm: socfpga: Add watchdog disable for socfpga

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 06:28:20 PM, Dinh Nguyen wrote: > On 09/15/2014 06:06 AM, Marek Vasut wrote: > > From: Pavel Machek > > > > This adds watchdog disable. It is neccessary for running Linux kernel. > > > > Signed-off-by: Pavel Machek > > Signed-off-by: Marek Vasut > > Cc: Chin Li

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Dinh Nguyen
On 09/16/2014 08:18 AM, Pavel Machek wrote: > Hi! > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote: >> This entire RFC series is the first stab at making SoCFPGA usable with >> mainline U-Boot again. There are still some bits missing, but in general, >> this allows me to use mainline U-Boot on my

[U-Boot] [PATCH v4 1/5] mx6: crm_regs: Add bit definitions for anadig registers

2014-09-16 Thread Nitin Garg
Add bit definitons for various anadig registers as required by various drivers. Signed-off-by: Nitin Garg --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-mx6/crm_regs.h | 543 +- 1 file changed, 542 insertions(+), 1 deletio

[U-Boot] [PATCH v4 3/5] mx6: thermal: Add i.MX6 CPU thermal sensor support

2014-09-16 Thread Nitin Garg
i.MX6 SoC has onchip temperature sensor. Add driver for this sensor. Signed-off-by: Nitin Garg --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/Makefile |1 + drivers/thermal/Makefile |8 +++ drivers/thermal/imx_thermal.c | 137

[U-Boot] [PATCH v4 2/5] mx6: clock: Add api to enable pll3

2014-09-16 Thread Nitin Garg
Add api to check and enable pll3 as required for thermal sensor driver. Signed-off-by: Nitin Garg --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/armv7/mx6/clock.c| 25 + arch/arm/include/asm/arch-mx6/clock.h |1 + 2 files chan

[U-Boot] [PATCH v4 0/5] add i.MX6 thermal sensor driver

2014-09-16 Thread Nitin Garg
This patch set adds i.MX6 thermal sensor driver and enables it for mx6sabre boards. Also adds various anadig bit definitions as required for upcoming drivers. Changes in v4: -Added imx6 thermal sensor as a driver -Renamed the config define to be more meaningful -Move the clock code to clock.c -Reu

[U-Boot] [PATCH v4 5/5] mx6: thermal: Enable thermal sensor for mx6 sabre boards.

2014-09-16 Thread Nitin Garg
Add CONFIG_IMX6_THERMAL to mx6sabre_common.h file. Since thermal driver depends on ocotp, make sure to enable CONFIG_MXC_OCOTP when CONFIG_IMX6_THERMAL is slected. Signed-off-by: Nitin Garg --- Changes in v4: -Added imx6 thermal sensor as a driver -Renamed the config define to be more meaningful

[U-Boot] [PATCH v4 4/5] mx6: thermal: Check cpu temperature via thermal sensor

2014-09-16 Thread Nitin Garg
read cpu temperature using the onchip thermal sensor. Signed-off-by: Nitin Garg --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/imx-common/cpu.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-commo

Re: [U-Boot] [PATCH] imx6: fix pl301_mx6qper1_bch clock gating setup

2014-09-16 Thread Anatolij Gustschin
Hi Nikita, On Tue, 16 Sep 2014 11:55:04 +0300 Nikita Kiryanov wrote: > Please take a look at this patch: > https://www.mail-archive.com/u-boot@lists.denx.de/msg145208.html > function setup_gpmi_io_clk(). > > It's not in mainline yet, but Stefano already applied it to his tree, > and using it wi

[U-Boot] [PATCH v4] imx: Support i.MX6 High Assurance Boot authentication

2014-09-16 Thread Nitin Garg
When CONFIG_SECURE_BOOT is enabled, the signed images like kernel and dtb can be authenticated using iMX6 CAAM. The added command hab_auth_img can be used for HAB authentication of images. The command takes the image DDR location, IVT (Image Vector Table) offset inside image as parameters. Detailed

Re: [U-Boot] AM335x not working anymore

2014-09-16 Thread Jeroen Hofstee
Hi, On 16-09-14 16:11, Jeroen Hofstee wrote: Hello Hannes, Tom, On di, 2014-09-16 at 09:56 -0400, Tom Rini wrote: On Tue, Sep 16, 2014 at 02:17:01PM +0200, Hannes Petermaier wrote: Hi, i've just pulled newest u-boot and tried it on my custom AM335x board without success. It hangs after (suc

Re: [U-Boot] [PATCH v3] imx: Support i.MX6 High Assurance Boot authentication

2014-09-16 Thread Nitin Garg
Hi Stefano, On 09/12/2014 03:46 AM, Stefano Babic wrote: > Hi Nitin, > > On 04/09/2014 03:18, Nitin Garg wrote: >> When CONFIG_SECURE_BOOT is enabled, the signed images >> like kernel and dtb can be authenticated using iMX6 CAAM. >> The added command hab_auth_img can be used for HAB >> authentica

Re: [U-Boot] [PATCH 1/2 v3] Add i.MX6 CPU temperature sensor support

2014-09-16 Thread Nitin Garg
Hi Stefano, On 09/11/2014 04:01 AM, Stefano Babic wrote: > Hi Nitin, > > > On 02/09/2014 00:48, nitin.g...@freescale.com wrote: >> From: Nitin Garg >> >> i.MX6 SoC has onChip temperature sensor. Add support >> for this sensor. >> >> Signed-off-by: Nitin Garg >> --- >> arch/arm/cpu/armv7/mx6/s

Re: [U-Boot] [PATCH] imx: Fix warning by building vf610twr_nand

2014-09-16 Thread Stefan Agner
Hi, Didn't realized that this config needs a maintainer too, sorry. I agree, since the vf610twr is maintained by Alison, it makes sense that the nand variant is maintained by Alison too.. Thanks for the patch. -- Stefan Am 2014-09-16 16:08, schrieb Stefano Babic: > commit d6d07a9b... arm: vf610

Re: [U-Boot] [PATCH 13/35] arm: socfpga: clock: Drop nonsense inlining from clock manager code

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 09:25:09 PM, Dinh Nguyen wrote: > On 09/15/2014 06:06 AM, Marek Vasut wrote: > > The inlining is done by GCC whe needed, there is no need to do it > > s/whe/when. > > Acked-by: Dinh Nguyen > > thanks... Fixed, thanks! Best regards, Marek Vasut

Re: [U-Boot] [PATCH 15/35] arm: socfpga: clock: Add code to read clock configuration

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 10:09:34 PM, Dinh Nguyen wrote: > On 09/15/2014 06:06 AM, Marek Vasut wrote: [...] > > + /* get the L4 SP clock which supplied to UART */ > > + reg = readl(&clock_manager_base->main_pll.maindiv); > > + reg = CLKMGR_MAINPLLGRP_MAINDIV_L4SPCLK_GET(reg); > > +

Re: [U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface

2014-09-16 Thread Marek Vasut
On Monday, September 15, 2014 at 05:41:51 PM, Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <1410779188-6880-26-git-send-email-ma...@denx.de> you wrote: > > From: Pavel Machek > > > > Add code necessary to program the FPGA part of SoCFPGA from U-Boot > > with an RBF blob. This patch al

Re: [U-Boot] [PATCH 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 03:16:38 PM, Pavel Machek wrote: > On Mon 2014-09-15 13:05:57, Marek Vasut wrote: > > Add a few new variables to make the cache handling less cryptic. > > Add a variable for DMA and DATA descriptor start and end, so the > > correctness of the code is easier to insp

Re: [U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 12:33:02 PM, Michal Simek wrote: > On 09/16/2014 12:12 PM, Marek Vasut wrote: > > On Tuesday, September 16, 2014 at 11:42:00 AM, Michal Simek wrote: > >> On 09/15/2014 01:06 PM, Marek Vasut wrote: > >>> From: Pavel Machek > >>> > >>> Add code necessary to program

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > Hi! > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote: > >> This entire RFC series is the first stab at making SoCFPGA usable with > >> mainline U-Boot again. There are still som

[U-Boot] Reading a text file from another FAT partition

2014-09-16 Thread harsha kiran
Hi Everyone, I have an SD Card which has 2 FAT partitions. U-boot is in the first Boot partition and i have a text file to be read which is in another partition. I want to read this file in the U-boot config file under CONFIG_BOOTCOMMAND. can anyone please let me know what commands U-boot introd

Re: [U-Boot] Reading a text file from another FAT partition

2014-09-16 Thread Wolfgang Denk
Dear harsha kiran, In message <1410889741235-189502.p...@n7.nabble.com> you wrote: > Hi Everyone, > > I have an SD Card which has 2 FAT partitions. U-boot is in the first Boot > partition and i have a text file to be read which is in another partition. OK - and what exactly is your problem? If

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread dinguyen
On Tue, 16 Sep 2014, Marek Vasut wrote: > On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > > Hi! > > > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote: > > >> This entire RFC series is the first stab at making SoCFPGA usab

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread dinguyen
On Tue, 16 Sep 2014, Marek Vasut wrote: > On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > > Hi! > > > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote: > > >> This entire RFC series is the first stab at making SoCFPGA usab

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 11:35:38 PM, dinguyen wrote: > On Tue, 16 Sep 2014, Marek Vasut wrote: > > On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: > > > On 09/16/2014 08:18 AM, Pavel Machek wrote: > > > > Hi! > > > > > > > > On Mon 2014-09-15 13:05:53, Marek Vasut wrote

  1   2   >