All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot 2012.10 - pxa270 CPU Unknown / no turbo
Date: Tue, 13 Nov 2012 14:52:40 +0100	[thread overview]
Message-ID: <201211131452.40750.marex@denx.de> (raw)
In-Reply-To: <20121113081018.85030@gmx.net>

Dear Andreas Puls,

> Hi together,
> 
> i've got another problem with latest stable U-Boot-2012.10 and a Toradex
> Colibri PXA270 V2.4
> 
> Uboot dosen't regonized the CPU Revision
> u-boot summary screen:
> 
> U-Boot 2012.10 (Nov 12 2012 - 14:22:12)
> CPU: Marvell PXA27x rev. Unknown

See arch/arm/cpu/pxa/cpuinfo.c , patch is welcome ... they probably rolled out 
some new CPU version.

> first lines of dmesg:
> [    0.000000] CPU: XScale-PXA270 [69054118] revision 8 (ARMv5TE),
> cr=0000397f [    0.000000] CPU: VIVT data cache, VIVT instruction cache
> [    0.000000] Machine: Toradex Colibri PXA270
> [    0.000000] Memory policy: ECC disabled, Data cache writeback
> [    0.000000] Run Mode clock: 208.00MHz (*16)
> [    0.000000] Turbo Mode clock: 520.00MHz (*2.5, inactive)
> [    0.000000] Memory clock: 104.00MHz (/2)
> [    0.000000] System bus clock: 104.00MHz

Looks like you need to enable the "Turbo" bit, patch is welcome. See 
arch/arm/cpu/pxa/start.S and arch/arm/cpu/pxa/pxa2xx.c

> $ cat /proc/cpuinfo
> Processor       : XScale-PXA270 rev 8 (v5l)
> BogoMIPS        : 207.66
> Features        : swp half thumb fastmult edsp iwmmxt
> CPU implementer : 0x69
> CPU architecture: 5TE
> CPU variant     : 0x0
> CPU part        : 0x411
> CPU revision    : 8
> 
> Hardware        : Toradex Colibri PXA270
> Revision        : 0000
> Serial          : 0000000000000000
> 
> 
> 
> With an old uboot from a third party vendor its working fine and the boot
> time is about half with the latest stable u-boot.
> 
> U-Boot 2010.06-dirty
> CPU speed: 520000kHz; RCSR 00000001
> 
> first lines of dmesg:
> [    0.000000] CPU: XScale-PXA270 [69054118] revision 8 (ARMv5TE),
> cr=0000397f [    0.000000] CPU: VIVT data cache, VIVT instruction cache
> [    0.000000] Machine: Toradex Colibri PXA270
> [    0.000000] Memory policy: ECC disabled, Data cache writeback
> [    0.000000] Run Mode clock: 208.00MHz (*16)
> [    0.000000] Turbo Mode clock: 520.00MHz (*2.5, active)
> [    0.000000] Memory clock: 208.00MHz (/2)
> [    0.000000] System bus clock: 208.00MHz
> 
> $ cat /proc/cpuinfo
> Processor       : XScale-PXA270 rev 8 (v5l)
> BogoMIPS        : 519.37
> Features        : swp half thumb fastmult edsp iwmmxt
> CPU implementer : 0x69
> CPU architecture: 5TE
> CPU variant     : 0x0
> CPU part        : 0x411
> CPU revision    : 8
> 
> Hardware        : Toradex Colibri PXA270
> Revision        : 0000
> Serial          : 00003600602d1400
> 
> 
> Uboot-2012.10 was compiled with stock files and no modification.
> 
> 
> Kind regards
>   Andreas

Best regards,
Marek Vasut

  reply	other threads:[~2012-11-13 13:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13  8:10 [U-Boot] U-Boot 2012.10 - pxa270 CPU Unknown / no turbo Andreas Puls
2012-11-13 13:52 ` Marek Vasut [this message]
2012-11-14 13:55   ` Andreas Puls
2012-11-14 14:45     ` Marek Vasut
2012-11-15  6:27       ` Andreas Puls
2012-11-15 13:28         ` Marek Vasut

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=201211131452.40750.marex@denx.de \
    --to=marex@denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.