Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-12 Thread Alexander Kanavin

On 06/12/2018 04:07 PM, Ricardo Ramirez wrote:

You are right. I didn't define a clear scope for what I wanted to 
validate. Apologies about that imprecision.


If possible, I'd like to divide the validation process into three stages

1. The system has a clean boot up process
2. The system is tested using a C-based benchmark (e.g. SPEC CPU2006)
3. The system is validated using a more complex set of 
testbench frameworks (e.g. http://www.phoronix-test-suite.com/ 
))


My immediate goal is to accomplish stages 1 and 2.

Considering the stages listed above, what steps would I need to follow?


1. You need to create and boot an image for the target system, and run 
basic smoke tests (e.g. that you can log in, and the network is up and 
runing etc). We do this in a fully automated fashion when the target 
hardware is QEMU emulation of various machines:


bitbake -c testimage 

2. You need to place the benchmark software into the target image, by 
building and packaging it via yocto recipes that you need to write. I 
don't know if the recipes for benchmarks you mentioned are already 
available somewhere; in that case you can simply re-use that, and 
configure your image to include that. Then you boot the image on the 
target hardware and run the benchmarks.


Alex
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-12 Thread Ricardo Ramirez
 Hi Alex,

You are right. I didn't define a clear scope for what I wanted to validate.
Apologies about that imprecision.

If possible, I'd like to divide the validation process into three stages

1. The system has a clean boot up process
2. The system is tested using a C-based benchmark (e.g. SPEC CPU2006)
3. The system is validated using a more complex set of testbench frameworks
(e.g. http://www.phoronix-test-suite.com/))

My immediate goal is to accomplish stages 1 and 2.

Considering the stages listed above, what steps would I need to follow?

I appreciate your help.


On Tue, Jun 12, 2018 at 4:37 AM, Alexander Kanavin 
wrote:

> You start by defining 'works'. It can be anything from quickly
> building an image and booting it on the target hardware to see a login
> prompt, to running a massive test suite and achieving 100% pass rate.
>
> Alex
>
> 2018-06-12 2:14 GMT+03:00 Ricardo Ramirez :
> > Thanks for the reply, Khem!
> >
> > What steps should I follow to be able to verify the build I put together
> for
> > SPARCv9 works (or doesn't)?
> >
> > I realize it is a pretty non-conventional (newbie like) question but I'd
> > like to follow a methodological procedure to validate the build.
> >
> > I appreciate your answer.
> >
> > -R
> >
> > On Mon, Jun 11, 2018 at 5:41 PM, Khem Raj  wrote:
> >>
> >> Hi Ricardo
> >>
> >> On 6/10/18 7:06 PM, Ricardo Ramirez wrote:
> >>>
> >>> Hi David,
> >>>
> >>> Thanks for the prompt reply!
> >>>
> >>> My question was a follow up of Khem's inquire (posted on 2014-05-02)
> >>>
> >>> https://lists.yoctoproject.org/pipermail/yocto/2014-May/019387.html
> >>>
> >>
> >> this reply still holds as of today.
> >>
> >>> Using the links you sent me, I found that the old OE-Classic branch
> >>> supports sparc32 but didn't see any sparc64
> >>>
> >>> http://layers.openembedded.org/layerindex/oe-classic/recipes/
> >>>
> >>> As such, I'd like to know what steps I need to follow in order to
> enable
> >>> a SPARCv9 machine in Yocto.
> >>>
> >>
> >> We support arm/aarch64/mips/mips64/ppc/ppc64/riscv64/x86/x86_64 for
> major
> >> arches in OE-Core, we also carry patches to support SH4 but do not test
> >> actively for it. sparc support is in there atleast I see basic
> constructs
> >> are there. Its should be possible to build upon that easily. But it
> will not
> >> work out of box to set your expectations right.
> >>
> >>> I appreciate your answer.
> >>>
> >>> -R
> >>>
> >>>
> >>> On Sun, Jun 10, 2018 at 7:17 PM, Reyna, David <
> david.re...@windriver.com
> >>> > wrote:
> >>>
> >>> Hi Ricardo,
> >>>
> >>> __ __
> >>>
> >>> If you are asking about the list of MACHINE types that Yocto
> Project
> >>> supports, then the best place to look is in the Layer Index:
> >>>
> >>> __ __
> >>>
> >>> https://layers.openembedded.org/layerindex/branch/master/layers/
> >>>
> >>> 
> >>>
> >>> __ __
> >>>
> >>> Click on the “Machines” tab, click on the “Search” tab with or
> >>> without a search value, and see the glorious list.
> >>>
> >>> __ __
> >>>
> >>> The same goes for supported layers, recipes, classes, and distro
> >>> values.
> >>>
> >>> __ __
> >>>
> >>> You can change the “Branch” value to see the MACHINE’s per
> >>> release.
> >>>
> >>> __ __
> >>>
> >>> - David Reyna
> >>>
> >>> __ __
> >>>
> >>> *From:*yocto-boun...@yoctoproject.org
> >>> 
> >>> [mailto:yocto-boun...@yoctoproject.org
> >>> ] *On Behalf Of *Ricardo
> >>> Ramirez
> >>> *Sent:* Sunday, June 10, 2018 5:07 PM
> >>> *To:* yocto@yoctoproject.org 
> >>> *Subject:* Re: [yocto] Target CPU architectures that Yocto Project
> >>> Support
> >>>
> >>> __ __
> >>>
> >>> Hi,
> >>>
> >>> __ __
> >>>
> >>> Naive question from a newbie. How can this be achieved? I'd
> >>> appreciate if you could please shed some light on what steps need
> to
> >>> be followed?
> >>>
> >>> __ __
> >>>
> >>> Thanks in advance,
> >>>
> >>> __ __
> >>>
> >>> -R
> >>>
> >>>
> >>>
> >
> >
> > --
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-12 Thread Alexander Kanavin
You start by defining 'works'. It can be anything from quickly
building an image and booting it on the target hardware to see a login
prompt, to running a massive test suite and achieving 100% pass rate.

Alex

2018-06-12 2:14 GMT+03:00 Ricardo Ramirez :
> Thanks for the reply, Khem!
>
> What steps should I follow to be able to verify the build I put together for
> SPARCv9 works (or doesn't)?
>
> I realize it is a pretty non-conventional (newbie like) question but I'd
> like to follow a methodological procedure to validate the build.
>
> I appreciate your answer.
>
> -R
>
> On Mon, Jun 11, 2018 at 5:41 PM, Khem Raj  wrote:
>>
>> Hi Ricardo
>>
>> On 6/10/18 7:06 PM, Ricardo Ramirez wrote:
>>>
>>> Hi David,
>>>
>>> Thanks for the prompt reply!
>>>
>>> My question was a follow up of Khem's inquire (posted on 2014-05-02)
>>>
>>> https://lists.yoctoproject.org/pipermail/yocto/2014-May/019387.html
>>>
>>
>> this reply still holds as of today.
>>
>>> Using the links you sent me, I found that the old OE-Classic branch
>>> supports sparc32 but didn't see any sparc64
>>>
>>> http://layers.openembedded.org/layerindex/oe-classic/recipes/
>>>
>>> As such, I'd like to know what steps I need to follow in order to enable
>>> a SPARCv9 machine in Yocto.
>>>
>>
>> We support arm/aarch64/mips/mips64/ppc/ppc64/riscv64/x86/x86_64 for major
>> arches in OE-Core, we also carry patches to support SH4 but do not test
>> actively for it. sparc support is in there atleast I see basic constructs
>> are there. Its should be possible to build upon that easily. But it will not
>> work out of box to set your expectations right.
>>
>>> I appreciate your answer.
>>>
>>> -R
>>>
>>>
>>> On Sun, Jun 10, 2018 at 7:17 PM, Reyna, David >> > wrote:
>>>
>>> Hi Ricardo,
>>>
>>> __ __
>>>
>>> If you are asking about the list of MACHINE types that Yocto Project
>>> supports, then the best place to look is in the Layer Index:
>>>
>>> __ __
>>>
>>> https://layers.openembedded.org/layerindex/branch/master/layers/
>>>
>>> 
>>>
>>> __ __
>>>
>>> Click on the “Machines” tab, click on the “Search” tab with or
>>> without a search value, and see the glorious list.
>>>
>>> __ __
>>>
>>> The same goes for supported layers, recipes, classes, and distro
>>> values.
>>>
>>> __ __
>>>
>>> You can change the “Branch” value to see the MACHINE’s per
>>> release.
>>>
>>> __ __
>>>
>>> - David Reyna
>>>
>>> __ __
>>>
>>> *From:*yocto-boun...@yoctoproject.org
>>> 
>>> [mailto:yocto-boun...@yoctoproject.org
>>> ] *On Behalf Of *Ricardo
>>> Ramirez
>>> *Sent:* Sunday, June 10, 2018 5:07 PM
>>> *To:* yocto@yoctoproject.org 
>>> *Subject:* Re: [yocto] Target CPU architectures that Yocto Project
>>> Support
>>>
>>> __ __
>>>
>>> Hi,
>>>
>>> __ __
>>>
>>> Naive question from a newbie. How can this be achieved? I'd
>>> appreciate if you could please shed some light on what steps need to
>>> be followed?
>>>
>>> __ __
>>>
>>> Thanks in advance,
>>>
>>> __ __
>>>
>>> -R
>>>
>>>
>>>
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-11 Thread Ricardo Ramirez
Thanks for the reply, Khem!

What steps should I follow to be able to verify the build I put together
for SPARCv9 works (or doesn't)?

I realize it is a pretty non-conventional (newbie like) question but I'd
like to follow a methodological procedure to validate the build.

I appreciate your answer.

-R

On Mon, Jun 11, 2018 at 5:41 PM, Khem Raj  wrote:

> Hi Ricardo
>
> On 6/10/18 7:06 PM, Ricardo Ramirez wrote:
>
>> Hi David,
>>
>> Thanks for the prompt reply!
>>
>> My question was a follow up of Khem's inquire (posted on 2014-05-02)
>>
>> https://lists.yoctoproject.org/pipermail/yocto/2014-May/019387.html
>>
>>
> this reply still holds as of today.
>
> Using the links you sent me, I found that the old OE-Classic branch
>> supports sparc32 but didn't see any sparc64
>>
>> http://layers.openembedded.org/layerindex/oe-classic/recipes/
>>
>> As such, I'd like to know what steps I need to follow in order to enable
>> a SPARCv9 machine in Yocto.
>>
>>
> We support arm/aarch64/mips/mips64/ppc/ppc64/riscv64/x86/x86_64 for major
> arches in OE-Core, we also carry patches to support SH4 but do not test
> actively for it. sparc support is in there atleast I see basic constructs
> are there. Its should be possible to build upon that easily. But it will
> not work out of box to set your expectations right.
>
> I appreciate your answer.
>>
>> -R
>>
>>
>> On Sun, Jun 10, 2018 at 7:17 PM, Reyna, David > > wrote:
>>
>> Hi Ricardo,
>>
>> __ __
>>
>> If you are asking about the list of MACHINE types that Yocto Project
>> supports, then the best place to look is in the Layer Index:
>>
>> __ __
>>
>> https://layers.openembedded.org/layerindex/branch/master/layers/
>> > >
>>
>> __ __
>>
>> Click on the “Machines” tab, click on the “Search” tab with or
>> without a search value, and see the glorious list.
>>
>> __ __
>>
>> The same goes for supported layers, recipes, classes, and distro
>> values.
>>
>> __ __
>>
>> You can change the “Branch” value to see the MACHINE’s per
>> release.
>>
>> __ __
>>
>> - David Reyna
>>
>> __ __
>>
>> *From:*yocto-boun...@yoctoproject.org
>> 
>> [mailto:yocto-boun...@yoctoproject.org
>> ] *On Behalf Of *Ricardo
>> Ramirez
>> *Sent:* Sunday, June 10, 2018 5:07 PM
>> *To:* yocto@yoctoproject.org 
>> *Subject:* Re: [yocto] Target CPU architectures that Yocto Project
>> Support
>>
>> __ __
>>
>> Hi,
>>
>> __ __
>>
>> Naive question from a newbie. How can this be achieved? I'd
>> appreciate if you could please shed some light on what steps need to
>> be followed?
>>
>> __ __
>>
>> Thanks in advance,
>>
>> __ __
>>
>> -R
>>
>>
>>
>>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-11 Thread Khem Raj

Hi Ricardo

On 6/10/18 7:06 PM, Ricardo Ramirez wrote:

Hi David,

Thanks for the prompt reply!

My question was a follow up of Khem's inquire (posted on 2014-05-02)

https://lists.yoctoproject.org/pipermail/yocto/2014-May/019387.html



this reply still holds as of today.

Using the links you sent me, I found that the old OE-Classic branch 
supports sparc32 but didn't see any sparc64


http://layers.openembedded.org/layerindex/oe-classic/recipes/

As such, I'd like to know what steps I need to follow in order to enable 
a SPARCv9 machine in Yocto.




We support arm/aarch64/mips/mips64/ppc/ppc64/riscv64/x86/x86_64 for 
major arches in OE-Core, we also carry patches to support SH4 but do not 
test actively for it. sparc support is in there atleast I see basic 
constructs are there. Its should be possible to build upon that easily. 
But it will not work out of box to set your expectations right.



I appreciate your answer.

-R


On Sun, Jun 10, 2018 at 7:17 PM, Reyna, David > wrote:


Hi Ricardo,

__ __

If you are asking about the list of MACHINE types that Yocto Project
supports, then the best place to look is in the Layer Index:

__ __

https://layers.openembedded.org/layerindex/branch/master/layers/


__ __

Click on the “Machines” tab, click on the “Search” tab with or
without a search value, and see the glorious list.

__ __

The same goes for supported layers, recipes, classes, and distro
values.

__ __

You can change the “Branch” value to see the MACHINE’s per release.

__ __

- David Reyna

__ __

*From:*yocto-boun...@yoctoproject.org

[mailto:yocto-boun...@yoctoproject.org
] *On Behalf Of *Ricardo Ramirez
*Sent:* Sunday, June 10, 2018 5:07 PM
*To:* yocto@yoctoproject.org 
*Subject:* Re: [yocto] Target CPU architectures that Yocto Project
Support

__ __

Hi,

__ __

Naive question from a newbie. How can this be achieved? I'd
appreciate if you could please shed some light on what steps need to
be followed?

__ __

Thanks in advance,

__ __

-R




--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-10 Thread Ricardo Ramirez
Hi David,

Thanks for the prompt reply!

My question was a follow up of Khem's inquire (posted on 2014-05-02)

https://lists.yoctoproject.org/pipermail/yocto/2014-May/019387.html

Using the links you sent me, I found that the old OE-Classic branch
supports sparc32 but didn't see any sparc64

http://layers.openembedded.org/layerindex/oe-classic/recipes/

As such, I'd like to know what steps I need to follow in order to enable a
SPARCv9 machine in Yocto.

I appreciate your answer.

-R


On Sun, Jun 10, 2018 at 7:17 PM, Reyna, David 
wrote:

> Hi Ricardo,
>
>
>
> If you are asking about the list of MACHINE types that Yocto Project
> supports, then the best place to look is in the Layer Index:
>
>
>
>https://layers.openembedded.org/layerindex/branch/master/layers/
>
>
>
> Click on the “Machines” tab, click on the “Search” tab with or without a
> search value, and see the glorious list.
>
>
>
> The same goes for supported layers, recipes, classes, and distro values.
>
>
>
> You can change the “Branch” value to see the MACHINE’s per release.
>
>
>
> - David Reyna
>
>
>
> *From:* yocto-boun...@yoctoproject.org [mailto:yocto-bounces@
> yoctoproject.org] *On Behalf Of *Ricardo Ramirez
> *Sent:* Sunday, June 10, 2018 5:07 PM
> *To:* yocto@yoctoproject.org
> *Subject:* Re: [yocto] Target CPU architectures that Yocto Project Support
>
>
>
> Hi,
>
>
>
> Naive question from a newbie. How can this be achieved? I'd appreciate if
> you could please shed some light on what steps need to be followed?
>
>
>
> Thanks in advance,
>
>
>
> -R
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-10 Thread Reyna, David
Hi Ricardo,

If you are asking about the list of MACHINE types that Yocto Project supports, 
then the best place to look is in the Layer Index:

   https://layers.openembedded.org/layerindex/branch/master/layers/

Click on the “Machines” tab, click on the “Search” tab with or without a search 
value, and see the glorious list.

The same goes for supported layers, recipes, classes, and distro values.

You can change the “Branch” value to see the MACHINE’s per release.

- David Reyna

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Ricardo Ramirez
Sent: Sunday, June 10, 2018 5:07 PM
To: yocto@yoctoproject.org
Subject: Re: [yocto] Target CPU architectures that Yocto Project Support

Hi,

Naive question from a newbie. How can this be achieved? I'd appreciate if you 
could please shed some light on what steps need to be followed?

Thanks in advance,

-R
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-10 Thread Ricardo Ramirez
Hi,

Naive question from a newbie. How can this be achieved? I'd appreciate if
you could please shed some light on what steps need to be followed?

Thanks in advance,

-R
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Target CPU architectures that Yocto Project Support

2014-05-02 Thread Nikos Liapis
Hello,

I would like to know if I could use Yocto Project to build Linux for Sparc v8 
CPU architecture. I am trying to build linux with some tools for the Leon3 
(opencore) CPU and I am facing errors during compilation. So I am trying to 
find an alternative solution to get Linux with some basic tools running on the 
hardware. Sorry if I have made any mistakes or if I sent to the wrong mailing 
list - I am a totaly newbie.


Thank you in advance.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Target CPU architectures that Yocto Project Support

2014-05-02 Thread Khem Raj
Nikos

On Fri, May 2, 2014 at 8:06 AM, Nikos Liapis nick_lia...@yahoo.gr wrote:
 I would like to know if I could use Yocto Project to build Linux for Sparc
 v8 CPU architecture. I am trying to build linux with some tools for the
 Leon3 (opencore) CPU and I am facing errors during compilation. So I am
 trying to find an alternative solution to get Linux with some basic tools
 running on the hardware. Sorry if I have made any mistakes or if I sent to
 the wrong mailing list - I am a totaly newbie.

Sparc is not an already supported architecture in OE-Core however you
should be able to extend it easily
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto