[U-Boot] u-boot x86 on qemu

José Marinho zemanel at gmail.com
Tue Jan 28 20:17:28 CET 2014


Hi all,
I am using u-boot from git://git.denx.de/u-boot-x86.git
I build u-boot by:
        make coreboot-x86_config
        make

u-boot is then set as a payload for coreboot.

I then run coreboot as a bios for qemu:
        qemu-system-i386 -bios ./build/coreboot.rom -m 1g -nographic -s -S

the system hangs when calling the function
        u64 get_ticks()

because gd->arch.tsc_base is false and hence
panic("No tick base available"); is executed.

panic will itself call udelay(100000 )
which in turn calls __udelay (kv)
which finally calls get_ticks() again.

There is then a recursive behavior here which will go on executing until
the stack is "depleted".

Has anyone come across this behavior?
what could be the reason for the tick base not to be set properly?

regards

-- 
José Marinho


More information about the U-Boot mailing list