All of lore.kernel.org
 help / color / mirror / Atom feed
* x86 testing
@ 2017-01-18  7:02 Gary Thomas
  2017-01-18  9:19 ` Patrick Ohly
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gary Thomas @ 2017-01-18  7:02 UTC (permalink / raw)
  To: yocto@yoctoproject.org

I'm trying to track down some recent changes in the X server
(using the latest Poky/Yocto master).  I've had failures on
a number of the embedded targets I work with, so I thought
I'd give it a go on platforms with a larger base - x86 machines.

It used to be that I could run qemu and it would pop up a separate
window that emulated a display+keyboard+mouse.  That doesn't seem
to be the same now, or at least I don't see how to make it work.
Advice on this would be great as I need to test the "native" X
setup, not VNC connections.

I'd also be happy to try this on real hardware, e.g. my wife's
laptop, but I need some way to do that non-destructively.  Again,
pointers would be greatly appreciated.

Once I get this figured out, I'll disappear back down my embedded
rabbit hole...

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: x86 testing
  2017-01-18  7:02 x86 testing Gary Thomas
@ 2017-01-18  9:19 ` Patrick Ohly
  2017-01-18  9:20 ` Jussi Kukkonen
  2017-01-18  9:23 ` Burton, Ross
  2 siblings, 0 replies; 4+ messages in thread
From: Patrick Ohly @ 2017-01-18  9:19 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto@yoctoproject.org

On Wed, 2017-01-18 at 08:02 +0100, Gary Thomas wrote:
> I'm trying to track down some recent changes in the X server
> (using the latest Poky/Yocto master).  I've had failures on
> a number of the embedded targets I work with, so I thought
> I'd give it a go on platforms with a larger base - x86 machines.
> 
> It used to be that I could run qemu and it would pop up a separate
> window that emulated a display+keyboard+mouse.  That doesn't seem
> to be the same now, or at least I don't see how to make it work.

qemu-native was changed to not depend on SDL. Instead of opening its own
window, it now provides access via VNC.

If you want the old behavior back, you need to compile with (from Poky's
local.conf.sample):

# By default qemu will build with a builtin VNC server where graphical output can be
# seen. The two lines below enable the SDL backend too. By default libsdl-native will
# be built, if you want to use your host's libSDL instead of the minimal libsdl built
# by libsdl-native then uncomment the ASSUME_PROVIDED line below.
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
#ASSUME_PROVIDED += "libsdl-native"

> Advice on this would be great as I need to test the "native" X
> setup, not VNC connections.

For the guest OS it shouldn't make a difference whether qemu uses its
own window or VNC.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: x86 testing
  2017-01-18  7:02 x86 testing Gary Thomas
  2017-01-18  9:19 ` Patrick Ohly
@ 2017-01-18  9:20 ` Jussi Kukkonen
  2017-01-18  9:23 ` Burton, Ross
  2 siblings, 0 replies; 4+ messages in thread
From: Jussi Kukkonen @ 2017-01-18  9:20 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

On 18 January 2017 at 09:02, Gary Thomas <gary@mlbassoc.com> wrote:

> I'm trying to track down some recent changes in the X server
> (using the latest Poky/Yocto master).  I've had failures on
> a number of the embedded targets I work with, so I thought
> I'd give it a go on platforms with a larger base - x86 machines.


> It used to be that I could run qemu and it would pop up a separate
> window that emulated a display+keyboard+mouse.  That doesn't seem
> to be the same now, or at least I don't see how to make it work.
>

This is lacking a bit of detail ... What did you try and what failed?

Building a qemux86-64  (or qemux86) image and running it should certainly
work ("runqemu qemux86-64").

Advice on this would be great as I need to test the "native" X
> setup, not VNC connections.
>
> I'd also be happy to try this on real hardware, e.g. my wife's
> laptop, but I need some way to do that non-destructively.  Again,
> pointers would be greatly appreciated.
>

The hddimg is both an installer and a live image: in other words if you
build e.g. a x86-64 core-image-sato you can dd it to a USB disk and boot a
typical laptop from USB without installing anything on hard drive.

Jussi

[-- Attachment #2: Type: text/html, Size: 1970 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: x86 testing
  2017-01-18  7:02 x86 testing Gary Thomas
  2017-01-18  9:19 ` Patrick Ohly
  2017-01-18  9:20 ` Jussi Kukkonen
@ 2017-01-18  9:23 ` Burton, Ross
  2 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2017-01-18  9:23 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

On 18 January 2017 at 07:02, Gary Thomas <gary@mlbassoc.com> wrote:

> It used to be that I could run qemu and it would pop up a separate
> window that emulated a display+keyboard+mouse.  That doesn't seem
> to be the same now, or at least I don't see how to make it work.
> Advice on this would be great as I need to test the "native" X
> setup, not VNC connections.
>

Still is the case if you have 'sdl' in qemu-native's PACKAGECONFIG.  See
the sample local.conf, this was a change in behaviour a year or so ago so
there's a chance your local.conf doesn't do this.


> I'd also be happy to try this on real hardware, e.g. my wife's
> laptop, but I need some way to do that non-destructively.  Again,
> pointers would be greatly appreciated.
>

Build an image using ideally meta-intel's intel-corei7-64 (or core2-32)
machine and put the hddimg on a USB stick.  This can live boot from the
stick directly.

Ross

[-- Attachment #2: Type: text/html, Size: 1601 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-18  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-18  7:02 x86 testing Gary Thomas
2017-01-18  9:19 ` Patrick Ohly
2017-01-18  9:20 ` Jussi Kukkonen
2017-01-18  9:23 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.