[Milkymist-devel] QEMU/UART and HLT

Takeshi MATSUYA macchan at sfc.wide.ad.jp
Mon Jan 25 00:43:35 PST 2010


Hi,

On 2010/01/25, at 16:57, Michael Walle wrote:
>
> With the HEAD of the qemu-lm32 milkymist branch? Right after the kernel
> spwans init, you should see, that the output gets printed really slow on
> the console. Please also try to slow down the timer frequency to 10MHz by
> passing the option
> -global milkymist-sysctl.frequency=10000000
> to qemu.

I also confirmed the problem. 
( I was using old source.  :)

Bogo Mips and calibration infomation are incorrect.
UART is not used for its calculation.
It seems there are problems with the timer or interrupt controller.

<case 1>
100MHz: "-global milkymist-sysctl.frequency=100000000"

root:/proc> cat cpuinfo 
CPU:		lm32
MMU:		none
FPU:		none
Clocking:	277.3MHz
BogoMips:	3879.73
Calibration:	1939865600 loops
root:/proc> 

<case 2>
10MHz: "-global milkymist-sysctl.frequency=10000000"

root:/> cd /proc
root:/proc> cat cpuinfo 
CPU:		lm32
MMU:		none
FPU:		none
Clocking:	310.1MHz
BogoMips:	3932.16
Calibration:	1966080000 loops

----------
Takeshi



More information about the Devel mailing list