Sven-Åke Andersson
2012-02-27 10:06:42 UTC
I am trying to load my Linux image and simulate it using TSIM. Here is what
happens.
I get a simulation time overflow. I am using the SP605 board.
Sven
-> tsim-leon3 -mmu images/image.dsu
This TSIM evaluation version will expire July 1, 2012
TSIM/LEON3 SPARC simulator, version 2.0.21 (evaluation version)
Copyright (C) 2001, Gaisler Research - all rights reserved.
This software may only be used with a valid license.
For latest updates, go to http://www.gaisler.com/
Comments or bug-reports to tsim-FkzTOoA/***@public.gmane.org
serial port A on stdin/stdout
allocated 4096 K RAM memory, in 1 bank(s)
allocated 32 M SDRAM memory, in 1 bank
allocated 2048 K ROM memory
icache: 1 * 4 kbytes, 16 bytes/line (4 kbytes total)
dcache: 1 * 4 kbytes, 16 bytes/line (4 kbytes total)
section: .stage2, addr: 0x40000000, size 10240 bytes
section: .vmlinux, addr: 0x40004000, size 2904128 bytes
read 3717 symbols
tsim>
tsim> go
go
resuming at 0x40000000
Booting Linux
Booting Linux...
PROMLIB: Sun Boot Prom Version 0 Revision 0
Linux version 2.6.21.1 (***@Superdatorn) (gcc version 3.4.4) #12 Mon Feb
20 08:54:34 CET 2012
ARCH: LEON
TYPE: Leon2/3 System-on-a-Chip
Ethernet address: 0:0:0:0:0:0
CACHE: direct mapped cache, set size 4k
CACHE: not flushing on every context switch
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj-***@public.gmane.org). Patching
kernel for srmmu[Leon2]/iommu
Nocache: 0xfc000000-0xfc080000, 128 pages [128-1280]
node 2: /cpu00 (type:cpu) (props:.node device_type mid mmu-nctx
clock-frequency uart1_baud uart2_baud )
node 3: /a: (type:serial) (props:.node device_type name )
node 4: /ambapp0 (type:ambapp) (props:.node device_type name )
PROM: Built device tree from rootnode 1 with 1478 bytes of memory.
DEBUG: psr.impl = 0xf fsr.vers = 0x7
Built 1 zonelists. Total pages: 277
Kernel command line: console=ttyS0,38400 rdinit=/sbin/init
PID hash table entries: 16 (order: 4, 64 bytes)
Todo: init master_l10_counter
Attaching grlib apbuart serial drivers (clk:50hz):
Console: colour dummy device 80x25
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
pkbase: 0xfc800000 pkend: 0xfcc00000 fixstart 0xfcff1000
Memory: 580k/4096k available (940k kernel code, 3516k reserved, 108k data,
1780k init, 0k highmem)
Mount-cache hash table entries: 512
Simulation time overflow (2^32) - halting
Program exited normally.
tsim>
[Non-text portions of this message have been removed]
------------------------------------
happens.
I get a simulation time overflow. I am using the SP605 board.
Sven
-> tsim-leon3 -mmu images/image.dsu
This TSIM evaluation version will expire July 1, 2012
TSIM/LEON3 SPARC simulator, version 2.0.21 (evaluation version)
Copyright (C) 2001, Gaisler Research - all rights reserved.
This software may only be used with a valid license.
For latest updates, go to http://www.gaisler.com/
Comments or bug-reports to tsim-FkzTOoA/***@public.gmane.org
serial port A on stdin/stdout
allocated 4096 K RAM memory, in 1 bank(s)
allocated 32 M SDRAM memory, in 1 bank
allocated 2048 K ROM memory
icache: 1 * 4 kbytes, 16 bytes/line (4 kbytes total)
dcache: 1 * 4 kbytes, 16 bytes/line (4 kbytes total)
section: .stage2, addr: 0x40000000, size 10240 bytes
section: .vmlinux, addr: 0x40004000, size 2904128 bytes
read 3717 symbols
tsim>
tsim> go
go
resuming at 0x40000000
Booting Linux
Booting Linux...
PROMLIB: Sun Boot Prom Version 0 Revision 0
Linux version 2.6.21.1 (***@Superdatorn) (gcc version 3.4.4) #12 Mon Feb
20 08:54:34 CET 2012
ARCH: LEON
TYPE: Leon2/3 System-on-a-Chip
Ethernet address: 0:0:0:0:0:0
CACHE: direct mapped cache, set size 4k
CACHE: not flushing on every context switch
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj-***@public.gmane.org). Patching
kernel for srmmu[Leon2]/iommu
Nocache: 0xfc000000-0xfc080000, 128 pages [128-1280]
node 2: /cpu00 (type:cpu) (props:.node device_type mid mmu-nctx
clock-frequency uart1_baud uart2_baud )
node 3: /a: (type:serial) (props:.node device_type name )
node 4: /ambapp0 (type:ambapp) (props:.node device_type name )
PROM: Built device tree from rootnode 1 with 1478 bytes of memory.
DEBUG: psr.impl = 0xf fsr.vers = 0x7
Built 1 zonelists. Total pages: 277
Kernel command line: console=ttyS0,38400 rdinit=/sbin/init
PID hash table entries: 16 (order: 4, 64 bytes)
Todo: init master_l10_counter
Attaching grlib apbuart serial drivers (clk:50hz):
Console: colour dummy device 80x25
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
pkbase: 0xfc800000 pkend: 0xfcc00000 fixstart 0xfcff1000
Memory: 580k/4096k available (940k kernel code, 3516k reserved, 108k data,
1780k init, 0k highmem)
Mount-cache hash table entries: 512
Simulation time overflow (2^32) - halting
Program exited normally.
tsim>
[Non-text portions of this message have been removed]
------------------------------------