Re: [U-Boot] [RFC][Timer API] Revised Specification - Implementation details

2011-05-31 Thread Wolfgang Denk
Dear Graeme Russ, In message BANLkTikZUkk1EaYqCg=5mb2npva2ie6...@mail.gmail.com you wrote: Don't forget the API will have a get_current_ms() so we can do duration I don't think we will have this. We have get_timer() (or, as recently suggested, renamed it into time_read() or similar). We

Re: [U-Boot] [RFC][Timer API] Revised Specification - Implementation details

2011-05-31 Thread Wolfgang Denk
Dear Reinhard Meyer, In message 4de47ea1.1090...@emk-elektronik.de you wrote: All you can throw into the timer discussion is critics and pointless remarks, but I miss any productive input from you except sometimes pointing out how powerpc does it. Thanks you very much. We DO have most of

Re: [U-Boot] at91sam9260ek and mmc

2011-05-31 Thread Jan Pohanka
Thank you for answer, I have a custom board where SD and dataflash are not exclusive - I used 9260ek just for preliminary testing and did not check the schematics. 2011/5/30 Reinhard Meyer u-b...@emk-elektronik.de: Dear Jan Pohanka, I'm trying to get u-boot 2010.12 working on at91sam9260ek

Re: [U-Boot] [RFC][Timer API] Revised Specification - Implementation details

2011-05-31 Thread Graeme Russ
Hi Wolfgang, On Tue, May 31, 2011 at 4:03 PM, Wolfgang Denk w...@denx.de wrote: Dear Graeme Russ, In message BANLkTikZUkk1EaYqCg=5mb2npva2ie6...@mail.gmail.com you wrote: Don't forget the API will have a get_current_ms() so we can do duration I don't think we will have this. We have

Re: [U-Boot] [RFC][Timer API] Revised Specification - Implementation details

2011-05-31 Thread Graeme Russ
Hi Wolfgang, On Tue, May 31, 2011 at 3:49 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message BANLkTi=t_pzb9toptqunzxarvqshn80...@mail.gmail.com you wrote: I do think it would be nice to put a time_ prefix before all the time functions, but this is a pretty minor point.

Re: [U-Boot] [RFC][Timer API] Revised Specification - Implementation details

2011-05-31 Thread Graeme Russ
going to be critical for boot profiling and I see no reason to think about it now rather than later. going to be critical for boot profiling and I see no reason NOT to think about it now rather than later. Oops, Regards, Graeme ___ U-Boot mailing

Re: [U-Boot] [PATCH v3 02/10] armv7: add miscellaneous utility macros

2011-05-31 Thread V, Aneesh
Hi Wolfgang, On Tue, May 17, 2011 at 2:57 PM, Wolfgang Denk w...@denx.de wrote: Dear Aneesh V, In message 4dd23561.70...@ti.com you wrote: In fact I had searched for a macro for similar needs as my set_bit_field() is addressing in Linux Kernel too but didn't find any. ... I couldn't find

[U-Boot] Reg. CFI flash_init and hardware write protected devices

2011-05-31 Thread Frank Svendsbøe
We have a board that feature NOR flash and hardware write protection is handled by controlling the write enable pin. When write protection is enabled, the nWE pin is forced high by external logic. The memory controller and/or CFI logic is unaware of this, and since CFI uses write enable as part of

[U-Boot] [PATCH] sh: Fix rsk7203 alignment problem

2011-05-31 Thread Phil Edworthy
Signed-off-by: Phil Edworthy phil.edwor...@renesas.com --- board/renesas/rsk7203/lowlevel_init.S |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/renesas/rsk7203/lowlevel_init.S b/board/renesas/rsk7203/lowlevel_init.S index 30ef5ab..ef4e341 100644 ---

Re: [U-Boot] [PATCH v3 0/8] keymile arm boards update, part 2

2011-05-31 Thread Albert ARIBAUD
Le 30/05/2011 22:15, Albert ARIBAUD a écrit : Le 30/05/2011 21:57, Albert ARIBAUD a écrit : Le 30/05/2011 21:49, Albert ARIBAUD a écrit : Le 30/05/2011 21:24, Wolfgang Denk a écrit : Dear Holger Brunck, In message4de3bf02.3060...@keymile.com you wrote: could you please give us a short

[U-Boot] [PATCH v3 rebase 6/8] arm/km: rename mgcoge2un to mgcoge3un

2011-05-31 Thread Valentin Longchamp
The mgcoge2un target was only an intermediate step to mgcoge3un. For this reason the mgcoge2un support was moved to mgcoge3un, because it isn't needed to support both targets. We add the BootROM init file for the mgcoge3un memphis RAM. We also move the suen3 and suen8 boards into the correct

[U-Boot] [PATCH v3 rebase 7/8] mvgbe: enable configurability of PORT_SERIAL_CONTROL_VALUE

2011-05-31 Thread Valentin Longchamp
This allows this configuration to be defined differently for some boards that request it. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Holger Brunck holger.bru...@keymile.com cc: Heiko Schocher h...@denx.de cc: Wolfgang Denk w...@denx.de cc: Detlev Zundel d...@denx.de cc:

[U-Boot] [PATCH v3 rebase 0/8] keymile arm boards update, part 2

2011-05-31 Thread Valentin Longchamp
This series is the second effort of merging the Keymile boards support back into mainline. This series is a subset of the first patch series: http://lists.denx.de/pipermail/u-boot/2011-April/090013.html The first large series was split up to three independent series, which are easier to review

[U-Boot] [PATCH v3 rebase 4/8] arm/km: disable ls (through jffs2 support)

2011-05-31 Thread Valentin Longchamp
This is not supported on our km-arm boards since we have defined CONFIG_SYS_NO_FLASH for our NAND Flash chip. With CONFIG_CMD_JFFS2, the ls command is present and works very badly on our km-arm boards. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com Signed-off-by: Holger Brunck

[U-Boot] [PATCH v3 rebase 8/8] arm/km: update mgcoge3un board support

2011-05-31 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com We change default settings for egiga on mgcoge3un. The reason we need this is that we have the gig port on mgcoge3un connected using a back-to-back pair of PHYs. There are no magnetics and because of that the port has to be run with a fixd

[U-Boot] [PATCH v3 rebase 2/8] arm/km: move CONFIG_EXTRA_ENV_SETTINGS from board to km_arm file

2011-05-31 Thread Valentin Longchamp
Since all the boards define the same env settings, this simplifies the board files. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Holger Brunck holger.bru...@keymile.com cc: Heiko Schocher h...@denx.de cc: Wolfgang Denk w...@denx.de cc: Detlev Zundel d...@denx.de cc:

[U-Boot] [PATCH v3 rebase 1/8] arm/km: remove CONFIG_SYS_KWD_CONFIG from keymile-common.h

2011-05-31 Thread Valentin Longchamp
This define is marvell specific, so it should be present in km_arm. It is however not needed there either, since we set it to the default value that is already set in include/asm/arch-kirkwood/config.h Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Holger Brunck

[U-Boot] [PATCH v3 rebase 3/8] arm/km: introduce bootcount env variable and clean km_arm

2011-05-31 Thread Valentin Longchamp
This environment variable is used to set the bootcount address for the kernel. last_stage_init is not available for arm platforms. So the calls to set_km_var and set_bootcount_addr are done in misc_init_r. Additionally some unneeded printouts were removed. Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH v3 rebase 5/8] arm/km: add second serial interface for kirkwood

2011-05-31 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com Acked-by: Heiko Schocher h...@denx.de cc: Wolfgang Denk w...@denx.de cc: Detlev Zundel d...@denx.de cc: Prafulla Wadaskar

Re: [U-Boot] Reg. CFI flash_init and hardware write protected devices

2011-05-31 Thread Mike Frysinger
On Tuesday, May 31, 2011 04:35:17 Frank Svendsbøe wrote: Now, in board code our redefined flash_init will be called. But if write protection is off, we call the original function, eg. __flash_init. if your code is simply setting the pin high at init time and then never bringing it back down,

[U-Boot] [PATCH] USB: Ethernet: asix.c: Added support for AX88178 based devices

2011-05-31 Thread David Jander
Completed command definitions copied from linux driver source. Implemented support for AX88178 by copying and rewriting bits and pieces from the linux asix driver. Signed-off-by: David Jander da...@protonic.nl --- drivers/usb/eth/asix.c | 236 +---

Re: [U-Boot] Reg. CFI flash_init and hardware write protected devices

2011-05-31 Thread Stefan Roese
Hi Frank, On Tuesday 31 May 2011 10:35:17 Frank Svendsbøe wrote: We have a board that feature NOR flash and hardware write protection is handled by controlling the write enable pin. When write protection is enabled, the nWE pin is forced high by external logic. The memory controller and/or

[U-Boot] u-boot@lists.denx.de 您获得了在线英语教学名额

2011-05-31 Thread 韦博国际英语
u-boot@lists.denx.de 您获得了在线英语教学名额 Dear u-boot@lists.denx.de, 看上去似乎您的e-mail软件不支持HTML。 请访问下面的网页使您能够在网页浏览其中阅读这条信息: http://emarketing-china.dmdelivery.com/x/?S7Y1NPqfa2thaPa.CMg0MDYwMrL8n2NraW4CAAc69___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] net: Add SMSC89128 support

2011-05-31 Thread Phil Edworthy
Signed-off-by: Phil Edworthy phil.edwor...@renesas.com Cc: Ben Warren biggerbadder...@gmail.com --- drivers/net/smc911x.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index 05e007c..467ec25 100644 ---

Re: [U-Boot] Reg. CFI flash_init and hardware write protected devices

2011-05-31 Thread Frank Svendsbøe
Hi Mike, On Tue, May 31, 2011 at 2:49 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday, May 31, 2011 04:35:17 Frank Svendsbøe wrote: Now, in board code our redefined flash_init will be called. But if write protection is off, we call the original function, eg. __flash_init. if your

Re: [U-Boot] [PATCH] net: Add SMSC89128 support

2011-05-31 Thread Wolfgang Denk
Dear Phil Edworthy, In message 1306848213-8190-1-git-send-email-phil.edwor...@renesas.com you wrote: Signed-off-by: Phil Edworthy phil.edwor...@renesas.com Cc: Ben Warren biggerbadder...@gmail.com --- drivers/net/smc911x.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)

[U-Boot] [PATCH v2] net: Add SMSC89128 support

2011-05-31 Thread Phil Edworthy
Signed-off-by: Phil Edworthy phil.edwor...@renesas.com Cc: Ben Warren biggerbadder...@gmail.com --- Changes for v2: - Changed to keep list sorted drivers/net/smc911x.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index

[U-Boot] [PATCH] SMDKV310: Fix incorrect conditional compilation for MIU linear mapping

2011-05-31 Thread Thomas Abraham
Fix the incorrect macro check for MIU linear mapping conditional compilation. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- board/samsung/smdkv310/mem_setup.S |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/samsung/smdkv310/mem_setup.S

Re: [U-Boot] Reg. CFI flash_init and hardware write protected devices

2011-05-31 Thread Frank Svendsbøe
Hi Stefan, On Tue, May 31, 2011 at 3:10 PM, Stefan Roese s...@denx.de wrote: Hi Frank, On Tuesday 31 May 2011 10:35:17 Frank Svendsbøe wrote: We have a board that feature NOR flash and hardware write protection is handled by controlling the write enable pin. When write protection is

Re: [U-Boot] Reg. CFI flash_init and hardware write protected devices

2011-05-31 Thread Mike Frysinger
On Tuesday, May 31, 2011 09:25:54 Frank Svendsbøe wrote: Having the possibility to control this pin in software wouldn't make it hardware write protection would it? yes, it would. software write protection is what u-boot offers today -- the software checks the addresses before allowing

Re: [U-Boot] Reg. CFI flash_init and hardware write protected devices

2011-05-31 Thread Stefan Roese
Hi Frank, On Tuesday 31 May 2011 15:55:56 Frank Svendsbøe wrote: Understood. But why don't you disable write-protection when you first call flash_init()? And enable the write-protection after the chip is correctly detected? Simply because disabling write-protection is not impossible

[U-Boot] [PATCH] sh: Add Renesas rsk7264 board

2011-05-31 Thread Phil Edworthy
The rsk7264 (also know as rsk2+sh7264) is an SH2A based board with 64MB NAND flash and 64MB SDRAM. It is very similar to the rsk7203 board. Signed-off-by: Phil Edworthy phil.edwor...@renesas.com Cc: Nobuhiro Iwamatsu iwama...@nigauri.org --- arch/sh/cpu/sh2/cpu.c |7 +

Re: [U-Boot] [PATCH v3 rebase 0/8] keymile arm boards update, part 2

2011-05-31 Thread Albert ARIBAUD
Hi Valentin, Le 31/05/2011 14:12, Valentin Longchamp a écrit : This series is the second effort of merging the Keymile boards support back into mainline. This series is a subset of the first patch series: http://lists.denx.de/pipermail/u-boot/2011-April/090013.html The first large series

Re: [U-Boot] [IXP42x PATCH series v5 00/17] Overview

2011-05-31 Thread Albert ARIBAUD
Hi all, Le 22/05/2011 23:59, Michael Schwingen a écrit : Hi, this is V5 of the IXP42x patch series - it is now based on Marek's u-boot-pxa.git, with one additional fix: - fix one missing I/O accessor in get_ticks() in Patch #0004 cu Michael Michael Schwingen (17): add XScale sub

Re: [U-Boot] [PATCH v2] ARMV7: Vexpress: Add missing MMC header

2011-05-31 Thread Albert ARIBAUD
Le 23/05/2011 19:40, Dirk Behme a écrit : From: Dirk Behmedirk.be...@googlemail.com Add a header file with the missing function prototype to fix ca9x4_ct_vxp.c: In function 'cpu_mmc_init': ca9x4_ct_vxp.c:93: warning: implicit declaration of function 'arm_pl180_mmci_init' introduced by

Re: [U-Boot] [PATCH v2] ARMV7: Vexpress: Add missing MMC header

2011-05-31 Thread Dirk Behme
On 31.05.2011 20:18, Albert ARIBAUD wrote: Le 23/05/2011 19:40, Dirk Behme a écrit : From: Dirk Behmedirk.be...@googlemail.com Add a header file with the missing function prototype to fix ca9x4_ct_vxp.c: In function 'cpu_mmc_init': ca9x4_ct_vxp.c:93: warning: implicit declaration of

Re: [U-Boot] [IXP42x PATCH series v5 00/17] Overview

2011-05-31 Thread Marek Vasut
On Tuesday, May 31, 2011 08:02:47 PM Albert ARIBAUD wrote: Hi all, Le 22/05/2011 23:59, Michael Schwingen a écrit : Hi, this is V5 of the IXP42x patch series - it is now based on Marek's u-boot-pxa.git, with one additional fix: - fix one missing I/O accessor in get_ticks() in

Re: [U-Boot] [IXP42x PATCH series v5 00/17] Overview

2011-05-31 Thread Albert ARIBAUD
Hi Marek, Le 31/05/2011 20:51, Marek Vasut a écrit : On Tuesday, May 31, 2011 08:02:47 PM Albert ARIBAUD wrote: Hi all, Le 22/05/2011 23:59, Michael Schwingen a écrit : Hi, this is V5 of the IXP42x patch series - it is now based on Marek's u-boot-pxa.git, with one additional fix: -

Re: [U-Boot] [PATCH v2] ARMV7: Vexpress: Add missing MMC header

2011-05-31 Thread Albert ARIBAUD
Hi Dirk, Le 31/05/2011 20:41, Dirk Behme a écrit : On 31.05.2011 20:18, Albert ARIBAUD wrote: Le 23/05/2011 19:40, Dirk Behme a écrit : From: Dirk Behmedirk.be...@googlemail.com Add a header file with the missing function prototype to fix ca9x4_ct_vxp.c: In function 'cpu_mmc_init':

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

2011-05-31 Thread Albert ARIBAUD
Hi Wolfgang, The following changes since commit 5d1ee00b1fe1180503f6dfc10e87a6c6e74778f3: .gitignore: update list of u-boot.* files and add *.bin (2011-05-22 23:46:26 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm.git master Chander Kashyap (4): S5P:

[U-Boot] [PATCH 1/2] mmc: Tegra2: SD/MMC driver for Seaboard - eMMC on SDMMC4, SDIO on SDMMC3

2011-05-31 Thread Tom Warren
Signed-off-by: Tom Warren twar...@nvidia.com --- arch/arm/include/asm/arch-tegra2/clk_rst.h |5 + arch/arm/include/asm/arch-tegra2/pinmux.h |6 + board/nvidia/common/board.c| 147 board/nvidia/common/board.h|1 + drivers/mmc/Makefile

[U-Boot] [PATCH 2/2] mmc: Tegra2: Enable SD/MMC driver for Seaboard and Harmony

2011-05-31 Thread Tom Warren
Signed-off-by: Tom Warren twar...@nvidia.com --- include/configs/harmony.h | 11 +++ include/configs/seaboard.h | 11 +++ 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/include/configs/harmony.h b/include/configs/harmony.h index 34bd899..89e4911 100644 ---

[U-Boot] [PATCH V2] Kirkwood: boards cleanup for deprecated CONFIG_CMD_AUTOSCRIPT

2011-05-31 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net --- Resent on behalf of the Marvell custodian V2: reworked to apply on top of current u-boot-arm/master V1: initial submission include/configs/aspenite.h |1 - include/configs/dkb.h |1 - include/configs/openrd.h |1 -

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

2011-05-31 Thread John Rigby
On Tue, May 31, 2011 at 2:31 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Wolfgang, The following changes since commit 5d1ee00b1fe1180503f6dfc10e87a6c6e74778f3:   .gitignore: update list of u-boot.* files and add *.bin (2011-05-22 23:46:26 +0200) are available in the git

Re: [U-Boot] Is there a working 2011 version of u-boot on i.MX31?

2011-05-31 Thread Fabio Estevam
Hi Helmut, On Mon, May 30, 2011 at 5:00 AM, Helmut Raiger helmut.rai...@hale.at wrote:     ... only to generate the same result. We even tested on different machines, again the same result. What toolchain are you guys using? I have just built top-of-tree U-boot for MX31PDK and it booted fine

Re: [U-Boot] [PATCH v3 02/10] armv7: add miscellaneous utility macros

2011-05-31 Thread Simon Glass
On Tue, May 31, 2011 at 12:54 AM, V, Aneesh ane...@ti.com wrote: Hi Wolfgang, On Tue, May 17, 2011 at 2:57 PM, Wolfgang Denk w...@denx.de wrote: Dear Aneesh V, In message 4dd23561.70...@ti.com you wrote: In fact I had searched for a macro for similar needs as my set_bit_field() is

Re: [U-Boot] [PATCH] SMDKV310: CPU fequency and mmc_pre_ratio modified

2011-05-31 Thread Minkyu Kang
On 26 May 2011 20:10, Chander Kashyap chander.kash...@linaro.org wrote: Modifies CPU Frequency to 1GHz and removes hard coding of mmc_pre_ratio for MMC Channel2 in FSYS2 register. Signed-off-by: Chander Kashyap chander.kash...@linaro.org ---  board/samsung/smdkv310/lowlevel_init.S |    4

Re: [U-Boot] [PATCH] SMDKV310: Fix incorrect conditional compilation for MIU linear mapping

2011-05-31 Thread Minkyu Kang
On 31 May 2011 22:52, Thomas Abraham thomas.abra...@linaro.org wrote: Fix the incorrect macro check for MIU linear mapping conditional compilation. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---  board/samsung/smdkv310/mem_setup.S |    4 ++--  1 files changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH] sh: Add Renesas rsk7264 board

2011-05-31 Thread Nobuhiro Iwamatsu
On Tue, May 31, 2011 at 04:22:49PM +0100, Phil Edworthy wrote: The rsk7264 (also know as rsk2+sh7264) is an SH2A based board with 64MB NAND flash and 64MB SDRAM. It is very similar to the rsk7203 board. Signed-off-by: Phil Edworthy phil.edwor...@renesas.com Cc: Nobuhiro Iwamatsu

[U-Boot] Please pull u-boot-sh

2011-05-31 Thread Nobuhiro Iwamatsu
Dear Wolfgang Denk. Please pull u-boot-sh/master. The following changes since commit 5d1ee00b1fe1180503f6dfc10e87a6c6e74778f3: .gitignore: update list of u-boot.* files and add *.bin (2011-05-22 23:46:26 +0200) are available in the git repository at: git://git.denx.de/u-boot-sh.git master

Re: [U-Boot] at91sam9260ek and mmc

2011-05-31 Thread Jan Pohanka
Hi Joey, 2011/5/31 Joey Oravec jora...@drewtech.com: Hi - I don't know about the dataflash question, but search back on the mailing lists for a few of my threads about mmc/sd. We ship a few sam9261 based products and the controller has issues. If mmc/sd is critical to your product you