Hi all,
I've tried to create a new layer, recipes, BSP... for an imx6 custom board using Yocto, but I stuck in several errors!!!
Could you please provide a step by step tutorial for this.
Thanks in advance
Bardi
解決済! 解決策の投稿を見る。
I got this pretty simple tutorial
https://github.com/lsandoval/presentations/blob/master/i.MX/yocto/layer.md
After this step, I suggest creating a repo with git, so you got control of your changes.
sources/meta-<my-layer> $ git init
sources/meta-<my-layer> $ git add .
sources/meta-<my-layer> $ git commit '1st commit'
Create a github or bitbucket account and follow the instructions there to PUSH your new code.
Hi Bardi,
what are the errors you are facing?
I used Sabre-SD BSP and I tried based on Yocto online documents. Most of the errors were related to improper BSP & layer naming and missing packages to create images. Unfortunately, I removed all when I disappointed and I do not have any snap-shot !
Could you please tell me step by step how to walk through this process ?
I got this pretty simple tutorial
https://github.com/lsandoval/presentations/blob/master/i.MX/yocto/layer.md
After this step, I suggest creating a repo with git, so you got control of your changes.
sources/meta-<my-layer> $ git init
sources/meta-<my-layer> $ git add .
sources/meta-<my-layer> $ git commit '1st commit'
Create a github or bitbucket account and follow the instructions there to PUSH your new code.
All right,
Now, how safely add Sabre-SD kernel BSP files and associated recipes,... (a copy of originals) ?
One way is to create patches which bitbake applies when baking. This approach works for a small set of patches. A better approach is to have a git repo on the cloud, and indicate bitbake to use it (repo url and commit ID). This way, you do all your stuff on this repo, and once you have something robust, then bake it inside yocto.
Leo
Could you please write a line by line example (continuing your previous example) ?
Look at this layer
https://github.com/Freescale/meta-fsl-arm-extra
This is a BSP layer based on meta-fsl-arm.
For kernel, this could be a nice example
I am not sure if this is what you need.
Thanks Leonardo,
I'll try and give feedback soon.
Regards