All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Adding new qemuppc64 machine config
@ 2014-09-09  1:53 Armin Kuster
  2014-09-09  1:53 ` [[PATCH] qemuppc64: add machine Armin Kuster
  2014-09-09  5:03 ` [PATCH] Adding new qemuppc64 machine config akuster808
  0 siblings, 2 replies; 10+ messages in thread
From: Armin Kuster @ 2014-09-09  1:53 UTC (permalink / raw)
  To: openembedded-core

apply after "linux-yocto/3.14: configuration updates and feature merges."


Armin Kuster (1):
  qemuppc64: add machine

 meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta/conf/machine/qemuppc64.conf

-- 
1.9.1



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

* [[PATCH] qemuppc64: add machine
  2014-09-09  1:53 [PATCH] Adding new qemuppc64 machine config Armin Kuster
@ 2014-09-09  1:53 ` Armin Kuster
  2014-09-09  8:05   ` Richard Purdie
  2014-09-09  5:03 ` [PATCH] Adding new qemuppc64 machine config akuster808
  1 sibling, 1 reply; 10+ messages in thread
From: Armin Kuster @ 2014-09-09  1:53 UTC (permalink / raw)
  To: openembedded-core

override USER_CLASSES as prelink does not currently
work on ppc64
---
 meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta/conf/machine/qemuppc64.conf

diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf
new file mode 100644
index 0000000..86916e5
--- /dev/null
+++ b/meta/conf/machine/qemuppc64.conf
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: qemu PPC 64 Emulator setup
+#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
+
+require conf/machine/include/qemu.inc
+DEFAULTTUNE ?= "ppc64p6"
+require conf/machine/include/tune-power6.inc
+
+#prelink broken
+USER_CLASSES = "buildstats image-mklibs "
+
+KERNEL_IMAGETYPE = "vmlinux"
+
+IMAGE_FSTYPES = "ext2 ext3"
+
+SERIAL_CONSOLE ?= "ttyS0"
-- 
1.9.1



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

* Re: [PATCH] Adding new qemuppc64 machine config
  2014-09-09  1:53 [PATCH] Adding new qemuppc64 machine config Armin Kuster
  2014-09-09  1:53 ` [[PATCH] qemuppc64: add machine Armin Kuster
@ 2014-09-09  5:03 ` akuster808
  2014-09-09 15:02   ` Richard Purdie
  1 sibling, 1 reply; 10+ messages in thread
From: akuster808 @ 2014-09-09  5:03 UTC (permalink / raw)
  To: openembedded-core

I forgot to mention. I will update linux-yocto_3.1x.bb too.

- Armin

On 09/08/2014 06:53 PM, Armin Kuster wrote:
> apply after "linux-yocto/3.14: configuration updates and feature merges."
>
>
> Armin Kuster (1):
>    qemuppc64: add machine
>
>   meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>   create mode 100644 meta/conf/machine/qemuppc64.conf
>


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

* Re: [[PATCH] qemuppc64: add machine
  2014-09-09  1:53 ` [[PATCH] qemuppc64: add machine Armin Kuster
@ 2014-09-09  8:05   ` Richard Purdie
  2014-09-09 14:46     ` Mark Hatle
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Richard Purdie @ 2014-09-09  8:05 UTC (permalink / raw)
  To: Armin Kuster; +Cc: openembedded-core

On Mon, 2014-09-08 at 18:53 -0700, Armin Kuster wrote:
> override USER_CLASSES as prelink does not currently
> work on ppc64
> ---
>  meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta/conf/machine/qemuppc64.conf
> 
> diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf
> new file mode 100644
> index 0000000..86916e5
> --- /dev/null
> +++ b/meta/conf/machine/qemuppc64.conf
> @@ -0,0 +1,16 @@
> +#@TYPE: Machine
> +#@NAME: qemu PPC 64 Emulator setup
> +#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
> +
> +require conf/machine/include/qemu.inc
> +DEFAULTTUNE ?= "ppc64p6"
> +require conf/machine/include/tune-power6.inc
> +
> +#prelink broken
> +USER_CLASSES = "buildstats image-mklibs "

This is horrible. Can we somehow blacklist qemuppc64 in the prelink
class itself?

USER_CLASSES_remove = "prelink"

would be better than overriding the users choice like above...

Cheers,

Richard

> +KERNEL_IMAGETYPE = "vmlinux"
> +
> +IMAGE_FSTYPES = "ext2 ext3"
> +
> +SERIAL_CONSOLE ?= "ttyS0"
> -- 
> 1.9.1
> 




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

* Re: [[PATCH] qemuppc64: add machine
  2014-09-09  8:05   ` Richard Purdie
@ 2014-09-09 14:46     ` Mark Hatle
  2014-09-09 15:13       ` akuster808
  2014-09-09 15:03     ` akuster808
  2014-09-11  2:41     ` akuster808
  2 siblings, 1 reply; 10+ messages in thread
From: Mark Hatle @ 2014-09-09 14:46 UTC (permalink / raw)
  To: openembedded-core

On 9/9/14, 3:05 AM, Richard Purdie wrote:
> On Mon, 2014-09-08 at 18:53 -0700, Armin Kuster wrote:
>> override USER_CLASSES as prelink does not currently
>> work on ppc64
>> ---
>>   meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
>>   1 file changed, 16 insertions(+)
>>   create mode 100644 meta/conf/machine/qemuppc64.conf
>>
>> diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf
>> new file mode 100644
>> index 0000000..86916e5
>> --- /dev/null
>> +++ b/meta/conf/machine/qemuppc64.conf
>> @@ -0,0 +1,16 @@
>> +#@TYPE: Machine
>> +#@NAME: qemu PPC 64 Emulator setup
>> +#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
>> +
>> +require conf/machine/include/qemu.inc
>> +DEFAULTTUNE ?= "ppc64p6"
>> +require conf/machine/include/tune-power6.inc
>> +
>> +#prelink broken
>> +USER_CLASSES = "buildstats image-mklibs "
>
> This is horrible. Can we somehow blacklist qemuppc64 in the prelink
> class itself?
>
> USER_CLASSES_remove = "prelink"
>
> would be better than overriding the users choice like above...

I keep asking people who have access to the PPC 64 systems to investigate and 
help debug this.

I don't expect it will be difficult to figure out, but I simply don't have 
access to this architecture to try.

There is a YP bug, 1331 (https://bugzilla.yoctoproject.org/show_bug.cgi?id=1331).

So please, if you can help diagnose what is going wrong, I'd really like to fix 
this.

--Mark

> Cheers,
>
> Richard
>
>> +KERNEL_IMAGETYPE = "vmlinux"
>> +
>> +IMAGE_FSTYPES = "ext2 ext3"
>> +
>> +SERIAL_CONSOLE ?= "ttyS0"
>> --
>> 1.9.1
>>
>
>



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

* Re: [PATCH] Adding new qemuppc64 machine config
  2014-09-09  5:03 ` [PATCH] Adding new qemuppc64 machine config akuster808
@ 2014-09-09 15:02   ` Richard Purdie
  2014-09-09 23:12     ` akuster808
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Purdie @ 2014-09-09 15:02 UTC (permalink / raw)
  To: akuster808, Ashfield, Bruce; +Cc: openembedded-core

On Mon, 2014-09-08 at 22:03 -0700, akuster808 wrote:
> I forgot to mention. I will update linux-yocto_3.1x.bb too.

You need to talk to Bruce about that. I'm also worried about this coming
in this late, after feature freeze.

Cheers,

Richard

> - Armin
> 
> On 09/08/2014 06:53 PM, Armin Kuster wrote:
> > apply after "linux-yocto/3.14: configuration updates and feature merges."
> >
> >
> > Armin Kuster (1):
> >    qemuppc64: add machine
> >
> >   meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
> >   1 file changed, 16 insertions(+)
> >   create mode 100644 meta/conf/machine/qemuppc64.conf
> >




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

* Re: [[PATCH] qemuppc64: add machine
  2014-09-09  8:05   ` Richard Purdie
  2014-09-09 14:46     ` Mark Hatle
@ 2014-09-09 15:03     ` akuster808
  2014-09-11  2:41     ` akuster808
  2 siblings, 0 replies; 10+ messages in thread
From: akuster808 @ 2014-09-09 15:03 UTC (permalink / raw)
  To: Richard Purdie, Armin Kuster; +Cc: openembedded-core



On 09/09/2014 01:05 AM, Richard Purdie wrote:
> On Mon, 2014-09-08 at 18:53 -0700, Armin Kuster wrote:
>> override USER_CLASSES as prelink does not currently
>> work on ppc64
>> ---
>>   meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
>>   1 file changed, 16 insertions(+)
>>   create mode 100644 meta/conf/machine/qemuppc64.conf
>>
>> diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf
>> new file mode 100644
>> index 0000000..86916e5
>> --- /dev/null
>> +++ b/meta/conf/machine/qemuppc64.conf
>> @@ -0,0 +1,16 @@
>> +#@TYPE: Machine
>> +#@NAME: qemu PPC 64 Emulator setup
>> +#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
>> +
>> +require conf/machine/include/qemu.inc
>> +DEFAULTTUNE ?= "ppc64p6"
>> +require conf/machine/include/tune-power6.inc
>> +
>> +#prelink broken
>> +USER_CLASSES = "buildstats image-mklibs "
>
> This is horrible. Can we somehow blacklist qemuppc64 in the prelink
> class itself?
>
> USER_CLASSES_remove = "prelink"

will change.
>
> would be better than overriding the users choice like above...

Thanks,
Armin
>
> Cheers,
>
> Richard
>
>> +KERNEL_IMAGETYPE = "vmlinux"
>> +
>> +IMAGE_FSTYPES = "ext2 ext3"
>> +
>> +SERIAL_CONSOLE ?= "ttyS0"
>> --
>> 1.9.1
>>
>
>


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

* Re: [[PATCH] qemuppc64: add machine
  2014-09-09 14:46     ` Mark Hatle
@ 2014-09-09 15:13       ` akuster808
  0 siblings, 0 replies; 10+ messages in thread
From: akuster808 @ 2014-09-09 15:13 UTC (permalink / raw)
  To: Mark Hatle, openembedded-core



On 09/09/2014 07:46 AM, Mark Hatle wrote:
> On 9/9/14, 3:05 AM, Richard Purdie wrote:
>> On Mon, 2014-09-08 at 18:53 -0700, Armin Kuster wrote:
>>> override USER_CLASSES as prelink does not currently
>>> work on ppc64
>>> ---
>>>   meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
>>>   1 file changed, 16 insertions(+)
>>>   create mode 100644 meta/conf/machine/qemuppc64.conf
>>>
>>> diff --git a/meta/conf/machine/qemuppc64.conf
>>> b/meta/conf/machine/qemuppc64.conf
>>> new file mode 100644
>>> index 0000000..86916e5
>>> --- /dev/null
>>> +++ b/meta/conf/machine/qemuppc64.conf
>>> @@ -0,0 +1,16 @@
>>> +#@TYPE: Machine
>>> +#@NAME: qemu PPC 64 Emulator setup
>>> +#@DESCRIPTION: Machine configuration for running an PPC system under
>>> qemu emulation
>>> +
>>> +require conf/machine/include/qemu.inc
>>> +DEFAULTTUNE ?= "ppc64p6"
>>> +require conf/machine/include/tune-power6.inc
>>> +
>>> +#prelink broken
>>> +USER_CLASSES = "buildstats image-mklibs "
>>
>> This is horrible. Can we somehow blacklist qemuppc64 in the prelink
>> class itself?
>>
>> USER_CLASSES_remove = "prelink"
>>
>> would be better than overriding the users choice like above...
>
> I keep asking people who have access to the PPC 64 systems to
> investigate and help debug this.
>
> I don't expect it will be difficult to figure out, but I simply don't
> have access to this architecture to try.
>
> There is a YP bug, 1331
> (https://bugzilla.yoctoproject.org/show_bug.cgi?id=1331).
>
> So please, if you can help diagnose what is going wrong, I'd really like
> to fix this.

Will see what I can do.

- Armin

>
> --Mark
>
>> Cheers,
>>
>> Richard
>>
>>> +KERNEL_IMAGETYPE = "vmlinux"
>>> +
>>> +IMAGE_FSTYPES = "ext2 ext3"
>>> +
>>> +SERIAL_CONSOLE ?= "ttyS0"
>>> --
>>> 1.9.1
>>>
>>
>>
>


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

* Re: [PATCH] Adding new qemuppc64 machine config
  2014-09-09 15:02   ` Richard Purdie
@ 2014-09-09 23:12     ` akuster808
  0 siblings, 0 replies; 10+ messages in thread
From: akuster808 @ 2014-09-09 23:12 UTC (permalink / raw)
  To: Richard Purdie, akuster808, Ashfield, Bruce; +Cc: openembedded-core



On 09/09/2014 08:02 AM, Richard Purdie wrote:
> On Mon, 2014-09-08 at 22:03 -0700, akuster808 wrote:
>> I forgot to mention. I will update linux-yocto_3.1x.bb too.
>
> You need to talk to Bruce about that. I'm also worried about this coming
> in this late, after feature freeze.

I wasn't targeting getting it in for 1.7.

I am just passing along it along so maybe someone else might gain some 
benefit from it.


- Armin

>
> Cheers,
>
> Richard
>
>> - Armin
>>
>> On 09/08/2014 06:53 PM, Armin Kuster wrote:
>>> apply after "linux-yocto/3.14: configuration updates and feature merges."
>>>
>>>
>>> Armin Kuster (1):
>>>     qemuppc64: add machine
>>>
>>>    meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
>>>    1 file changed, 16 insertions(+)
>>>    create mode 100644 meta/conf/machine/qemuppc64.conf
>>>
>
>


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

* Re: [[PATCH] qemuppc64: add machine
  2014-09-09  8:05   ` Richard Purdie
  2014-09-09 14:46     ` Mark Hatle
  2014-09-09 15:03     ` akuster808
@ 2014-09-11  2:41     ` akuster808
  2 siblings, 0 replies; 10+ messages in thread
From: akuster808 @ 2014-09-11  2:41 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core



On 09/09/2014 01:05 AM, Richard Purdie wrote:
> On Mon, 2014-09-08 at 18:53 -0700, Armin Kuster wrote:
>> override USER_CLASSES as prelink does not currently
>> work on ppc64
>> ---
>>   meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++
>>   1 file changed, 16 insertions(+)
>>   create mode 100644 meta/conf/machine/qemuppc64.conf
>>
>> diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf
>> new file mode 100644
>> index 0000000..86916e5
>> --- /dev/null
>> +++ b/meta/conf/machine/qemuppc64.conf
>> @@ -0,0 +1,16 @@
>> +#@TYPE: Machine
>> +#@NAME: qemu PPC 64 Emulator setup
>> +#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
>> +
>> +require conf/machine/include/qemu.inc
>> +DEFAULTTUNE ?= "ppc64p6"
>> +require conf/machine/include/tune-power6.inc
>> +
>> +#prelink broken
>> +USER_CLASSES = "buildstats image-mklibs "
>
> This is horrible. Can we somehow blacklist qemuppc64 in the prelink
> class itself?
>
> USER_CLASSES_remove = "prelink"

That does not work nor does USER_CLASSES_remove = " image-prelink "

"image-prelink" is removed from the variable but pre-linking is still 
affecting the image.

bitbake -e | grep ^USER_CLASSES
USER_CLASSES="buildstats image-mklibs"


I noticed that IMAGE_PREPROCESS_COMMAND variable has prelink in it.

bitbake -e | grep ^IMAGE_PREPROCESS_COMMAND
IMAGE_PREPROCESS_COMMAND=" mklibs_optimize_image;  prelink_image; "


If I override USER_CLASSES like above, then pre-link is not present in 
either variable.

you really want me to fix the prelinking on ppc64 ;)


If anyone has any pointers on where to look, let me know.

- Armin

>
> would be better than overriding the users choice like above...
>
> Cheers,
>
> Richard
>
>> +KERNEL_IMAGETYPE = "vmlinux"
>> +
>> +IMAGE_FSTYPES = "ext2 ext3"
>> +
>> +SERIAL_CONSOLE ?= "ttyS0"
>> --
>> 1.9.1
>>
>
>


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

end of thread, other threads:[~2014-09-11  2:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-09  1:53 [PATCH] Adding new qemuppc64 machine config Armin Kuster
2014-09-09  1:53 ` [[PATCH] qemuppc64: add machine Armin Kuster
2014-09-09  8:05   ` Richard Purdie
2014-09-09 14:46     ` Mark Hatle
2014-09-09 15:13       ` akuster808
2014-09-09 15:03     ` akuster808
2014-09-11  2:41     ` akuster808
2014-09-09  5:03 ` [PATCH] Adding new qemuppc64 machine config akuster808
2014-09-09 15:02   ` Richard Purdie
2014-09-09 23:12     ` akuster808

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.