On Sat Sep 20, 2008 at 17:01:04 +0800, Tsai, Tung-Chieh wrote:
Dear All,
I'm try to boot fiasco kernel which is compiled to integrator(arm926) on QMEU. I see this thread :
http://osdir.com/ml/micro-kernel.l4.devel/2007/msg00303.html
So I guess it should be worked. But I got some problem, when I use the following command :
qemu-system-arm -kernel fiasco.image -serial stdio -d in_asm
there is no output on QEMU. I watch the log of QEMU, find that it fails to go to '_start_kernel' in 0xf0003000 from 'bootstrap_main' because there is nothing in 0xf0003000.
As I know, there is no physical memory in QEMU's integratorcp emulation. It only put memory on 0x0 and 0x80000000. So I guess the way I try is wrong, there must be something I lost. Do I have to use some kind of bootloader like grub in ia32 or putting some file by initrd, mtdblock, etc... And couold anyone give some advice about how to run it on QEMU.
bootstrap is the initial bootstrapper which loads Fiasco, sigma0, roottask and all the other programs. Go to l4/pkg/bootstrap/server/src, possibly edit modules.list, and call 'make E=entryname' (like E=hello) and a bootstrap.image file will be generated in the object directory of bootstrap. See also the README is this directory, the most important thing is the setting of the BOOTSTRAP_SEARCH_PATH to enable bootstrap to find the right Fiasco image. The bootstrap.image file is the one to be loaded by QEmu, like: qemu-system-arm -kernel bootstrap.image -serial stdio ...
Adam