Re: [U-Boot] [UBOOT][PATCH 5/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-03 Thread Jagan Teki
Hi Sourav, On Wednesday 02 April 2014 04:06 PM, Sourav Poddar wrote: Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints are properly met. Signed-off-by: Sourav Poddar sourav.pod...@ti.com Tested-by: Yebio Mesfin

[U-Boot] [PATCH 00/11] MX6: SPL NAND support

2014-04-03 Thread Tim Harvey
Here is a stab at adding SPL NAND support for i.MX6. I tried to take into account comments from previous attempts by others but there is still some work to be done and in particular I need some help with the issue of dealing with IMX6Q vs IMX6DL iomux in a way where the current defines can be

[U-Boot] [PATCH 02/11] SPL: NAND: add support for mxs nand

2014-04-03 Thread Tim Harvey
This utilizes existing nand support, including the mtd layer to provide a a method to load an image off nand for SPL. It is somewhat bulky but avoids duplicating code. This will need to be split out and re-based on top of Tom's recent patch to add MTD NAND support which is needed here.

[U-Boot] [PATCH 01/11] SPL: NAND: remove CONFIG_SYS_NAND_PAGE_SIZE

2014-04-03 Thread Tim Harvey
We only need to read in the size of struct image_header and thus don't need to know the page size of the nand device. Signed-off-by: Tim Harvey thar...@gateworks.com --- common/spl/spl_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl_nand.c

[U-Boot] [PATCH 05/11] MX6: add boot device support SPL

2014-04-03 Thread Tim Harvey
Add enums, #defines, and helper functions needed for SPL images to describe and detect IMX6 boot device. Signed-off-by: Tim Harvey thar...@gateworks.com --- arch/arm/cpu/armv7/mx6/soc.c| 56 + arch/arm/include/asm/arch-mx6/spl.h | 26

[U-Boot] [PATCH 03/11] MX6: provide linker script for SPL

2014-04-03 Thread Tim Harvey
Signed-off-by: Tim Harvey thar...@gateworks.com --- arch/arm/cpu/armv7/mx6/u-boot-spl.lds | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 arch/arm/cpu/armv7/mx6/u-boot-spl.lds diff --git a/arch/arm/cpu/armv7/mx6/u-boot-spl.lds

[U-Boot] [PATCH 04/11] MX6: add common SPL configuration

2014-04-03 Thread Tim Harvey
Add a common header which can hopefully be shared among imx6 SPL users Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/imx6_spl.h | 64 ++ 1 file changed, 64 insertions(+) create mode 100644 include/configs/imx6_spl.h diff --git

[U-Boot] [PATCH 08/11] MX6: add mmdc configuration for MX6Q/MX6DL

2014-04-03 Thread Tim Harvey
- add mmdc iomux structs and defines - add mmdc ddr3 structs and defines - add function for configuring iomux based on board-specific regs - add function for configuring mmdc based on board-specific and chip-specific data The purpose of these structures and functions is to dynamically configure

[U-Boot] [PATCH 09/11] IMX: add additional function for pinmux using an array

2014-04-03 Thread Tim Harvey
Add new function that can take an array of iomux configs, an index, and a stride to allow a multi-dimentional array of pinmux values to be used to define pinmux values per cpu-type. This takes a different approach to previously proposed solutions which used multiple arrays of pad lists. The goal

[U-Boot] [PATCH 10/11] ventana: auto-configure for IMX6Q vs IMX6DL

2014-04-03 Thread Tim Harvey
use the new iomux function and a macro to create a multi-dimensional array of iomux values without duplicating the defintions. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 497 1 file changed, 316 insertions(+),

[U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-03 Thread Tim Harvey
This is an attempt at using a macro to allow mx6dl-ddr.h and mx6q-ddr.h registers to be used together which is needed for an SPL bootloader that can run on either CPU's and must configure MMDC iomux dynamically. I am trying to come up with a solution similar to Eric's approach with the similar

[U-Boot] [PATCH 11/11] ventana: switch to SPL

2014-04-03 Thread Tim Harvey
Switch to an SPL image. The SPL for Ventana does the following: - setup i2c and read the factory programmed EEPROM to obtain DRAM config and model for board-specific calibration data - configure DRAM per CPU/size/layout/devices/calibration - load u-boot.img from NAND and jump to it This

[U-Boot] [PATCH 06/11] MX6: add struct for sharing data between SPL and uboot

2014-04-03 Thread Tim Harvey
This can be used to pass info between the SPL and u-boot. Signed-off-by: Tim Harvey thar...@gateworks.com --- arch/arm/include/asm/arch-mx6/sys_proto.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h

Re: [U-Boot] [UBOOT][PATCH 5/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-03 Thread Sourav Poddar
On Thursday 03 April 2014 11:30 AM, Jagan Teki wrote: Hi Sourav, On Wednesday 02 April 2014 04:06 PM, Sourav Poddar wrote: Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints are properly met. Signed-off-by: Sourav Poddar

Re: [U-Boot] [UBOOT][PATCH 3/5] configs: dra7-evm: Add mtd parts info for qspi.

2014-04-03 Thread Jagan Teki
On Wed, Apr 2, 2014 at 4:06 PM, Sourav Poddar sourav.pod...@ti.com wrote: Add MTD partition info for qspi on dra7 evm Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- include/configs/dra7xx_evm.h | 46 ++ 1 file changed, 46 insertions(+)

Re: [U-Boot] [UBOOT][PATCH 3/5] configs: dra7-evm: Add mtd parts info for qspi.

2014-04-03 Thread Sourav Poddar
On Thursday 03 April 2014 11:59 AM, Jagan Teki wrote: On Wed, Apr 2, 2014 at 4:06 PM, Sourav Poddarsourav.pod...@ti.com wrote: Add MTD partition info for qspi on dra7 evm Signed-off-by: Sourav Poddarsourav.pod...@ti.com --- include/configs/dra7xx_evm.h | 46

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

2014-04-03 Thread Albert ARIBAUD
On Wed, 2 Apr 2014 20:00:07 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Stefano, On Wed, 02 Apr 2014 18:54:14 +0200, Stefano Babic sba...@denx.de wrote: Hi Albert, please pull from u-boot-imx, thanks ! The following changes since commit

Re: [U-Boot] [UBOOT][PATCH 5/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-03 Thread Jagan Teki
Hi Sourav, On Thu, Apr 3, 2014 at 11:46 AM, Sourav Poddar sourav.pod...@ti.com wrote: On Thursday 03 April 2014 11:30 AM, Jagan Teki wrote: Hi Sourav, On Wednesday 02 April 2014 04:06 PM, Sourav Poddar wrote: Bulk erase is not happening properly on dra7 due to erase timing constraints,

Re: [U-Boot] [PATCH v2 4/4] samsung: misc: keys: fix gpio key debouncing by adding 50 ms delay

2014-04-03 Thread Przemyslaw Marczak
Hi, On 04/02/2014 07:26 PM, Gerhard Sittig wrote: On Wed, 2014-04-02 at 11:42 +0200, Przemyslaw Marczak wrote: This change prevents gpio keys debouncing by adding 50 ms delay when key pressed condition met. comment nit: keys are bouncing, de-bouncing is the counter measure, you don't want

[U-Boot] [PATCH] omap3: igep00x0: fix NAND_BOOT for igep_0020 and igep_0030

2014-04-03 Thread Pekon Gupta
fixes commit e37e954eba3edb5015a0a02880d57517f57425d8 OMAP3: igep00x0: Convert to ti_omap3_common.h. Above commit introduced compilation error when building igep0020 and igep0030 boards for NAND boot. It removed 'CONFIG_SYS_NAND_U_BOOT_START' which tells SPL/MLO offset of u-boot.img in NAND.

Re: [U-Boot] [U-Boot, v6, 1/6] part_efi: move uuid-string conversion functions into lib/uuid.c

2014-04-03 Thread Przemyslaw Marczak
hello, On 04/02/2014 11:18 PM, Tom Rini wrote: On Wed, Apr 02, 2014 at 10:20:02AM +0200, Przemyslaw Marczak wrote: This commit introduces cleanup for uuid library. Changes: - move uuid-string conversion functions into lib/uuid.c so they can be used by code outside part_efi.c. - rename

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

2014-04-03 Thread Stefano Babic
Hi Albert, On 03/04/2014 08:31, Albert ARIBAUD wrote: On Wed, 2 Apr 2014 20:00:07 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Stefano, On Wed, 02 Apr 2014 18:54:14 +0200, Stefano Babic sba...@denx.de wrote: Hi Albert, please pull from u-boot-imx, thanks ! The

Re: [U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-04-03 Thread Lukasz Majewski
Hi Marek, On Wednesday, April 02, 2014 at 08:35:33 AM, Lukasz Majewski wrote: Hi Mateusz, [...] Acked-by: Lukasz Majewski l.majew...@samsung.com I suggest this goes for -next. Do you agree? I'm fine with this code going to -next. Thanks in advance. Acked-by: Marek Vasut

[U-Boot] post tests in arm uboot

2014-04-03 Thread shobin b
Hi, I enabled post in u boot(I am using toradex colibrit20 board).In post i enabled memory and i2c tests in u boot. Its working fine.After that i did watchdog test and then i flashed my u boot to board.It shows following it is hanged up to post watchdog,

Re: [U-Boot] [PATCH] omap3: igep00x0: fix NAND_BOOT for igep_0020 and igep_0030

2014-04-03 Thread Enric Balletbo Serra
Hi Peko 2014-04-03 9:09 GMT+02:00 Pekon Gupta pe...@ti.com: fixes commit e37e954eba3edb5015a0a02880d57517f57425d8 OMAP3: igep00x0: Convert to ti_omap3_common.h. Above commit introduced compilation error when building igep0020 and igep0030 boards for NAND boot. It removed

[U-Boot] [PATCH v3 3/4] samsung: misc: add env default option to lcd menu

2014-04-03 Thread Przemyslaw Marczak
From: Inha Song ideal.s...@samsung.com This change allows reset device environment to default without using u-boot console, which is useful for system developers. Signed-off-by: Inha Song ideal.s...@samsung.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang

[U-Boot] [PATCH v3 4/4] samsung: misc: keys: fix gpio key bouncing by adding 50 ms delay

2014-04-03 Thread Przemyslaw Marczak
This change prevents gpio keys bouncing by adding 50 ms delay when key pressed condition met. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes v2: - new commit Changes v3: - correct commit message --- board/samsung/common/misc.c | 4

[U-Boot] [PATCH v3 2/4] samsung: misc: add gpt restore option to lcd menu

2014-04-03 Thread Przemyslaw Marczak
This menu option allows restore gpt. This is usefull and no needs access to the u-boot console. For proper operation: - each partition uuid should be set in environment or - CONFIG_RANDOM_UUID should be defined for automatically uuid setting After operation success device is going to be reset.

[U-Boot] [PATCH v3 1/4] samsung: misc: allows using environmental macros as args in menu commands

2014-04-03 Thread Przemyslaw Marczak
Function cmd_process() runs commands with directly given list of arguments but it doesn't expand given environmental variables names as macros. Command gpt as one of arguments expects expanded macro e.g. $partitions so it needs to be called by function run_command(). Changes: - extend array

Re: [U-Boot] [PATCH] omap3: igep00x0: fix NAND_BOOT for igep_0020 and igep_0030

2014-04-03 Thread Gupta, Pekon
(re-sending as earlier mail got moderated). Hi Enric, From: Enric Balletbo Serra [mailto:eballe...@gmail.com] 2014-04-03 9:09 GMT+02:00 Pekon Gupta pe...@ti.com: fixes commit e37e954eba3edb5015a0a02880d57517f57425d8 OMAP3: igep00x0: Convert to ti_omap3_common.h. Above commit introduced

Re: [U-Boot] Xilinx Zed Board resets with Master

2014-04-03 Thread Tim Sander
Hi On 03/27/2014 05:32 PM, Tim Sander wrote: Hi Michal Am Donnerstag, 27. März 2014, 14:17:41 schrieb Michal Simek: Please check and may be you can try u-boot-dtb.elf. Mh, don't know how to create this kind of file? Jagan maybe knows more but I don't think

Re: [U-Boot] Xilinx Zed Board resets with Master

2014-04-03 Thread Michal Simek
On 04/03/2014 11:27 AM, Tim Sander wrote: Hi On 03/27/2014 05:32 PM, Tim Sander wrote: Hi Michal Am Donnerstag, 27. März 2014, 14:17:41 schrieb Michal Simek: Please check and may be you can try u-boot-dtb.elf. Mh, don't know how to create this kind of file? Jagan maybe knows more but I

Re: [U-Boot] [PATCH] mmc: Handle switch error status bit in MMC card status

2014-04-03 Thread Gabbasov, Andrew
Hi Pantelis, From: Pantelis Antoniou [pa...@antoniou-consulting.com] Sent: Wednesday, April 02, 2014 14:14 To: Gabbasov, Andrew Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] mmc: Handle switch error status bit in MMC card status Hi Andrew, In general looks good; only a small

[U-Boot] [PATCH v2] mmc: Handle switch error status bit in MMC card status

2014-04-03 Thread Andrew Gabbasov
MMC switch command for unsupported feature (e.g. bus width) sets a switch error bit in card status. This bit should be checked, and, if it's set, no access with new controller settings should be performed. Signed-off-by: Andrew Gabbasov andrew_gabba...@mentor.com --- drivers/mmc/mmc.c |4

Re: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver

2014-04-03 Thread Pavel Machek
Hi! Actually socfpga board folder includes code to support both Cyclone V and Arria V soc dev kit. ok. I expect that you are talking about 2 completely different boards which are here http://www.altera.com/products/devkits/altera/kit-cyclone-v-soc.html

[U-Boot] Modify go to allow chain loading a second u-boot

2014-04-03 Thread Helmut Raiger
Hi, for all the wrong reasons I have to load a second u-boot from a first one. I'm finally able to start it, but it only works if I do a cleanup_before_linux(), i.e. turn off interrupts and caches before the actual 'go'. For testing I patched the go command, but obviously this can't be

Re: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver

2014-04-03 Thread Michal Simek
On 04/03/2014 11:35 AM, Pavel Machek wrote: Hi! Actually socfpga board folder includes code to support both Cyclone V and Arria V soc dev kit. ok. I expect that you are talking about 2 completely different boards which are here

[U-Boot] [PATCH] fs/fat: correct FAT16/12 file finding in root dir

2014-04-03 Thread Josh Wu
When write a file into FAT file system, if not find the file in the root dir sectors, it will call get_fatent_value() to get next cluster number via lookup the FAT table. The issue is FAT table only can find the cluster number start to 2. If current clust is in root dir, then curclust is a

Re: [U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-04-03 Thread Marek Vasut
On Thursday, April 03, 2014 at 09:46:22 AM, Lukasz Majewski wrote: Hi Marek, On Wednesday, April 02, 2014 at 08:35:33 AM, Lukasz Majewski wrote: Hi Mateusz, [...] Acked-by: Lukasz Majewski l.majew...@samsung.com I suggest this goes for -next. Do you agree? I'm fine with

Re: [U-Boot] [PATCH] usb: ehci: rmobile: Add support ehci host driver of rmobile SoCs

2014-04-03 Thread Marek Vasut
On Thursday, April 03, 2014 at 06:55:54 AM, Nobuhiro Iwamatsu wrote: The rmobile SoC has usb host controller. This supports USB controllers listed in the R8A7790, R8A7791 and R8A7740. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Reviewed-by: Marek Vasut ma...@denx.de

Re: [U-Boot] [PATCH v12 1/8] libc: move strlcpy() from ether.c to string.c

2014-04-03 Thread Marek Vasut
On Thursday, April 03, 2014 at 02:58:27 AM, Kuo-Jung Su wrote: 2014-04-01 17:16 GMT+08:00 Marek Vasut ma...@denx.de: On Tuesday, April 01, 2014 at 10:46:52 AM, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com It would be better to have strlcpy() moved to lib/string.c, so

[U-Boot] [PATCH v3 0/3] enable support for x16 NAND devices

2014-04-03 Thread Pekon Gupta
*changes v2 - v3* [PATCH v3 1/3] (new) porting Brian Norri's patch from linux tree This patch allows reading of ONFI params independent of controller configuration and NAND device width. [PATCH v3 2/2] rebase [PATCH v2 2/4] on latest release [PATCH v3 3/3] (new) cleaned remaining

[U-Boot] [PATCH v3 3/3] omap3: remove remnant macros GPMC_NAND_ECC_LP_x8_LAYOUT and GPMC_NAND_ECC_LP_x16_LAYOUT

2014-04-03 Thread Pekon Gupta
OMAP3 used GPMC_NAND_ECC_LP_x8_LAYOUT and GPMC_NAND_ECC_LP_x16_LAYOUT macros to configure GPMC controller for x7 or x8 bit device connected to its interface. Now this information is encoded in CONFIG_SYS_NAND_DEVICE_WIDTH macro, so above macros can be completely removed. Signed-off-by: Pekon

Re: [U-Boot] [PATCH v5 3/9] arm: add support for arch timer

2014-04-03 Thread Andrianov, Vitaly
Hi Masahiro, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Masahiro Yamada Sent: Wednesday, April 02, 2014 9:46 PM To: Karicheri, Muralidharan Cc: Rini, Tom; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v5 3/9] arm:

[U-Boot] [PATCH v3 1/3] mtd: nand: don't use read_buf for 8-bit ONFI transfers

2014-04-03 Thread Pekon Gupta
From: Brian Norris computersforpe...@gmail.com Porting below commit from linux-tree, preserving original authorship commit log commit bd9c6e99b58255b9de1982711ac9487c9a2f18be Author: Brian Norris computersforpe...@gmail.com mtd: nand: don't use read_buf for 8-bit ONFI transfers Use a

[U-Boot] [PATCH v3 2/3] mtd: nand: omap: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2014-04-03 Thread Pekon Gupta
This patch introduces CONFIG_SYS_NAND_DEVICE_WIDTH to specify bus-width of NAND device CONFIG_SYS_NAND_DEVICE_WIDTH == 16: NAND device with x16 bus-width CONFIG_SYS_NAND_DEVICE_WIDTH == 8: NAND device with x8 bus-width Need for a separate CONFIG_SYS_NAND_xx arise from following

[U-Boot] [PATCH] board/t104xrdb: Add support of CPLD

2014-04-03 Thread Prabhakar Kushwaha
T1040RDB and T1042RDB_PI has CPLD. Here CPLD controls board mux/features. This support of CPLD includes - files and register defintion - Commands to swtich alternate bank and default bank Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: - Updated the cpld

[U-Boot] [PATCH][v5] board/t104xrdb: Add support of CPLD

2014-04-03 Thread Prabhakar Kushwaha
T1040RDB and T1042RDB_PI has CPLD. Here CPLD controls board mux/features. This support of CPLD includes - files and register defintion - Commands to swtich alternate bank and default bank Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: - Updated the cpld

[U-Boot] [PATCH] am33xx: add support for beaglebone NAND cape

2014-04-03 Thread Pekon Gupta
Beaglebone Board can be connected to expansion boards to add devices to them. These expansion boards are called 'capes'. This patch adds support for following versions of Beaglebone(AM335x) NAND capes (a) NAND Device with bus-width=16, block-size=128k, page-size=2k, oob-size=64 (b) NAND Device

[U-Boot] [PATCH v2 3/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-03 Thread Tom Rini
From: Poddar, Sourav sourav.pod...@ti.com Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints are properly met. Signed-off-by: Sourav Poddar sourav.pod...@ti.com Tested-by: Yebio Mesfin ymes...@ti.com ---

[U-Boot] [PATCH v2 2/5] TI:armv7: Change Falcon Mode DT load address

2014-04-03 Thread Tom Rini
In general, we want to load the DT at base+128MB, so that we ahve sufficient room for the kernel and a larger device tree. In the case of OMAP3, use 64MB instead as we have a number of boards with 128MB DDR. Signed-off-by: Tom Rini tr...@ti.com --- include/configs/ti_am335x_common.h |2 ++

[U-Boot] [PATCH v2 1/5] TI:omap5: Move CONFIG_ENV_SIZE to board config files

2014-04-03 Thread Tom Rini
The size of the environment depends on the backing store, move this to the board config files. Signed-off-by: Tom Rini tr...@ti.com --- include/configs/dra7xx_evm.h |1 + include/configs/omap5_uevm.h |1 + include/configs/ti_omap5_common.h |2 -- 3 files changed, 2

[U-Boot] [PATCH v2 4/5] SPL:SPI: Add Falcon Mode support

2014-04-03 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- drivers/mtd/spi/spi_spl_load.c | 46 ++-- 1 file changed, 40 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/spi/spi_spl_load.c b/drivers/mtd/spi/spi_spl_load.c index 2935530..1954b7e 100644 ---

[U-Boot] [PATCH v2 5/5] dra7xx_evm: Add QSPI_4 support, qspiboot build target

2014-04-03 Thread Tom Rini
We previously only supported QSPI_1 (single) support. Add QSPI_4 (quad) read support as well. This means we can be given one of two boot device values, but don't care which it is, so perform a fixup on the QSPI_4 value. We add a qspiboot build target to better show how you would use QSPI as a

Re: [U-Boot] [PATCH v5 7/9] k2hk: add support for k2hk SOC and EVM

2014-04-03 Thread Ivan Khoronzhuk
On 04/01/2014 09:44 PM, Murali Karicheri wrote: From: Vitaly Andrianovvita...@ti.com k2hk EVM is based on Texas Instruments Keystone2 Hawking/Kepler SoC. Keystone2 SoC has ARM v7 Cortex-A15 MPCore processor. Please refer the ti/k2hk_evm/README for details on the board, build and other

Re: [U-Boot] [PATCH v2 3/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-03 Thread Jagan Teki
On Thu, Apr 3, 2014 at 5:22 PM, Tom Rini tr...@ti.com wrote: From: Poddar, Sourav sourav.pod...@ti.com Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints are properly met. Signed-off-by: Sourav Poddar

Re: [U-Boot] post tests in arm uboot

2014-04-03 Thread Stephen Warren
On 04/02/2014 11:37 PM, shobin b wrote: Hi, I enabled post in u boot(I am using toradex colibrit20 board). In post i enabled memory and i2c tests in u boot. Its working fine. After that i did watchdog test and then i flashed my u boot to board. It shows following it is hanged up to post

Re: [U-Boot] Start the deprecation process for generic board

2014-04-03 Thread Marek Vasut
On Friday, March 28, 2014 at 10:16:42 PM, Tom Rini wrote: On Sat, Mar 22, 2014 at 05:14:51PM -0600, Simon Glass wrote: We should move forward to remove the old board init code. Add a prominent message to encourage maintainers to get started on this work. Signed-off-by: Simon Glass

[U-Boot] [PATCH 1/2] arm: mxs: Adjust the load address of U-Boot and SPL for HAB

2014-04-03 Thread Marek Vasut
When using HAB, there are additional special requirements on the placement of U-Boot and the U-Boot SPL in memory. To fullfill these, this patch moves the U-Boot binary a little further from the begining of the DRAM, so the HAB CST and IVT can be placed in front of the U-Boot binary. This is

[U-Boot] [PATCH 2/2] arm: mxs: Add support for generating signed BootStream

2014-04-03 Thread Marek Vasut
This patch adds the groundwork for generating signed BootStream, which can be used by the HAB library in i.MX28. We are adding a new target, u-boot-signed.sb , since the process for generating regular non-signed BootStream is much easier. Moreover, the signed bootstream depends on external

[U-Boot] [PATCH 2/2] arm: mx5: Enable CONFIG_SYS_GENERIC_BOARD on M53EVK

2014-04-03 Thread Marek Vasut
Signed-off-by: Marek Vasut ma...@denx.de --- include/configs/m53evk.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h index 16546c2..496f046 100644 --- a/include/configs/m53evk.h +++ b/include/configs/m53evk.h @@ -9,6 +9,7 @@ #define

Re: [U-Boot] Start the deprecation process for generic board

2014-04-03 Thread Simon Glass
Hi Marek, On 3 April 2014 11:03, Marek Vasut ma...@denx.de wrote: On Friday, March 28, 2014 at 10:16:42 PM, Tom Rini wrote: On Sat, Mar 22, 2014 at 05:14:51PM -0600, Simon Glass wrote: We should move forward to remove the old board init code. Add a prominent message to encourage

Re: [U-Boot] Start the deprecation process for generic board

2014-04-03 Thread Marek Vasut
On Thursday, April 03, 2014 at 07:35:10 PM, Simon Glass wrote: Hi Marek, On 3 April 2014 11:03, Marek Vasut ma...@denx.de wrote: On Friday, March 28, 2014 at 10:16:42 PM, Tom Rini wrote: On Sat, Mar 22, 2014 at 05:14:51PM -0600, Simon Glass wrote: We should move forward to remove the

Re: [U-Boot] [PATCH 1/2] arm: mxs: Enable CONFIG_SYS_GENERIC_BOARD on M28EVK

2014-04-03 Thread Tom Rini
On Thu, Apr 03, 2014 at 07:12:36PM +0200, Marek Vasut wrote: Signed-off-by: Marek Vasut ma...@denx.de --- include/configs/m28evk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index bb1fa44..8f31467 100644 ---

Re: [U-Boot] [PATCH 11/11] ventana: switch to SPL

2014-04-03 Thread Tim Harvey
On Wed, Apr 2, 2014 at 11:01 PM, Tim Harvey thar...@gateworks.com wrote: Switch to an SPL image. The SPL for Ventana does the following: - setup i2c and read the factory programmed EEPROM to obtain DRAM config and model for board-specific calibration data - configure DRAM per

Re: [U-Boot] Start the deprecation process for generic board

2014-04-03 Thread Tom Rini
On Thu, Apr 03, 2014 at 11:35:10AM -0600, Simon Glass wrote: Hi Marek, On 3 April 2014 11:03, Marek Vasut ma...@denx.de wrote: On Friday, March 28, 2014 at 10:16:42 PM, Tom Rini wrote: On Sat, Mar 22, 2014 at 05:14:51PM -0600, Simon Glass wrote: We should move forward to remove the

[U-Boot] [PATCH 2/2] TI:omap3: Convert omap3_beagle to ti_omap3_common.h

2014-04-03 Thread Tom Rini
Convert to using the common config files. This requires a little more flexibility in the common files than we had been using before. Signed-off-by: Tom Rini tr...@ti.com --- boards.cfg|2 +- include/configs/omap3_beagle.h| 184

[U-Boot] [PATCH 1/2] TI:armv7: Switch to CONFIG_SYS_BOARD_GENERIC

2014-04-03 Thread Tom Rini
Tested on AM335x GP EVM, AM335x EVM SK, Beaglebone White, Beaglebone Black, AM437xx GP EVM, OMAP5 uEVM, OMAP4 Pandaboard Signed-off-by: Tom Rini tr...@ti.com --- include/configs/ti_armv7_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ti_armv7_common.h

Re: [U-Boot] [Question] bardrate both in gd_t and bd_t

2014-04-03 Thread Tom Rini
On Wed, Apr 02, 2014 at 04:12:24PM +0900, Masahiro Yamada wrote: Hi. I notice bardrate parameter bd_t as well as gd_t. In include/asm-generic/global_data.h typedef struct global_data { bd_t *bd; unsigned long flags; unsigned int baudrate; We have baudrate here.

Re: [U-Boot] [PATCH] omap3: igep00x0: fix NAND_BOOT for igep_0020 and igep_0030

2014-04-03 Thread Tom Rini
On Thu, Apr 03, 2014 at 09:12:56AM +, Gupta, Pekon wrote: (re-sending as earlier mail got moderated). Hi Enric, From: Enric Balletbo Serra [mailto:eballe...@gmail.com] 2014-04-03 9:09 GMT+02:00 Pekon Gupta pe...@ti.com: fixes commit e37e954eba3edb5015a0a02880d57517f57425d8

Re: [U-Boot] [Question] bardrate both in gd_t and bd_t

2014-04-03 Thread Simon Glass
Hi, On 3 April 2014 14:01, Tom Rini tr...@ti.com wrote: On Wed, Apr 02, 2014 at 04:12:24PM +0900, Masahiro Yamada wrote: Hi. I notice bardrate parameter bd_t as well as gd_t. In include/asm-generic/global_data.h typedef struct global_data { bd_t *bd; unsigned

Re: [U-Boot] [Question] bardrate both in gd_t and bd_t

2014-04-03 Thread Wolfgang Denk
Dear Simon, In message capnjgz2prhue3htw__maybrma3ofz3p1k9d49rzatur9g5x...@mail.gmail.com you wrote: The duplication existed before generic board (i.e. each arch had its own baudrate in global_data). I believe the reason for it being in bd_t is that it can be passed to the kernel in that

[U-Boot] [PATCH 1/2] arm: mxs: Enable CONFIG_SYS_GENERIC_BOARD

2014-04-03 Thread Marek Vasut
Signed-off-by: Marek Vasut ma...@denx.de --- include/configs/m28evk.h | 1 - include/configs/mxs.h| 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index bb1fa44..3e387c4 100644 --- a/include/configs/m28evk.h +++

Re: [U-Boot] Chain loading an u-boot from an u-boot

2014-04-03 Thread Simon Glass
Hi Hemut, On 31 March 2014 05:29, Helmut Raiger helmut.rai...@hale.at wrote: On 02/13/2014 10:03 AM, Helmut Raiger wrote: But you just inspired me! There are probably interrupts running for some time when the second u-boot starts and the relocation might destroy part of the interrupt

[U-Boot] [PATCH 0/7] omap3: zoom1: long pending cleanups :(

2014-04-03 Thread Nishanth Menon
A series of patches to add in ethernet and bootz support. baseline: v2014.04-rc3 Nishanth Menon (7): omap3: zoom1: enable CONFIG_SYS_GENERIC_BOARD OMAP3: zoom1: Configure GPMC for Ethernet OMAP3: zoom1: enable LAN9211 omap3: zoom1: enable common network commands omap3: zoom1: disable

[U-Boot] [PATCH 4/7] omap3: zoom1: enable common network commands

2014-04-03 Thread Nishanth Menon
Basic networking commands for usability. Signed-off-by: Nishanth Menon n...@ti.com --- include/configs/omap3_zoom1.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h index 4a4dfd9..4fb3628 100644 ---

[U-Boot] [PATCH 1/7] omap3: zoom1: enable CONFIG_SYS_GENERIC_BOARD

2014-04-03 Thread Nishanth Menon
CONFIG_SYS_GENERIC_BOARD should now be enabled for generic functionality Further information in doc/README.generic-board Signed-off-by: Nishanth Menon n...@ti.com --- include/configs/omap3_zoom1.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/omap3_zoom1.h

[U-Boot] [PATCH 5/7] omap3: zoom1: disable JFFS2 and enable FS_GENERIC

2014-04-03 Thread Nishanth Menon
This is more in line with commits 664979a2a9f764b63b8094458b87247d254b0cc1(omap3_beagle: remove JFFS2 support.) and 102ce9ea7afdda80fe25aa786975e1722196bdb9 (omap3_beagle: enable CMD_FS_GENERIC and simplify load of image/ramdisk) SigMD_FS_GENERIC allows us to simplify where we load up our image

[U-Boot] [PATCH 6/7] omap3: zoom1: enable bootz

2014-04-03 Thread Nishanth Menon
Boot from zImage and fdt_file if uImage is not available to maintain the legacy behavior. Signed-off-by: Nishanth Menon n...@ti.com --- include/configs/omap3_zoom1.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/configs/omap3_zoom1.h

[U-Boot] [PATCH 3/7] OMAP3: zoom1: enable LAN9211

2014-04-03 Thread Nishanth Menon
Zoom1 was wrongly setup for LAN91C96. Fix it by enabling LAN9211. Signed-off-by: Nishanth Menon n...@ti.com --- board/logicpd/zoom1/zoom1.c | 20 ++-- include/configs/omap3_zoom1.h | 10 +- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 2/7] OMAP3: zoom1: Configure GPMC for Ethernet

2014-04-03 Thread Nishanth Menon
zoom1 uses LAN9211 configured over GPMC Chip Select 1. Signed-off-by: Nishanth Menon n...@ti.com --- board/logicpd/zoom1/zoom1.c | 18 ++ board/logicpd/zoom1/zoom1.h | 19 +-- 2 files changed, 31 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH 7/7] omap3: zoom1: fix default console

2014-04-03 Thread Nishanth Menon
We do not use ttyS2 anymore in Linux, it changed to ttyO2 a few years back. never too late to update. Signed-off-by: Nishanth Menon n...@ti.com --- include/configs/omap3_zoom1.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/omap3_zoom1.h

Re: [U-Boot] [PATCH 6/8] nitrogen6x: use common detect_hdmi

2014-04-03 Thread Eric Nelson
Thanks Eric, On 04/02/2014 12:57 PM, Eric Bénard wrote: Signed-off-by: Eric Bénard e...@eukrea.com Cc: Eric Nelson eric.nel...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c

Re: [U-Boot] [PATCH 1/8] imx-common: add board_video_skip

2014-04-03 Thread Eric Nelson
Hi Eric, On 04/02/2014 12:57 PM, Eric Bénard wrote: this function is shared by several board and thus can be factorized boards (plural). Signed-off-by: Eric Bénard e...@eukrea.com --- arch/arm/imx-common/Makefile| 1 + arch/arm/imx-common/video.c | 55

Re: [U-Boot] [PATCH 2/8] nitrogen6x: use common board_video_skip

2014-04-03 Thread Eric Nelson
On 04/02/2014 12:57 PM, Eric Bénard wrote: Signed-off-by: Eric Bénard e...@eukrea.com Cc: Eric Nelson eric.nel...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 61 ++ include/configs/nitrogen6x.h | 1 + 2 files changed, 4

Re: [U-Boot] Start the deprecation process for generic board

2014-04-03 Thread Marek Vasut
On Thursday, April 03, 2014 at 09:01:30 PM, Tom Rini wrote: On Thu, Apr 03, 2014 at 11:35:10AM -0600, Simon Glass wrote: Hi Marek, On 3 April 2014 11:03, Marek Vasut ma...@denx.de wrote: On Friday, March 28, 2014 at 10:16:42 PM, Tom Rini wrote: On Sat, Mar 22, 2014 at 05:14:51PM

Re: [U-Boot] [PATCH 1/2] arm: mxs: Enable CONFIG_SYS_GENERIC_BOARD on M28EVK

2014-04-03 Thread Marek Vasut
On Thursday, April 03, 2014 at 08:46:06 PM, Tom Rini wrote: On Thu, Apr 03, 2014 at 07:12:36PM +0200, Marek Vasut wrote: Signed-off-by: Marek Vasut ma...@denx.de --- include/configs/m28evk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 01/11] SPL: NAND: remove CONFIG_SYS_NAND_PAGE_SIZE

2014-04-03 Thread Masahiro Yamada
On Wed, 2 Apr 2014 23:01:01 -0700 Tim Harvey thar...@gateworks.com wrote: We only need to read in the size of struct image_header and thus don't need to know the page size of the nand device. Signed-off-by: Tim Harvey thar...@gateworks.com +1 Best Regards Masahiro Yamada

Re: [U-Boot] [Question] bardrate both in gd_t and bd_t

2014-04-03 Thread Masahiro Yamada
Hi Simon, Wolfgang, On Thu, 03 Apr 2014 23:51:35 +0200 Wolfgang Denk w...@denx.de wrote: Dear Simon, In message capnjgz2prhue3htw__maybrma3ofz3p1k9d49rzatur9g5x...@mail.gmail.com you wrote: The duplication existed before generic board (i.e. each arch had its own baudrate in

Re: [U-Boot] [PATCH] omap3: igep00x0: fix NAND_BOOT for igep_0020 and igep_0030

2014-04-03 Thread Gupta, Pekon
Hi Tom, From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Rini, Tom On Thu, Apr 03, 2014 at 09:12:56AM +, Gupta, Pekon wrote: [...] Sorry about noise, please ignore this patch. I'll merge these changes with my other patch, where I move out board-specific configs from ti_armv7_common.h