Hello Ravi Kumar,
The layer priority is set on the conf/layer.conf file inside of each layer.
You may see the priority of all layers using bitbake’s following command:
$ bitbake-layers show-layers
Thanks for posting the information of the layers in more detail. The main difference between these layers is that the meta-fsl-arm is part of the Community BSP and as such part of the Yocto Project; while the meta-fsl-bsp-release layer is part of the BSP Release and it’s not part of the Yocto Project.
I think that would perhaps be the reason behind this redundancy. If you use the Community BSP the meta-fsl-arm would provide the machine information for the i.MX6 SABRE board. This layer has a priority value of 5.
The BSP Release basically adds some layers to the Community BSP. If you are using the BSP Release the machine configuration would be given by the meta-fsl-release layer which has a higher priority (8). The BSP Releases are static so that ensures that there is a static machine configuration available since the meta-fsl-arm is part of the Yocto Project and it’s constantly being updated by the community.
I hope this answers your question!
Regards,