On 02/19/2013 07:43 PM, Fernand Lone-Sang wrote: > Hi Lars, > > I have tried to run linux-milkymist (both ng and master branches) on > qemu latest version and it stays stuck on "Calibrating delay loop..." > Do you have any hints on what is happening and how I can make it go further ? > > I compiled linux-milkymist as explained on the wiki > (http://milkymist.org/wiki/index.php?title=Milkymist_Linux_cheat_sheet) > using lm32-elf and lm32-rtems4.11. Both kernels stay stucked at the > same point. I have not tested on a real board as I have no milkymist > soc ready yet. > > I have enclosed to this mail qemu output I have. > > Thanks in advance for you time and for your help,
Hi, Works for me: Linux version 3.7.0+ (lars@lars-laptop) (gcc version 4.5.2 20101208 (RTEMS gcc-4.5.2-1.fc14/newlib-1.18.0-27.fc14) (GCC) ) #2525 Tue Feb 19 20:09:27 CET 2013 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 292608 Kernel command line: init=/bin/sh root=/dev/ram0 console=ttyS0 PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes) Inode-cache hash table entries: 131072 (order: 7, 524288 bytes) Memory available: 113508k/1179648k RAM, (1961k kernel code, 500k data) NR_IRQS:32 Console: colour dummy device 80x25 Calibrating delay loop... 3889.15 BogoMIPS (lpj=7778304) pid_max: default: 4096 minimum: 301 What I did was: make defconfig make simpleImage.milkymist_one qemu-system-lm32 -M milkymist -nographic -kernel arch/lm32/boot/simpleImage.milkymist_one -initrd /opt/Projects/openwrt-git/bin/lm32/openwrt-lm32-root.ext4 -s -append "init=/bin/sh root=/dev/ram0 console=ttyS0" If the kernel gets stuck on "Calibrating delay loop..." this usually means that the timer IRQ never fires. I haven't updated my qemu in a few months, so it might be the case that something in qemu broke. One thing you could try is to use mwalle's qemu repo: git://github.com/mwalle/qemu.git Added mwalle and milkmist mailinglist to Cc. - Lars _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode