s-macke / jor1k

Online OR1K Emulator running Linux
http://jor1k.com
BSD 2-Clause "Simplified" License
1.73k stars 193 forks source link

SMP core hangs on boot #134

Open xor-shift opened 6 years ago

xor-shift commented 6 years ago

When using hte SMP core with multiple processors, the boot will hang after a while.
The MIPS counter will show that jor1k is running at full speed.
Last messages before hang:

40.00 BogoMIPS (lpj=400000)
--
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 0, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 0, 8192 bytes)
CPU1: Booted secondary processor
CPU: OpenRISC-12 (revision 1) @20 MHz
-- dcache disabled
-- icache disabled
-- dmmu:   64 entries, 1 way(s)
-- immu:   64 entries, 1 way(s)
-- additional features:
-- power management
-- timer
SJK DEBUG: openrisc_clockevent_init: c = 5aef09cc
Brought up 2 CPUs
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 3822
5208925500000 ns
NET: Registered protocol family 16
SCSI subsystem initialized
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource openrisc_timer