Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-03 Thread Gabbasov, Andrew
> From: Eric Nelson [eric.nel...@boundarydevices.com] > Sent: Wednesday, April 03, 2013 01:50 > To: Dirk Behme > Cc: Gabbasov, Andrew; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation > completion > > Thanks Dirk, > > On 04/02/2013 11:10 AM, Dirk

[U-Boot] [PATCH] Makefile: fix clobber target

2013-04-03 Thread Andreas Bießmann
Remove the $(CONFIG_SPL_TARGET) from ALL-y if not set. This prevents following warning: ---8<--- abiessmann@punisher % ./MAKEALL -a arm -s omap3 rm: cannot remove `/tmp/build_test/eco5pk/': Is a directory make: *** [clobber] Error 1 rm: cannot remove `/tmp/build_test/omap3_overo/': Is a directory

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-03 Thread Albert ARIBAUD
Hi Benoît, On Wed, 3 Apr 2013 08:30:12 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > Here is the v10 bundle for those who want to test: > http://dl.free.fr/vdXBGExyq Thanks, will build-test it ASAP. People with ARM (expecially tx25 and mx31pdk) and non-ARM boards please run-test it

[U-Boot] u-boot boot process is broken, how do i recover?

2013-04-03 Thread JPT
Hi, I've got a readynas and successfully installed a recent kernel into ROM and Debian onto hard-drive. But when I tried to modify the uboot-env from uboot-console I had trouble with the ; in the vars. And did not know how to escape. So I tried to access uboot-env from linux. I applied someth

Re: [U-Boot] [PATCH v5 3/3] mx6qsabre{sd, auto}: Add boot mode select

2013-04-03 Thread Stefano Babic
On 16/03/2013 19:05, Otavio Salvador wrote: > Adds support for 'bmode' command which let user to choose where to > boot from; this allows U-Boot to load system from another storage > without messing with jumpers. > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks. Best rega

Re: [U-Boot] [PATCH v5 1/3] mx6qsabresd: Document the mapping of USDHC[2-4]

2013-04-03 Thread Stefano Babic
On 16/03/2013 19:05, Otavio Salvador wrote: > This documents the SD card identifier so it is easier for user to spot > which card number will be used, if need. > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ==

Re: [U-Boot] [PATCH v5 2/3] mx6qsabresd: Fix card detection for invalid card id case

2013-04-03 Thread Stefano Babic
On 16/03/2013 19:05, Otavio Salvador wrote: > This changes the code so in case an unkown value is passed it will > return as invalid. > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-03 Thread Albert ARIBAUD
On Wed, 3 Apr 2013 10:05:57 +0200, Albert ARIBAUD wrote: > > The resulting HEAD is identical to yours, except for > > board/freescale/mx31ads/u-boot.lds in which you had removed the following > > unrelated line for 30/30: > > __bss_end = .; > > > > Regarding this line, it is also present

Re: [U-Boot] [PATCH] mx28evk: Introduce a new target for saving env vars to NAND

2013-04-03 Thread Stefano Babic
On 07/03/2013 22:28, Fabio Estevam wrote: > Introduce 'mx28evk_nand' target for saving environment variables into NAND. > > The mx28evk board does not come with a NAND flash populated from the > factory. It comes with an empty slot (U23), which allows the insertion of a > 48-pin TSOP flash devic

Re: [U-Boot] [PATCH] mx6qsabrelite: README: No need to pass 'u-boot.imx'

2013-04-03 Thread Stefano Babic
On 20/03/2013 15:07, Fabio Estevam wrote: > From: Fabio Estevam > > The u-boot.imx binary is generated by default, so no need to pass it in the > 'make' line. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano -- ==

Re: [U-Boot] u-boot boot process is broken, how do i recover?

2013-04-03 Thread Albert ARIBAUD
Hi JPT, On Wed, 03 Apr 2013 10:13:02 +0200, JPT wrote: > Hi, > > I've got a readynas and successfully installed a recent kernel into ROM > and Debian onto hard-drive. > But when I tried to modify the uboot-env from uboot-console I had > trouble with the ; in the vars. And did not know how to

Re: [U-Boot] [PATCH] mmc: mx6qsabrelite: fsl_esdhc: Define maximum bus width supported by SabreLite board

2013-04-03 Thread Stefano Babic
On 21/03/2013 12:00, Abbas Raza wrote: > From: Abbas Raza > > Maximum bus width supported by SabreLite board is not 8bit like > all other mx6q specific boards. In case where both host controller > and card support 8bit transfers, they agree to communicate on 8bit > interface while boards like the

Re: [U-Boot] [PATCH] spi: mxc_spi: Fix ECSPI reset handling

2013-04-03 Thread Stefano Babic
On 21/03/2013 09:03, Dirk Behme wrote: > Reviewing the ECSPI reset handling shows two issues: > Hi Dirk, agree completely, only a very minor question.. > + > + reg_ctrl = reg_read(®s->ctrl); As you says, it makes no sense to read back the value of the register, also because reg_ctrl is o

Re: [U-Boot] [PATCH] mx25pdk: Enable imxdi RTC

2013-04-03 Thread Stefano Babic
On 22/03/2013 20:30, Benoît Thébaudeau wrote: > The mx25pdk board supports the i.MX25 DryIce RTC (imxdi), so enable it. This > allows to compile-test the imxdi driver in the mainline tree. > > Signed-off-by: Benoît Thébaudeau > --- Applied to u-boot-imx, thanks. Best regards, Stefano -- ===

Re: [U-Boot] [PATCH] mx23_olinuxino: Change definitions to use spaces instead of tabs

2013-04-03 Thread Stefano Babic
On 25/03/2013 03:17, Otavio Salvador wrote: > Change all "#define/ifdef" sequences into "#define/ifdef". > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks. Best regards, Stefano -- = DENX Software Engi

Re: [U-Boot] [PATCH] mmc: mx6qsabrelite: fsl_esdhc: Define maximum bus width supported by SabreLite board

2013-04-03 Thread Dirk Behme
On 03.04.2013 11:06, Stefano Babic wrote: On 21/03/2013 12:00, Abbas Raza wrote: From: Abbas Raza Maximum bus width supported by SabreLite board is not 8bit like all other mx6q specific boards. In case where both host controller and card support 8bit transfers, they agree to communicate on 8bi

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 25/03/2013 17:13, Javier Martinez Canillas wrote: > since commit "c1173bd0: sf command: allow default bus and chip selects" > the chip-select and bus arguments for the sf probe command are optional. > Hi Javier, > Even when passing the chip-select to sf probe says to be optional, it > makes "

Re: [U-Boot] [PATCH] mmc: mx6qsabrelite: fsl_esdhc: Define maximum bus width supported by SabreLite board

2013-04-03 Thread Stefano Babic
On 03/04/2013 11:06, Stefano Babic wrote: > On 21/03/2013 12:00, Abbas Raza wrote: >> From: Abbas Raza >> >> Maximum bus width supported by SabreLite board is not 8bit like >> all other mx6q specific boards. In case where both host controller >> and card support 8bit transfers, they agree to commu

Re: [U-Boot] [PATCH v2] mx6: Fix get_board_rev() for the mx6 solo case

2013-04-03 Thread Stefano Babic
On 27/03/2013 18:36, Fabio Estevam wrote: > When booting a Freescale kernel 3.0.35 on a Wandboard solo, the > get_board_rev() > returns 0x62xxx, which is not a value understood by the VPU > (Video Processing Unit) library in the kernel and causes the video playback > to > fail. > > The expecte

Re: [U-Boot] [PATCH 1/3] wandboard: Remove duplicate 'mmc dev'

2013-04-03 Thread Stefano Babic
On 02/04/2013 04:03, Fabio Estevam wrote: > From: Fabio Estevam > > No need to call 'mmc dev' twice. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano -- = DENX Software Engineer

Re: [U-Boot] [PATCH 2/3] mx6qsabrelite: Remove duplicate 'mmc dev'

2013-04-03 Thread Stefano Babic
On 02/04/2013 04:03, Fabio Estevam wrote: > From: Fabio Estevam > > No need to call 'mmc dev' twice. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano -- = DENX Software Engineeri

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Javier Martinez Canillas
On Wed, Apr 3, 2013 at 11:25 AM, Stefano Babic wrote: > On 25/03/2013 17:13, Javier Martinez Canillas wrote: >> since commit "c1173bd0: sf command: allow default bus and chip selects" >> the chip-select and bus arguments for the sf probe command are optional. >> > > Hi Javier, > Hi Stefano, thank

Re: [U-Boot] [PATCH 3/3] wandboard: Remove CONFIG_SYS_FSL_USDHC_NUM

2013-04-03 Thread Stefano Babic
On 02/04/2013 04:03, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_SYS_FSL_USDHC_NUM is not used for wandboard. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano -- = DEN

Re: [U-Boot] [PATCH] mmc: mx6qsabrelite: fsl_esdhc: Define maximum bus width supported by SabreLite board

2013-04-03 Thread Stefano Babic
On 03/04/2013 11:18, Dirk Behme wrote: > On 03.04.2013 11:06, Stefano Babic wrote: >> On 21/03/2013 12:00, Abbas Raza wrote: >>> From: Abbas Raza >>> >>> Maximum bus width supported by SabreLite board is not 8bit like >>> all other mx6q specific boards. In case where both host controller >>> and c

Re: [U-Boot] [PATCH v10 01/30] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-04-03 Thread Albert ARIBAUD
Hi Benoît, On Wed, 3 Apr 2013 08:04:23 +0200, Benoît Thébaudeau wrote: > From: Fabio Estevam > > Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller > drivers could use it when a 16-bit NAND is deployed. > > drivers/mtd/nand/ndfc has CONFIG_SYS_NDFC_16BIT, so just r

[U-Boot] [PATCH v2 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Javier Martinez Canillas
board/freescale/mx6qsabrelite/README explain a procedure to update the SPI-NOR on the SabreLite board without Freescale manufacturing tool but following this procedure leads to both "sf erase" and "sf write" failing on a mx6qsabrelite board: MX6QSABRELITE U-Boot > sf probe 1 MX6QSABRELITE U-Boot >

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 03/04/2013 11:50, Javier Martinez Canillas wrote: > Just for curiosity, in which configuration file did you see that? When > I had the issue I looked at > include/configs/{mx6qsabrelite,mx6_common}.h and > board/freescale/mx6qsabrelite/mx6qsabrelite.c but I didn't find what > chip-select was sup

Re: [U-Boot] [PATCH v2 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 03/04/2013 11:57, Javier Martinez Canillas wrote: > board/freescale/mx6qsabrelite/README explain a procedure to > update the SPI-NOR on the SabreLite board without Freescale > manufacturing tool but following this procedure leads to both > "sf erase" and "sf write" failing on a mx6qsabrelite boa

Re: [U-Boot] u-boot boot process is broken, how do i recover?

2013-04-03 Thread JPT
hi, Am 03.04.2013 11:00, schrieb Albert ARIBAUD: > >> apt-get install uboot-envtools >> fw_printenv bootcmd > > No result there? There should be. sure. it's what I set into bootcmd.bak: >> fw_setenv bootcmd.bak 'nand read.e 0x120 0x20 0x60;nand >> read.e 0x200 0x80 0x1000

[U-Boot] [PATCH 0/3 V5] EXYNOS5: Add GPIO numbering feature

2013-04-03 Thread Rajeshwari Shinde
Changes in V2: - Enabled CMD_GPIO as suggested by Simon Glass and supported same for EXYNOS5 Changes in V3: - New patch added to rename S5P GPIO definitions to S5P_GPIO - GPIO Table added to calculate the base address of input gpio bank. Changes in V4

[U-Boot] [PATCH 2/3 V5] S5P: Rename GPIO definitions

2013-04-03 Thread Rajeshwari Shinde
This patch rename GPIO definitions from GPIO_... to S5P_GPIO_... This changes was done to enable cmd_gpio for EXYNOS and cmd_gpio has GPIO_INPUT same as s5p_gpio driver and hence getting a error during compilation. Build tested for s5p_goni, origen, smdk5250, s5pc210_universal, trats, smdkc100, sm

[U-Boot] [PATCH 1/3 V5] EXYNOS5: Add gpio pin numbering feature

2013-04-03 Thread Rajeshwari Shinde
This patch adds support for gpio pin numbering support on EXYNOS5250 To have consistent 0..n-1 GPIO numbering the banks are divided into different parts where ever they have holes in them. Signed-off-by: Leela Krishna Amudala Signed-off-by: Rajeshwari Shinde --- Changes in V2: - none. Ch

[U-Boot] [PATCH 3/3 V5] EXYNOS5: GPIO: Enable GPIO Command for EXYNOS5

2013-04-03 Thread Rajeshwari Shinde
This patch enables GPIO Command for EXYNOS5. Function has been added to asm/gpio.h to decode the input gpio name to gpio number. example: gpio set gpa00 Signed-off-by: Rajeshwari Shinde --- Changes in V2: - New patch Changes in V3: - Created a table to know the base address of inp

Re: [U-Boot] u-boot boot process is broken, how do i recover?

2013-04-03 Thread Albert ARIBAUD
Hi JPT, On Wed, 03 Apr 2013 13:30:46 +0200, JPT wrote: > hi, > > > Am 03.04.2013 11:00, schrieb Albert ARIBAUD: > > > >> apt-get install uboot-envtools > >> fw_printenv bootcmd > > > > No result there? There should be. > > sure. > it's what I set into bootcmd.bak: > > >> fw_setenv bootcmd.

[U-Boot] [PATCH] EXYNOS: Move includes from setup.h to tzpc_init.c

2013-04-03 Thread Rajeshwari Shinde
These should not be in the header since not every C file needs them. Move them to the file that needs them. Signed-off-by: Simon Glass Signed-off-by: Rajeshwari Shinde --- board/samsung/smdk5250/setup.h |3 --- board/samsung/smdk5250/tzpc_init.c |2 ++ 2 files changed, 2 insertions(

[U-Boot] [PATCH 0/2] Add initial support for AQUILA-CYGNUS

2013-04-03 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra IGEP COM AQUILA and CYGNUS are two computer-on-module based on AM3354 and AM3352 processors. Both use SODIMM from factor and are designed for industrial range purpose. Enric Balletbo i Serra (2): Add DDR3 support for IGEP COM AQUILA/CYGNUS. ARM: Add support for

[U-Boot] [PATCH 1/2] Add DDR3 support for IGEP COM AQUILA/CYGNUS.

2013-04-03 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra These boards uses Samsung K4B2G1646E-BIH9 a 2Gb E-die DDR3 SDRAM. Signed-off-by: Enric Balletbo i Serra --- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/include/asm/arch-am33xx/ddr_def

[U-Boot] [PATCH 2/2] ARM: Add support for IGEP COM AQUILA/CYGNUS

2013-04-03 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra The IGEP COM AQUILA and CYGNUS are industrial processors modules with following highlights: o AM3352/AM3354 Texas Instruments processor o Cortex-A8 ARM CPU o 3.3 volts Inputs / Outputs use industrial o 256 MB DDR3 SDRAM / 128 Megabytes FLASH o MicroSD card

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-03 Thread Eric Nelson
Hi Andrew, On 04/02/2013 11:48 PM, Gabbasov, Andrew wrote: On 04/02/2013 03:04 AM, Andrew Gabbasov wrote: On iMX6 sometimes the Transfer Complete interrupt occurs earlier than the DMA part completes its operation. If immediately after that the read data is used for some data verification, thos

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Michael Cashwell
On Apr 3, 2013, at 1:56 AM, Albert ARIBAUD wrote: > (please wrap your line around 70 chars max) I've never understood why this is useful. It's poor on both large computer screens (wastes space and forces extra vertical scrolling) AND on small screens like handheld devices (because the arbitrary

[U-Boot] [PATCH V8 0/9] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and

2013-04-03 Thread Amar
This patch set enables and initialises DWMMC for Exynos5250 on SMDK5250. Adds driver changes required for DWMMC. Adds FDT support for DWMMC. Adds EMMC boot support for SMDK5250. This patch set is based on: "EXYNOS: mmc: support DesignWare Controller for Samsung-SoC", which is merged in u-boot-mmc.

[U-Boot] [PATCH V8 1/9] FDT: Add compatible string for DWMMC

2013-04-03 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung --- Changes since V1: No change. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No chang

[U-Boot] [PATCH 0/5] ARM: vexpress: add support for more core tiles

2013-04-03 Thread Andre Przywara
This series adds support for the Cortex-A5 and Cortex-A15 core tiles for the ARM Versatile Express boards. The first three patches have been around for about one and a half years in the Linaro tree now, they refactor the A9 support and add support for A5. I kept the original commits and authors, j

[U-Boot] [PATCH V8 2/9] EXYNOS5: FDT: Add DWMMC device node data

2013-04-03 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung Acked-by: Simon Glass --- Changes since V1: 1)Added binding file for DWMMC device node at the location

[U-Boot] [PATCH 2/5] ARM: vexpress: create A9 specific board config

2013-04-03 Thread Andre Przywara
From: Ryan Harkin This patch creates a new config for the A9 quad core tile that includes the generic config for the Versatile Express platform. Signed-off-by: Ryan Harkin Signed-off-by: Andre Przywara --- MAINTAINERS | 2 +- boards.cfg| 2 +- i

[U-Boot] [PATCH 1/5] ARM: vexpress: move files in preparation for adding a new platform

2013-04-03 Thread Andre Przywara
From: Ryan Harkin The current ca9x4_ct_vxp platform contains support for a Versatile Express motherboard with a quad core A9 core tile. This patch is the first stage of making separating the Versatile Express motherboard code and the A9 specific code, before adding support for the dual core A5 c

[U-Boot] [PATCH 4/5] ARM: vexpress: add support for Versatile Express Cortex-A15-TC2

2013-04-03 Thread Andre Przywara
This adds support for the Cortex-A15-TC2 core tile for the Versatile Express board by ARM. This is mostly a copy of the A5 support file, but will be extended later with A15 specific options. Signed-off-by: Andre Przywara --- boards.cfg | 1 + include/configs/vexpress_ca

[U-Boot] [PATCH V8 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-04-03 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar --- Changes since V1

[U-Boot] [PATCH V8 5/9] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-04-03 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)

[U-Boot] [PATCH 5/5] ARM: vexpress: enable bootz and hush parser for all VExpress boards

2013-04-03 Thread Andre Przywara
Signed-off-by: Andre Przywara --- include/configs/vexpress_common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h index cd268e3..65d0ce4 100644 --- a/include/configs/vexpress_common.h +++ b/include/configs/vexpress_c

[U-Boot] [PATCH V8 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-04-03 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated code to have same signatur

[U-Boot] [PATCH 3/5] ARM: vexpress: create A5 specific board config

2013-04-03 Thread Andre Przywara
From: Ryan Harkin This patch creates a new config for the A5 dual core tile that includes the generic config for the Versatile Express platform. The generic config has been modified to provide support for the Extended Memory Map, as used on the A5 core tile. A5 does not support the legacy memor

[U-Boot] [PATCH V8 6/9] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-04-03 Thread Amar
This patch enables and initialises DWMMC for SMDK5250. Supports both FDT and non-FDT. This patch creates a new file 'exynos5-dt.c' meant for FDT support. exynos5-dt.c: This file shall contain all code which supports FDT. Any addition of FDT support for any module n

[U-Boot] [PATCH V8 7/9] MMC: APIs to support resize of EMMC boot partition

2013-04-03 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change. Changes since V4:

[U-Boot] [PATCH V8 8/9] SMDK5250: Enable EMMC booting

2013-04-03 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of commit message and resubmit

[U-Boot] [PATCH V8 9/9] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-04-03 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit message and resubmition of prope

Re: [U-Boot] [RFC] command/cache: Add flush_cache command

2013-04-03 Thread Jim Chargin
I apologize for being so late with this question. York Sun freescale.com> writes: > > When we need the copied code/data in the main memory, we can flush the > cache now. It uses the existing function flush_cache. Syntax is > > flush_cache > > The addr and size are given in hexadecimal. Like

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Eric Nelson
On 04/03/2013 02:25 AM, Stefano Babic wrote: On 25/03/2013 17:13, Javier Martinez Canillas wrote: since commit "c1173bd0: sf command: allow default bus and chip selects" the chip-select and bus arguments for the sf probe command are optional. Hi Javier, Even when passing the chip-select to

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Eric Nelson
On 04/03/2013 03:13 AM, Stefano Babic wrote: On 03/04/2013 11:50, Javier Martinez Canillas wrote: Just for curiosity, in which configuration file did you see that? When I had the issue I looked at include/configs/{mx6qsabrelite,mx6_common}.h and board/freescale/mx6qsabrelite/mx6qsabrelite.c but

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Albert ARIBAUD
Hi Michael, On Wed, 3 Apr 2013 09:45:19 -0400, Michael Cashwell wrote: > On Apr 3, 2013, at 1:56 AM, Albert ARIBAUD wrote: > > > (please wrap your line around 70 chars max) > > I've never understood why this is useful. [...] ... but apparently you managed to do it, thanks. > > On Tue, 2 Apr

[U-Boot] Subject: [PATCH 1/2] OMAP4: Add ID for OMAP4470_ES1_0

2013-04-03 Thread Lubomir Popov
Signed-off-by: Lubomir Popov --- arch/arm/include/asm/omap_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 091ddb5..f042c10 100644 --- a/arch/arm/include/asm/omap_common.h +++ b/arch/arm/include/asm/

[U-Boot] [PATCH 2/2] OMAP4: Add basic support for OMAP4470/TWL6032

2013-04-03 Thread Lubomir Popov
H/W used for test: TI Blaze/Tablet OMAP4470 Processor Board (750-2173-005) mounted on a custom main board (MMS benvolio4). Fixed bug in vcores_data omap4460_volts struct referencing tps62361 instead of twl6030 for core and mm voltages. Fixed some comments. Signed-off-by: Lubomir Popov --- arc

[U-Boot] [PATCH] pcm051: Enable DDR PHY dynamic power down bit

2013-04-03 Thread Lars Poeschel
From: Lars Poeschel This is done already for am335x in 59dcf970d11ebff5d9f4bbbde79fda584e9e7ad4 and also applies for pcm051. It powers down the IO receiver when not performing read which helps reducing the overall power consuption in low power states (suspend/standby). Signed-off-by: Lars Poesc

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 03/04/2013 16:11, Eric Nelson wrote: > On 04/03/2013 03:13 AM, Stefano Babic wrote: >> On 03/04/2013 11:50, Javier Martinez Canillas wrote: >>> Just for curiosity, in which configuration file did you see that? When >>> I had the issue I looked at >>> include/configs/{mx6qsabrelite,mx6_common}.h

[U-Boot] [PATCH v3 4/6] omap_gpmc: change nandecc command

2013-04-03 Thread Andreas Bießmann
With uppcoming BCH support on OMAP devices we need to decide between differnt algorithms when switching the ECC engine. Currently we support 1-bit hammign and 8-bit BCH on HW backend. In order to switch between differnet ECC algorithms we need to change the interface of omap_nand_switch_ecc() als

[U-Boot] [PATCH v3 5/6] omap_gpmc: add support for hw assisted BCH8

2013-04-03 Thread Andreas Bießmann
The kernel states: ---8<--- The OMAP3 GPMC hardware BCH engine computes remainder polynomials, it does not provide automatic error location and correction: this step is implemented using the BCH library. --->8--- And we do so in u-boot. This implementation uses the same layout for BCH8 but it is

[U-Boot] [PATCH 3/4] Tegra: Plutux: Enable NAND and boot script support

2013-04-03 Thread Thierry Reding
Boot script support brings Plutux in line with other Tegra boards. In order to enable booting a Linux kernel with initial ramdisk, also add support for the new FIT image type. Signed-off-by: Thierry Reding --- include/configs/plutux.h | 18 +++--- 1 file changed, 11 insertions(+), 7

[U-Boot] [PATCH 4/4] Tegra: TEC: Enable boot script support

2013-04-03 Thread Thierry Reding
Boot script support brings TEC in line with other Tegra boards. To enable booting a Linux kernel with initial ramdisk, also include support for the new FIT image type. Signed-off-by: Thierry Reding --- include/configs/tec.h | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff -

[U-Boot] [PATCH 2/4] Tegra: Medcom-Wide: Enable NAND and boot script support

2013-04-03 Thread Thierry Reding
Boot script support brings Medcom-Wide in line with other Tegra boards. In order to enable booting a Linux kernel with initial ramdisk, also add support for the new FIT image type. Signed-off-by: Thierry Reding --- include/configs/medcom-wide.h | 21 - 1 file changed, 12 inse

[U-Boot] [PATCH 1/4] Tegra: All Tamonten-derived boards use onboard NAND

2013-04-03 Thread Thierry Reding
Move the nand-controller node to the tegra20-tamonten.dtsi so that it can be shared between all derived boards. Signed-off-by: Thierry Reding --- board/avionic-design/dts/tegra20-tamonten.dtsi | 11 +++ board/avionic-design/dts/tegra20-tec.dts | 11 --- 2 files changed, 11

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Michael Cashwell
On Apr 3, 2013, at 10:36 AM, Albert ARIBAUD wrote: > Hi Michael, > > On Wed, 3 Apr 2013 09:45:19 -0400, Michael Cashwell > wrote: > >> I've never understood why this is useful. [...] > > ... but apparently you managed to do it, thanks. With extra effort that could be better applied to other

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Eric Nelson
On 04/03/2013 07:49 AM, Stefano Babic wrote: On 03/04/2013 16:11, Eric Nelson wrote: On 04/03/2013 03:13 AM, Stefano Babic wrote: On 03/04/2013 11:50, Javier Martinez Canillas wrote: Just for curiosity, in which configuration file did you see that? When I had the issue I looked at include/conf

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-03 Thread Adnan Ali
Hi On 02/04/13 18:03, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 11:52 AM, Robert Nelson wrote: On Tue, Apr 2, 2013 at 10:38 AM, Adnan Ali wrote: On 02/04/13 16:19, Robert Nelson wrote: On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali wrote: Enable btrfs support i

Re: [U-Boot] mmc: don't allow extra cmdline arguments

2013-04-03 Thread Tom Rini
On Mon, Apr 01, 2013 at 11:50:28AM -, Stephen Warren wrote: > From: Stephen Warren > > The "mmc rescan" command takes no arguments. However, executing > "mmc rescan 1" succeeds, leading the user to believe that MMC device 1 > has been rescanned. In fact, the "current" MMC device has been > r

Re: [U-Boot] replace last __bss_end__ occurrences with __bss_end

2013-04-03 Thread Tom Rini
On Sat, Mar 30, 2013 at 12:19:53AM -, Albert ARIBAUD wrote: > Simon Glass' commit 3929fb0a141530551b3fce15ee08629f80d5ef2a, > which changed all occurrences of __bss__end__ into __bss_end, > left behind some untouched __bss_end__ occurrences in all 33 > u-boot.lds.debug files, in board/mousse/u

Re: [U-Boot] [U-Boot, V2] disk: fix unaligned access in efi partitions

2013-04-03 Thread Tom Rini
On Fri, Mar 29, 2013 at 07:57:10AM -, Marc Dietrich wrote: > start_sect is not aligned to a 4 byte boundary thus causing exceptions > on ARM platforms. Access this field via the get_unaligned_le32 macro. > > Signed-off-by: Marc Dietrich Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] [U-Boot, V2] README: document the requirements for CONFIG_SYS_HZ

2013-04-03 Thread Tom Rini
On Wed, Mar 27, 2013 at 05:06:41PM -, Stephen Warren wrote: > CONFIG_SYS_HZ must be 1000, and get_timer() must therefore return ms. > Document this. > > README text provided by Tom Rini. > > Signed-off-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom signature.asc Descriptio

Re: [U-Boot] build: Fix make errors generated when building 'distclean'

2013-04-03 Thread Tom Rini
On Wed, Mar 27, 2013 at 02:34:18PM -, Vadim Bendebury wrote: > It was noticed that when `make distclean' is run, the make process > terminates with error reporting something like: > > rm: cannot remove '/tmp/foobar/': Is a directory > make: *** [clobber] Error 1 > > The problem is that the l

Re: [U-Boot] env: fix potential stack overflow in environment functions

2013-04-03 Thread Tom Rini
On Fri, Mar 22, 2013 at 11:26:21AM -, Rob Herring wrote: > From: Rob Herring > > Most of the various environment functions create CONFIG_ENV_SIZE buffers on > the stack. At least on ARM and PPC which have 4KB stacks, this can overflow > the stack if we have large environment sizes. So move a

Re: [U-Boot] MAKEALL: Fix case substitution for old bash

2013-04-03 Thread Tom Rini
On Fri, Mar 22, 2013 at 07:37:03AM -, York Sun wrote: > Bash ver 3.x doesn't support the parameter expansion with case > substitution. Use tr instead. > > Signed-off-by: York Sun > Acked-by: Allen Martin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signat

Re: [U-Boot] [U-Boot, v2] dts/Makefile: Build the user specified dts

2013-04-03 Thread Tom Rini
On Thu, Feb 28, 2013 at 10:20:18AM -, Jagannadha Sutradharudu Teki wrote: > This patch provides a support to build the user specified dts. > > Signed-off-by: Jagannadha Sutradharudu Teki > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] biosemu: include header

2013-04-03 Thread Tom Rini
On Mon, Apr 01, 2013 at 10:14:14PM -, Linus Walleij wrote: > This makes sure we have inline functions such as inb/outb that > are used in these two files by including the arch-specific > header. However the ARM version does not provide the > accessors unless the config symbol __io is also def

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Albert ARIBAUD
Hi Michael, On Wed, 3 Apr 2013 10:59:23 -0400, Michael Cashwell wrote: > ...Making that: > > u32 *boot_params_ptr __attribute__ ((section(".data"))); > >> > >> Yes, that was my thinking too. Surely clearing data after code has set > >> it can't be right. > > > > With all due re

Re: [U-Boot] [PATCH] biosemu: include header

2013-04-03 Thread Tom Rini
On Tue, Apr 02, 2013 at 12:32:40PM +0200, Albert ARIBAUD wrote: > Hi Linus, > > On Tue, 2 Apr 2013 12:09:21 +0200, Linus Walleij > wrote: > > > On Tue, Apr 2, 2013 at 10:56 AM, Albert ARIBAUD > > wrote: > > > > > NAK -- no ARM target needs bios emulation, so basing the #define on ARM > > > re

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread txcotrader
Thanks Stefan, great suggestion, I failed to copy those configurations into my original message. /*--- * DDR SDRAM *--*/ #if !defined(CONFIG_NAND_U_BOOT) #

[U-Boot] Unable to build u-boot for Marvell Aspenite board

2013-04-03 Thread Fabrice Mousset
Hi all, I want to build U-Boot 2013.01.01 for my PXA168 evaluation board, called Aspenite. I have seen that this board is already supported by U-Boot. For the compilation, I use the cross-compiler submitted by Marvell : arm-marvell-linux-gnueabi-gcc 4.2.0. To compile U-Boot, I have used followin

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Tom Rini
On Wed, Apr 03, 2013 at 05:34:18PM +0200, Albert ARIBAUD wrote: > Hi Michael, > > On Wed, 3 Apr 2013 10:59:23 -0400, Michael Cashwell > wrote: > > > ...Making that: > > > > u32 *boot_params_ptr __attribute__ ((section(".data"))); > > >> > > >> Yes, that was my thinking too. Sure

Re: [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command

2013-04-03 Thread Tom Rini
On Tue, Apr 02, 2013 at 03:17:38PM +0100, Adnan Ali wrote: > Introduces btrfs file-system to read file from > volume/sub-volumes with btrload command. This > implementation has read-only support. > This btrfs implementation is based on syslinux btrfs > code, commit 269ebc845ebc8b46ef4b0be7fa0005c7

Re: [U-Boot] [PATCH] spi: mxc_spi: Fix ECSPI reset handling

2013-04-03 Thread Dirk Behme
Am 03.04.2013 11:12, schrieb Stefano Babic: On 21/03/2013 09:03, Dirk Behme wrote: Reviewing the ECSPI reset handling shows two issues: Hi Dirk, agree completely, only a very minor question.. + + reg_ctrl = reg_read(®s->ctrl); As you says, it makes no sense to read back the value

Re: [U-Boot] [PATCH] biosemu: include header

2013-04-03 Thread Linus Walleij
On Wed, Apr 3, 2013 at 6:02 PM, Tom Rini wrote: > Grr, I missed this discussion, sorry. But I don't feel this falls into > the "no dead code" rule, but does fall into the "lets not make life too > hard for others" rule I have at least. There's at least one board in > u-boot-arm now (ti814x) whi

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread Stefan Roese
On 03.04.2013 18:15, txcotrader wrote: > Thanks Stefan, great suggestion, I failed to copy those configurations into > my original message. > > /*--- > * DDR SDRAM > *--

Re: [U-Boot] [PATCH 1/4] Tegra: All Tamonten-derived boards use onboard NAND

2013-04-03 Thread Stephen Warren
On 04/03/2013 08:52 AM, Thierry Reding wrote: > Move the nand-controller node to the tegra20-tamonten.dtsi so that it > can be shared between all derived boards. The series, Reviewed-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http:/

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread txcotrader
After hooking the DIMM's I2C up to the o-scope, I don't see a clock signal. The board will boot with a u-boot version from 2007. Have you ever come across a missing I2C clock? -- View this message in context: http://u-boot.10912.n7.nabble.com/PPC4XX-Custom-Board-Failing-to-read-I2C-tp151298p151

Re: [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command

2013-04-03 Thread Adnan Ali
On 03/04/13 17:50, Tom Rini wrote: On Tue, Apr 02, 2013 at 03:17:38PM +0100, Adnan Ali wrote: Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. This implementation has read-only support. This btrfs implementation is based on syslinux btrfs code, commit 269e

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-03 Thread Gabbasov, Andrew
> From: Eric Nelson [eric.nel...@boundarydevices.com] > Sent: Wednesday, April 03, 2013 17:38 > To: Gabbasov, Andrew > Cc: u-boot@lists.denx.de; Behme, Dirk - Bosch > Subject: Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation > completion > > Hi Andrew, > > On 04/02/2013 11:48 P

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread Anatolij Gustschin
Hi, On Wed, 3 Apr 2013 10:29:00 -0700 (PDT) txcotrader wrote: > After hooking the DIMM's I2C up to the o-scope, I don't see a clock signal. > The board will boot with a u-boot version from 2007. Have you ever come > across a missing I2C clock? How many I2C busses are actually used on your board

Re: [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command

2013-04-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/03/2013 01:30 PM, Adnan Ali wrote: > On 03/04/13 17:50, Tom Rini wrote: >> On Tue, Apr 02, 2013 at 03:17:38PM +0100, Adnan Ali wrote: >> >>> Introduces btrfs file-system to read file from >>> volume/sub-volumes with btrload command. This implem

Re: [U-Boot] [PATCH v2] mmc: Split device init to decouple OCR-polling delay

2013-04-03 Thread Simon Glass
Hi Andy, On Sat, Mar 16, 2013 at 1:35 PM, Simon Glass wrote: > Hi Andy, > > On Tue, Feb 12, 2013 at 7:14 PM, Jaehoon Chung > wrote: > > Hi Simon, > > > > It looks good to me. > > > > Acked-by: Jaehoon Chung > > Do you think this will be picked up this time around? > ping? Any thoughts on thi

[U-Boot] [PATCH] am335x: Enable MMC1 clock

2013-04-03 Thread Tom Rini
We must not assume ROM has enabled the clock for MMC1. Reported-by: Koen Kooi Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/clock_am33xx.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/clock_am33xx.c b/arch/arm/cpu/armv7/am33xx/clock_am33xx.c ind

[U-Boot] [PATCH] mmc: Define a constant for the maximum block size

2013-04-03 Thread Simon Glass
The number 512 appears quite a bit in the mmc code. Add a constant for this so that it can be used here and in other parts of the code (e.g. SPL code which loads from mmc). Signed-off-by: Simon Glass Reviewed-by: Vadim Bendebury --- drivers/mmc/mmc.c | 25 + include/mmc.

  1   2   >