Skip to contentSkip to conversation

runqemu?

DISCUSSION Rich Pixley 3 participants 6 messages Feb 18, 2012 – Feb 21, 2012

lore
Share & tools
lore
#0 lore raw

What do I need to do to be able to run core-image-minimal on Ubuntu-11.10 amd64?

--rich

cd /home/rich/projects/webos/openembedded-core && . ./oe-init-build-env && runqemu qemux86

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

Continuing with the following parameters:
KERNEL: [/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/bzImage-qemux86.bin]
ROOTFS: [/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/core-image-minimal-qemux86.ext3]
FSTYPE: [ext3]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
WARNING: distccd not present, no distcc support loaded.
Running qemu...
/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/qemu -kernel /home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/bzImage-qemux86.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -hda /home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/core-image-minimal-qemux86.ext3 -show-cursor -usb -usbdevice wacom-tablet -vga vmware -enable-gl -no-reboot -m 128 --append "vga=0 root=/dev/hda rw mem=128M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 " Enabling opengl
Could not initialize SDL(No available video device) - exiting
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'

#1 lore raw
Quoted 21 lines · Rich Pixley

What do I need to do to be able to run core-image-minimal on Ubuntu-11.10 amd64?

--rich

cd /home/rich/projects/webos/openembedded-core && . ./oe-init-build-env && runqemu qemux86

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

Quoted 16 lines

Continuing with the following parameters:
KERNEL: [/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/bzImage-qemux86.bin]
ROOTFS: [/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/core-image-minimal-qemux86.ext3]
FSTYPE: [ext3]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
WARNING: distccd not present, no distcc support loaded.
Running qemu...
/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/qemu -kernel /home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/bzImage-qemux86.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -hda /home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/core-image-minimal-qemux86.ext3 -show-cursor -usb -usbdevice wacom-tablet -vga vmware -enable-gl -no-reboot -m 128 --append "vga=0 root=/dev/hda rw mem=128M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 "
Enabling opengl
Could not initialize SDL(No available video device) - exiting
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'

This looks like qemu couldn't find a [graphic] display to use.

Did you run this locally from a desktop environment?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#2 lore raw
Quoted 38 lines · Gary Thomas
Quoted 21 lines · Rich Pixley

What do I need to do to be able to run core-image-minimal on Ubuntu-11.10 amd64?

--rich

cd /home/rich/projects/webos/openembedded-core&& . ./oe-init-build-env&& runqemu qemux86

### Shell environment set up for builds. ###

You can now run 'bitbake<target>'

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

Quoted 16 lines

Continuing with the following parameters:
KERNEL: [/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/bzImage-qemux86.bin]
ROOTFS: [/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/core-image-minimal-qemux86.ext3]
FSTYPE: [ext3]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
WARNING: distccd not present, no distcc support loaded.
Running qemu...
/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/qemu -kernel /home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/bzImage-qemux86.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -hda /home/rich/projects/webos/openembedded-core/build/tmp-eglibc/deploy/images/core-image-minimal-qemux86.ext3 -show-cursor -usb -usbdevice wacom-tablet -vga vmware -enable-gl -no-reboot -m 128 --append "vga=0 root=/dev/hda rw mem=128M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 "
Enabling opengl
Could not initialize SDL(No available video device) - exiting
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'

Quoted 3 lines

This looks like qemu couldn't find a [graphic] display to use.

Did you run this locally from a desktop environment?

Er... no. I can't. I have only X11 access.

--rich

#3 lore raw
In reply to Rich Pixley
Quoted 1 line · Rich Pixley

/home/rich/projects/webos/openembedded-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/qemu

what does

ldd /home/rich/projects/webos/openembedded-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/qemu

say ?

#4 lore raw

Hm. Runs for me this morning. Maybe I had an X11 rendezvous problem previously.

Sorry for the distraction.

--rich

#5 lore raw

Looks like I wrote too soon. I'm getting an X11 window now, but the keyboard seems to be hopelessly scrambled. Entering <return> is echoed as a capital J, for instance.

So I'm still trying to figure out how to get qemu running. Any suggestions?

--rich