AnsweredAssumed Answered

Yocto how to apply kernel patch for custom imx28-based board

Question asked by Bruno De Paoli on Oct 16, 2015
Latest reply on Nov 3, 2015 by Bruno De Paoli

Hi,

 

We are using Yocto as the build environment for a custom, imx28-based, board. We are using the Freescale imx28evk BSP as the base BSP for our board.  We have followed the Freescale model for the imx28 and added a new custom board to the linux-imx recipe, together with imx28evk, imx23ekv and imx5 boards, under the meta-fsl-arm layer.

 

I want to apply a number of patches specific to our kernel/BSP. I've been investigating how to do this and it looks like this can be achieved by using the .bbappend file under the linux kernel recipe. The problem I see with this approach is that the append file applies to a specific recipe. The imx28evk, imx23evk, mx5 and our custom board are all under the one kernel recipe and so I think the patches would apply to all of these boards and not just our board. I want the patches to just apply to our custom board and I haven't found a way to do this.

 

Is this correct? I am new to Yocto and so perhaps there is a better approach. Is there another way to just apply patches to our custom board given that it is part of a single recipe that includes a number of other Freescale boards?

 

Thanks

Bruno

Outcomes