Hi Kwon,

 

1. When you import a layer, there is no meta information to fill in the layer features, in contrast to the normal layers that are loaded from the OE Layer Index. For this layer, I observe that while there is a “master” branch for “meta-odroid”, Alas, Phillipe has not yet created a “rocko” branch in the OE Layer Index for his layer.

 

2. If you click on the Machine tab in this imported layer, you will see the message “Toaster does not have machine information for the meta-odroid layer. Sadly, machine information cannot be obtained from builds, so this page will remain empty.”

 

In this case you would set the Machine type directly entering the known values from the layer.

3. If you click on the Recipe tab in this imported layer, you will see the message “Toaster does not have recipe information for the meta-odroid layer. Toaster learns about layers when you build them. If this layer provides any recipes, they will be listed here after you build the meta-odroid layer.”

In this case you would enter the recipe name directly and build it, entering the known values from the layer. Once you build that recipe, it will then appear in the Recipe tab for the imported layer.

 

I tested this by setting the Machine to “odroid-c2” and building the “atf-native“ recipe, and indeed “atf-native” did appear as a recipe under the custom layer. I also tried the recipe “odroid-c2-init ” but bitbake did not like it, so there is something different with this recipe.

 

4. In general, when you import a layer Toaster assumes you know the content and that you will enter the appropriate values (as you would on the command line). I can consider an enhancement request to attempt to discover the machines, recipes, image recipes, and classes from an imported layer, but I expect that this will be a non-trivial effort.

 

- David

 

From: toaster-bounces@yoctoproject.org [mailto:toaster-bounces@yoctoproject.org] On Behalf Of tykwon
Sent: Tuesday, November 14, 2017 11:17 PM
To: toaster@yoctoproject.org
Subject: [Toaster] The machine of the added layer does not come out.

 

I am yocto newbie.

I am using poky-rocko-18.0.0.

I have a problem with the "imoport layer" as a toaster.

I added meta-odroid(https://github.com/akuster/meta-odroid) as a toaster.

I added meta-odroid as a toaster, but there is no machine entry.

However, there are a total of 6 machiies added to my layer(meta-odroid)(https://github.com/akuster/meta-odroid/tree/master/conf/machine).

 

How do I get the meta-odroid machine I added as an "import layer" to work properly?

Is there anything wrong with my setup?

 

The figure below shows the current settings of my import layer.

https://i.imgur.com/G2GkCbX.png

 

I'm sorry I do not have enough English. :)

 

Best regards.

kwon