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 to

[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 uui

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 > wrote: > >> Hi Stefano, >> >> On Wed, 02 Apr 2014 18:54:14 +0200, Stefano Babic >> wrote: >> >>> Hi Albert, >>> >>> please pull from u-boot-imx, thanks ! >>> >>> >>> The following changes

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 > > 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 > > Best regards,

[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 : > 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_

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

2014-04-03 Thread Przemyslaw Marczak
From: Inha Song This change allows reset device environment to default without using u-boot console, which is useful for system developers. Signed-off-by: Inha Song Acked-by: Przemyslaw Marczak Cc: Minkyu Kang --- Changes v2: - extend commit message Changes v3: - none --- board/samsung/com

[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 Cc: Minkyu Kang --- Changes v2: - new commit Changes v3: - correct commit message --- board/samsung/common/misc.c | 4 1 file changed, 4 insertions(+) diff --g

[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. Si

[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 mode

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 : >> fixes commit e37e954eba3edb5015a0a02880d57517f57425d8 >> OMAP3: igep00x0: Convert to ti_omap3_common.h. >> >> Above commit introduced comp

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 ma

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

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; onl

[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 --- drivers/mmc/mmc.c |4 +++- include/mmc.h |2

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-so

[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 co

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 > > http://www.altera.com

[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 negativ

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 > > > > I suggest this goes for -next. Do you agree? > > I'm fine with t

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 > Reviewed-by: Marek Vasut > --- > v2: - Remove PHYS_OFFSET, use inste

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 : > > On Tuesday, April 01, 2014 at 10:46:52 AM, Kuo-Jung Su wrote: > >> From: Kuo-Jung Su > >> > >> It would be better to have strlcpy() moved to lib/string.c, > >> so that it could be reused

[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 GPMC_NAND_

[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 Gupta

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]

[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 Porting below commit from linux-tree, preserving original authorship & commit log commit bd9c6e99b58255b9de1982711ac9487c9a2f18be Author: Brian Norris mtd: nand: don't use read_buf for 8-bit ONFI transfers Use a repeated read_byte() instead of read_buf(), since for x16

[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 requirements:

[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 --- Changes for v2: - Updated the cpld command Changes for v3:

[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 --- Changes for v2: - Updated the cpld command Changes for v3:

[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 with

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

2014-04-03 Thread Tom Rini
From: "Poddar, Sourav" 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 Tested-by: Yebio Mesfin --- drivers/spi/ti_qspi.c |3 +++ 1 file changed, 3 insertions(+) diff

[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 --- include/configs/ti_am335x_common.h |2 ++ include/confi

[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 --- include/configs/dra7xx_evm.h |1 + include/configs/omap5_uevm.h |1 + include/configs/ti_omap5_common.h |2 -- 3 files changed, 2 insertions(+), 2 dele

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

2014-04-03 Thread Tom Rini
Signed-off-by: Tom Rini --- 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 --- a/drivers/mtd/spi/spi_spl_lo

[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 bo

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 Andrianov 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 information. This patc

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 wrote: > From: "Poddar, Sourav" > > 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 > Tested-by: Yebio Mesfin > --- > drivers

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 wa

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

[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 necess

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

2014-04-03 Thread Marek Vasut
Signed-off-by: Marek Vasut --- 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 --- a/include/configs/m28evk.h +++ b/include/configs/m28evk.h @@ -7,9 +7,9 @@ #ifndef __CO

[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 _proprie

[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 --- 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 __M53EVK_CONFIG_H__

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 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 maintainers

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 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 ol

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 > --- > 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 > --- a/include

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 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 CPU/size/layout/devices/calibr

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 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 o

[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 --- boards.cfg|2 +- include/configs/omap3_beagle.h| 184 +++-- include/c

[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 --- include/configs/ti_armv7_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_ar

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 "ba

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 : > >> fixes commit e37e954eba3edb5015a0a02880d57517f57425d8 > >> OMA

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 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; > > unsi

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

2014-04-03 Thread Wolfgang Denk
Dear Simon, In message 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 structure on some archs. So removing > it there may break some boa

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

2014-04-03 Thread Marek Vasut
Signed-off-by: Marek Vasut --- 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 +++ b/include/configs/m28evk

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 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 entry points .

[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 J

[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 --- 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 --- a/include/configs/om

[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 --- include/configs/omap3_zoom1.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_z

[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 fr

[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 --- include/configs/omap3_zoom1.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoo

[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 --- board/logicpd/zoom1/zoom1.c | 20 ++-- include/configs/omap3_zoom1.h | 10 +- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/board/logicpd/zoom1/zoo

[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 --- board/logicpd/zoom1/zoom1.c | 18 ++ board/logicpd/zoom1/zoom1.h | 19 +-- 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/board/logicpd/zoom1/zoom1.c b/b

[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 --- include/configs/omap3_zoom1.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom

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 Cc: Eric Nelson --- board/boundary/nitrogen6x/nitrogen6x.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 1d96d

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 --- 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 Cc: Eric Nelson --- board/boundary/nitrogen6x/nitrogen6x.c | 61 ++ include/configs/nitrogen6x.h | 1 + 2 files changed, 4 insertions(+), 58 deletions(-) diff --git a/board/boun

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 wrote: > > > On Friday, March 28, 2014 at 10:16:42 PM, Tom Rini wrote: > > > > On Sat, Mar 22, 2014 at 05:14:51PM -06

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 > > --- > > > > include/configs/m28evk.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/include/configs/m28ev

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 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 +1 Best Regards Masahiro Yamada ___ U-Bo

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 wrote: > Dear Simon, > > In message > 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

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_c

[U-Boot] [PATCH 11/11] arm: remove mx31ads board support

2014-04-03 Thread Masahiro Yamada
Enough time has passed since this board was moved to Orphan. Remove. - Remove board/freescale/mx31ads/* - Remove include/configs/mx31ads.h - Move the entry from boards.cfg to doc/README.scrapyard Signed-off-by: Masahiro Yamada --- board/freescale/mx31ads/Makefile| 8 - board/frees

[U-Boot] [PATCH 01/11] powerpc: remove NX823 board support

2014-04-03 Thread Masahiro Yamada
Enough time has passed since this board was moved to Orphan. Remove. - Remove board/nx823/* - Remove include/configs/NX823.h - Clean-up ifdef(CONFIG_NX823) - Move the entry from boards.cfg to doc/README.scrapyard Signed-off-by: Masahiro Yamada --- arch/powerpc/include/asm/u-boot.h | 3 -

[U-Boot] [PATCH 0/11] Dump Orphan boards

2014-04-03 Thread Masahiro Yamada
Keeping unmaintained boards requires us extra efforts for our future work. More than a half year has passed these boards were moved to Orphan. Masahiro Yamada (11): powerpc: remove NX823 board support powerpc: remove MBX and MBX860T boards support powerpc: remove genietv board support p

[U-Boot] [PATCH 10/11] arm: remove lubbock board support

2014-04-03 Thread Masahiro Yamada
Enough time has passed since this board was moved to Orphan. Remove. - Remove board/lubbock/* - Remove include/configs/lubbock.h - Cleanup defined(CONFIG_LUBBOCK) - Move the entry from boards.cfg to doc/README.scrapyard Signed-off-by: Masahiro Yamada --- board/lubbock/Makefile| 8 -

[U-Boot] [PATCH 07/11] powerpc: remove rsdproto board support

2014-04-03 Thread Masahiro Yamada
Enough time has passed since this board was moved to Orphan. Remove. - Remove board/rsdproto/* - Remove include/configs/rsdproto.h - Move the entry from boards.cfg to doc/README.scrapyard Signed-off-by: Masahiro Yamada --- board/rsdproto/Makefile| 9 - board/rsdproto/flash.c | 386

[U-Boot] [PATCH 09/11] powerpc: remove EVB64260 board support

2014-04-03 Thread Masahiro Yamada
Enough time has passed since this board was moved to Orphan. Remove. - Remove include/configs/EVB64260.h - Remove the entry from boards.cfg Signed-off-by: Masahiro Yamada --- boards.cfg | 1 - include/configs/EVB64260.h | 406 - 2

[U-Boot] [PATCH 03/11] powerpc: remove genietv board support

2014-04-03 Thread Masahiro Yamada
Enough time has passed since this board was moved to Orphan. Remove. - Remove board/genietv/* - Remove include/configs/GENIETV.h - Clean-up if defined(CONFIG_GENIETV) - Move the entry from boards.cfg to doc/README.scrapyard Signed-off-by: Masahiro Yamada --- board/genietv/Makefile

[U-Boot] [PATCH 06/11] powerpc: remove RPXsuper board support

2014-04-03 Thread Masahiro Yamada
Enough time has passed since this board was moved to Orphan. Remove. - Remove board/rpxsuper/* - Remove include/configs/RPXsuper.h - Move the entry from boards.cfg to doc/README.scrapyard Signed-off-by: Masahiro Yamada --- board/rpxsuper/Makefile| 8 - board/rpxsuper/flash.c | 416

[U-Boot] [PATCH 04/11] powerpc: remove ADS860, FADS823, FADS850SAR, FADS860T support

2014-04-03 Thread Masahiro Yamada
Enough time has passed since these boards were moved to Orphan. Remove. - Remove include/configs/{ADS860.h,FADS823.h,FADS850SAR.h,FADS860T.h} - Cleanup defined(CONFIG_ADS), defined(CONFIG_MPC823FADS), defined(CONFIG_MPC850SAR), defined(CONFIG_SYS_DAUGHTERBOARD) - Remove the entries from boar

[U-Boot] [PATCH] boards.cfg: move more boards with invalid emails to Orphan

2014-04-03 Thread Masahiro Yamada
Emails to the following addresses have been bouncing. - Nye Liu - Jim Thompson - Brad Kemp Signed-off-by: Masahiro Yamada --- boards.cfg | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/boards.cfg b/boards.cfg index 69c8936..63dfe94 100644 --- a/boards.cfg +++