public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michael Schwingen <rincewind@discworld.dascon.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fixing IXP42x boards - some general questions
Date: Thu, 23 Dec 2010 13:23:50 +0100	[thread overview]
Message-ID: <4D133F56.8080409@discworld.dascon.de> (raw)
In-Reply-To: <20101223101037.823D0152437@gemini.denx.de>

Am 12/23/2010 11:10 AM, schrieb Wolfgang Denk:
>
>> Timer system.
>>  - For IXP, there are two variants of the timer system - one using
>> interrupts, and one without interrupts. Both do not work currently.
>> I have patches that fix the non-interrupt version, changing
>> CONFIG_SYS_HZ from 66666666 to 1000, bringing it in line with what most
>> other ARM platforms do.
> I cannot nomment on this.  Marek?
>
>> What is the preferred way of handling timers? Should CONFIG_SYS_HZ be
>> 1000 or rather the timer clock?
> CONFIG_SYS_HZ must always be defiend as 1000.
Thanks - no problem for IXP42x.

There are a few non-IXP42x boards that have different values:

include/configs/lart.h:110:#define    CONFIG_SYS_HZ           
3686400        /* incrementer freq: 3.6864 MHz */
include/configs/dvlhost.h:91:#define CONFIG_SYS_HZ            3333333
include/configs/impa7.h:112:#define    CONFIG_SYS_HZ            2000   
    /* decrementer freq: 2 kHz */
include/configs/SMN42.h:143:#define    CONFIG_SYS_HZ            2048   
    /* decrementer freq in Hz */
include/configs/colibri_pxa270.h:141:#define    CONFIG_SYS_HZ           
3250000        /* Timer @ 3250000 Hz */
include/configs/lpc2292sodimm.h:110:#define    CONFIG_SYS_HZ           
2048        /* decrementer freq in Hz */
include/configs/mx1fs2.h:80:#define CONFIG_SYS_HZ            3686400   
     /* incrementer freq: 3.6864 MHz */
include/configs/scb9328.h:87:#define CONFIG_SYS_HZ            3686400   
     /* incrementer freq: 3.6864 MHz */
include/configs/mx1ads.h:134:#define CONFIG_SYS_HZ            3686400
include/configs/modnet50.h:116:#define    CONFIG_SYS_HZ           
900        /* decrementer freq: 2 kHz */
include/configs/armadillo.h:111:#define    CONFIG_SYS_HZ           
2000        /* decrementer freq: 2 kHz */
include/configs/assabet.h:113:#define CONFIG_SYS_HZ           
3686400    /* incrementer freq: 3.6864 MHz */
include/configs/lpd7a404-10.h:37:#define CONFIG_SYS_HZ    (508469)
include/configs/palmtc.h:132:#define    CONFIG_SYS_HZ           
3686400        /* Timer @ 3686400 Hz */
include/configs/idmr.h:148:#define CONFIG_SYS_HZ            (50000000 / 64)
include/configs/KAREF.h:303:#define CONFIG_SYS_HZ              100   
     /* decr freq: 1 ms ticks    */
include/configs/gcplus.h:125:#define    CONFIG_SYS_HZ           
3686400        /* incrementer freq: 3.6864 MHz */
include/configs/ep7312.h:113:#define    CONFIG_SYS_HZ            2000   
    /* decrementer freq: 2 kHz */
include/configs/lpd7a400-10.h:37:#define CONFIG_SYS_HZ    (508469)
include/configs/shannon.h:111:#define    CONFIG_SYS_HZ           
3686400        /* incrementer freq: 3.6864 MHz */
include/configs/METROBOX.h:368:#define CONFIG_SYS_HZ              100   
     /* decr freq: 1 ms ticks    */
include/configs/palmld.h:131:#define    CONFIG_SYS_HZ           
3250000        /* Timer @ 3250000 Hz */
include/configs/dnp1110.h:116:#define    CONFIG_SYS_HZ           
3686400        /* incrementer freq: 3.6864 MHz */
include/configs/zipitz2.h:152:#define    CONFIG_SYS_HZ           
3250000        /* Timer @ 3250000 Hz */
include/configs/balloon3.h:103:#define    CONFIG_SYS_HZ           
3250000        /* Timer @ 3250000 Hz */
include/configs/VCMA9.h:179:#define    CONFIG_SYS_HZ            1562500


>
>> What about the Intel reference board (IXDP425)? Previously, I used that
>> one as a reference on how things should be done, but it looks broken, too.
>> I can prepare patches for IXDP425, but I can't currently test them (we
>> should have one at work, but that might take some time).
> I cannot help with that either.  Marek?
If noone else steps up and the board would be removed from u-boot, you
can list me as maintainer, but I can't test too often.

cu
Michael

  parent reply	other threads:[~2010-12-23 12:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23  9:33 [U-Boot] Fixing IXP42x boards - some general questions Michael Schwingen
2010-12-23 10:10 ` Wolfgang Denk
2010-12-23 10:55   ` Marek Vasut
2010-12-23 15:13     ` Michael Schwingen
2010-12-23 12:23   ` Michael Schwingen [this message]
2010-12-23 10:20 ` Albert ARIBAUD
2010-12-23 10:39   ` Michael Schwingen
2010-12-23 11:28     ` Albert ARIBAUD
2010-12-23 11:57       ` Michael Schwingen
2010-12-23 18:25       ` Michael Schwingen
2010-12-23 18:47         ` Albert ARIBAUD
2010-12-23 20:17           ` Michael Schwingen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D133F56.8080409@discworld.dascon.de \
    --to=rincewind@discworld.dascon.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox