Re: [U-Boot] [PATCH 6/8] arm, davinci, am1808: add lowlevel functions for booting from NOR

2011-09-30 Thread Heiko Schocher
Hello Christian, Christian Riesch wrote: > Heiko, > > On Thu, Sep 15, 2011 at 7:59 AM, Heiko Schocher wrote: >> Signed-off-by: Heiko Schocher >> Cc: Paulraj Sandeep >> Cc: Albert ARIBAUD >> --- >> arch/arm/cpu/arm926ejs/davinci/Makefile|1 + >> arch/arm/cpu/arm926ejs/davinci/

Re: [U-Boot] [RFC PATCH] arm: provide a CONFIG flag for disabling relocation

2011-09-30 Thread Simon Schwarz
On 09/29/2011 06:14 PM, Andreas Bießmann wrote: [SNIP] > Simon, who has just finished his bachelor thesis did this test for me (thanks > to this way ...). > It seems using more register for ldmia/stmia does _not_ improve the copy > time that much. Simon measured 10.8 ms for r9-r10 and 10.65 ms for

[U-Boot] [PATCHv8] new tool mkenvimage: generates an env image from an arbitrary config file

2011-09-30 Thread David Wagner
This tool takes a key=value configuration file (same as would a `printenv' show) and generates the corresponding environment image, ready to be flashed. use case: flash the environment with an external tool Signed-off-by: David Wagner Acked-by; Mike Frysinger Tested-by: Thomas Petazzoni --- c

Re: [U-Boot] [Resend PATCH V3] mx31: provide readable WEIM CS accessor

2011-09-30 Thread Stefano Babic
On 09/29/2011 05:45 PM, Helmut Raiger wrote: > setup_weimcs() and some macros are added to support the setup > for i.MX31 WEIM chip selects. As a compromise between verbosity > and readability an ASCII-art'ish bit comment is used instead of > bitfields. > All i.MX31 boards have been patched to use

Re: [U-Boot] [PATCH v2 8/8] arm, davinci: add support for am1808 based enbw_cmc board

2011-09-30 Thread Christian Riesch
Hello Heiko, On Mon, Sep 19, 2011 at 7:50 AM, Heiko Schocher wrote: > - booting from NOR Flash with direct boot method > - POST support > - LOGBUF support > > Signed-off-by: Heiko Schocher > Cc: Paulraj Sandeep > Cc: Albert ARIBAUD > Cc: Igor Grinberg > --- > - changes for v2 >  - use CONFIG_

Re: [U-Boot] [PATCH] cfi_flash driver: fixed addressing for 8-bit flash buses.

2011-09-30 Thread Stefan Roese
Aaron, On Saturday 30 April 2011 21:14:49 Aaron Williams wrote: > Will do. I've been quite busy lately bringing up a 32-core chip and > getting ready for a release but I should have some time now. > > I've got some other patches I also need to submit. Is this patch still on your list for a re-sp

Re: [U-Boot] [PATCH v2 8/8] arm, davinci: add support for am1808 based enbw_cmc board

2011-09-30 Thread Heiko Schocher
Hello Christian, Christian Riesch wrote: > Hello Heiko, > > On Mon, Sep 19, 2011 at 7:50 AM, Heiko Schocher wrote: >> - booting from NOR Flash with direct boot method >> - POST support >> - LOGBUF support >> >> Signed-off-by: Heiko Schocher >> Cc: Paulraj Sandeep >> Cc: Albert ARIBAUD >> Cc:

Re: [U-Boot] [PATCH v2 8/8] arm, davinci: add support for am1808 based enbw_cmc board

2011-09-30 Thread Christian Riesch
Hello Heiko, thanks for your reply. On Fri, Sep 30, 2011 at 10:46 AM, Heiko Schocher wrote: > Christian Riesch wrote: >> On Mon, Sep 19, 2011 at 7:50 AM, Heiko Schocher wrote: >>> - booting from NOR Flash with direct boot method >>> - POST support >>> - LOGBUF support >>> >>> Signed-off-by: Heik

Re: [U-Boot] The command "nand write.yaffs" is not working correctly

2011-09-30 Thread Jin Zhengxiong-R64188
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On > Behalf Of Peter Pan > Sent: Wednesday, September 21, 2011 9:09 AM > To: u-boot@lists.denx.de > Subject: [U-Boot] The command "nand write.yaffs" is not working correctly > > I'm recently fac

Re: [U-Boot] [PATCH v4 1/1] add support for mcf5307

2011-09-30 Thread Jin Zhengxiong-R64188
> -Original Message- > From: angelo [mailto:angel...@gmail.com] > Sent: Thursday, September 22, 2011 4:06 AM > To: U-Boot@lists.denx.de; Jin Zhengxiong-R64188 > Subject: [PATCH v4 1/1] add support for mcf5307 > > Add support for mcf5307 cpu. > > Signed-off-by: Angelo Dureghello > --- >

Re: [U-Boot] [PATCH v2 8/8] arm, davinci: add support for am1808 based enbw_cmc board

2011-09-30 Thread Heiko Schocher
Hello Christian, Christian Riesch wrote: > Hello Heiko, > thanks for your reply. > > On Fri, Sep 30, 2011 at 10:46 AM, Heiko Schocher wrote: >> Christian Riesch wrote: >>> On Mon, Sep 19, 2011 at 7:50 AM, Heiko Schocher wrote: - booting from NOR Flash with direct boot method - POST su

[U-Boot] [PATCH 09/15 V5] iMX28: Add GPMI NAND driver

2011-09-30 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Scott Wood Cc: Stefano Babic Cc: Wolfgang Denk Cc: Detlev Zundel --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/mxs_nand.c | 1118 +++ 2 files changed, 1119 insertions(+), 0 deletions(-) create mode 100644 dri

Re: [U-Boot] [PATCH V2] I2C: Add i2c_get/set_speed() to mxc_i2c.c

2011-09-30 Thread Heiko Schocher
Hello Stefano, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Heiko Schocher > --- > drivers/i2c/mxc_i2c.c | 31 +++ > 1 files changed, 23 insertions(+), 8 deletions(-) > > V2: Drop redundant newline Could you Ack this patch, or do you

Re: [U-Boot] [PATCH 0/4] smdkv310 modifications

2011-09-30 Thread Minkyu Kang
Dear Chander Kashyap, On 21 September 2011 16:25, Chander Kashyap wrote: > These patches does the following things: > uses CONFIG_MACH_TYPE generic macro to initialize machine id. > Uses get_ram_size () to initialize DRAM bank size to accurate value > Migrates mmc spl support from mmc_spl framewo

[U-Boot] [PATCH 1/5] GCC4.6: Squash warning in nand_bbt.c

2011-09-30 Thread Marek Vasut
nand_bbt.c: In function ‘search_bbt’: nand_bbt.c:465:6: warning: variable ‘bits’ set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut Cc: Scott Wood --- drivers/mtd/nand/nand_bbt.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/n

[U-Boot] [PATCH 2/5] GCC4,6: Squash warning in cmd_nand.c

2011-09-30 Thread Marek Vasut
cmd_nand.c: In function ‘do_nand’: cmd_nand.c:490:7: warning: variable ‘chip’ set but not used [-Wunused-but-set-variable] cmd_nand.c:489:7: warning: variable ‘part’ set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut Cc: Scott Wood --- common/cmd_nand.c |4 1 files

[U-Boot] [PATCH 3/5] GCC4.6: Squash warning in vmt.c

2011-09-30 Thread Marek Vasut
vmt.c: In function ‘ubi_free_volume’: vmt.c:681:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut --- drivers/mtd/ubi/vmt.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/ubi/vmt.c b/drivers/mtd/ubi/vmt.c i

[U-Boot] [PATCH 5/5] GCC4.6: Squash warning in lzo1x_decompress.c

2011-09-30 Thread Marek Vasut
lzo1x_decompress.c: In function ‘parse_header’: lzo1x_decompress.c:35:5: warning: variable ‘level’ set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut --- lib/lzo/lzo1x_decompress.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib/lzo/lzo1x_decom

[U-Boot] [PATCH 4/5] GCC4.6: Squash warning in cmd_ubi.c:

2011-09-30 Thread Marek Vasut
cmd_ubi.c: In function ‘ubi_volume_read’: cmd_ubi.c:319:9: warning: variable ‘count_save’ set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut --- common/cmd_ubi.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c in

Re: [U-Boot] [PATCH 2/5] GCC4,6: Squash warning in cmd_nand.c

2011-09-30 Thread Marek Vasut
On Friday, September 30, 2011 12:13:23 PM Marek Vasut wrote: > cmd_nand.c: In function ‘do_nand’: > cmd_nand.c:490:7: warning: variable ‘chip’ set but not used > [-Wunused-but-set-variable] > cmd_nand.c:489:7: warning: variable ‘part’ set but not used > [-Wunused-but-set-variable] > > Signed-off-b

[U-Boot] [PATCH 3/5 V2] GCC4.6: Squash warning in vmt.c

2011-09-30 Thread Marek Vasut
vmt.c: In function ‘ubi_free_volume’: vmt.c:681:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut --- drivers/mtd/ubi/ubi.h |7 ++- drivers/mtd/ubi/vmt.c |4 +--- 2 files changed, 7 insertions(+), 4 deletions(-) V2: Convert ubi_destro

[U-Boot] [PATCH 0/2] devkit8000: add spl mmc boot

2011-09-30 Thread Simon Schwarz
Add MMC booting to devkit8000 SPL. Based on: u-boot-ti/next Simon Schwarz (2): devkit8000: protect board_mmc_init devkit8000: Add config to enable SPL MMC boot board/timll/devkit8000/devkit8000.c |2 +- include/configs/devkit8000.h|5 + 2 files changed, 6 insertions(+),

[U-Boot] [PATCH 1/2] devkit8000: protect board_mmc_init

2011-09-30 Thread Simon Schwarz
This function is also defined in omap-common/spl_mmc.de so the implementation in devkit8000.c was protected by a ifdef. Signed-off-by: Simon Schwarz --- board/timll/devkit8000/devkit8000.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/timll/devkit8000/devkit8000

[U-Boot] [PATCH 2/2] devkit8000: Add config to enable SPL MMC boot

2011-09-30 Thread Simon Schwarz
Add MMC boot configs to devkit8000 config. Signed-off-by: Simon Schwarz --- include/configs/devkit8000.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index 5d1014b..cb68169 100644 --- a/include/configs/de

[U-Boot] U-Boot X86 bootstart

2011-09-30 Thread Ondra Kupka
Hello, I've been digging a bit in X86 bootstart asm code and found possibly wrong code, as far as I understand: In u-boot/arch/x86/cpu/start.S, there is piece of code to disable caches: /* Turn of cache (this might require a 486-class CPU) */ movl%cr0, %eax orl $(X86_CR0_NW |

Re: [U-Boot] U-Boot X86 bootstart

2011-09-30 Thread Marek Vasut
On Friday, September 30, 2011 01:06:04 PM Ondra Kupka wrote: > Hello, > > I've been digging a bit in X86 bootstart asm code and found possibly wrong > code, as far as I understand: > > In u-boot/arch/x86/cpu/start.S, there is piece of code to disable caches: > > /* Turn of cache (this might

[U-Boot] [PATCH 0/6] omap3evm: Clean-up and add new configurations

2011-09-30 Thread Sanjeev Premi
At the base level, this patchset does following: - Extract common/generic configurations from omap3_evm_config.h to create omap3_evm_common_config.h - Add new config targets that build much smaller u-boot customized for the boot devices - MMC/SD or NAND. In the process, config options wer

[U-Boot] [PATCH 2/6] omap3evm: Prepare to split configuration

2011-09-30 Thread Sanjeev Premi
This patch marks the beginning of steps that would lead to clean and easy split of the configuration file. Common portion can then be re-used by other configurations. Signed-off-by: Sanjeev Premi --- Since the patch changes most of the file contents, it may not be easy to review. This sequence

[U-Boot] [PATCH 1/6] omap3evm: Reorder related config options

2011-09-30 Thread Sanjeev Premi
This patch brings related config options together. Most config options won't be evaluated for numerical value, but they are being set to 1. This patch also removes these occurences. i.e. definition similar to #define CONFIG_FEAT_XYZ 1 were changed to #define CONFIG_FEAT_XYZ Some formatting c

[U-Boot] [PATCH 3/6] omap3evm: move common config options to new file

2011-09-30 Thread Sanjeev Premi
This patch moves common config options to a new file. Common options can now be included in other board configs for this evm. Signed-off-by: Sanjeev Premi --- include/configs/omap3_evm.h| 340 +-- include/configs/omap3_evm_common.h | 287

[U-Boot] [PATCH 4/6] omap3evm: Add (quick) configuration for MMC/SD only

2011-09-30 Thread Sanjeev Premi
Add an optimized board configuration that only supports boot from MMC/SD. Signed-off-by: Sanjeev Premi --- This patch was tested on OMAP3EVM Rev G. boards.cfg|1 + include/configs/omap3_evm_quick_mmc.h | 91 + 2 files changed,

[U-Boot] [PATCH 5/6] omap3evm: Add (quick) configuration for NAND only

2011-09-30 Thread Sanjeev Premi
Add an optimized board configuration that only supports boot from NAND. Signed-off-by: Sanjeev Premi --- This configuration has been compile tested. The patch is currently under test. Will update the status shortly. boards.cfg |1 + include/configs/omap3_evm_q

[U-Boot] [PATCH 6/6] omap3evm: fix errors caused by multiple definitions

2011-09-30 Thread Sanjeev Premi
Fix these errors when building with recently added omap3_evm_quick_nand_config: env_nowhere.o: In function `env_relocate_spec': /home/premi/u-boot/common/env_nowhere.c:40: multiple definition of `env_relocate_spec' env_nand.o:/home/premi/u-boot/common/env_nand.c:416: first defi ned here env_nowhe

[U-Boot] [PATCH 0/6] da850: add board specific functions

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte There are two boards AM18xx and L138 both of which are based on da850 SOC. AM18xx boards have mac address stored in I2C EEPROM and they have spi flash manufactured by WINBOND. L138 boards store mac address in SPI flash and they have SPI flash manufactured by ST Microe

[U-Boot] [PATCH 2/6] da850: rename config file to represent OMAP-L138

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte rename config file da850evm.h as da850_l138evm.h to represent omap l138 board based on da850 SOC. L138 boards dont have WINBOND SPI flash, corresponding config is removed. Appropriate changes are made in boards.cfg for building. Signed-off-by: Nagabhushana Netagunte

[U-Boot] [PATCH 4/6] da850: revert cache disable patch

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte revert commit bd65d006a6088bcb857e079447d7549e2cd7054d as cache disabling is no more needed. Subsequent patches to new cache management framework has fixed EMAC issue with cache coherency. Signed-off-by: Nagabhushana Netagunte --- include/configs/da850_l138evm.h |

[U-Boot] [PATCH 5/6] da850: add support to read mac address from spi flash

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte add support to read mac address from spi flash if env variable is not set. This is supported only on L138 boards based on da850 SOC. Introduced a macro CONFIG_MAC_ADDR_IN_SPIFLASH indicating where to look mac address for. Signed-off-by: Manjunathappa, Prakash Signed

[U-Boot] [PATCH 3/6] da850: pass board revision info to kernel

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte there are two boards based on da850 SOC - OMAP-L138 and AM18xx. In order to differentiate between these two boards, revision id is passed to kernel via second byte of ATAG_REVISION. Signed-off-by: Manjunathappa, Prakash Signed-off-by: Nagabhushana Netagunte --- bo

[U-Boot] [PATCH 6/6] da850: read MAC address from I2C EEPROM on AM18xx EVM

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte The AM18xx EVM contains MAC address in I2C EEPROM. Introduced a new macro CONFIG_MAC_ADDR_IN_EEPROM to where to look for mac address. This patch reads MAC address from I2C EEPROM and updates environment variable. Signed-off-by: Manjunathappa, Prakash Signed-off-by:

[U-Boot] [PATCH 1/6] da850: add new config file for AM18xx

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte add new configuration file da850_am18xxevm.h for AM18xx boards which are based on da850 SOC. AM18xx has WINBOND spi flash which is indicated in the config file. And make appropriate changes in board.cfg for building. Signed-off-by: Nagabhushana Netagunte --- boards

[U-Boot] [PATCH] da830: add support to read mac addr from EEPROM

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte da830 boards have mac address stored in I2C EEPROM. This patch adds support to restore mac address from EEPROM if environment variable 'ethaddr' is not set. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushana Netagunte --- board/davinci/da8xxevm/da830

Re: [U-Boot] [PATCH 2/2] Makefile: remove mx31pdk exception

2011-09-30 Thread Fabio Estevam
Hi Wolfgang, On Tue, Aug 30, 2011 at 7:52 AM, Stefano Babic wrote: > An entry in the main Makefile for the mx31pdk board is not > necessary, and the board is added to boards.cfg as all > other targets. > > Signed-off-by: Stefano Babic > CC: Wolfgang Denk > --- >  Makefile   |   10 -- >

[U-Boot] [PATCH 0/4] davinci: addition of emac features

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte These patches add features relating davinci emac driver. First patch adds more features for EMAC-PHY auto-negotiation. Second patch adds support for RMII in da830. Patch no.3 adds support in emac driver to work with any of the active PHYs. Last patch removes config C

[U-Boot] [PATCH 2/4] da830: emac: add support for RMII

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte add support for RMII in davinci EMAC driver for da830. da850 RMII support existed already in the driver. New configs are added to extend this support for da830. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushana Netagunte --- drivers/net/davinci_emac

[U-Boot] [PATCH 3/4] davinci: emac: add support for more than 1 PHYs

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte add support for more than 1 PHYs. Many of the davinci platforms have more than 1 PHYs on thier board. This patch extends support in davinci emac driver for upto 3 PHYs. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushana Netagunte --- drivers/net/davi

[U-Boot] [PATCH 1/4] davinci: emac: add new features to autonegotiate for EMAC

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte add more features like DUPLEX, 100MB link speed etc to auto negotiate in EMAC driver. EMAC controller autonegotiates for these features with PHYs which are on the board. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushana Netagunte --- drivers/net/dav

[U-Boot] [PATCH 4/4] davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte remove macro CONFIG_EMAC_MDIO_PHY_NUM and depending macro EMAC_MDIO_PHY_NUM as they are no longer needed with the support for more than 1 PHYs in davinci emac driver.davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM Signed-off-by: Nagabhushana Netagunte --- a

[U-Boot] [PATCH] dm644X: revert cache disable patch

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte revert commit 913a39e9aa4d935948d41cd727d53f5878414a77 as cache disabling is no more needed. Subsequent patches to new cache management framework has fixed EMAC issue with cache coherency. Signed-off-by: Nagabhushana Netagunte --- include/configs/davinci_dvevm.h |

[U-Boot] [PATCH] dm36x: revert cache disable patch

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte revert commit 98c19aff9524e1d0dd6bf39bf7bde5644f121feb as cache disabling is no more needed. Subsequent patches to new cache management framework has fixed EMAC issue with cache coherency. Signed-off-by: Nagabhushana Netagunte --- include/configs/davinci_dm365evm.h

[U-Boot] [PATCH RFC 3/4] env: implement selective "env default"

2011-09-30 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto --- README |2 ++ common/cmd_nvedit.c | 38 -- common/env_common.c | 13 + include/config_cmd_all.h |1 + include/environment.h|5 + 5 files changed, 53 insertions(

[U-Boot] [PATCH RFC 4/4] env: implement "env import -n var[, var...]"

2011-09-30 Thread Gerlando Falauto
Implemented selective importing of variables in env import Signed-off-by: Gerlando Falauto --- common/cmd_nvedit.c | 31 ++- 1 files changed, 26 insertions(+), 5 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 8636004..757a088 100644 --- a

[U-Boot] [PATCH RFC 0/4] Reworking of env

2011-09-30 Thread Gerlando Falauto
Hi all, trying to follow Wolfgang Denk's suggestion in http://lists.denx.de/pipermail/u-boot/2011-September/102118.html: >I agree that it makes sense to generalize and clean up this interface. >It makes sense to select individual variables, and it makes sense to >unify the "-f" handling to enforc

[U-Boot] [PATCH RFC 2/4] env: check and apply changes on delete/destroy

2011-09-30 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto --- common/cmd_nvedit.c |2 +- include/search.h|6 -- lib/hashtable.c | 19 +-- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 05e365a..506a251 100644 --- a/comm

[U-Boot] [PATCH RFC 1/4] Groundwork for generalization of env interface

2011-09-30 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto --- common/cmd_nvedit.c | 150 ++--- common/env_common.c | 15 - include/environment.h |2 + include/search.h | 13 lib/hashtable.c | 48 5 files changed, 169 insertion

[U-Boot] [PATCH v2] feature additions and fixes for da830

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte Changes from last submission:- This patch series had 5 patches. 3 patches got accepted. One patch relating to disabling cache is dropped as we dont need that patch anymore. The patch which remained in this series adds NAND boot mode for da830. Comment relating this

[U-Boot] [PATCH v2] da830: add support for NAND boot mode

2011-09-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte Add support for enabling NAND boot mode in configuration file and add correspanding pinmux support, nand initialize function in board file. Since the environment variable are stored in first block CONFIG_ENV_OFFSET is set to offset 0 from (512 << 10) and also the size

Re: [U-Boot] U-Boot X86 bootstart

2011-09-30 Thread Graeme Russ
Hi Ondrej Kupka On 30/09/11 21:06, Ondra Kupka wrote: > Hello, > > I've been digging a bit in X86 bootstart asm code and found possibly wrong > code, as far as I understand: > > In u-boot/arch/x86/cpu/start.S, there is piece of code to disable caches: > > /* Turn of cache (this might re

Re: [U-Boot] [PATCH V2] I2C: Add i2c_get/set_speed() to mxc_i2c.c

2011-09-30 Thread Stefano Babic
On 09/30/2011 11:56 AM, Heiko Schocher wrote: > Hello Stefano, > > Marek Vasut wrote: >> Signed-off-by: Marek Vasut >> Cc: Stefano Babic >> Cc: Heiko Schocher >> --- >> drivers/i2c/mxc_i2c.c | 31 +++ >> 1 files changed, 23 insertions(+), 8 deletions(-) >> >> V2:

Re: [U-Boot] [PATCH] I2C: Add i2c_get/set_bus_speed() to mxc_i2c.c

2011-09-30 Thread Stefano Babic
On 09/27/2011 06:29 PM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Heiko Schocher > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: W

Re: [U-Boot] The command "nand write.yaffs" is not working correctly

2011-09-30 Thread Peter Pan
Thank you, Zhengxiong. The patch seems reasonable. My nand flash has no bad block currently. That need_skip will skip the oob write part. I will check that after the golden holiday. 在 2011-9-30 下午5:10,"Jin Zhengxiong-R64188" 写道: >> -Original Message- >> From: u-boot-boun...@lists.denx.de

Re: [U-Boot] [PATCH 2/4] da830: emac: add support for RMII

2011-09-30 Thread Mike Frysinger
On Friday, September 30, 2011 07:57:10 nagabhushana.netagu...@ti.com wrote: > --- a/drivers/net/davinci_emac.c > +++ b/drivers/net/davinci_emac.c > @@ -246,7 +246,7 @@ static int gen_get_link_speed(int phy_addr) > if (davinci_eth_phy_read(phy_addr, MII_STATUS_REG, &tmp) && >

Re: [U-Boot] [PATCH] da830: add support to read mac addr from EEPROM

2011-09-30 Thread Mike Frysinger
On Friday, September 30, 2011 07:39:59 nagabhushana.netagu...@ti.com wrote: > --- a/board/davinci/da8xxevm/da830evm.c > +++ b/board/davinci/da8xxevm/da830evm.c this code looks fine ... > --- a/include/configs/da830evm.h > +++ b/include/configs/da830evm.h > > +#define CONFIG_MISC_INIT_R > #undef

Re: [U-Boot] [PATCH 5/6] da850: add support to read mac address from spi flash

2011-09-30 Thread Mike Frysinger
On Friday, September 30, 2011 07:24:26 nagabhushana.netagu...@ti.com wrote: > + if (is_multicast_ether_addr(buff) || > + is_zero_ether_addr(buff)) { NAK: use is_valid_ether_addr() > + sprintf((char *)enetaddr, "%pM", buff); > + > + e

Re: [U-Boot] [PATCH 4/5] GCC4.6: Squash warning in cmd_ubi.c:

2011-09-30 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/5] GCC4.6: Squash warning in lzo1x_decompress.c

2011-09-30 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/5] GCC4,6: Squash warning in cmd_nand.c

2011-09-30 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/5] GCC4.6: Squash warning in vmt.c

2011-09-30 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/5 V2] GCC4.6: Squash warning in vmt.c

2011-09-30 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/5] GCC4.6: Squash warning in nand_bbt.c

2011-09-30 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] I2C: mv_i2c: fix multi-bus init issue

2011-09-30 Thread Lei Wen
When enable the multi-bus, the current_bus is not inited in the original implementation, which make the i2c operation unpredicatable. Signed-off-by: Lei Wen --- drivers/i2c/mv_i2c.c | 42 -- 1 files changed, 24 insertions(+), 18 deletions(-) diff --git

[U-Boot] ubifs: memory possibly not freed

2011-09-30 Thread Renaud Barbier
Looking at the function ubifs_finddir in the file fs/ubifs/ubifs.c, I was wondering if some memory had not been freed before the function returns. 287 static int ubifs_finddir(struct super_block *sb, char *dirname, 288 unsigned long root_inum, unsigned long *inum) 289 { .

[U-Boot] [PATCH] I2C: mv_i2c: fix build issue when enable debug option

2011-09-30 Thread Lei Wen
When DEBUG_I2C is open, the following build issue would shows up. mv_i2c.c: In function 'i2c_transfer': mv_i2c.c:257: error: 'ISR' undeclared (first use in this function) mv_i2c.c:257: error: (Each undeclared identifier is reported only once mv_i2c.c:257: error: for each function it appears in.)

[U-Boot] The Brand Magazine London - we have been listening to you!

2011-09-30 Thread The Brand Magazine London
Hi there You may know SKS Media already from the various luxury and high net worth titles we represent for advertising. We have been listening very closely to organisations in your sector and what you would like to see as an advertising vehicle over the last two years, and we're proud to announ

[U-Boot] [PATCH] x86: turn off cache: set control register properly

2011-09-30 Thread Ondrej Kupka
Bits should be ORed when they are supposed to be added together Cc: Graeme Russ Signed-off-by: Ondrej Kupka --- arch/x86/cpu/start16.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/cpu/start16.S b/arch/x86/cpu/start16.S index 3d3017a..9dabff2 100644 --- a/ar

Re: [U-Boot] [PATCH] omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V

2011-09-30 Thread Steve Sakoman
On Wed, Sep 28, 2011 at 9:47 AM, Ash Charles wrote: > MMC interfaces are specified to be 3.3V compatible with an operating > voltage range of 3.1V to 3.5V for SD cards. This change affects > hardware using TWL4030 (TPS6595x) PMICs and should improve the > reliability when communicating with margin

[U-Boot] omap: overo: Configure mux for gpio10

2011-09-30 Thread Steve Sakoman
This pad was previously configured for sysclkout_1. This patch changes the configuration to gpio_10 to reduce radiated noise from the 26Mhz clock, as well as make the pin more generally useful. Signed-off-by: Steve Sakoman --- diff --git a/board/overo/overo.h b/board/overo/overo.h index d394f90

[U-Boot] omap: overo: Disable pull-ups on camera PCLK, HS and VS signals

2011-09-30 Thread Steve Sakoman
The level shifters used on the Caspa camera module have a 4k output impedance. Combined with the 100uA pull-up resistors in the OMAP3, this raises the ground level to 400mV. Adding crosstalk between the pixel clock and the HS/VS signals on the flat cable (a ground line in between would have been ni

Re: [U-Boot] [PATCH 02/13] BeagleBoard: config: Switch console to ttyO2

2011-09-30 Thread Steve Sakoman
On Mon, Aug 15, 2011 at 7:47 PM, Joel A Fernandes wrote: > Signed-off-by: Koen Kooi > Signed-off-by: Joel A Fernandes > --- >  include/configs/omap3_beagle.h |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beag

[U-Boot] omap: overo: Use ubifs instead of jffs2 for nand

2011-09-30 Thread Steve Sakoman
Signed-off-by: Steve Sakoman --- diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index 9a8ef06..8114194 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/omap3_overo.h @@ -164,8 +164,8 @@ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 rw\0" \

Re: [U-Boot] omap: overo: Use ubifs instead of jffs2 for nand

2011-09-30 Thread Ash Charles
On Fri, Sep 30, 2011 at 12:20 PM, Steve Sakoman wrote: > Signed-off-by: Steve Sakoman Tested-by: Ash Charles ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] omap: beagle: Use ubifs instead of jffs2 for nand boot

2011-09-30 Thread Steve Sakoman
Signed-off-by: Steve Sakoman --- diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index 2c0f5a5..a92ffdf 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -227,8 +227,8 @@ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 rw\0" \

Re: [U-Boot] [PATCH] omap: beagle: Use ubifs instead of jffs2 for nand boot

2011-09-30 Thread Kooi, Koen
On Fri, Sep 30, 2011 at 21:29:11, Steve Sakoman wrote: > Subject: [PATCH] omap: beagle: Use ubifs instead of jffs2 for > nand boot > > Signed-off-by: Steve Sakoman > --- > > diff --git a/include/configs/omap3_beagle.h > b/include/configs/omap3_beagle.h > index 2c0f5a5..a92ffdf 100644 > --- a/inclu

Re: [U-Boot] [PATCH] omap: beagle: Use ubifs instead of jffs2 for nand boot

2011-09-30 Thread Steve Sakoman
On Fri, Sep 30, 2011 at 12:32 PM, Kooi, Koen wrote: > On Fri, Sep 30, 2011 at 21:29:11, Steve Sakoman wrote: >> Subject: [PATCH] omap: beagle: Use ubifs instead of jffs2 for >> nand boot >> >> Signed-off-by: Steve Sakoman >> --- >> >> diff --git a/include/configs/omap3_beagle.h >> b/include/confi

[U-Boot] [PATCH 4/4] tegra2: Add support for Ventana

2011-09-30 Thread Stephen Warren
Ventana is a board which is very similar to Seaboard. Support it by re-using board/nvidia/seaboard/seaboard.c with minor run-time conditionals. Signed-off-by: Stephen Warren --- board/nvidia/seaboard/seaboard.c | 11 ++- board/nvidia/ventana/Makefile| 55 +

[U-Boot] [PATCH 2/4] tegra2: Call gpio_request for SDMMC GPIOs

2011-09-30 Thread Stephen Warren
Without this, the GPIO_CNF register will not be programmed, and hence the GPIO signals will not reach the pins; the pinmux's configured function will be routed to the pins instead. Signed-off-by: Stephen Warren --- board/nvidia/seaboard/seaboard.c |2 ++ 1 files changed, 2 insertions(+), 0 d

[U-Boot] [PATCH 3/4] tegra2: Enable second SD port (J5) on Harmony

2011-09-30 Thread Stephen Warren
Seaboard uses SDMMC4, SDMMC3. Harmony uses SDMMC4, SDMMC2. Move board_init_mmc and gpio_config_mmc into board-specific files, so boards can choose which ports to set up. Split clock_init_mmc and pin_mux_mmc into per-port functions, and export them for use by boards. Signed-off-by: Stephen Warren

[U-Boot] [PATCH 1/4] tegra2: Seaboard's MMC has an 8-bit bus

2011-09-30 Thread Stephen Warren
Modify board_mmc_init to configure SDMMC4 for an 8-bit bus, since that's what is wired up on the board. Signed-off-by: Stephen Warren --- Note: These patches build on various Tegra2-related patches recently posted by Simon Glass; see v2 of the 6-entry patchset shown at: http://patchwork.ozlabs.or

[U-Boot] [PATCH 1/2] image: Support relative-addresses property in FIT images

2011-09-30 Thread Stephen Warren
uImage files contain absolute "load" and "entry" addresses. Such a concept is incompatible with using the same kernel image on multiple SoCs, each with a potentially different SDRAM base. To support that, augment the FIT image syntax with a "relative-addresses" property, which indicates that the "l

[U-Boot] [PATCH 2/2] tegra2: Enable new image format (FIT)

2011-09-30 Thread Stephen Warren
Signed-off-by: Stephen Warren --- include/configs/tegra2-common.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 73e0f05..22ac2f2 100644 --- a/include/configs/tegra2-common.h +++ b/include/configs/te

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

2011-09-30 Thread Albert ARIBAUD
Hi Wolfgang, I have moved the contents of u-boot-arm/next to u-boot-arm/master, and therefore... The following changes since commit 1d5e7fb403257d62f0f2419cb83fdf6b0f02f215: Prepare v2011.09 (2011-09-29 21:11:15 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm.

Re: [U-Boot] [PATCH] x86: turn off cache: set control register properly

2011-09-30 Thread Marek Vasut
On Friday, September 30, 2011 08:27:07 PM Ondrej Kupka wrote: > Bits should be ORed when they are supposed to be added together > > Cc: Graeme Russ > Signed-off-by: Ondrej Kupka > --- > arch/x86/cpu/start16.S |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/x

Re: [U-Boot] [PATCH] x86: turn off cache: set control register properly

2011-09-30 Thread Ondra Kupka
Dear Marek, I am not really sure it would bring any advantage since it is used only on 2 places as far as I know and the meaning of those few lines of code is very clear and commented... Regards, Ondra K. On Fri, Sep 30, 2011 at 10:24 PM, Marek Vasut wrote: > On Friday, September 30, 2011 08:2

Re: [U-Boot] [PATCH] x86: turn off cache: set control register properly

2011-09-30 Thread Marek Vasut
On Friday, September 30, 2011 10:56:03 PM Ondra Kupka wrote: > Dear Marek, > > I am not really sure it would bring any advantage since it is used only on > 2 places as far as I know and the meaning of those few lines of code is > very clear and commented... > > Regards, > Ondra K. Dear Ondrej Ku

Re: [U-Boot] [PATCH 3/4] davinci: emac: add support for more than 1 PHYs

2011-09-30 Thread Laurence Withers
On Fri, Sep 30, 2011 at 05:27:11PM +0530, nagabhushana.netagu...@ti.com wrote: > add support for more than 1 PHYs. Many of the davinci platforms have more > than 1 PHYs on thier board. This patch extends support in davinci emac > driver for upto 3 PHYs. As a nitpick, there is a typo in "thier", wh

Re: [U-Boot] [PATCH 1/4] davinci: emac: add new features to autonegotiate for EMAC

2011-09-30 Thread Laurence Withers
On Fri, Sep 30, 2011 at 05:27:09PM +0530, nagabhushana.netagu...@ti.com wrote: > From: Nagabhushana Netagunte > > add more features like DUPLEX, 100MB link speed etc to auto negotiate > in EMAC driver. EMAC controller autonegotiates for these features with > PHYs which are on the board. > > Sign

[U-Boot] Can you help me?

2011-09-30 Thread Philip Y Wong
I am Sgt John Adams of the US Army base in Iraq for peace keeping I found your contact detail in a address journal am seeking your assistance to evacuate the sum of $25,000,000 to you as long as I am assured that it will be safe in your care until I complete my service here in Iraq. This is not

Re: [U-Boot] [PATCH 4/6] da850: revert cache disable patch

2011-09-30 Thread Laurence Withers
On Fri, Sep 30, 2011 at 04:54:25PM +0530, nagabhushana.netagu...@ti.com wrote: > From: Nagabhushana Netagunte > > revert commit bd65d006a6088bcb857e079447d7549e2cd7054d as cache > disabling is no more needed. Subsequent patches to new cache > management framework has fixed EMAC issue with cache c

Re: [U-Boot] [PATCH RFC 4/4] env: implement "env import -n var[, var...]"

2011-09-30 Thread Mike Frysinger
On Friday, September 30, 2011 08:04:58 Gerlando Falauto wrote: > + if (nvars >= MAX_NVARS) > + { that brace needs to be cuddled -mike ___ U-Boot mailing list U-Boot@lists.denx.de htt

[U-Boot] [PATCH] Tell git to ignore asm-offsets.s

2011-09-30 Thread Laurence Withers
The generated file asm-offsets.s may be found at various depths in the arch subdirectories, so simply ignore it throughout the tree. Signed-off-by: Laurence Withers --- .gitignore |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2a82cd9..e8

Re: [U-Boot] Application of patch submitted during the previous Merge Window

2011-09-30 Thread Mike Frysinger
On Sunday, September 25, 2011 15:55:07 Wolfgang Denk wrote: > Using gerrit? Hm... All my work in this context is e-mail based, and > I think many others work in a similar way. Web-based tools may be > more "modern", but I have to admit that I am not convinced that they > are any more helpful or e

  1   2   >