[okl4-developer] Is there an small "how to use OKL4 images on Qemu"?
Antonin SUBTIL
antonin.subtil at gmail.com
Mon May 5 20:15:03 EST 2008
I apologize but.. I made it wrong.
SIMULATE >
./tools/build.py project=iguana machine=ia32_pc99 test_libs=all
toolprefix=/users/asubtil/opt/nicta/gcc-3.3.4-glibc-2.3.3/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-
simulate (OK, cannot launch qemu)
QEMU 0.9.0> (an fedora rpm unpacked in home space)
qemu -hda /users/asubtil/okl4_2.1/build/images/c.img -L
/users/asubtil/usr/share/qemu -nographic -serial stdio (OK)
these 2 lines works properly, all tests passed.
SIMULATE >
./tools/build.py project=iguana machine=ia32_pc99_vga test_libs=all
toolprefix=/users/asubtil/opt/nicta/gcc-3.3.4-glibc-2.3.3/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-
simulate (OK, cannot launch qemu)
QEMU >
qemu -hda /users/asubtil/okl4_2.1/build/images/c.img -L
/users/n348894/usr/share/qemu (ERROR GRUB)
Not working ("GRUB Loading") (Well, this might not be the "good" case, but I
just wanted to try :p )
Last one : _fb (same as _vga) : same result as vga
(I must admit I made it dirty : always same directory without cleaning
myself... but it doesn't matter, it seems, as everything is compiling again
each time, maybe due to the machine changed)
2008/5/5 Geoffrey Lee <glee at ok-labs.com>:
> On Mon, May 05, 2008 at 11:33:42AM +0200, Antonin SUBTIL wrote:
> > Thanks.
> >
> > Simulate works in generating c.img, and then I can use it with "qemu
> [path
> > to c.img] -L [path to share/qemu]". (because I have Qemu-rpm unpacked in
> > home folder, not root access)
> > BUT then it says "GRUB loading" for 5 minutes now... :$
>
> Hi Antonin
>
> Thanks for getting back to us. I have some further questions about
> your problem.
>
> Can you let us know which QEMU version you are using and how you installed
> it?
> Also, just to confirm, this error is present when you invoke QEMU
> from the simulate target? Finally, which machine target did you build
> for, ia32_pc99, ia32_pc99_vga or ia32_pc99_fb?
>
> -gl
>
> >
> >
> >
> > 2008/5/5 Geoffrey Lee <glee at ok-labs.com>:
> >
> > > On Mon, May 05, 2008 at 10:24:12AM +0200, Antonin SUBTIL wrote:
> > >
> > > Hi Antonin
> > >
> > > > Is there an small "how to use OKL4 images on Qemu"? I mean, it's not
> > > obvious
> > > > how to use the compiled images... (without root access, if possible
> )
> > > >
> > > > I guess we should make an Qemu raw image, format it (but ext2?
> ...?),
> > > put
> > > > the OKL4 compiled files (grub and so on), and run it in Qemu... Yet
> this
> > > > would requiere root acces :(
> > >
> > > Since you mention grub I will assume this is for IA-32.
> > >
> > > You can use the "simulate" target in Scons to run QEMU. What actually
> > > happens in the build for IA-32 is, it builds a FAT image which
> > > contains the necessary grub installation and OKL4 image to boot. When
> > > you run the simulate target, it will run the QEMU program using
> > > that FAT image at the end.
> > >
> > > You can also run QEMU manually. As an example, for the ia32_pc99
> target,
> > > I typically save time and invoke it directly by typing:
> > >
> > > qemu -hda build/images/c.img -nograhic -serial stdio
> > >
> > > Let us know if this works for you.
> > >
> > > >
> > > > Thanks
> > >
> > > -gl
> > >
> > > >
> > > > --
> > > > Antonin Subtil,
> > > > 35 rue Donissan
> > > > FR-33000 Bordeaux
> > > > +33 (0)6.77.40.17.69
> > > >
> > > > Economisez du papier, limitez votre production de déchets :
> n'imprimez
> > > ce
> > > > message que si nécessaire (et... en recto-verso) !
> > >
> > > > _______________________________________________
> > > > Developer mailing list
> > > > Developer at okl4.org
> > > > https://lists.okl4.org/mailman/listinfo/developer
> > >
> > >
> > > --
> > >
> > >
> >
> >
> > --
> > Antonin Subtil,
> > 35 rue Donissan
> > FR-33000 Bordeaux
> > +33 (0)6.77.40.17.69
> >
> > Economisez du papier, limitez votre production de déchets : n'imprimez
> ce
> > message que si nécessaire (et... en recto-verso) !
>
> --
>
>
--
Antonin Subtil,
35 rue Donissan
FR-33000 Bordeaux
+33 (0)6.77.40.17.69
Economisez du papier, limitez votre production de déchets : n'imprimez ce
message que si nécessaire (et... en recto-verso) !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080505/e4a6f226/attachment.htm
More information about the Developer
mailing list