Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread Graeme Russ
On 22/05/11 14:26, Reinhard Meyer wrote: Dear Graeme Russ, Hi All, I've just had a good look through the timer API code with the view of rationalising it and fixing up some of the inconsistencies. What I found was a little scarier than I expected! Anyway, here is a write-up of what I found

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread J. William Campbell
On 5/21/2011 9:26 PM, Reinhard Meyer wrote: Dear Graeme Russ, Hi All, I've just had a good look through the timer API code with the view of rationalising it and fixing up some of the inconsistencies. What I found was a little scarier than I expected! Anyway, here is a write-up of what I

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread J. William Campbell
On 5/21/2011 11:23 PM, Graeme Russ wrote: On 22/05/11 14:26, Reinhard Meyer wrote: Dear Graeme Russ, Hi All, I've just had a good look through the timer API code with the view of rationalising it and fixing up some of the inconsistencies. What I found was a little scarier than I expected!

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread Graeme Russ
On 22/05/11 17:21, J. William Campbell wrote: On 5/21/2011 11:23 PM, Graeme Russ wrote: On 22/05/11 14:26, Reinhard Meyer wrote: - shall not be used for delays in the seconds range and longer (or any other limit we see practical) Any udelay up to the full range of a ulong should be handled

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread Reinhard Meyer
Dear J. William Campbell, please demonstrate for me (and others), by a practical example, how _any_ arithmetic (even less with just shifts and multiplies) can convert a free running 3.576 MHz (wild example) free running 32 bit counter (maybe software extended to 64 bits) into a ms value that will

Re: [U-Boot] [IXP42x PATCH series v4 08/17] update/fix AcTux1 board

2011-05-22 Thread Marek Vasut
On Saturday, May 21, 2011 02:03:24 AM Marek Vasut wrote: On Wednesday, April 06, 2011 11:49:09 PM Michael Schwingen wrote: Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: - move -ffunction-sections/--gc-sections to board config.mk - add wildcard to bss

Re: [U-Boot] [IXP42x PATCH series v4 06/17] support CONFIG_SYS_LDSCRIPT on ARM

2011-05-22 Thread Marek Vasut
On Wednesday, April 06, 2011 11:49:07 PM Michael Schwingen wrote: Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V3: - new in V3, replaces config.mk files in earlier patches Changes for V4: - add changelog arch/arm/config.mk |6 ++ 1 files changed, 6

Re: [U-Boot] [IXP42x PATCH series v4 04/17] Fix IXP code to work after relocation was added

2011-05-22 Thread Michael Schwingen
Am 05/21/2011 01:58 AM, schrieb Marek Vasut: -int timer_init (void) +unsigned long long get_ticks(void) { -/* install interrupt handler for timer */ -irq_install_handler(IXP425_TIMER_2_IRQ, timer_isr, (void *)timestamp); - -/* setup the Timer counter value */ -

Re: [U-Boot] [IXP42x PATCH series v4 08/17] update/fix AcTux1 board

2011-05-22 Thread Michael Schwingen
Am 05/21/2011 02:03 AM, schrieb Marek Vasut: -int board_init (void) +int board_early_init_f(void) +{ +/* CS5: Debug port */ +writel(0x9d520003, IXP425_EXP_CS5); +/* CS6: HwRel */ +writel(0x81860001, IXP425_EXP_CS6); +/* CS7: LEDs */ +writel(0x8093,

[U-Boot] bank8 im OMAP-L138

2011-05-22 Thread Ran Shalit
Hello, It seems that bank 8 is missing in [u-boot.git] http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree / arch http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=arch / armhttp://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=arch/arm/

Re: [U-Boot] [IXP42x PATCH series v4 13/17] add dvlhost (dLAN 200 AV Wireless G) board

2011-05-22 Thread Michael Schwingen
Am 05/21/2011 02:06 AM, schrieb Marek Vasut: +/* Setup GPIO's for 33MHz clock output */ +GPIO_OUTPUT_ENABLE(CONFIG_SYS_GPIO_PCI_CLK); +GPIO_OUTPUT_ENABLE(CONFIG_SYS_GPIO_EXTBUS_CLK); +writel(0x01FF01FF, IXP425_GPIO_GPCLKR); + +/* turn off all LEDs */ +writew(0x,

Re: [U-Boot] [PATCH] MPC8xx: Make SPD823TS board build again

2011-05-22 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1305969194-11721-1-git-send-email...@denx.de you wrote: Commit e59e356 TFTP: net/tftp.c: add server mode receive caused the size of some object files to grow which breaks the manually optimized linking for the SPD823TS board. Adjust linker script as needed.

Re: [U-Boot] [PATCH v2] .gitignore: update list of u-boot.* files and add *.bin

2011-05-22 Thread Wolfgang Denk
Dear Eric Cooper, In message 1305941627-17522-1-git-send-email-...@cmu.edu you wrote: This patch adds additional u-boot.* files mentioned in Makefile, and adds *.bin since these are deleted as part of make clean. Signed-off-by: Eric Cooper e...@cmu.edu --- Changes since v1: Added more

Re: [U-Boot] [IXP42x PATCH series v4 08/17] update/fix AcTux1 board

2011-05-22 Thread Michael Schwingen
Am 05/22/2011 05:36 PM, schrieb Marek Vasut: On Saturday, May 21, 2011 02:03:24 AM Marek Vasut wrote: On Wednesday, April 06, 2011 11:49:09 PM Michael Schwingen wrote: Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: - move -ffunction-sections/--gc-sections to

[U-Boot] [IXP42x PATCH series v5 06/17] support CONFIG_SYS_LDSCRIPT on ARM

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V3: - new in V3, replaces config.mk files in earlier patches Changes for V4: - add changelog Changes for V5: arch/arm/config.mk |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git

[U-Boot] [IXP42x PATCH series v5 01/17] add XScale sub architecture (IXP/PXA) to maintainer list

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: Changes for V3: - change patch description - drop wepep250 (should already be deleted) Changes for V4: - add changelog Changes for V5: MAINTAINERS | 44 ++-- 1 files changed,

[U-Boot] [IXP42x PATCH series v5 15/17] update/fix PDNB3 board

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V3: - new in V3 (split from update_fix some more IXP42x boards in V2) Changes for V4: - add changelog Changes for V5: board/prodrive/pdnb3/config.mk |2 -- include/configs/pdnb3.h| 10 +++--- 2 files

[U-Boot] [IXP42x PATCH series v5 05/17] fix depend target in npe directory

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: Changes for V3: Changes for V4: - add changelog Changes for V5: arch/arm/cpu/ixp/npe/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/ixp/npe/Makefile

[U-Boot] [IXP42x PATCH series v5 12/17] IXP NPE: add support for fixed-speed MII ports

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: Changes for V3: - coding style / indentation cleanup - move config.h changes to AcTux2/AcTux3 board patches Changes for V4: - add changelog Changes for V5: arch/arm/cpu/ixp/npe/npe.c | 67

[U-Boot] [IXP42x PATCH series v5 03/17] trigger hardware watchdog in IXP42x serial driver

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: Changes for V3: - coding style fixes Changes for V4: - add changelog Changes for V5: drivers/serial/serial_ixp.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git

[U-Boot] [IXP42x PATCH series v5 08/17] update/fix AcTux1 board

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: - move -ffunction-sections/--gc-sections to board config.mk - add wildcard to bss segment in linker script Changes for V3: - use I/O accessors - coding style fixes - add PCI clock/reset initialization - use

[U-Boot] [IXP42x PATCH series v5 02/17] add support for IXP42x Rev. B1 and newer

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: Changes for V3: - reformat to wrap long lines Changes for V4: - add changelog Changes for V5: arch/arm/cpu/ixp/npe/npe.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git

[U-Boot] [IXP42x PATCH series v5 09/17] update/fix AcTux2 board

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: - move -ffunction-sections/--gc-sections to board config.mk - add wildcard to bss segment in linker script Changes for V3: - use I/O accessors - coding style fixes - use get_ram_size in dram_init - remove config.mk -

[U-Boot] [IXP42x PATCH series v5 10/17] update/fix AcTux3 board

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: - move -ffunction-sections/--gc-sections to board config.mk - add wildcard to bss segment in linker script Changes for V3: - use I/O accessors - coding style fixes - use get_ram_size in dram_init - remove config.mk -

[U-Boot] [IXP42x PATCH series v5 13/17] add dvlhost (dLAN 200 AV Wireless G) board

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: - move -ffunction-sections/--gc-sections to board config.mk - add wildcard to bss segment in linker script - add ethprime/ethrotate to default environment Changes for V3: - use I/O accessors - coding style fixes - add

[U-Boot] [IXP42x PATCH series v5 07/17] use -ffunction-sections / --gc-sections on IXP42x

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: - remove changes from config.mk and board config.h files - add wildcards to sections in arch/arm/cpu/ixp/u-boot.lds Changes for V3: - set compiler/linker flags in arch/arm/cpu/ixp/config.mk instead of per-board

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

2011-05-22 Thread Michael Schwingen
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 architecture (IXP/PXA) to maintainer list add support for IXP42x

[U-Boot] [IXP42x PATCH series v5 04/17] Fix IXP code to work after relocation was added

2011-05-22 Thread Michael Schwingen
- jump to real flash location after reset before turning off flash mirror - fix timer system to use HZ == 1000, remove broken interrupt-based code Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: - fix patch description Changes for V3: - use I/O accessors - move

[U-Boot] [IXP42x PATCH series v5 16/17] IXP42x PCI rewrite

2011-05-22 Thread Michael Schwingen
clean up IXP PCI handling: get rid of IXP-private bus scan, BAR assign etc. code and use u-boot's PCI infrastructure instead. Move board-specific PCI setup code (clock/reset) to board directory. Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V3: - new in V3 Changes for

[U-Boot] [IXP42x PATCH series v5 11/17] update/fix AcTux4 board

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V2: Changes for V3: - coding style / indentation cleanup - move config.h changes to AcTux2/AcTux3 board patches Changes for V4: - add changelog Changes for V5: board/actux4/actux4.c| 103

[U-Boot] [IXP42x PATCH series v5 14/17] update/fix IXDP425 / IXDPG425 boards

2011-05-22 Thread Michael Schwingen
Signed-off-by: Michael Schwingen mich...@schwingen.org --- Changes for V3: - new in V3 (split from update_fix some more IXP42x boards in V2) Changes for V4: - add changelog Changes for V5: board/ixdp425/config.mk|2 - board/ixdp425/flash.c | 427

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread Graeme Russ
Dear Reinhard, On Sun, May 22, 2011 at 6:15 PM, Reinhard Meyer u-b...@emk-elektronik.de wrote: Dear J. William Campbell, please demonstrate for me (and others), by a practical example, how _any_ arithmetic (even less with just shifts and multiplies) can convert a free running 3.576 MHz (wild

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread J. William Campbell
On 5/22/2011 1:15 AM, Reinhard Meyer wrote: Dear J. William Campbell, please demonstrate for me (and others), by a practical example, how _any_ arithmetic (even less with just shifts and multiplies) can convert a free running 3.576 MHz (wild example) free running 32 bit counter (maybe software

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread J. William Campbell
On 5/22/2011 5:02 PM, Graeme Russ wrote: Dear Reinhard, On Sun, May 22, 2011 at 6:15 PM, Reinhard Meyer u-b...@emk-elektronik.de wrote: Dear J. William Campbell, please demonstrate for me (and others), by a practical example, how _any_ arithmetic (even less with just shifts and

Re: [U-Boot] [IXP42x PATCH series v4 04/17] Fix IXP code to work after relocation was added

2011-05-22 Thread Marek Vasut
On Sunday, May 22, 2011 09:15:03 PM Michael Schwingen wrote: Am 05/21/2011 01:58 AM, schrieb Marek Vasut: -int timer_init (void) +unsigned long long get_ticks(void) { - /* install interrupt handler for timer */ - irq_install_handler(IXP425_TIMER_2_IRQ, timer_isr, (void

Re: [U-Boot] [IXP42x PATCH series v5 06/17] support CONFIG_SYS_LDSCRIPT on ARM

2011-05-22 Thread Marek Vasut
On Monday, May 23, 2011 12:00:02 AM Michael Schwingen wrote: Signed-off-by: Michael Schwingen mich...@schwingen.org --- Honestly, I don't really understand this one ... Wolfgang, is this one OK to merge ? Changes for V3: - new in V3, replaces config.mk files in earlier patches Changes for

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread Graeme Russ
Hi Bill, On Mon, May 23, 2011 at 10:14 AM, J. William Campbell jwilliamcampb...@comcast.net wrote: On 5/22/2011 1:15 AM, Reinhard Meyer wrote: Dear J. William Campbell, please demonstrate for me (and others), by a practical example, how _any_ arithmetic (even less with just shifts and

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread Graeme Russ
OK, so in summary, we can (in theory) have: - A timer API in /lib/ with a single u32 get_timer(u32 base) function - A HAL with two functions - u32 get_raw_ticks() - u32 get_raw_tick_rate() which returns the tick rate in kHz (which max's out at just after 4GHz) - A helper function in

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread Reinhard Meyer
Dear J. William Campbell, On 5/22/2011 1:15 AM, Reinhard Meyer wrote: Dear J. William Campbell, please demonstrate for me (and others), by a practical example, how _any_ arithmetic (even less with just shifts and multiplies) can convert a free running 3.576 MHz (wild example) free running

[U-Boot] Nicht komplizierte Arbeit mit gutem Lohn.

2011-05-22 Thread contact
Firma: EXPRESS LOGISTIC GROUP Position: Versandmanager Kategorie: Versand/Manager Arbeitszeit: Heimarbeit/Teilzeitbesch.ftigung Ort: Deutschland Vergutung: 1.890 Euro monatlich + Bonus Erfahrung: nicht erforderlich Ausbildung: keine Sehr geehrten Damen und Herren! Wir freuen uns, Ihnen

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread J. William Campbell
On 5/22/2011 6:42 PM, Graeme Russ wrote: OK, so in summary, we can (in theory) have: - A timer API in /lib/ with a single u32 get_timer(u32 base) function - A HAL with two functions - u32 get_raw_ticks() - u32 get_raw_tick_rate() which returns the tick rate in kHz (which

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread J. William Campbell
On 5/22/2011 8:26 PM, Reinhard Meyer wrote: Dear J. William Campbell, On 5/22/2011 1:15 AM, Reinhard Meyer wrote: Dear J. William Campbell, please demonstrate for me (and others), by a practical example, how _any_ arithmetic (even less with just shifts and multiplies) can convert a free

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-22 Thread Graeme Russ
On Mon, May 23, 2011 at 3:02 PM, J. William Campbell jwilliamcampb...@comcast.net wrote: On 5/22/2011 6:42 PM, Graeme Russ wrote: OK, so in summary, we can (in theory) have:  - A timer API in /lib/ with a single u32 get_timer(u32 base) function  - A HAL with two functions    - u32

[U-Boot] undefined reference error

2011-05-22 Thread google user
Hi I am adding boot support from OneNand for OMAP3430 SoC- based zeus board in uboot. While compiling the code, start.S gets copied from arch/arm/cpu/armv7/ to onenand_ipl/board/zeus/location and then I get the following error. start.o: In function `call_board_init_f':