Skip to contentSkip to conversation

meta-arm layer update

DISCUSSION [email protected] 6 participants 12 messages Jan 7, 2020 – Jan 28, 2020

lore
Share & tools
lore
#0 lore raw

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#1 lore raw

hi Jon!

Quoted 7 lines · Jon Mason

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

many thanks for starting this effort!

Some initial comments/thoughts:

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.
2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.
3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Quoted 16 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#2 lore raw

Hi Nico and Jon

I think the current layer is a jumbo layer and it has

- A machine layer
- A Distro layer
- A Generic recipes layer

I think mixing this way it going to be not crisp. Perhaps, iota can use poky-tiny

Thanks
-Khem

Quoted 43 lines · Nicolas Dechesne

hi Jon!

Quoted 7 lines · Jon Mason

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

many thanks for starting this effort!

Some initial comments/thoughts:

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.
2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.
3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Quoted 16 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#3 lore raw
Quoted 11 lines · Khem Raj

Hi Nico and Jon

I think the current layer is a jumbo layer and it has

- A machine layer
- A Distro layer
- A Generic recipes layer

I think mixing this way it going to be not crisp. Perhaps, iota can use poky-tiny

Not sure I follow. Is the problem that there are too many divergent things in the jumbo layer or is it a potential problem with meta-arm-iota?

Thanks,
Jon

Quoted 49 lines

Thanks
-Khem

Quoted 43 lines · Nicolas Dechesne

hi Jon!

Quoted 7 lines · Jon Mason

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

many thanks for starting this effort!

Some initial comments/thoughts:

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.
2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.
3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Quoted 16 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#4 lore raw
In reply to Khem Raj

khem,

Quoted 8 lines · Khem Raj

Hi Nico and Jon

I think the current layer is a jumbo layer and it has

- A machine layer
- A Distro layer
- A Generic recipes layer

meta-arm (the top level) is a layer collection. is that what you are complaining about? e.g. would you rather have each individual layer in their own tree? During initial review I insisted on having multiple layers for each purpose, for sure.. but I thought having a layer collection would still be ok.

Quoted 51 lines

I think mixing this way it going to be not crisp. Perhaps, iota can use poky-tiny

Thanks
-Khem

Quoted 43 lines · Nicolas Dechesne

hi Jon!

Quoted 7 lines · Jon Mason

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

many thanks for starting this effort!

Some initial comments/thoughts:

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.
2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.
3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Quoted 16 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#5 lore raw
Quoted 13 lines · Nicolas Dechesne

khem,

Quoted 8 lines · Khem Raj

Hi Nico and Jon

I think the current layer is a jumbo layer and it has

- A machine layer
- A Distro layer
- A Generic recipes layer

Quoted 5 lines

meta-arm (the top level) is a layer collection. is that what you are complaining about? e.g. would you rather have each individual layer in their own tree? During initial review I insisted on having multiple layers for each purpose, for sure.. but I thought having a layer collection would still be ok.

Generally, if it was multiple similar kind of layers then it works ok as its easy but having
machine, and distro in same layer might be different, Since distro layers also come with
there workspace setup methods e.g. gitsubmods, android repo etc. We have to run YP compliance on each layer separately anyway.

Quoted 52 lines
Quoted 52 lines

I think mixing this way it going to be not crisp. Perhaps, iota can use poky-tiny

Thanks
-Khem

Quoted 43 lines · Nicolas Dechesne

hi Jon!

Quoted 7 lines · Jon Mason

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

many thanks for starting this effort!

Some initial comments/thoughts:

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.
2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.
3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Quoted 16 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#6 lore raw
In reply to Nicolas Dechesne

Hi Khem,

Quoted 16 lines · Nicolas Dechesne

hi Jon!

Quoted 6 lines · Jon Mason

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

many thanks for starting this effort!

Some initial comments/thoughts:

Quoted 8 lines

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.
2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.

In order to have a working setup on Juno, I need to enable usb and usb mass storage.
The other solution could be to enable this directly in the kernel configuration and not using the DISTRO_FEATURES but the someone activating or turning off those features would not get the wanted behaviour. What would be your suggestion here to solve this issue ?

Quoted 3 lines

3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Definitely agree here. Maybe the definition should just be remove in 96boards after checking that we provide the same functionalities.
When I implemented the Juno BSP, I did check the 96boards so I think we have at least the same features in meta-arm but it would be good to have an other check on this.

Quoted 23 lines
Quoted 21 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/

http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#7 lore raw
Quoted 29 lines · Bertrand

Hi Khem,

On Fri, Jan 10, 2020 at 12:33 AM, Nicolas Dechesne wrote:

hi Jon!

On Tue, Jan 7, 2020 at 11:35 PM Jon Mason <[email protected]> wrote:

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

many thanks for starting this effort!

Some initial comments/thoughts:

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.
2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.

Quoted 2 lines

In order to have a working setup on Juno, I need to enable usb and usb mass storage.
The other solution could be to enable this directly in the kernel configuration and not using the DISTRO_FEATURES but the someone activating or turning off those features would not get the wanted behaviour.

That's fine. If someone disable usbhost and/or usbgadget in their DISTRO, they should be able to. If Juno 'requires' these features , then you can document that in the README file as well.

Quoted 1 line

What would be your suggestion here to solve this issue ?

You need to enable usbhost and usbgadget in MACHINE_FEATURES , which you've done already. Then for the testing you need to use a distro which has usbhost and usbgadget already enabled by default (which is the case on OE core nodistro and poky, iirc). If you use a distro where it's not enabled, then you need to provide a setup script that will update the distro accordingly.

But forcing the DISTRO variable in the BSP layer is considered bad practice, for sure.

Quoted 6 lines

3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Definitely agree here. Maybe the definition should just be remove in 96boards after checking that we provide the same functionalities.
When I implemented the Juno BSP, I did check the 96boards so I think we have at least the same features in meta-arm but it would be good to have an other check on this.

ok, we will need to have a look at that...

Quoted 17 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#8 lore raw

Hi,

Quoted 48 lines · Nicolas Dechesne via Lists.Yoctoproject.Org
Quoted 29 lines · Bertrand

Hi Khem,

On Fri, Jan 10, 2020 at 12:33 AM, Nicolas Dechesne wrote:

hi Jon!

On Tue, Jan 7, 2020 at 11:35 PM Jon Mason <[email protected]> wrote:

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

many thanks for starting this effort!

Some initial comments/thoughts:

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.
2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.

Quoted 2 lines

In order to have a working setup on Juno, I need to enable usb and usb mass storage.
The other solution could be to enable this directly in the kernel configuration and not using the DISTRO_FEATURES but the someone activating or turning off those features would not get the wanted behaviour.

That's fine. If someone disable usbhost and/or usbgadget in their DISTRO, they should be able to. If Juno 'requires' these features , then you can document that in the README file as well.

Quoted 1 line

What would be your suggestion here to solve this issue ?

You need to enable usbhost and usbgadget in MACHINE_FEATURES , which you've done already. Then for the testing you need to use a distro which has usbhost and usbgadget already enabled by default (which is the case on OE core nodistro and poky, iirc). If you use a distro where it's not enabled, then you need to provide a setup script that will update the distro accordingly.

Quoted 2 lines

But forcing the DISTRO variable in the BSP layer is considered bad practice, for sure.

For now the images built are taking the assumption that the root filesystem will be on a USB mass storage (command line, device name etc) and that’s why I enabled those features. I will disable those in juno.conf and give more documentation on the README for juno on this.

I thought that usbhost was not enabled by default and that’s why I forced it in juno.conf. I will check why I had issues before adding this. Anyway I will fix that.

Quoted 28 lines
Quoted 7 lines

3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Definitely agree here. Maybe the definition should just be remove in 96boards after checking that we provide the same functionalities.
When I implemented the Juno BSP, I did check the 96boards so I think we have at least the same features in meta-arm but it would be good to have an other check on this.

ok, we will need to have a look at that...

Quoted 17 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#9 lore raw
In reply to Nicolas Dechesne
Quoted 12 lines · Nicolas Dechesne

hi Jon!

Quoted 6 lines · Jon Mason

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

Quoted 7 lines

many thanks for starting this effort!

Some initial comments/thoughts:

1. We are interested in moving the OP-TEE recipes that we've maintained in meta-linaro for quite some time, over there. We will be looking into that soon.

Nico,

Do you have a timeline for this transition? Thanks.

Denys

Quoted 31 lines

2. I have very quickly browsed through the files, and noticed that you are setting DISTRO_FEATURES within machine configuration meta data (juno.conf), this really needs to be removed, as it's a bad practice. If someone builds their own distro/apps for 'juno' you shouldn't change their distro config.
3. We have some juno machine definition in meta-96boards, and we should look at cleaning things up a bit to avoid duplication

Quoted 19 lines

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/

http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#10 lore raw
In reply to [email protected]

Hi, Jon,

It is nice to finally and accidentally discover your secret lair, I mean layer! :) I still blame myself for not paying close attention, but I googled over and over and still couldn't find any public announcements anywhere... Why is such a big secret? :)

--
Denys

Quoted 27 lines · Jon Mason

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/

http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#11 lore raw
Quoted 4 lines · Denys Dmytriyenko

Hi, Jon,

It is nice to finally and accidentally discover your secret lair, I mean layer! :) I still blame myself for not paying close attention, but I googled over and over and still couldn't find any public announcements anywhere... Why is such a big secret? :)

The first rule about meta-arm is don't talk about meta-arm. Wait, that's fight club. Nevermind...

meta-arm is still relatively new, but I need to do a better job about publicizing it. Thank you for pointing this out.

Thanks,
Jon

Quoted 30 lines

--
Denys

On Tue, Jan 7, 2020 at 02:35 PM, Jon Mason wrote:

The meta-arm layer is now publicly available at
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/

It is still under active development, and I encourage everyone who would like to contribute to read
https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/README.md

Also, some of the layers are now present on the OpenEmbedded layer index. Specifically,
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm-bsp/
http://layers.openembedded.org/layerindex/branch/master/layer/meta-arm/

The meta-arm-iota layer was rejected due to not having a distro definition in it, and generally being empty. I will attempt to add it again once code has been pushed to that location.

Thanks,
Jon
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.