Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Tom Vrána" <tom@voda.cz>
To: linux-mips@linux-mips.org
Subject: ADM5120: time.c issues ?
Date: Mon, 07 Feb 2005 20:53:03 +0100	[thread overview]
Message-ID: <4207C71F.7050204@voda.cz> (raw)

Hi,

I made my attempt to port ADM5120 stuff from the prehistoric 2.4.18 
kernel to recent 2.4.27-mipscvs. I get to boot, but:

time.c originally uses:
extern unsigned int mips_counter_frequency;
from timex.h

but in 2.4.27 the timex.h changed to:
extern unsigned int mips_hpt_frequency;

Jeroen uses just a localy defined mips_counter_frequency in his 2.6.x port.

Using jeroens time.c the system boots painfully slow, sort of loops int 
the beginning and the finally freezes on the FPU emulator... any 
suggestions ?

       Thanks Tom

LINUX/5120 started...
CPU revision is: 0001800b
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Linux version 2.4.27-mipscvs-20050128 (tom@jackal) (gcc version 3.2) #11 Po .ono 7 19:12:23 CET 2005
am5120_setup() starts.
System has PCI BIOS
Determined physical RAM map:
 memory: 00d2a000 @ 002d6000 (usable)
Initial ramdisk at: 0x80157000 (1404928 bytes)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 console=ttyS0
CPU clock: 175MHz
CPU revision is: 0001800b
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Linux version 2.4.27-mipscvs-20050128 (tom@jackal) (gcc version 3.2) #11 Po .ono 7 19:12:23 CET 2005
am5120_setup() starts.
System has PCI BIOS
Determined physical RAM map:
 memory: 00d2a000 @ 002d6000 (usable)
Initial ramdisk at: 0x80157000 (1404928 bytes)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 console=ttyS0
CPU clock: 175MHz
Calibrating delay loop... 174.48 BogoMIPS
Memory: 13292k/13480k available (1160k kernel code, 188k reserved, 1464k data, 88k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  available.
POSIX conformance testing by UNIFIX
Autoconfig PCI channel 0x801568c8
Scanning bus 00, I/O 0x11500000:0x115ffff0, Mem 0x11400000:0x11500000
00:00.0 Class 0600: 1317:5120
        Mem unavailable -- skipping
        I/O unavailable -- skipping
00:02.0 Class 0200: 168c:0013 (rev 01)
        Mem at 0x11400000 [size=0x10000]
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS28 at 0x03f8 (irq = 4) is a 16450
ttyS29 at 0x02f8 (irq = 3) is a 16450
ttyS30 at 0x03e8 (irq = 4) is a 16450
RAMDISK driver initialized: 16 RAM disks of 5120K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1372k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 88k freed
Algorithmics/MIPS FPU Emulator v1.5


-- 
 Tomas Vrana  <tom@voda.cz>
 --------------------------
 VODA IT consulting, Borkovany 48, 691 75
 http://www.voda.cz/
 phone: +420 519 419 416 mobile: +420 603 469 305 UIN: 105142752

             reply	other threads:[~2005-02-07 19:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07 19:53 Tom Vrána [this message]
2005-02-07 20:48 ` ADM5120: time.c issues ? Florian Lohoff
2005-02-08 17:13 ` Jeroen Vreeken

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=4207C71F.7050204@voda.cz \
    --to=tom@voda.cz \
    --cc=linux-mips@linux-mips.org \
    /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