Repository navigation
Splitting meta-riscv into BSP and distro/application layers? #723
Replies: 4 comments 1 reply
|
I fully agree. I like the idea of having the top directory with From a first look, I already can see some recipes that are not related to BSP, like |
|
Khem Raj (@kraj) Michael Opdenacker (@michaelopdenacker) Alistair Francis (@alistair23) thoughts on this? In my mind, there could be at least three splits:
|
|
Trevor Gamblin (@threexc) I support this idea. I was in the room sitting next to you and also believe we should have a BSP only layer, which doesn't contain other recipes that could interfere with what the end user may want to do. |
|
I have thought about it many times, and never convinced myself on dividing more. while its a good idea if we have lot of customizations and downstream quirks thats why some other layers are doing the separation. If there are customizations in generic recipes, then they are temporary and it would be good to create momentum to upstream those customizations wherever they belong. It has been effective, if we look at the history of the layer. Additional layering provides a more permanent place for such things which never converge, there is a real cost to this. secondly, usability is important, too fragmented fine-grained layers do add to cognitive load for users/developers, practically everyone is combining the layers into one int the end so testing dependencies becomes problematic. adding a distro layer, is a different scope, I think its an orthogonal discussion. I would think poky/nodistro are good references for a BSP layer. I am open to more convincing reasons. |
Uh oh!
There was an error while loading. Please reload this page.
At OSS EU last week, there was a nice talk from the Bootlin folks about BSP layer do's and don't's. I think meta-riscv is in pretty good shape compared to some of the examples they provided, but there remain some parts of the layer (packagegroups, multimedia, images, etc.) which might not make sense to be here.
Do we see
meta-riscvitself as a catch-all layer, or should it be BSP-only? If so, perhaps we could make a separatemeta-riscv-testingor ameta-riscv-distrolayer? These could even be contained within the repo itself as subdirectories, which is similar to how a lot of other layers are provided. I think the wider perception is that meta-riscv is a BSP layer, and thus far I've been treating it this way with my own automation.All reactions